@fecp/designer 5.4.27 → 5.4.31

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 (51) 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/prod/index.vue.mjs +1 -1
  13. package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
  14. package/es/designer.css +86 -7
  15. package/es/packages/vue/index.mjs +2 -0
  16. package/es/packages/vue/src/components/all.mjs +6 -0
  17. package/es/packages/vue/src/components/dialog/customDialog/CustomDialog.vue.mjs +172 -0
  18. package/es/packages/vue/src/components/dialog/customDialog/index.mjs +7 -0
  19. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +3 -4
  20. package/es/packages/vue/src/components/layout/Layout.vue.mjs +81 -0
  21. package/es/packages/vue/src/components/layout/index.mjs +9 -0
  22. package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +162 -0
  23. package/es/packages/vue/src/components/layout/layoutCard/index.mjs +7 -0
  24. package/es/packages/vue/src/directive/layout.mjs +28 -0
  25. package/es/packages/vue/src/utils/datasource.mjs +2 -2
  26. package/lib/designer/package.json.js +1 -1
  27. package/lib/designer/src/components/DocumentParam.vue.js +1 -1
  28. package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
  29. package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
  30. package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
  31. package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
  32. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  33. package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
  34. package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
  35. package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
  36. package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
  37. package/lib/designer/src/packages/prod/index.vue.js +1 -1
  38. package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
  39. package/lib/designer.css +86 -7
  40. package/lib/packages/vue/index.js +7 -5
  41. package/lib/packages/vue/src/components/all.js +6 -0
  42. package/lib/packages/vue/src/components/dialog/customDialog/CustomDialog.vue.js +172 -0
  43. package/lib/packages/vue/src/components/dialog/customDialog/index.js +7 -0
  44. package/lib/packages/vue/src/components/forms/form/Form.vue.js +3 -4
  45. package/lib/packages/vue/src/components/layout/Layout.vue.js +81 -0
  46. package/lib/packages/vue/src/components/layout/index.js +9 -0
  47. package/lib/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.js +162 -0
  48. package/lib/packages/vue/src/components/layout/layoutCard/index.js +7 -0
  49. package/lib/packages/vue/src/directive/layout.js +28 -0
  50. package/lib/packages/vue/src/utils/datasource.js +2 -2
  51. package/package.json +1 -1
@@ -0,0 +1,162 @@
1
+ import "../../../../../../node_modules/element-plus/es/index.mjs";
2
+ /* empty css */
3
+ /* empty css */
4
+ import { computed, ref, watch, nextTick, createElementBlock, openBlock, Fragment, createElementVNode, createVNode, createBlock, createCommentVNode, normalizeStyle, normalizeClass, toDisplayString, unref, withCtx, createTextVNode, renderSlot, isRef, resolveDynamicComponent, normalizeProps, mergeProps } from "vue";
5
+ import { ArrowRight as arrow_right_default } from "../../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
6
+ import { customDialog } from "../../dialog/customDialog/index.mjs";
7
+ import api from "../../../api/index.mjs";
8
+ import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
9
+ import { Form } from "../../forms/form/index.mjs";
10
+ import { Table } from "../../table/index.mjs";
11
+ /* empty css */
12
+ import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
13
+ import { ElButton } from "../../../../../../node_modules/element-plus/es/components/button/index.mjs";
14
+ import { ElIcon } from "../../../../../../node_modules/element-plus/es/components/icon/index.mjs";
15
+ const _hoisted_1 = { class: "fec-layout-card" };
16
+ const _hoisted_2 = { class: "header" };
17
+ const _hoisted_3 = { class: "title" };
18
+ const _hoisted_4 = { class: "content" };
19
+ const _sfc_main = {
20
+ __name: "LayoutCard",
21
+ props: {
22
+ //标题
23
+ title: {
24
+ type: String,
25
+ default: ""
26
+ },
27
+ //图标
28
+ icon: {
29
+ type: String,
30
+ default: "icon-authorization"
31
+ },
32
+ //图标背景色
33
+ iconColor: {
34
+ type: String,
35
+ default: "#4fbdc1"
36
+ },
37
+ morePageRoute: {
38
+ type: String,
39
+ default: ""
40
+ },
41
+ morePageTemplateKey: {
42
+ type: String,
43
+ default: ""
44
+ },
45
+ morePageParams: {
46
+ type: Object,
47
+ default: {}
48
+ }
49
+ },
50
+ setup(__props) {
51
+ const props = __props;
52
+ const ctx = getCurrentVueInstance();
53
+ const isMoreBtn = computed(() => {
54
+ return props.morePageRoute || props.morePageTemplateKey;
55
+ });
56
+ const dialogVisible = ref(false);
57
+ const currentComponent = ref(null);
58
+ const currentParams = ref(props.morePageParams);
59
+ const flag = ref(true);
60
+ watch(currentParams, () => {
61
+ if (props.morePageRoute && Object.keys(currentParams).length > 0) {
62
+ flag.value = false;
63
+ nextTick(() => {
64
+ flag.value = true;
65
+ });
66
+ }
67
+ });
68
+ function moreClick() {
69
+ if (props.morePageRoute) {
70
+ loadComponentByPath(props.morePageRoute);
71
+ dialogVisible.value = true;
72
+ } else if (props.morePageTemplateKey) {
73
+ api.findByTemplateKey(ctx.$http, {
74
+ templateKey: props.morePageTemplateKey,
75
+ timestamp: Date.now(),
76
+ templateVersion: "v5"
77
+ }).then((res) => {
78
+ const data = JSON.parse(res);
79
+ if (data.formMode) {
80
+ currentComponent.value = Form;
81
+ } else {
82
+ currentComponent.value = Table;
83
+ }
84
+ currentParams.value.initOption = data;
85
+ currentParams.value.isDialog = true;
86
+ dialogVisible.value = true;
87
+ });
88
+ }
89
+ }
90
+ function loadComponentByPath(path) {
91
+ const route = ctx.$router.getRoutes().find((item) => item.path === path);
92
+ if (!route) return;
93
+ const comp = route.components.default;
94
+ if (!comp) return;
95
+ if (typeof comp === "function") {
96
+ comp().then((module) => {
97
+ currentComponent.value = module.default;
98
+ });
99
+ } else {
100
+ currentComponent.value = comp;
101
+ }
102
+ }
103
+ return (_ctx, _cache) => {
104
+ const _component_el_icon = ElIcon;
105
+ const _component_el_button = ElButton;
106
+ return openBlock(), createElementBlock(Fragment, null, [
107
+ createElementVNode("div", _hoisted_1, [
108
+ createElementVNode("div", _hoisted_2, [
109
+ createElementVNode("div", _hoisted_3, [
110
+ __props.title ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
111
+ createElementVNode("i", {
112
+ class: normalizeClass("icon iconfont " + __props.icon),
113
+ style: normalizeStyle("background-color:" + __props.iconColor)
114
+ }, null, 6),
115
+ createElementVNode("span", null, toDisplayString(__props.title), 1)
116
+ ], 64)) : createCommentVNode("", true)
117
+ ]),
118
+ unref(isMoreBtn) ? (openBlock(), createBlock(_component_el_button, {
119
+ key: 0,
120
+ class: "moreBtn",
121
+ type: "primary",
122
+ link: "",
123
+ onClick: moreClick
124
+ }, {
125
+ default: withCtx(() => [
126
+ _cache[1] || (_cache[1] = createTextVNode("更多信息")),
127
+ createVNode(_component_el_icon, null, {
128
+ default: withCtx(() => [
129
+ createVNode(unref(arrow_right_default))
130
+ ]),
131
+ _: 1
132
+ })
133
+ ]),
134
+ _: 1
135
+ })) : createCommentVNode("", true)
136
+ ]),
137
+ createElementVNode("div", _hoisted_4, [
138
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
139
+ ])
140
+ ]),
141
+ createVNode(unref(customDialog), {
142
+ modelValue: unref(dialogVisible),
143
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
144
+ width: "80%",
145
+ height: "100%",
146
+ query: "",
147
+ "append-to-body": "",
148
+ title: __props.title
149
+ }, {
150
+ default: withCtx(() => [
151
+ unref(flag) && unref(currentComponent) ? (openBlock(), createBlock(resolveDynamicComponent(unref(currentComponent)), normalizeProps(mergeProps({ key: 0 }, unref(currentParams))), null, 16)) : createCommentVNode("", true)
152
+ ]),
153
+ _: 1
154
+ }, 8, ["modelValue", "title"])
155
+ ], 64);
156
+ };
157
+ }
158
+ };
159
+ const _LayoutCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3ce25014"]]);
160
+ export {
161
+ _LayoutCard as default
162
+ };
@@ -0,0 +1,7 @@
1
+ import _LayoutCard from "./LayoutCard.vue.mjs";
2
+ import install from "../../../utils/install.mjs";
3
+ const LayoutCard = install.withInstall("LayoutCard", _LayoutCard);
4
+ export {
5
+ LayoutCard,
6
+ LayoutCard as default
7
+ };
@@ -0,0 +1,28 @@
1
+ const layout = {
2
+ mounted(el, binding, vnode, prevVnode) {
3
+ if (el.parentElement.className.indexOf("h-main") != -1) {
4
+ document.querySelector(".h-main").setAttribute(
5
+ "style",
6
+ "background-color:transparent;padding:0px;border:0px;"
7
+ );
8
+ }
9
+ if (el.parentElement.className.indexOf("root-main") != -1) {
10
+ document.querySelector(".root-main").setAttribute(
11
+ "style",
12
+ "background-color:transparent;padding:0px;border:0px;"
13
+ );
14
+ }
15
+ if (el.parentElement.parentElement.className.indexOf("el-dialog__body") != -1) {
16
+ el.parentElement.parentElement.setAttribute(
17
+ "style",
18
+ "background-color:#F7F7F7;"
19
+ );
20
+ }
21
+ }
22
+ };
23
+ layout.install = function(Vue) {
24
+ Vue.directive("fec-layout", layout);
25
+ };
26
+ export {
27
+ layout as default
28
+ };
@@ -182,7 +182,7 @@ class DataSourceManager {
182
182
  const responseMessage = response.message;
183
183
  if (this.pagination) {
184
184
  this.data.list = (responseData == null ? void 0 : responseData.records) || responseData;
185
- this.data.total = (responseData == null ? void 0 : responseData.total) || responseData.length;
185
+ this.data.total = (responseData == null ? void 0 : responseData.total) || (responseData == null ? void 0 : responseData.length);
186
186
  } else {
187
187
  this.data = responseData;
188
188
  }
@@ -200,7 +200,7 @@ class DataSourceManager {
200
200
  const responseData = response;
201
201
  if (this.pagination) {
202
202
  this.data.list = (responseData == null ? void 0 : responseData.records) || responseData;
203
- this.data.total = (responseData == null ? void 0 : responseData.total) || responseData.length;
203
+ this.data.total = (responseData == null ? void 0 : responseData.total) || (responseData == null ? void 0 : responseData.length);
204
204
  } else {
205
205
  this.data = responseData;
206
206
  }
@@ -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.27";
3
+ const version = "5.4.31";
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");
@@ -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
@@ -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-5d68b9c4] {
5907
+ .fec-form[data-v-4eb26904] {
5908
5908
  height: 100%;
5909
5909
  }
5910
- [data-v-5d68b9c4] .vgl-item {
5910
+ [data-v-4eb26904] .vgl-item {
5911
5911
  transition: none;
5912
5912
  }
5913
- [data-v-5d68b9c4] .vgl-item > .el-form-item {
5913
+ [data-v-4eb26904] .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-5d68b9c4] .vgl-item > .el-form-item.el-form-item--label-top {
5919
+ [data-v-4eb26904] .vgl-item > .el-form-item.el-form-item--label-top {
5920
5920
  flex-direction: column;
5921
5921
  }
5922
- [data-v-5d68b9c4] .vgl-item > .el-form-item .el-form-item__label {
5922
+ [data-v-4eb26904] .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-5d68b9c4] .vgl-item > .el-container {
5927
+ [data-v-4eb26904] .vgl-item > .el-container {
5928
5928
  height: auto !important;
5929
5929
  }.cell-content .cell-text[data-v-3e5372d4] {
5930
5930
  display: inline-block;
@@ -6253,7 +6253,86 @@ body,
6253
6253
  .fec-table-container[data-v-45cdf333] .vxe-table .vxe-body--column .c--title {
6254
6254
  height: 40px !important;
6255
6255
  min-height: 40px !important;
6256
- }:root,:host{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-value-font-size: inherit;--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: inherit}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);font-size:var(--van-cell-value-font-size);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}
6256
+ }
6257
+ .custom-dialog {
6258
+ min-height: 50% !important;
6259
+ height: auto;
6260
+ max-height: 90% !important;
6261
+ padding: 0 !important;
6262
+ }
6263
+ .fec-layout-row[data-v-bb40b3aa] {
6264
+ width: 100%;
6265
+ height: 100%;
6266
+ }
6267
+ .fec-layout-row[data-v-bb40b3aa] .el-col {
6268
+ height: 100%;
6269
+ }
6270
+ .fec-layout-row[data-v-bb40b3aa] .el-col .el-scrollbar__bar {
6271
+ display: none;
6272
+ }
6273
+ .grid-content[data-v-bb40b3aa] {
6274
+ border-radius: 9px 9px 4px 4px;
6275
+ background-color: #fff;
6276
+ position: relative;
6277
+ height: 100%;
6278
+ /* padding: 16px; */
6279
+ overflow: hidden;
6280
+ /* .layout-content {
6281
+ padding: 16px 16px 16px 16px;
6282
+ } */
6283
+ }
6284
+ .grid-content-statistics[data-v-bb40b3aa] {
6285
+ height: 100%;
6286
+ display: flex;
6287
+ flex-direction: column;
6288
+ /* .card-content {
6289
+ display: flex;
6290
+ flex-direction: column;
6291
+ height: 100%;
6292
+ } */
6293
+ }
6294
+ .grid-content-statistics[data-v-bb40b3aa] .fec-layout-card:last-child {
6295
+ margin-bottom: 0 !important;
6296
+ flex: 1;
6297
+ }
6298
+ .fec-layout-card[data-v-3ce25014] {
6299
+ margin-bottom: 8px;
6300
+ border-radius: 4px;
6301
+ background-color: #fff;
6302
+ padding: 16px;
6303
+ display: flex;
6304
+ flex-direction: column;
6305
+ }
6306
+ .fec-layout-card .header[data-v-3ce25014] {
6307
+ display: flex;
6308
+ align-items: center;
6309
+ justify-content: space-between;
6310
+ }
6311
+ .fec-layout-card .header .title[data-v-3ce25014] {
6312
+ display: flex;
6313
+ align-items: center;
6314
+ }
6315
+ .fec-layout-card .header .title .icon[data-v-3ce25014] {
6316
+ color: #fff;
6317
+ width: 30px;
6318
+ height: 30px;
6319
+ display: block;
6320
+ border-radius: 4px;
6321
+ text-align: center;
6322
+ line-height: 30px;
6323
+ font-size: 20px;
6324
+ margin-right: 12px;
6325
+ }
6326
+ .fec-layout-card .header .title > span[data-v-3ce25014] {
6327
+ font-size: 17px;
6328
+ font-weight: bold;
6329
+ color: #1a1a1a;
6330
+ }
6331
+ .fec-layout-card .content[data-v-3ce25014] {
6332
+ flex-grow: 1;
6333
+ padding-top: 12px;
6334
+ }
6335
+ :root,:host{--van-cell-font-size: var(--van-font-size-md);--van-cell-line-height: 24px;--van-cell-vertical-padding: 10px;--van-cell-horizontal-padding: var(--van-padding-md);--van-cell-text-color: var(--van-text-color);--van-cell-background: var(--van-background-2);--van-cell-border-color: var(--van-border-color);--van-cell-active-color: var(--van-active-color);--van-cell-required-color: var(--van-danger-color);--van-cell-label-color: var(--van-text-color-2);--van-cell-label-font-size: var(--van-font-size-sm);--van-cell-label-line-height: var(--van-line-height-sm);--van-cell-label-margin-top: var(--van-padding-base);--van-cell-value-color: var(--van-text-color-2);--van-cell-value-font-size: inherit;--van-cell-icon-size: 16px;--van-cell-right-icon-color: var(--van-gray-6);--van-cell-large-vertical-padding: var(--van-padding-sm);--van-cell-large-title-font-size: var(--van-font-size-lg);--van-cell-large-label-font-size: var(--van-font-size-md);--van-cell-large-value-font-size: inherit}.van-cell{position:relative;display:flex;box-sizing:border-box;width:100%;padding:var(--van-cell-vertical-padding) var(--van-cell-horizontal-padding);overflow:hidden;color:var(--van-cell-text-color);font-size:var(--van-cell-font-size);line-height:var(--van-cell-line-height);background:var(--van-cell-background)}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-cell-border-color);transform:scaleY(.5)}.van-cell:last-child:after,.van-cell--borderless:after{display:none}.van-cell__label{margin-top:var(--van-cell-label-margin-top);color:var(--van-cell-label-color);font-size:var(--van-cell-label-font-size);line-height:var(--van-cell-label-line-height)}.van-cell__title,.van-cell__value{flex:1}.van-cell__value{position:relative;overflow:hidden;color:var(--van-cell-value-color);font-size:var(--van-cell-value-font-size);text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__left-icon,.van-cell__right-icon{height:var(--van-cell-line-height);font-size:var(--van-cell-icon-size);line-height:var(--van-cell-line-height)}.van-cell__left-icon{margin-right:var(--van-padding-base)}.van-cell__right-icon{margin-left:var(--van-padding-base);color:var(--van-cell-right-icon-color)}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:var(--van-cell-active-color)}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:var(--van-padding-xs);color:var(--van-cell-required-color);font-size:var(--van-cell-font-size);content:"*"}.van-cell--center{align-items:center}.van-cell--large{padding-top:var(--van-cell-large-vertical-padding);padding-bottom:var(--van-cell-large-vertical-padding)}.van-cell--large .van-cell__title{font-size:var(--van-cell-large-title-font-size)}.van-cell--large .van-cell__label{font-size:var(--van-cell-large-label-font-size)}.van-cell--large .van-cell__value{font-size:var(--van-cell-large-value-font-size)}
6257
6336
  :root,:host{--van-cell-group-background: var(--van-background-2);--van-cell-group-title-color: var(--van-text-color-2);--van-cell-group-title-padding: var(--van-padding-md) var(--van-padding-md);--van-cell-group-title-font-size: var(--van-font-size-md);--van-cell-group-title-line-height: 16px;--van-cell-group-inset-padding: 0 var(--van-padding-md);--van-cell-group-inset-radius: var(--van-radius-lg);--van-cell-group-inset-title-padding: var(--van-padding-md) var(--van-padding-md)}.van-cell-group{background:var(--van-cell-group-background)}.van-cell-group--inset{margin:var(--van-cell-group-inset-padding);border-radius:var(--van-cell-group-inset-radius);overflow:hidden}.van-cell-group__title{padding:var(--van-cell-group-title-padding);color:var(--van-cell-group-title-color);font-size:var(--van-cell-group-title-font-size);line-height:var(--van-cell-group-title-line-height)}.van-cell-group__title--inset{padding:var(--van-cell-group-inset-title-padding)}
6258
6337
  .van-swipe-cell{position:relative;overflow:hidden;cursor:-webkit-grab;cursor:grab}.van-swipe-cell__wrapper{transition-timing-function:cubic-bezier(.18,.89,.32,1);transition-property:transform}.van-swipe-cell__left,.van-swipe-cell__right{position:absolute;top:0;height:100%}.van-swipe-cell__left{left:0;transform:translate3d(-100%,0,0)}.van-swipe-cell__right{right:0;transform:translate3d(100%,0,0)}
6259
6338
 
@@ -1,26 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const all = require("./src/components/all.js");
4
- const index$r = require("../mobile/index.js");
4
+ const index$u = require("../mobile/index.js");
5
5
  const zhCn = require("../../node_modules/element-plus/es/locale/lang/zh-cn.js");
6
- const index$s = require("../../node_modules/element-plus/es/index.js");
6
+ const index$v = require("../../node_modules/element-plus/es/index.js");
7
7
  const components = require("../../node_modules/vxe-pc-ui/es/components.js");
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
+ const layout = require("./src/directive/layout.js");
10
11
  const fecVue = {
11
12
  install: (app) => {
12
13
  for (let c in all) {
13
14
  app.use(all[c]);
14
15
  }
15
- for (let c in index$r) {
16
+ for (let c in index$u) {
16
17
  if (c.startsWith("Mobile")) {
17
- app.use(index$r[c]);
18
+ app.use(index$u[c]);
18
19
  }
19
20
  }
20
- app.use(index$s.default, {
21
+ app.use(index$v.default, {
21
22
  locale: zhCn.default
22
23
  });
23
24
  app.use(components);
25
+ app.use(layout.default);
24
26
  }
25
27
  };
26
28
  exports.default = fecVue;
@@ -27,6 +27,9 @@ const index$n = require("./bus/document/index.js");
27
27
  const index$o = require("./details/header/index.js");
28
28
  const index$p = require("./details/footer/index.js");
29
29
  const index$q = require("./details/main/index.js");
30
+ const index$r = require("./dialog/customDialog/index.js");
31
+ const index$s = require("./layout/index.js");
32
+ const index$t = require("./layout/layoutCard/index.js");
30
33
  exports.Table = index.Table;
31
34
  exports.Form = index$1.Form;
32
35
  exports.Text = index$2.Text;
@@ -54,3 +57,6 @@ exports.Document = index$n.Document;
54
57
  exports.header = index$o.header;
55
58
  exports.footer = index$p.footer;
56
59
  exports.main = index$q.main;
60
+ exports.customDialog = index$r.customDialog;
61
+ exports.Layout = index$s.Layout;
62
+ exports.LayoutCard = index$t.LayoutCard;