@fecp/designer 5.4.65 → 5.4.66

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.65";
1
+ const version = "5.4.66";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -6263,18 +6263,18 @@ body,
6263
6263
  max-height: 90% !important;
6264
6264
  padding: 0 !important;
6265
6265
  }
6266
- .fec-layout-row[data-v-4817cb98] {
6266
+ .fec-layout-row[data-v-5bbe4a19] {
6267
6267
  width: 100%;
6268
6268
  height: 100%;
6269
6269
  overflow: hidden;
6270
6270
  }
6271
- .fec-layout-row[data-v-4817cb98] .el-col {
6271
+ .fec-layout-row[data-v-5bbe4a19] .el-col {
6272
6272
  height: 100%;
6273
6273
  }
6274
- .fec-layout-row[data-v-4817cb98] .el-col .el-scrollbar__bar {
6274
+ .fec-layout-row[data-v-5bbe4a19] .el-col .el-scrollbar__bar {
6275
6275
  display: none;
6276
6276
  }
6277
- .grid-content[data-v-4817cb98] {
6277
+ .grid-content[data-v-5bbe4a19] {
6278
6278
  border-radius: 9px 9px 4px 4px;
6279
6279
  background-color: #fff;
6280
6280
  position: relative;
@@ -6285,7 +6285,7 @@ body,
6285
6285
  padding: 16px 16px 16px 16px;
6286
6286
  } */
6287
6287
  }
6288
- .grid-content-statistics[data-v-4817cb98] {
6288
+ .grid-content-statistics[data-v-5bbe4a19] {
6289
6289
  height: 100%;
6290
6290
  display: flex;
6291
6291
  flex-direction: column;
@@ -6296,7 +6296,7 @@ body,
6296
6296
  height: 100%;
6297
6297
  } */
6298
6298
  }
6299
- .grid-content-statistics[data-v-4817cb98] .fec-layout-card:last-child {
6299
+ .grid-content-statistics[data-v-5bbe4a19] .fec-layout-card:last-child {
6300
6300
  margin-bottom: 0 !important;
6301
6301
  flex: 1;
6302
6302
  }
@@ -9,8 +9,8 @@ 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 */
13
+ /* empty css */
14
14
  /* empty css */
15
15
  import { loadComponentByPath } from "../../utils/common.mjs";
16
16
  /* empty css */
@@ -3,8 +3,8 @@ 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 */
7
+ /* empty css */
8
8
  /* empty css */
9
9
  import { openDialog } from "../../dialog/index.mjs";
10
10
  /* empty css */
@@ -42,11 +42,15 @@ const _sfc_main = {
42
42
  const showCard = ref(false);
43
43
  function loaded(option, formData2) {
44
44
  showCard.value = true;
45
- let offsetHeight = layoutRowRef.value.$el.offsetHeight;
46
- const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
47
- cols.forEach((col) => {
48
- col.style.height = offsetHeight + "px";
49
- });
45
+ const layoutEl = layoutRowRef.value.$el;
46
+ const parentElement = layoutEl.parentElement;
47
+ if (parentElement.classList.contains("el-dialog__body")) {
48
+ let offsetHeight = parentElement.offsetHeight - 20;
49
+ const cols = layoutEl.querySelectorAll(".el-col");
50
+ cols.forEach((col) => {
51
+ col.style.height = offsetHeight + "px";
52
+ });
53
+ }
50
54
  emit("loaded", cloneDeep(formData2));
51
55
  }
52
56
  return (_ctx, _cache) => {
@@ -98,7 +102,7 @@ const _sfc_main = {
98
102
  };
99
103
  }
100
104
  };
101
- const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4817cb98"]]);
105
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5bbe4a19"]]);
102
106
  export {
103
107
  _Layout as default
104
108
  };
@@ -7,8 +7,8 @@ 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 */
11
+ /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
2
2
  /* empty css */
3
- /* empty css */
4
3
  /* empty css */
4
+ /* empty css */
5
5
  /* empty css */
6
6
  /* empty css */
7
7
  /* empty css */
@@ -2,8 +2,8 @@ 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 */
6
+ /* empty css */
7
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";
@@ -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.65";
3
+ const version = "5.4.66";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -6263,18 +6263,18 @@ body,
6263
6263
  max-height: 90% !important;
6264
6264
  padding: 0 !important;
6265
6265
  }
6266
- .fec-layout-row[data-v-4817cb98] {
6266
+ .fec-layout-row[data-v-5bbe4a19] {
6267
6267
  width: 100%;
6268
6268
  height: 100%;
6269
6269
  overflow: hidden;
6270
6270
  }
6271
- .fec-layout-row[data-v-4817cb98] .el-col {
6271
+ .fec-layout-row[data-v-5bbe4a19] .el-col {
6272
6272
  height: 100%;
6273
6273
  }
6274
- .fec-layout-row[data-v-4817cb98] .el-col .el-scrollbar__bar {
6274
+ .fec-layout-row[data-v-5bbe4a19] .el-col .el-scrollbar__bar {
6275
6275
  display: none;
6276
6276
  }
6277
- .grid-content[data-v-4817cb98] {
6277
+ .grid-content[data-v-5bbe4a19] {
6278
6278
  border-radius: 9px 9px 4px 4px;
6279
6279
  background-color: #fff;
6280
6280
  position: relative;
@@ -6285,7 +6285,7 @@ body,
6285
6285
  padding: 16px 16px 16px 16px;
6286
6286
  } */
6287
6287
  }
6288
- .grid-content-statistics[data-v-4817cb98] {
6288
+ .grid-content-statistics[data-v-5bbe4a19] {
6289
6289
  height: 100%;
6290
6290
  display: flex;
6291
6291
  flex-direction: column;
@@ -6296,7 +6296,7 @@ body,
6296
6296
  height: 100%;
6297
6297
  } */
6298
6298
  }
6299
- .grid-content-statistics[data-v-4817cb98] .fec-layout-card:last-child {
6299
+ .grid-content-statistics[data-v-5bbe4a19] .fec-layout-card:last-child {
6300
6300
  margin-bottom: 0 !important;
6301
6301
  flex: 1;
6302
6302
  }
@@ -11,8 +11,8 @@ 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 */
15
+ ;/* empty css */
16
16
  ;/* empty css */
17
17
  const common = require("../../utils/common.js");
18
18
  ;/* empty css */
@@ -5,8 +5,8 @@ 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 */
9
+ ;/* empty css */
10
10
  ;/* empty css */
11
11
  const index$3 = require("../../dialog/index.js");
12
12
  ;/* empty css */
@@ -44,11 +44,15 @@ const _sfc_main = {
44
44
  const showCard = vue.ref(false);
45
45
  function loaded(option, formData2) {
46
46
  showCard.value = true;
47
- let offsetHeight = layoutRowRef.value.$el.offsetHeight;
48
- const cols = layoutRowRef.value.$el.querySelectorAll(".el-col");
49
- cols.forEach((col) => {
50
- col.style.height = offsetHeight + "px";
51
- });
47
+ const layoutEl = layoutRowRef.value.$el;
48
+ const parentElement = layoutEl.parentElement;
49
+ if (parentElement.classList.contains("el-dialog__body")) {
50
+ let offsetHeight = parentElement.offsetHeight - 20;
51
+ const cols = layoutEl.querySelectorAll(".el-col");
52
+ cols.forEach((col) => {
53
+ col.style.height = offsetHeight + "px";
54
+ });
55
+ }
52
56
  emit("loaded", common.cloneDeep(formData2));
53
57
  }
54
58
  return (_ctx, _cache) => {
@@ -100,5 +104,5 @@ const _sfc_main = {
100
104
  };
101
105
  }
102
106
  };
103
- const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-4817cb98"]]);
107
+ const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-5bbe4a19"]]);
104
108
  exports.default = _Layout;
@@ -9,8 +9,8 @@ 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 */
13
+ ;/* empty css */
14
14
  ;/* empty css */
15
15
  ;/* empty css */
16
16
  ;/* empty css */
@@ -2,8 +2,8 @@
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 */
6
+ ;/* empty css */
7
7
  ;/* empty css */
8
8
  ;/* empty css */
9
9
  ;/* empty css */
@@ -4,8 +4,8 @@ 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 */
8
+ ;/* empty css */
9
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.65",
3
+ "version": "5.4.66",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [