@fecp/designer 5.4.23 → 5.4.24

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.
@@ -1,4 +1,4 @@
1
- const version = "5.4.22";
1
+ const version = "5.4.24";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -5904,27 +5904,27 @@ body,
5904
5904
  width: 80px;
5905
5905
  font-size: var(--el-font-size-extra-small);
5906
5906
  }
5907
- .fec-form[data-v-575ec394] {
5907
+ .fec-form[data-v-e700f77b] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-575ec394] .vgl-item {
5910
+ [data-v-e700f77b] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-575ec394] .vgl-item > .el-form-item {
5913
+ [data-v-e700f77b] .vgl-item > .el-form-item {
5914
5914
  width: 100%;
5915
5915
  padding: 12px 8px 0 8px;
5916
5916
  height: calc(100% - 15px);
5917
5917
  display: flex;
5918
5918
  }
5919
- [data-v-575ec394] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-e700f77b] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-575ec394] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-e700f77b] .vgl-item > .el-form-item .el-form-item__label {
5923
5923
  line-height: 20px;
5924
5924
  display: flex;
5925
5925
  align-items: center;
5926
5926
  }
5927
- [data-v-575ec394] .vgl-item > .el-container {
5927
+ [data-v-e700f77b] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -9,9 +9,9 @@ import { Form } from "../forms/form/index.mjs";
9
9
  import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
10
10
  import { calculate } from "../../utils/formulajs/calculate.mjs";
11
11
  import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
12
- /* empty css */
13
12
  /* empty css */
14
13
  /* empty css */
14
+ /* empty css */
15
15
  /* empty css */
16
16
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
17
17
  /* empty css */
@@ -6,7 +6,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { getCurrentInstance, ref, watch, onMounted, onBeforeUnmount, provide, createBlock, openBlock, withCtx, createCommentVNode, createVNode, unref, normalizeStyle, createElementBlock, Fragment, renderList } from "vue";
9
+ import { getCurrentInstance, ref, watch, onMounted, onBeforeUnmount, provide, createBlock, createCommentVNode, openBlock, withCtx, createVNode, unref, normalizeStyle, createElementBlock, Fragment, renderList } from "vue";
10
10
  import "../../../../../../node_modules/grid-layout-plus/es/index.mjs";
11
11
  import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
12
12
  import getJsonAsyncUtil from "../../../utils/getJsonAsyncUtil.mjs";
@@ -981,7 +981,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
981
981
  return (_ctx, _cache) => {
982
982
  const _component_el_form = ElForm;
983
983
  const _component_el_container = ElContainer;
984
- return openBlock(), createBlock(_component_el_container, {
984
+ return !configLoading.value ? (openBlock(), createBlock(_component_el_container, {
985
+ key: 0,
985
986
  direction: "vertical",
986
987
  class: "fec-form",
987
988
  "data-id": localConfig.value.templateKey,
@@ -990,7 +991,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
990
991
  "data-version": "v5"
991
992
  }, {
992
993
  default: withCtx(() => [
993
- !configLoading.value && !__props.isSubForm && !__props.isDialog ? (openBlock(), createBlock(unref(header), {
994
+ !__props.isSubForm && !__props.isDialog ? (openBlock(), createBlock(unref(header), {
994
995
  key: 0,
995
996
  isApproval: __props.isApproval,
996
997
  pageHeaderConfig: localConfig.value.pageHeaderConfig
@@ -1008,8 +1009,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1008
1009
  "scroll-to-error": ""
1009
1010
  }, {
1010
1011
  default: withCtx(() => [
1011
- !configLoading.value ? (openBlock(), createBlock(unref(De), {
1012
- key: 0,
1012
+ createVNode(unref(De), {
1013
1013
  ref_key: "gridLayout",
1014
1014
  ref: gridLayout,
1015
1015
  layout: gridLayoutFieldsData.value,
@@ -1036,7 +1036,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1036
1036
  }, null, 8, ["modelValue", "onUpdate:modelValue", "config", "localConfig", "error", "formRef", "formMode"])
1037
1037
  ]),
1038
1038
  _: 1
1039
- }, 8, ["layout", "row-height", "col-num"])) : createCommentVNode("", true),
1039
+ }, 8, ["layout", "row-height", "col-num"]),
1040
1040
  (openBlock(true), createElementBlock(Fragment, null, renderList(hiddenFields.value, (field) => {
1041
1041
  return openBlock(), createElementBlock("input", {
1042
1042
  key: field.fieldName,
@@ -1059,11 +1059,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1059
1059
  }, null, 8, ["formMode", "pageFooterConfig"])) : createCommentVNode("", true)
1060
1060
  ]),
1061
1061
  _: 1
1062
- }, 8, ["data-id", "data-name", "data-pkId"]);
1062
+ }, 8, ["data-id", "data-name", "data-pkId"])) : createCommentVNode("", true);
1063
1063
  };
1064
1064
  }
1065
1065
  });
1066
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-575ec394"]]);
1066
+ const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e700f77b"]]);
1067
1067
  export {
1068
1068
  _Form as default
1069
1069
  };
@@ -3,9 +3,9 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import { computed, getCurrentInstance, inject, createElementBlock, openBlock, createVNode, createCommentVNode, mergeProps, toHandlers, createSlots, withCtx, createElementVNode, toDisplayString, createBlock, createTextVNode, unref } from "vue";
6
- /* empty css */
7
6
  /* empty css */
8
7
  /* empty css */
8
+ /* empty css */
9
9
  import { openDialog } from "../../dialog/index.mjs";
10
10
  /* empty css */
11
11
  /* empty css */
@@ -7,10 +7,10 @@ import "../../../../../node_modules/vxe-table/es/components.mjs";
7
7
  import { CopyDocument as copy_document_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
8
8
  import { checkFilterMatch } from "../../utils/parseFilterConfig.mjs";
9
9
  import { removeEmptyValues } from "../../utils/common.mjs";
10
- /* empty css */
11
10
  /* empty css */
12
11
  /* empty css */
13
12
  /* empty css */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import "./index.mjs";
16
16
  import "../forms/form/index.mjs";
@@ -1,9 +1,9 @@
1
1
  import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
3
  /* empty css */
5
4
  /* empty css */
6
5
  /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import "../components/table/index.mjs";
@@ -2,9 +2,9 @@ import { reactive } from "vue";
2
2
  import { parseRouteParams } from "./parseRouteParams.mjs";
3
3
  import "../../../../node_modules/element-plus/es/index.mjs";
4
4
  /* empty css */
5
- /* empty css */
6
5
  /* empty css */
7
6
  /* empty css */
7
+ /* empty css */
8
8
  import { ElLoading } from "../../../../node_modules/element-plus/es/components/loading/index.mjs";
9
9
  import { ElMessage } from "../../../../node_modules/element-plus/es/components/message/index.mjs";
10
10
  class DataSourceManager {
@@ -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.22";
3
+ const version = "5.4.24";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -5904,27 +5904,27 @@ body,
5904
5904
  width: 80px;
5905
5905
  font-size: var(--el-font-size-extra-small);
5906
5906
  }
5907
- .fec-form[data-v-575ec394] {
5907
+ .fec-form[data-v-e700f77b] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-575ec394] .vgl-item {
5910
+ [data-v-e700f77b] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-575ec394] .vgl-item > .el-form-item {
5913
+ [data-v-e700f77b] .vgl-item > .el-form-item {
5914
5914
  width: 100%;
5915
5915
  padding: 12px 8px 0 8px;
5916
5916
  height: calc(100% - 15px);
5917
5917
  display: flex;
5918
5918
  }
5919
- [data-v-575ec394] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-e700f77b] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-575ec394] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-e700f77b] .vgl-item > .el-form-item .el-form-item__label {
5923
5923
  line-height: 20px;
5924
5924
  display: flex;
5925
5925
  align-items: center;
5926
5926
  }
5927
- [data-v-575ec394] .vgl-item > .el-container {
5927
+ [data-v-e700f77b] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -11,9 +11,9 @@ const index$2 = require("../forms/form/index.js");
11
11
  const parseRouteParams = require("../../utils/parseRouteParams.js");
12
12
  const calculate = require("../../utils/formulajs/calculate.js");
13
13
  const eventFlowHandler = require("../../utils/eventFlow/eventFlowHandler.js");
14
- ;/* empty css */
15
14
  ;/* empty css */
16
15
  ;/* empty css */
16
+ ;/* empty css */
17
17
  ;/* empty css */
18
18
  const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
19
19
  ;/* empty css */
@@ -983,7 +983,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
983
983
  return (_ctx, _cache) => {
984
984
  const _component_el_form = index$5.ElForm;
985
985
  const _component_el_container = index$2.ElContainer;
986
- return vue.openBlock(), vue.createBlock(_component_el_container, {
986
+ return !configLoading.value ? (vue.openBlock(), vue.createBlock(_component_el_container, {
987
+ key: 0,
987
988
  direction: "vertical",
988
989
  class: "fec-form",
989
990
  "data-id": localConfig.value.templateKey,
@@ -992,7 +993,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
992
993
  "data-version": "v5"
993
994
  }, {
994
995
  default: vue.withCtx(() => [
995
- !configLoading.value && !__props.isSubForm && !__props.isDialog ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.header), {
996
+ !__props.isSubForm && !__props.isDialog ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.header), {
996
997
  key: 0,
997
998
  isApproval: __props.isApproval,
998
999
  pageHeaderConfig: localConfig.value.pageHeaderConfig
@@ -1010,8 +1011,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1010
1011
  "scroll-to-error": ""
1011
1012
  }, {
1012
1013
  default: vue.withCtx(() => [
1013
- !configLoading.value ? (vue.openBlock(), vue.createBlock(vue.unref(gridLayout_vue.default), {
1014
- key: 0,
1014
+ vue.createVNode(vue.unref(gridLayout_vue.default), {
1015
1015
  ref_key: "gridLayout",
1016
1016
  ref: gridLayout,
1017
1017
  layout: gridLayoutFieldsData.value,
@@ -1038,7 +1038,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1038
1038
  }, null, 8, ["modelValue", "onUpdate:modelValue", "config", "localConfig", "error", "formRef", "formMode"])
1039
1039
  ]),
1040
1040
  _: 1
1041
- }, 8, ["layout", "row-height", "col-num"])) : vue.createCommentVNode("", true),
1041
+ }, 8, ["layout", "row-height", "col-num"]),
1042
1042
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(hiddenFields.value, (field) => {
1043
1043
  return vue.openBlock(), vue.createElementBlock("input", {
1044
1044
  key: field.fieldName,
@@ -1061,9 +1061,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1061
1061
  }, null, 8, ["formMode", "pageFooterConfig"])) : vue.createCommentVNode("", true)
1062
1062
  ]),
1063
1063
  _: 1
1064
- }, 8, ["data-id", "data-name", "data-pkId"]);
1064
+ }, 8, ["data-id", "data-name", "data-pkId"])) : vue.createCommentVNode("", true);
1065
1065
  };
1066
1066
  }
1067
1067
  });
1068
- const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-575ec394"]]);
1068
+ const _Form = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-e700f77b"]]);
1069
1069
  exports.default = _Form;
@@ -5,9 +5,9 @@ require("../../../../../../node_modules/element-plus/es/index.js");
5
5
  ;/* empty css */
6
6
  ;/* empty css */
7
7
  const vue = require("vue");
8
- ;/* empty css */
9
8
  ;/* empty css */
10
9
  ;/* empty css */
10
+ ;/* empty css */
11
11
  const index$3 = require("../../dialog/index.js");
12
12
  ;/* empty css */
13
13
  ;/* empty css */
@@ -9,10 +9,10 @@ require("../../../../../node_modules/vxe-table/es/components.js");
9
9
  const index$3 = require("../../../../../node_modules/@element-plus/icons-vue/dist/index.js");
10
10
  const parseFilterConfig = require("../../utils/parseFilterConfig.js");
11
11
  const common = require("../../utils/common.js");
12
- ;/* empty css */
13
12
  ;/* empty css */
14
13
  ;/* empty css */
15
14
  ;/* empty css */
15
+ ;/* empty css */
16
16
  ;/* empty css */
17
17
  require("./index.js");
18
18
  require("../forms/form/index.js");
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const vue = require("vue");
4
4
  ;/* empty css */
5
- ;/* empty css */
6
5
  ;/* empty css */
7
6
  ;/* empty css */
8
7
  ;/* empty css */
8
+ ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
11
  require("../components/table/index.js");
@@ -4,9 +4,9 @@ const vue = require("vue");
4
4
  const parseRouteParams = require("./parseRouteParams.js");
5
5
  require("../../../../node_modules/element-plus/es/index.js");
6
6
  ;/* empty css */
7
- ;/* empty css */
8
7
  ;/* empty css */
9
8
  ;/* empty css */
9
+ ;/* empty css */
10
10
  const index = require("../../../../node_modules/element-plus/es/components/loading/index.js");
11
11
  const index$1 = require("../../../../node_modules/element-plus/es/components/message/index.js");
12
12
  class DataSourceManager {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.23",
3
+ "version": "5.4.24",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [