@fecp/designer 5.4.20 → 5.4.21

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.
Files changed (37) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
  3. package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
  4. package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
  5. package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
  6. package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
  7. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  8. package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
  9. package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
  10. package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
  11. package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
  12. package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
  13. package/es/designer/src/packages/prod/index.vue.mjs +1 -1
  14. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  15. package/es/designer.css +23 -23
  16. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
  17. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +20 -10
  18. package/es/packages/vue/src/components/forms/text/Text.vue.mjs +1 -1
  19. package/lib/designer/package.json.js +1 -1
  20. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  21. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  22. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  23. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  24. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  25. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  26. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  27. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  28. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  29. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  30. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  31. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  32. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  33. package/lib/designer.css +23 -23
  34. package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
  35. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +20 -10
  36. package/lib/packages/vue/src/components/forms/text/Text.vue.js +1 -1
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- const version = "5.4.20";
1
+ const version = "5.4.21";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -9,7 +9,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
9
9
  /* empty css */
10
10
  import { computed, ref, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
11
11
  import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
12
- import ValueSelector from "./ValueSelector.vue.mjs";
12
+ import ValueSelector from "./ValueSelector.vue2.mjs";
13
13
  import api from "../api/index.mjs";
14
14
  /* empty css */
15
15
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -4,7 +4,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  import { computed, createElementBlock, openBlock, createBlock, unref, withCtx, createTextVNode, createElementVNode, Fragment, renderList, createVNode } from "vue";
6
6
  import { Plus as plus_default, Delete as delete_default } from "../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
7
- import ValueSelector from "./ValueSelector.vue.mjs";
7
+ import ValueSelector from "./ValueSelector.vue2.mjs";
8
8
  /* empty css */
9
9
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
10
10
  import { ElButton } from "../../../node_modules/element-plus/es/components/button/index.mjs";
@@ -16,7 +16,7 @@ import { Plus as plus_default, RefreshRight as refresh_right_default, Delete as
16
16
  import { getEditConfigData, getEditingType, cloneDeep, getEditConfigDataFields } from "../../packages/utils/common.mjs";
17
17
  import { defaultProperty } from "../../packages/form/aside/index.mjs";
18
18
  import { defaultProperty as defaultProperty$1 } from "../../packages/table/aside/index.mjs";
19
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
19
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
20
20
  /* empty css */
21
21
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
22
22
  import { ElDialog } from "../../../../node_modules/element-plus/es/components/dialog/index.mjs";
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.mjs";
14
14
  import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
15
15
  import { computed, watch, ref, createElementBlock, unref, openBlock, createBlock, isRef, createVNode, createElementVNode, withCtx, Fragment, renderList } from "vue";
16
16
  import { useVModel } from "../../../../node_modules/@vueuse/core/dist/index.mjs";
17
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
17
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
18
18
  import api from "../../api/index.mjs";
19
19
  import { getEditConfigDataSources } from "../utils/common.mjs";
20
20
  import { createDataSource } from "../utils/datasource.mjs";
@@ -30,7 +30,7 @@ import "../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs
30
30
  /* empty css */
31
31
  /* empty css */
32
32
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
33
- /* empty css */
33
+ /* empty css */
34
34
  import "../../axios/config.mjs";
35
35
  import "../../../../_virtual/FileSaver.min.mjs";
36
36
  import "../../../../_virtual/index.mjs";
@@ -84,7 +84,7 @@ import widgets from "../table/property/widgets.vue.mjs";
84
84
  import "../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.mjs";
85
85
  /* empty css */
86
86
  /* empty css */
87
- /* empty css */
87
+ /* empty css */
88
88
  /* empty css */
89
89
  /* empty css */
90
90
  /* empty css */
@@ -4,7 +4,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
5
  import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
6
6
  import RiskSchemeSelector from "../../../../components/RiskSchemeSelector.vue2.mjs";
7
- import ValueSelector from "../../../../components/ValueSelector.vue.mjs";
7
+ import ValueSelector from "../../../../components/ValueSelector.vue2.mjs";
8
8
  import ParamsConfig from "../../../../components/ParamsConfig.vue2.mjs";
9
9
  import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
10
10
  import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
@@ -11,7 +11,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
11
11
  import { computed, ref, watch, createBlock, openBlock, unref, isRef, withCtx, createVNode, createElementBlock, createCommentVNode, createTextVNode, Fragment } from "vue";
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import emitter from "../../utils/eventBus.mjs";
14
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
14
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
15
15
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
16
16
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
17
17
  import { ElInput } from "../../../../../node_modules/element-plus/es/components/input/index.mjs";
@@ -17,7 +17,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
17
17
  import { computed, ref, createBlock, openBlock, withCtx, createVNode, createTextVNode, createElementBlock, Fragment, renderList } from "vue";
18
18
  import { getCurrentItem } from "../../utils/common.mjs";
19
19
  import "../../utils/eventBus.mjs";
20
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
20
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
21
21
  import api from "../../../api/index.mjs";
22
22
  import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
23
23
  /* empty css */
@@ -12,7 +12,7 @@ import { computed, ref, createBlock, openBlock, unref, isRef, withCtx, createVNo
12
12
  import { getCurrentItem, getEditConfigData } from "../../utils/common.mjs";
13
13
  import TemplateSelector from "../../../components/TemplateSelector.vue.mjs";
14
14
  import emitter from "../../utils/eventBus.mjs";
15
- import ValueSelector from "../../../components/ValueSelector.vue.mjs";
15
+ import ValueSelector from "../../../components/ValueSelector.vue2.mjs";
16
16
  import ParamsConfig from "../../../components/ParamsConfig.vue2.mjs";
17
17
  import { ElCollapse, ElCollapseItem } from "../../../../../node_modules/element-plus/es/components/collapse/index.mjs";
18
18
  import { ElForm, ElFormItem } from "../../../../../node_modules/element-plus/es/components/form/index.mjs";
@@ -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-aadaa1e2"]]);
1171
+ const widgets = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3dab7919"]]);
1172
1172
  export {
1173
1173
  widgets as default
1174
1174
  };
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
14
14
  import { useModel, ref, watch, computed, createBlock, openBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, unref } from "vue";
15
15
  import { Plus as plus_default } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
16
16
  import { getEditConfigData, getEditConfigDataFields, setEditConfigData } from "../utils/common.mjs";
17
- import ValueSelector from "../../components/ValueSelector.vue.mjs";
17
+ import ValueSelector from "../../components/ValueSelector.vue2.mjs";
18
18
  import api from "../../api/index.mjs";
19
19
  /* empty css */
20
20
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -45,7 +45,7 @@ import { Connection as connection_default, Grid as grid_default, ChatLineSquare
45
45
  /* empty css */
46
46
  import "../../store/index.mjs";
47
47
  /* empty css */
48
- /* empty css */
48
+ /* empty css */
49
49
  /* empty css */
50
50
  /* empty css */
51
51
  /* empty css */
package/es/designer.css CHANGED
@@ -3235,17 +3235,17 @@ to {
3235
3235
  width: 100%;
3236
3236
  }
3237
3237
 
3238
- .collapse-header[data-v-aadaa1e2] {
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-aadaa1e2] .el-collapse-item__content {
3245
+ .setting[data-v-3dab7919] .el-collapse-item__content {
3246
3246
  position: relative;
3247
3247
  }
3248
- .field-type-select[data-v-aadaa1e2] {
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-aadaa1e2] .el-select__wrapper {
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-aadaa1e2] .el-select__selected-item {
3263
+ .field-type-select[data-v-3dab7919] .el-select__selected-item {
3264
3264
  text-align: center;
3265
3265
  }
3266
- .width-input[data-v-aadaa1e2] {
3266
+ .width-input[data-v-3dab7919] {
3267
3267
  width: 100%;
3268
3268
  }
3269
- .data-source-fields[data-v-aadaa1e2] {
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-aadaa1e2] {
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-aadaa1e2] {
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-aadaa1e2]::after {
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-aadaa1e2] {
3290
+ .data-source-fields .field-item .el-input[data-v-3dab7919] {
3291
3291
  flex: 1;
3292
3292
  }
3293
- [data-v-aadaa1e2] .el-form-item__content {
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-6b46adf3] {
5711
+ .dialog-header-content[data-v-8f4f0d44] {
5712
5712
  font-size: 16px;
5713
5713
  font-weight: 600;
5714
5714
  color: #303133;
5715
5715
  }
5716
- .dialog-content-wrapper[data-v-6b46adf3] {
5716
+ .dialog-content-wrapper[data-v-8f4f0d44] {
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-6b46adf3] {
5722
+ .empty-content[data-v-8f4f0d44] {
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-6b46adf3] {
5730
+ .component-error[data-v-8f4f0d44] {
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-6b46adf3] .table-pagination {
5736
+ .fec-dialog-table[data-v-8f4f0d44] .table-pagination {
5737
5737
  padding: 8px 0 0 0;
5738
- }.text-field-wrapper[data-v-5bb684f4] {
5738
+ }.text-field-wrapper[data-v-185ddd14] {
5739
5739
  width: 100%;
5740
5740
  }
5741
- .prefix-content[data-v-5bb684f4],
5742
- .suffix-content[data-v-5bb684f4] {
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-5bb684f4] {
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-5bb684f4] .el-input-group__append {
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-5bb684f4] .el-input-group__append:hover {
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,10 @@ const _sfc_main = {
146
146
  return params;
147
147
  });
148
148
  const currentComponent = ref(null);
149
- const loadComponentByPath = (path) => {
150
- const route = ctx.$router.getRoutes().find((item) => item.path === path);
149
+ function loadComponentByPath(path) {
150
+ console.log("🚀 ~ loadComponentByPath ~ path:", path);
151
+ debugger;
152
+ const route = props.componentCtx.$router.getRoutes().find((item) => item.path === path);
151
153
  if (!route) return;
152
154
  const comp = route.components.default;
153
155
  if (!comp) return;
@@ -158,7 +160,7 @@ const _sfc_main = {
158
160
  } else {
159
161
  currentComponent.value = comp;
160
162
  }
161
- };
163
+ }
162
164
  const handleSubmit = (data) => {
163
165
  emit("confirm", data);
164
166
  };
@@ -327,14 +329,22 @@ const _sfc_main = {
327
329
  return (_ctx, _cache) => {
328
330
  const _component_el_button = ElButton;
329
331
  const _component_el_dialog = ElDialog;
330
- return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({ key: 0 }, componentParams.value, {
332
+ return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), 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, {
331
341
  formData: __props.formData,
332
342
  onClose: handleClose,
333
343
  onSubmit: handleSubmit
334
- }), null, 16, ["formData"])) : (openBlock(), createBlock(_component_el_dialog, {
344
+ }), null, 16, ["modelValue", "width", "formData"])) : (openBlock(), createBlock(_component_el_dialog, {
335
345
  key: 1,
336
346
  modelValue: dialogVisible.value,
337
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dialogVisible.value = $event),
347
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
338
348
  width: dialogWidth.value,
339
349
  draggable: true,
340
350
  "close-on-click-modal": false,
@@ -353,7 +363,7 @@ const _sfc_main = {
353
363
  var _a, _b, _c;
354
364
  return [
355
365
  createVNode(_component_el_button, { onClick: handleCancel }, {
356
- default: withCtx(() => _cache[2] || (_cache[2] = [
366
+ default: withCtx(() => _cache[3] || (_cache[3] = [
357
367
  createTextVNode("取消")
358
368
  ])),
359
369
  _: 1
@@ -364,7 +374,7 @@ const _sfc_main = {
364
374
  type: "primary",
365
375
  onClick: handleConfirm
366
376
  }, {
367
- default: withCtx(() => _cache[3] || (_cache[3] = [
377
+ default: withCtx(() => _cache[4] || (_cache[4] = [
368
378
  createTextVNode("确定")
369
379
  ])),
370
380
  _: 1
@@ -421,7 +431,7 @@ const _sfc_main = {
421
431
  templateKey: __props.dialogConfig.subFormKey,
422
432
  isDialog: "",
423
433
  modelValue: initDialogParams.value,
424
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => initDialogParams.value = $event),
434
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => initDialogParams.value = $event),
425
435
  onLoaded: subFormLoaded,
426
436
  initFormMode: __props.dialogConfig.subFormMode,
427
437
  ref_key: "dialogFormRef",
@@ -437,7 +447,7 @@ const _sfc_main = {
437
447
  };
438
448
  }
439
449
  };
440
- const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b46adf3"]]);
450
+ const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8f4f0d44"]]);
441
451
  export {
442
452
  DialogRenderer as default
443
453
  };
@@ -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-5bb684f4"]]);
263
+ const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-185ddd14"]]);
264
264
  export {
265
265
  _Text as default
266
266
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.20";
3
+ const version = "5.4.21";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -11,7 +11,7 @@ require("../../../node_modules/element-plus/es/index.js");
11
11
  ;/* empty css */
12
12
  const vue = require("vue");
13
13
  const index$2 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
14
- const ValueSelector = require("./ValueSelector.vue.js");
14
+ const ValueSelector = require("./ValueSelector.vue2.js");
15
15
  const index = require("../api/index.js");
16
16
  ;/* empty css */
17
17
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
@@ -6,7 +6,7 @@ require("../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
8
  const index$1 = require("../../../node_modules/@element-plus/icons-vue/dist/index.js");
9
- const ValueSelector = require("./ValueSelector.vue.js");
9
+ const ValueSelector = require("./ValueSelector.vue2.js");
10
10
  ;/* empty css */
11
11
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
12
12
  const index = require("../../../node_modules/element-plus/es/components/button/index.js");
@@ -18,7 +18,7 @@ const index$2 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
18
18
  const common = require("../../packages/utils/common.js");
19
19
  const index$5 = require("../../packages/form/aside/index.js");
20
20
  const index$6 = require("../../packages/table/aside/index.js");
21
- const ValueSelector = require("../../components/ValueSelector.vue.js");
21
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
22
22
  ;/* empty css */
23
23
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
24
24
  const index = require("../../../../node_modules/element-plus/es/components/dialog/index.js");
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-tooltip.css.js");
16
16
  require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js");
17
17
  const vue = require("vue");
18
18
  const index = require("../../../../node_modules/@vueuse/core/dist/index.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
20
20
  const index$1 = require("../../api/index.js");
21
21
  const common = require("../utils/common.js");
22
22
  const datasource = require("../utils/datasource.js");
@@ -32,7 +32,7 @@ require("../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.js
32
32
  ;/* empty css */
33
33
  ;/* empty css */
34
34
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
35
- ;/* empty css */
35
+ ;/* empty css */
36
36
  require("../../axios/config.js");
37
37
  require("../../../../_virtual/FileSaver.min.js");
38
38
  require("../../../../_virtual/index.js");
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
86
86
  require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
87
87
  ;/* empty css */
88
88
  ;/* empty css */
89
- ;/* empty css */
89
+ ;/* empty css */
90
90
  ;/* empty css */
91
91
  ;/* empty css */
92
92
  ;/* empty css */
@@ -6,7 +6,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
8
  const RiskSchemeSelector = require("../../../../components/RiskSchemeSelector.vue2.js");
9
- const ValueSelector = require("../../../../components/ValueSelector.vue.js");
9
+ const ValueSelector = require("../../../../components/ValueSelector.vue2.js");
10
10
  const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
11
11
  const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
12
12
  const index$1 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
@@ -13,7 +13,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
13
13
  const vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const eventBus = require("../../utils/eventBus.js");
16
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
16
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
17
17
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
18
18
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
19
19
  const index$2 = require("../../../../../node_modules/element-plus/es/components/input/index.js");
@@ -19,7 +19,7 @@ require("../../../../../node_modules/element-plus/es/index.js");
19
19
  const vue = require("vue");
20
20
  const common = require("../../utils/common.js");
21
21
  require("../../utils/eventBus.js");
22
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
22
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
23
23
  const index = require("../../../api/index.js");
24
24
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
25
25
  ;/* empty css */
@@ -14,7 +14,7 @@ const vue = require("vue");
14
14
  const common = require("../../utils/common.js");
15
15
  const TemplateSelector = require("../../../components/TemplateSelector.vue.js");
16
16
  const eventBus = require("../../utils/eventBus.js");
17
- const ValueSelector = require("../../../components/ValueSelector.vue.js");
17
+ const ValueSelector = require("../../../components/ValueSelector.vue2.js");
18
18
  const ParamsConfig = require("../../../components/ParamsConfig.vue2.js");
19
19
  const index = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");
20
20
  const index$1 = require("../../../../../node_modules/element-plus/es/components/form/index.js");
@@ -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-aadaa1e2"]]);
1173
+ const widgets = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-3dab7919"]]);
1174
1174
  exports.default = widgets;
@@ -16,7 +16,7 @@ require("../../../../node_modules/element-plus/es/index.js");
16
16
  const vue = require("vue");
17
17
  const index$6 = require("../../../../node_modules/@element-plus/icons-vue/dist/index.js");
18
18
  const common = require("../utils/common.js");
19
- const ValueSelector = require("../../components/ValueSelector.vue.js");
19
+ const ValueSelector = require("../../components/ValueSelector.vue2.js");
20
20
  const index = require("../../api/index.js");
21
21
  ;/* empty css */
22
22
  const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
@@ -47,7 +47,7 @@ const index$1 = require("../../../../node_modules/@element-plus/icons-vue/dist/i
47
47
  ;/* empty css */
48
48
  require("../../store/index.js");
49
49
  ;/* empty css */
50
- ;/* empty css */
50
+ ;/* empty css */
51
51
  ;/* empty css */
52
52
  ;/* empty css */
53
53
  ;/* empty css */
package/lib/designer.css CHANGED
@@ -3235,17 +3235,17 @@ to {
3235
3235
  width: 100%;
3236
3236
  }
3237
3237
 
3238
- .collapse-header[data-v-aadaa1e2] {
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-aadaa1e2] .el-collapse-item__content {
3245
+ .setting[data-v-3dab7919] .el-collapse-item__content {
3246
3246
  position: relative;
3247
3247
  }
3248
- .field-type-select[data-v-aadaa1e2] {
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-aadaa1e2] .el-select__wrapper {
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-aadaa1e2] .el-select__selected-item {
3263
+ .field-type-select[data-v-3dab7919] .el-select__selected-item {
3264
3264
  text-align: center;
3265
3265
  }
3266
- .width-input[data-v-aadaa1e2] {
3266
+ .width-input[data-v-3dab7919] {
3267
3267
  width: 100%;
3268
3268
  }
3269
- .data-source-fields[data-v-aadaa1e2] {
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-aadaa1e2] {
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-aadaa1e2] {
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-aadaa1e2]::after {
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-aadaa1e2] {
3290
+ .data-source-fields .field-item .el-input[data-v-3dab7919] {
3291
3291
  flex: 1;
3292
3292
  }
3293
- [data-v-aadaa1e2] .el-form-item__content {
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-6b46adf3] {
5711
+ .dialog-header-content[data-v-8f4f0d44] {
5712
5712
  font-size: 16px;
5713
5713
  font-weight: 600;
5714
5714
  color: #303133;
5715
5715
  }
5716
- .dialog-content-wrapper[data-v-6b46adf3] {
5716
+ .dialog-content-wrapper[data-v-8f4f0d44] {
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-6b46adf3] {
5722
+ .empty-content[data-v-8f4f0d44] {
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-6b46adf3] {
5730
+ .component-error[data-v-8f4f0d44] {
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-6b46adf3] .table-pagination {
5736
+ .fec-dialog-table[data-v-8f4f0d44] .table-pagination {
5737
5737
  padding: 8px 0 0 0;
5738
- }.text-field-wrapper[data-v-5bb684f4] {
5738
+ }.text-field-wrapper[data-v-185ddd14] {
5739
5739
  width: 100%;
5740
5740
  }
5741
- .prefix-content[data-v-5bb684f4],
5742
- .suffix-content[data-v-5bb684f4] {
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-5bb684f4] {
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-5bb684f4] .el-input-group__append {
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-5bb684f4] .el-input-group__append:hover {
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,10 @@ const _sfc_main = {
148
148
  return params;
149
149
  });
150
150
  const currentComponent = vue.ref(null);
151
- const loadComponentByPath = (path) => {
152
- const route = ctx.$router.getRoutes().find((item) => item.path === path);
151
+ function loadComponentByPath(path) {
152
+ console.log("🚀 ~ loadComponentByPath ~ path:", path);
153
+ debugger;
154
+ const route = props.componentCtx.$router.getRoutes().find((item) => item.path === path);
153
155
  if (!route) return;
154
156
  const comp = route.components.default;
155
157
  if (!comp) return;
@@ -160,7 +162,7 @@ const _sfc_main = {
160
162
  } else {
161
163
  currentComponent.value = comp;
162
164
  }
163
- };
165
+ }
164
166
  const handleSubmit = (data) => {
165
167
  emit("confirm", data);
166
168
  };
@@ -329,14 +331,22 @@ const _sfc_main = {
329
331
  return (_ctx, _cache) => {
330
332
  const _component_el_button = index$3.ElButton;
331
333
  const _component_el_dialog = index.ElDialog;
332
- return __props.dialogConfig.componentIsDialog ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(currentComponent.value), vue.mergeProps({ key: 0 }, componentParams.value, {
334
+ return __props.dialogConfig.componentIsDialog ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(currentComponent.value), vue.mergeProps({
335
+ key: 0,
336
+ modelValue: dialogVisible.value,
337
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogVisible.value = $event),
338
+ width: dialogWidth.value,
339
+ draggable: true,
340
+ "close-on-click-modal": false,
341
+ "append-to-body": ""
342
+ }, componentParams.value, {
333
343
  formData: __props.formData,
334
344
  onClose: handleClose,
335
345
  onSubmit: handleSubmit
336
- }), null, 16, ["formData"])) : (vue.openBlock(), vue.createBlock(_component_el_dialog, {
346
+ }), null, 16, ["modelValue", "width", "formData"])) : (vue.openBlock(), vue.createBlock(_component_el_dialog, {
337
347
  key: 1,
338
348
  modelValue: dialogVisible.value,
339
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dialogVisible.value = $event),
349
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
340
350
  width: dialogWidth.value,
341
351
  draggable: true,
342
352
  "close-on-click-modal": false,
@@ -355,7 +365,7 @@ const _sfc_main = {
355
365
  var _a, _b, _c;
356
366
  return [
357
367
  vue.createVNode(_component_el_button, { onClick: handleCancel }, {
358
- default: vue.withCtx(() => _cache[2] || (_cache[2] = [
368
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
359
369
  vue.createTextVNode("取消")
360
370
  ])),
361
371
  _: 1
@@ -366,7 +376,7 @@ const _sfc_main = {
366
376
  type: "primary",
367
377
  onClick: handleConfirm
368
378
  }, {
369
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
379
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
370
380
  vue.createTextVNode("确定")
371
381
  ])),
372
382
  _: 1
@@ -423,7 +433,7 @@ const _sfc_main = {
423
433
  templateKey: __props.dialogConfig.subFormKey,
424
434
  isDialog: "",
425
435
  modelValue: initDialogParams.value,
426
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => initDialogParams.value = $event),
436
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => initDialogParams.value = $event),
427
437
  onLoaded: subFormLoaded,
428
438
  initFormMode: __props.dialogConfig.subFormMode,
429
439
  ref_key: "dialogFormRef",
@@ -439,5 +449,5 @@ const _sfc_main = {
439
449
  };
440
450
  }
441
451
  };
442
- const DialogRenderer = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-6b46adf3"]]);
452
+ const DialogRenderer = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-8f4f0d44"]]);
443
453
  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-5bb684f4"]]);
265
+ const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-185ddd14"]]);
266
266
  exports.default = _Text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.20",
3
+ "version": "5.4.21",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [