@fecp/designer 5.4.20 → 5.4.23
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/package.json.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/designer.css +23 -23
- package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
- package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +18 -10
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/designer.css +23 -23
- package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
- package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +18 -10
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
- package/package.json +1 -1
|
@@ -625,7 +625,7 @@ const _sfc_main = {
|
|
|
625
625
|
isGlobal: unref(currentItem).dialogSource == "global"
|
|
626
626
|
}, null, 8, ["modelValue", "loading", "dialogOptions", "isGlobal"])
|
|
627
627
|
]),
|
|
628
|
-
unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
628
|
+
unref(currentItem).dialogSource == "global" && unref(currentItem).suffixDialogId && unref(currDialog).contentSource === "table" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
629
629
|
createElementVNode("div", _hoisted_5, [
|
|
630
630
|
_cache[73] || (_cache[73] = createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
|
|
631
631
|
createVNode(_component_el_radio_group, {
|
|
@@ -1168,7 +1168,7 @@ const _sfc_main = {
|
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
1170
|
};
|
|
1171
|
-
const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
1171
|
+
const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3dab7919"]]);
|
|
1172
1172
|
export {
|
|
1173
1173
|
widgets as default
|
|
1174
1174
|
};
|
package/es/designer.css
CHANGED
|
@@ -3235,17 +3235,17 @@ to {
|
|
|
3235
3235
|
width: 100%;
|
|
3236
3236
|
}
|
|
3237
3237
|
|
|
3238
|
-
.collapse-header[data-v-
|
|
3238
|
+
.collapse-header[data-v-3dab7919] {
|
|
3239
3239
|
display: flex;
|
|
3240
3240
|
align-items: center;
|
|
3241
3241
|
justify-content: space-between;
|
|
3242
3242
|
width: 100%;
|
|
3243
3243
|
padding-right: 20px;
|
|
3244
3244
|
}
|
|
3245
|
-
.setting[data-v-
|
|
3245
|
+
.setting[data-v-3dab7919] .el-collapse-item__content {
|
|
3246
3246
|
position: relative;
|
|
3247
3247
|
}
|
|
3248
|
-
.field-type-select[data-v-
|
|
3248
|
+
.field-type-select[data-v-3dab7919] {
|
|
3249
3249
|
position: absolute;
|
|
3250
3250
|
top: 11px;
|
|
3251
3251
|
right: 16px;
|
|
@@ -3256,41 +3256,41 @@ to {
|
|
|
3256
3256
|
transition: all 0.3s;
|
|
3257
3257
|
border-radius: 4px;
|
|
3258
3258
|
}
|
|
3259
|
-
.field-type-select[data-v-
|
|
3259
|
+
.field-type-select[data-v-3dab7919] .el-select__wrapper {
|
|
3260
3260
|
background: transparent;
|
|
3261
3261
|
box-shadow: none;
|
|
3262
3262
|
}
|
|
3263
|
-
.field-type-select[data-v-
|
|
3263
|
+
.field-type-select[data-v-3dab7919] .el-select__selected-item {
|
|
3264
3264
|
text-align: center;
|
|
3265
3265
|
}
|
|
3266
|
-
.width-input[data-v-
|
|
3266
|
+
.width-input[data-v-3dab7919] {
|
|
3267
3267
|
width: 100%;
|
|
3268
3268
|
}
|
|
3269
|
-
.data-source-fields[data-v-
|
|
3269
|
+
.data-source-fields[data-v-3dab7919] {
|
|
3270
3270
|
display: flex;
|
|
3271
3271
|
flex-direction: column;
|
|
3272
3272
|
gap: 8px;
|
|
3273
3273
|
margin-bottom: 18px;
|
|
3274
3274
|
}
|
|
3275
|
-
.data-source-fields .field-item[data-v-
|
|
3275
|
+
.data-source-fields .field-item[data-v-3dab7919] {
|
|
3276
3276
|
display: flex;
|
|
3277
3277
|
align-items: center;
|
|
3278
3278
|
gap: 8px;
|
|
3279
3279
|
}
|
|
3280
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3280
|
+
.data-source-fields .field-item .field-label[data-v-3dab7919] {
|
|
3281
3281
|
width: 80px;
|
|
3282
3282
|
font-size: 13px;
|
|
3283
3283
|
color: #606266;
|
|
3284
3284
|
text-align: right;
|
|
3285
3285
|
flex-shrink: 0;
|
|
3286
3286
|
}
|
|
3287
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3287
|
+
.data-source-fields .field-item .field-label[data-v-3dab7919]::after {
|
|
3288
3288
|
content: ":";
|
|
3289
3289
|
}
|
|
3290
|
-
.data-source-fields .field-item .el-input[data-v-
|
|
3290
|
+
.data-source-fields .field-item .el-input[data-v-3dab7919] {
|
|
3291
3291
|
flex: 1;
|
|
3292
3292
|
}
|
|
3293
|
-
[data-v-
|
|
3293
|
+
[data-v-3dab7919] .el-form-item__content {
|
|
3294
3294
|
flex-wrap: wrap !important;
|
|
3295
3295
|
}
|
|
3296
3296
|
.buttons-table[data-v-8ebdd5a8] {
|
|
@@ -5708,18 +5708,18 @@ body,
|
|
|
5708
5708
|
:root,:host{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}
|
|
5709
5709
|
:root,:host{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-webkit-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
|
|
5710
5710
|
:root,:host{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0;border-radius:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog--round-button .van-action-bar-button--first{border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-dialog--round-button .van-action-bar-button--last{border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}
|
|
5711
|
-
.dialog-header-content[data-v-
|
|
5711
|
+
.dialog-header-content[data-v-3d101d10] {
|
|
5712
5712
|
font-size: 16px;
|
|
5713
5713
|
font-weight: 600;
|
|
5714
5714
|
color: #303133;
|
|
5715
5715
|
}
|
|
5716
|
-
.dialog-content-wrapper[data-v-
|
|
5716
|
+
.dialog-content-wrapper[data-v-3d101d10] {
|
|
5717
5717
|
min-height: 500px;
|
|
5718
5718
|
flex-grow: 1;
|
|
5719
5719
|
display: flex;
|
|
5720
5720
|
flex-direction: column;
|
|
5721
5721
|
}
|
|
5722
|
-
.empty-content[data-v-
|
|
5722
|
+
.empty-content[data-v-3d101d10] {
|
|
5723
5723
|
display: flex;
|
|
5724
5724
|
align-items: center;
|
|
5725
5725
|
justify-content: center;
|
|
@@ -5727,23 +5727,23 @@ body,
|
|
|
5727
5727
|
color: #909399;
|
|
5728
5728
|
font-size: 14px;
|
|
5729
5729
|
}
|
|
5730
|
-
.component-error[data-v-
|
|
5730
|
+
.component-error[data-v-3d101d10] {
|
|
5731
5731
|
padding: 40px 20px;
|
|
5732
5732
|
text-align: center;
|
|
5733
5733
|
color: #f56c6c;
|
|
5734
5734
|
font-size: 14px;
|
|
5735
5735
|
}
|
|
5736
|
-
.fec-dialog-table[data-v-
|
|
5736
|
+
.fec-dialog-table[data-v-3d101d10] .table-pagination {
|
|
5737
5737
|
padding: 8px 0 0 0;
|
|
5738
|
-
}.text-field-wrapper[data-v-
|
|
5738
|
+
}.text-field-wrapper[data-v-185ddd14] {
|
|
5739
5739
|
width: 100%;
|
|
5740
5740
|
}
|
|
5741
|
-
.prefix-content[data-v-
|
|
5742
|
-
.suffix-content[data-v-
|
|
5741
|
+
.prefix-content[data-v-185ddd14],
|
|
5742
|
+
.suffix-content[data-v-185ddd14] {
|
|
5743
5743
|
color: #909399;
|
|
5744
5744
|
font-size: 14px;
|
|
5745
5745
|
}
|
|
5746
|
-
.data-masking[data-v-
|
|
5746
|
+
.data-masking[data-v-185ddd14] {
|
|
5747
5747
|
margin-top: 4px;
|
|
5748
5748
|
padding: 8px;
|
|
5749
5749
|
background: #f5f7fa;
|
|
@@ -5751,13 +5751,13 @@ body,
|
|
|
5751
5751
|
font-size: 12px;
|
|
5752
5752
|
color: #909399;
|
|
5753
5753
|
}
|
|
5754
|
-
[data-v-
|
|
5754
|
+
[data-v-185ddd14] .el-input-group__append {
|
|
5755
5755
|
background-color: #409eff;
|
|
5756
5756
|
color: #fff;
|
|
5757
5757
|
padding: 0 18px;
|
|
5758
5758
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5759
5759
|
}
|
|
5760
|
-
[data-v-
|
|
5760
|
+
[data-v-185ddd14] .el-input-group__append:hover {
|
|
5761
5761
|
background-color: #79bbff;
|
|
5762
5762
|
border-color: #79bbff;
|
|
5763
5763
|
color: #fff;
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { createBlock, openBlock, withCtx, createVNode, renderSlot } from "vue";
|
|
9
|
+
/* empty css */
|
|
10
|
+
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
11
|
/* empty css */
|
|
10
12
|
/* empty css */
|
|
11
13
|
/* empty css */
|
|
12
14
|
/* empty css */
|
|
13
15
|
/* empty css */
|
|
14
|
-
/* empty css */
|
|
15
|
-
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
16
16
|
import { SwipeCell } from "../../../../../../node_modules/vant/es/swipe-cell/index.mjs";
|
|
17
17
|
import { showConfirmDialog } from "../../../../../../node_modules/vant/es/dialog/function-call.mjs";
|
|
18
18
|
import "../../../../../../node_modules/vant/es/dialog/index.mjs";
|
|
@@ -146,8 +146,8 @@ const _sfc_main = {
|
|
|
146
146
|
return params;
|
|
147
147
|
});
|
|
148
148
|
const currentComponent = ref(null);
|
|
149
|
-
|
|
150
|
-
const route =
|
|
149
|
+
function loadComponentByPath(path) {
|
|
150
|
+
const route = props.componentCtx.$router.getRoutes().find((item) => item.path === path);
|
|
151
151
|
if (!route) return;
|
|
152
152
|
const comp = route.components.default;
|
|
153
153
|
if (!comp) return;
|
|
@@ -158,7 +158,7 @@ const _sfc_main = {
|
|
|
158
158
|
} else {
|
|
159
159
|
currentComponent.value = comp;
|
|
160
160
|
}
|
|
161
|
-
}
|
|
161
|
+
}
|
|
162
162
|
const handleSubmit = (data) => {
|
|
163
163
|
emit("confirm", data);
|
|
164
164
|
};
|
|
@@ -327,14 +327,22 @@ const _sfc_main = {
|
|
|
327
327
|
return (_ctx, _cache) => {
|
|
328
328
|
const _component_el_button = ElButton;
|
|
329
329
|
const _component_el_dialog = ElDialog;
|
|
330
|
-
return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({
|
|
330
|
+
return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({
|
|
331
|
+
key: 0,
|
|
332
|
+
modelValue: dialogVisible.value,
|
|
333
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogVisible.value = $event),
|
|
334
|
+
width: dialogWidth.value,
|
|
335
|
+
draggable: true,
|
|
336
|
+
"close-on-click-modal": false,
|
|
337
|
+
"append-to-body": ""
|
|
338
|
+
}, componentParams.value, {
|
|
331
339
|
formData: __props.formData,
|
|
332
340
|
onClose: handleClose,
|
|
333
341
|
onSubmit: handleSubmit
|
|
334
|
-
}), null, 16, ["formData"])) : (openBlock(), createBlock(_component_el_dialog, {
|
|
342
|
+
}), null, 16, ["modelValue", "width", "formData"])) : (openBlock(), createBlock(_component_el_dialog, {
|
|
335
343
|
key: 1,
|
|
336
344
|
modelValue: dialogVisible.value,
|
|
337
|
-
"onUpdate:modelValue": _cache[
|
|
345
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
338
346
|
width: dialogWidth.value,
|
|
339
347
|
draggable: true,
|
|
340
348
|
"close-on-click-modal": false,
|
|
@@ -353,7 +361,7 @@ const _sfc_main = {
|
|
|
353
361
|
var _a, _b, _c;
|
|
354
362
|
return [
|
|
355
363
|
createVNode(_component_el_button, { onClick: handleCancel }, {
|
|
356
|
-
default: withCtx(() => _cache[
|
|
364
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
357
365
|
createTextVNode("取消")
|
|
358
366
|
])),
|
|
359
367
|
_: 1
|
|
@@ -364,7 +372,7 @@ const _sfc_main = {
|
|
|
364
372
|
type: "primary",
|
|
365
373
|
onClick: handleConfirm
|
|
366
374
|
}, {
|
|
367
|
-
default: withCtx(() => _cache[
|
|
375
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
368
376
|
createTextVNode("确定")
|
|
369
377
|
])),
|
|
370
378
|
_: 1
|
|
@@ -421,7 +429,7 @@ const _sfc_main = {
|
|
|
421
429
|
templateKey: __props.dialogConfig.subFormKey,
|
|
422
430
|
isDialog: "",
|
|
423
431
|
modelValue: initDialogParams.value,
|
|
424
|
-
"onUpdate:modelValue": _cache[
|
|
432
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => initDialogParams.value = $event),
|
|
425
433
|
onLoaded: subFormLoaded,
|
|
426
434
|
initFormMode: __props.dialogConfig.subFormMode,
|
|
427
435
|
ref_key: "dialogFormRef",
|
|
@@ -437,7 +445,7 @@ const _sfc_main = {
|
|
|
437
445
|
};
|
|
438
446
|
}
|
|
439
447
|
};
|
|
440
|
-
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
448
|
+
const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3d101d10"]]);
|
|
441
449
|
export {
|
|
442
450
|
DialogRenderer as default
|
|
443
451
|
};
|
|
@@ -260,7 +260,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
|
-
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
263
|
+
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-185ddd14"]]);
|
|
264
264
|
export {
|
|
265
265
|
_Text as default
|
|
266
266
|
};
|
|
@@ -627,7 +627,7 @@ const _sfc_main = {
|
|
|
627
627
|
isGlobal: vue.unref(currentItem).dialogSource == "global"
|
|
628
628
|
}, null, 8, ["modelValue", "loading", "dialogOptions", "isGlobal"])
|
|
629
629
|
]),
|
|
630
|
-
vue.unref(currentItem).dialogSource == "global" && vue.unref(currentItem).suffixDialogId ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
630
|
+
vue.unref(currentItem).dialogSource == "global" && vue.unref(currentItem).suffixDialogId && vue.unref(currDialog).contentSource === "table" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
631
631
|
vue.createElementVNode("div", _hoisted_5, [
|
|
632
632
|
_cache[73] || (_cache[73] = vue.createElementVNode("span", { class: "field-label" }, "选择模式", -1)),
|
|
633
633
|
vue.createVNode(_component_el_radio_group, {
|
|
@@ -1170,5 +1170,5 @@ const _sfc_main = {
|
|
|
1170
1170
|
};
|
|
1171
1171
|
}
|
|
1172
1172
|
};
|
|
1173
|
-
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
1173
|
+
const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3dab7919"]]);
|
|
1174
1174
|
exports.default = widgets;
|
package/lib/designer.css
CHANGED
|
@@ -3235,17 +3235,17 @@ to {
|
|
|
3235
3235
|
width: 100%;
|
|
3236
3236
|
}
|
|
3237
3237
|
|
|
3238
|
-
.collapse-header[data-v-
|
|
3238
|
+
.collapse-header[data-v-3dab7919] {
|
|
3239
3239
|
display: flex;
|
|
3240
3240
|
align-items: center;
|
|
3241
3241
|
justify-content: space-between;
|
|
3242
3242
|
width: 100%;
|
|
3243
3243
|
padding-right: 20px;
|
|
3244
3244
|
}
|
|
3245
|
-
.setting[data-v-
|
|
3245
|
+
.setting[data-v-3dab7919] .el-collapse-item__content {
|
|
3246
3246
|
position: relative;
|
|
3247
3247
|
}
|
|
3248
|
-
.field-type-select[data-v-
|
|
3248
|
+
.field-type-select[data-v-3dab7919] {
|
|
3249
3249
|
position: absolute;
|
|
3250
3250
|
top: 11px;
|
|
3251
3251
|
right: 16px;
|
|
@@ -3256,41 +3256,41 @@ to {
|
|
|
3256
3256
|
transition: all 0.3s;
|
|
3257
3257
|
border-radius: 4px;
|
|
3258
3258
|
}
|
|
3259
|
-
.field-type-select[data-v-
|
|
3259
|
+
.field-type-select[data-v-3dab7919] .el-select__wrapper {
|
|
3260
3260
|
background: transparent;
|
|
3261
3261
|
box-shadow: none;
|
|
3262
3262
|
}
|
|
3263
|
-
.field-type-select[data-v-
|
|
3263
|
+
.field-type-select[data-v-3dab7919] .el-select__selected-item {
|
|
3264
3264
|
text-align: center;
|
|
3265
3265
|
}
|
|
3266
|
-
.width-input[data-v-
|
|
3266
|
+
.width-input[data-v-3dab7919] {
|
|
3267
3267
|
width: 100%;
|
|
3268
3268
|
}
|
|
3269
|
-
.data-source-fields[data-v-
|
|
3269
|
+
.data-source-fields[data-v-3dab7919] {
|
|
3270
3270
|
display: flex;
|
|
3271
3271
|
flex-direction: column;
|
|
3272
3272
|
gap: 8px;
|
|
3273
3273
|
margin-bottom: 18px;
|
|
3274
3274
|
}
|
|
3275
|
-
.data-source-fields .field-item[data-v-
|
|
3275
|
+
.data-source-fields .field-item[data-v-3dab7919] {
|
|
3276
3276
|
display: flex;
|
|
3277
3277
|
align-items: center;
|
|
3278
3278
|
gap: 8px;
|
|
3279
3279
|
}
|
|
3280
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3280
|
+
.data-source-fields .field-item .field-label[data-v-3dab7919] {
|
|
3281
3281
|
width: 80px;
|
|
3282
3282
|
font-size: 13px;
|
|
3283
3283
|
color: #606266;
|
|
3284
3284
|
text-align: right;
|
|
3285
3285
|
flex-shrink: 0;
|
|
3286
3286
|
}
|
|
3287
|
-
.data-source-fields .field-item .field-label[data-v-
|
|
3287
|
+
.data-source-fields .field-item .field-label[data-v-3dab7919]::after {
|
|
3288
3288
|
content: ":";
|
|
3289
3289
|
}
|
|
3290
|
-
.data-source-fields .field-item .el-input[data-v-
|
|
3290
|
+
.data-source-fields .field-item .el-input[data-v-3dab7919] {
|
|
3291
3291
|
flex: 1;
|
|
3292
3292
|
}
|
|
3293
|
-
[data-v-
|
|
3293
|
+
[data-v-3dab7919] .el-form-item__content {
|
|
3294
3294
|
flex-wrap: wrap !important;
|
|
3295
3295
|
}
|
|
3296
3296
|
.buttons-table[data-v-8ebdd5a8] {
|
|
@@ -5708,18 +5708,18 @@ body,
|
|
|
5708
5708
|
:root,:host{--van-overlay-z-index: 1;--van-overlay-background: rgba(0, 0, 0, .7)}.van-overlay{position:fixed;top:0;left:0;z-index:var(--van-overlay-z-index);width:100%;height:100%;background:var(--van-overlay-background)}
|
|
5709
5709
|
:root,:host{--van-popup-background: var(--van-background-2);--van-popup-transition: transform var(--van-duration-base);--van-popup-round-radius: 16px;--van-popup-close-icon-size: 22px;--van-popup-close-icon-color: var(--van-gray-5);--van-popup-close-icon-margin: 16px;--van-popup-close-icon-z-index: 1}.van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;box-sizing:border-box;background:var(--van-popup-background);transition:var(--van-popup-transition);-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:0;right:0;width:-webkit-fit-content;width:fit-content;max-width:calc(100vw - var(--van-padding-md) * 2);margin:0 auto;transform:translateY(-50%)}.van-popup--center.van-popup--round{border-radius:var(--van-popup-round-radius)}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 var(--van-popup-round-radius) var(--van-popup-round-radius)}.van-popup--right{top:50%;right:0;transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:var(--van-popup-round-radius) 0 0 var(--van-popup-round-radius)}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:var(--van-popup-round-radius) var(--van-popup-round-radius) 0 0}.van-popup--left{top:50%;left:0;transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 var(--van-popup-round-radius) var(--van-popup-round-radius) 0}.van-popup-slide-top-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-bottom-enter-active{transition-timing-function:var(--van-ease-out)}.van-popup-slide-top-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-bottom-leave-active{transition-timing-function:var(--van-ease-in)}.van-popup-slide-top-enter-from,.van-popup-slide-top-leave-active{transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter-from,.van-popup-slide-right-leave-active{transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter-from,.van-popup-slide-bottom-leave-active{transform:translate3d(0,100%,0)}.van-popup-slide-left-enter-from,.van-popup-slide-left-leave-active{transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:var(--van-popup-close-icon-z-index);color:var(--van-popup-close-icon-color);font-size:var(--van-popup-close-icon-size)}.van-popup__close-icon--top-left{top:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--top-right{top:var(--van-popup-close-icon-margin);right:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-left{bottom:var(--van-popup-close-icon-margin);left:var(--van-popup-close-icon-margin)}.van-popup__close-icon--bottom-right{right:var(--van-popup-close-icon-margin);bottom:var(--van-popup-close-icon-margin)}
|
|
5710
5710
|
:root,:host{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0;border-radius:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog--round-button .van-action-bar-button--first{border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-dialog--round-button .van-action-bar-button--last{border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}
|
|
5711
|
-
.dialog-header-content[data-v-
|
|
5711
|
+
.dialog-header-content[data-v-3d101d10] {
|
|
5712
5712
|
font-size: 16px;
|
|
5713
5713
|
font-weight: 600;
|
|
5714
5714
|
color: #303133;
|
|
5715
5715
|
}
|
|
5716
|
-
.dialog-content-wrapper[data-v-
|
|
5716
|
+
.dialog-content-wrapper[data-v-3d101d10] {
|
|
5717
5717
|
min-height: 500px;
|
|
5718
5718
|
flex-grow: 1;
|
|
5719
5719
|
display: flex;
|
|
5720
5720
|
flex-direction: column;
|
|
5721
5721
|
}
|
|
5722
|
-
.empty-content[data-v-
|
|
5722
|
+
.empty-content[data-v-3d101d10] {
|
|
5723
5723
|
display: flex;
|
|
5724
5724
|
align-items: center;
|
|
5725
5725
|
justify-content: center;
|
|
@@ -5727,23 +5727,23 @@ body,
|
|
|
5727
5727
|
color: #909399;
|
|
5728
5728
|
font-size: 14px;
|
|
5729
5729
|
}
|
|
5730
|
-
.component-error[data-v-
|
|
5730
|
+
.component-error[data-v-3d101d10] {
|
|
5731
5731
|
padding: 40px 20px;
|
|
5732
5732
|
text-align: center;
|
|
5733
5733
|
color: #f56c6c;
|
|
5734
5734
|
font-size: 14px;
|
|
5735
5735
|
}
|
|
5736
|
-
.fec-dialog-table[data-v-
|
|
5736
|
+
.fec-dialog-table[data-v-3d101d10] .table-pagination {
|
|
5737
5737
|
padding: 8px 0 0 0;
|
|
5738
|
-
}.text-field-wrapper[data-v-
|
|
5738
|
+
}.text-field-wrapper[data-v-185ddd14] {
|
|
5739
5739
|
width: 100%;
|
|
5740
5740
|
}
|
|
5741
|
-
.prefix-content[data-v-
|
|
5742
|
-
.suffix-content[data-v-
|
|
5741
|
+
.prefix-content[data-v-185ddd14],
|
|
5742
|
+
.suffix-content[data-v-185ddd14] {
|
|
5743
5743
|
color: #909399;
|
|
5744
5744
|
font-size: 14px;
|
|
5745
5745
|
}
|
|
5746
|
-
.data-masking[data-v-
|
|
5746
|
+
.data-masking[data-v-185ddd14] {
|
|
5747
5747
|
margin-top: 4px;
|
|
5748
5748
|
padding: 8px;
|
|
5749
5749
|
background: #f5f7fa;
|
|
@@ -5751,13 +5751,13 @@ body,
|
|
|
5751
5751
|
font-size: 12px;
|
|
5752
5752
|
color: #909399;
|
|
5753
5753
|
}
|
|
5754
|
-
[data-v-
|
|
5754
|
+
[data-v-185ddd14] .el-input-group__append {
|
|
5755
5755
|
background-color: #409eff;
|
|
5756
5756
|
color: #fff;
|
|
5757
5757
|
padding: 0 18px;
|
|
5758
5758
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5759
5759
|
}
|
|
5760
|
-
[data-v-
|
|
5760
|
+
[data-v-185ddd14] .el-input-group__append:hover {
|
|
5761
5761
|
background-color: #79bbff;
|
|
5762
5762
|
border-color: #79bbff;
|
|
5763
5763
|
color: #fff;
|
|
@@ -8,13 +8,13 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
8
8
|
;/* empty css */
|
|
9
9
|
;/* empty css */
|
|
10
10
|
const vue = require("vue");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
11
13
|
;/* empty css */
|
|
12
14
|
;/* empty css */
|
|
13
15
|
;/* empty css */
|
|
14
16
|
;/* empty css */
|
|
15
17
|
;/* empty css */
|
|
16
|
-
;/* empty css */
|
|
17
|
-
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
18
18
|
const index$1 = require("../../../../../../node_modules/vant/es/swipe-cell/index.js");
|
|
19
19
|
const functionCall = require("../../../../../../node_modules/vant/es/dialog/function-call.js");
|
|
20
20
|
require("../../../../../../node_modules/vant/es/dialog/index.js");
|
|
@@ -148,8 +148,8 @@ const _sfc_main = {
|
|
|
148
148
|
return params;
|
|
149
149
|
});
|
|
150
150
|
const currentComponent = vue.ref(null);
|
|
151
|
-
|
|
152
|
-
const route =
|
|
151
|
+
function loadComponentByPath(path) {
|
|
152
|
+
const route = props.componentCtx.$router.getRoutes().find((item) => item.path === path);
|
|
153
153
|
if (!route) return;
|
|
154
154
|
const comp = route.components.default;
|
|
155
155
|
if (!comp) return;
|
|
@@ -160,7 +160,7 @@ const _sfc_main = {
|
|
|
160
160
|
} else {
|
|
161
161
|
currentComponent.value = comp;
|
|
162
162
|
}
|
|
163
|
-
}
|
|
163
|
+
}
|
|
164
164
|
const handleSubmit = (data) => {
|
|
165
165
|
emit("confirm", data);
|
|
166
166
|
};
|
|
@@ -329,14 +329,22 @@ const _sfc_main = {
|
|
|
329
329
|
return (_ctx, _cache) => {
|
|
330
330
|
const _component_el_button = index$3.ElButton;
|
|
331
331
|
const _component_el_dialog = index.ElDialog;
|
|
332
|
-
return __props.dialogConfig.componentIsDialog ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(currentComponent.value), vue.mergeProps({
|
|
332
|
+
return __props.dialogConfig.componentIsDialog ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(currentComponent.value), vue.mergeProps({
|
|
333
|
+
key: 0,
|
|
334
|
+
modelValue: dialogVisible.value,
|
|
335
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogVisible.value = $event),
|
|
336
|
+
width: dialogWidth.value,
|
|
337
|
+
draggable: true,
|
|
338
|
+
"close-on-click-modal": false,
|
|
339
|
+
"append-to-body": ""
|
|
340
|
+
}, componentParams.value, {
|
|
333
341
|
formData: __props.formData,
|
|
334
342
|
onClose: handleClose,
|
|
335
343
|
onSubmit: handleSubmit
|
|
336
|
-
}), null, 16, ["formData"])) : (vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
344
|
+
}), null, 16, ["modelValue", "width", "formData"])) : (vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
337
345
|
key: 1,
|
|
338
346
|
modelValue: dialogVisible.value,
|
|
339
|
-
"onUpdate:modelValue": _cache[
|
|
347
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
|
|
340
348
|
width: dialogWidth.value,
|
|
341
349
|
draggable: true,
|
|
342
350
|
"close-on-click-modal": false,
|
|
@@ -355,7 +363,7 @@ const _sfc_main = {
|
|
|
355
363
|
var _a, _b, _c;
|
|
356
364
|
return [
|
|
357
365
|
vue.createVNode(_component_el_button, { onClick: handleCancel }, {
|
|
358
|
-
default: vue.withCtx(() => _cache[
|
|
366
|
+
default: vue.withCtx(() => _cache[3] || (_cache[3] = [
|
|
359
367
|
vue.createTextVNode("取消")
|
|
360
368
|
])),
|
|
361
369
|
_: 1
|
|
@@ -366,7 +374,7 @@ const _sfc_main = {
|
|
|
366
374
|
type: "primary",
|
|
367
375
|
onClick: handleConfirm
|
|
368
376
|
}, {
|
|
369
|
-
default: vue.withCtx(() => _cache[
|
|
377
|
+
default: vue.withCtx(() => _cache[4] || (_cache[4] = [
|
|
370
378
|
vue.createTextVNode("确定")
|
|
371
379
|
])),
|
|
372
380
|
_: 1
|
|
@@ -423,7 +431,7 @@ const _sfc_main = {
|
|
|
423
431
|
templateKey: __props.dialogConfig.subFormKey,
|
|
424
432
|
isDialog: "",
|
|
425
433
|
modelValue: initDialogParams.value,
|
|
426
|
-
"onUpdate:modelValue": _cache[
|
|
434
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => initDialogParams.value = $event),
|
|
427
435
|
onLoaded: subFormLoaded,
|
|
428
436
|
initFormMode: __props.dialogConfig.subFormMode,
|
|
429
437
|
ref_key: "dialogFormRef",
|
|
@@ -439,5 +447,5 @@ const _sfc_main = {
|
|
|
439
447
|
};
|
|
440
448
|
}
|
|
441
449
|
};
|
|
442
|
-
const DialogRenderer = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
450
|
+
const DialogRenderer = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3d101d10"]]);
|
|
443
451
|
exports.default = DialogRenderer;
|
|
@@ -262,5 +262,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
|
-
const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
265
|
+
const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-185ddd14"]]);
|
|
266
266
|
exports.default = _Text;
|