@fecp/designer 5.2.10 → 5.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/designer.css +24 -24
- package/es/packages/designer/package.json.mjs +1 -1
- package/es/packages/designer/src/layout/index.vue.mjs +2 -1
- package/es/packages/vue/src/components/forms/subTitle/SubTitle.vue.mjs +1 -1
- package/es/packages/vue/src/components/table/Table.vue.mjs +5 -3
- package/lib/designer.css +24 -24
- package/lib/packages/designer/package.json.js +1 -1
- package/lib/packages/designer/src/layout/index.vue.js +2 -1
- package/lib/packages/vue/src/components/forms/subTitle/SubTitle.vue.js +1 -1
- package/lib/packages/vue/src/components/table/Table.vue.js +5 -3
- package/package.json +1 -1
package/es/designer.css
CHANGED
|
@@ -4887,7 +4887,7 @@ to {
|
|
|
4887
4887
|
padding: 0 10px;
|
|
4888
4888
|
border-radius: 4px;
|
|
4889
4889
|
font-size: 13px;
|
|
4890
|
-
}.init-error-container[data-v-
|
|
4890
|
+
}.init-error-container[data-v-b54a865d] {
|
|
4891
4891
|
width: 100%;
|
|
4892
4892
|
height: 100vh;
|
|
4893
4893
|
display: flex;
|
|
@@ -4895,39 +4895,39 @@ to {
|
|
|
4895
4895
|
justify-content: center;
|
|
4896
4896
|
background-color: #f5f7fa;
|
|
4897
4897
|
}
|
|
4898
|
-
.inner-container[data-v-
|
|
4898
|
+
.inner-container[data-v-b54a865d] {
|
|
4899
4899
|
height: 0px;
|
|
4900
4900
|
z-index: 1;
|
|
4901
4901
|
background-color: #f7f8fa;
|
|
4902
4902
|
}
|
|
4903
|
-
.inner-container[data-v-
|
|
4903
|
+
.inner-container[data-v-b54a865d] .el-collapse {
|
|
4904
4904
|
border-bottom: none;
|
|
4905
4905
|
}
|
|
4906
|
-
.inner-container[data-v-
|
|
4906
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header {
|
|
4907
4907
|
height: 45px;
|
|
4908
4908
|
background: rgb(242, 242, 242);
|
|
4909
4909
|
color: #1a1a1a;
|
|
4910
4910
|
padding-left: 40px;
|
|
4911
4911
|
position: relative;
|
|
4912
4912
|
}
|
|
4913
|
-
.inner-container[data-v-
|
|
4913
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header .el-collapse-item__arrow {
|
|
4914
4914
|
position: absolute;
|
|
4915
4915
|
left: 14px;
|
|
4916
4916
|
font-size: 12px;
|
|
4917
4917
|
}
|
|
4918
|
-
.inner-container[data-v-
|
|
4918
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header .el-collapse-item__title {
|
|
4919
4919
|
font-size: 14px;
|
|
4920
4920
|
font-weight: 600;
|
|
4921
4921
|
}
|
|
4922
|
-
.inner-container[data-v-
|
|
4922
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__wrap {
|
|
4923
4923
|
border: none;
|
|
4924
4924
|
}
|
|
4925
|
-
.root-main[data-v-
|
|
4925
|
+
.root-main[data-v-b54a865d] {
|
|
4926
4926
|
padding: 0;
|
|
4927
4927
|
margin: 0 20px;
|
|
4928
4928
|
background-color: #fff;
|
|
4929
4929
|
}
|
|
4930
|
-
.fec-designer-container[data-v-
|
|
4930
|
+
.fec-designer-container[data-v-b54a865d] {
|
|
4931
4931
|
flex-direction: column;
|
|
4932
4932
|
height: 100%;
|
|
4933
4933
|
}/* 弹层样式 */
|
|
@@ -5084,14 +5084,14 @@ body,
|
|
|
5084
5084
|
overflow: hidden;
|
|
5085
5085
|
text-overflow: ellipsis;
|
|
5086
5086
|
position: relative;
|
|
5087
|
-
}.fec-sub-title[data-v-
|
|
5087
|
+
}.fec-sub-title[data-v-c1ff92cd] {
|
|
5088
5088
|
width: 100%;
|
|
5089
5089
|
height: 100%;
|
|
5090
5090
|
display: flex;
|
|
5091
5091
|
align-items: center;
|
|
5092
|
-
padding: 0
|
|
5092
|
+
padding: 0 10px;
|
|
5093
5093
|
}
|
|
5094
|
-
.fec-sub-title .fec-label-line[data-v-
|
|
5094
|
+
.fec-sub-title .fec-label-line[data-v-c1ff92cd] {
|
|
5095
5095
|
width: 3px;
|
|
5096
5096
|
height: 13px;
|
|
5097
5097
|
background-color: var(--el-color-primary);
|
|
@@ -5099,13 +5099,13 @@ body,
|
|
|
5099
5099
|
margin-right: 6px;
|
|
5100
5100
|
border-radius: 2px;
|
|
5101
5101
|
}
|
|
5102
|
-
.fec-sub-title .fec-label-title[data-v-
|
|
5102
|
+
.fec-sub-title .fec-label-title[data-v-c1ff92cd] {
|
|
5103
5103
|
font-size: 14px;
|
|
5104
5104
|
line-height: 16px;
|
|
5105
5105
|
font-weight: 700;
|
|
5106
5106
|
color: #1a1a1a;
|
|
5107
5107
|
}
|
|
5108
|
-
.fec-sub-title .fec-label-line-query[data-v-
|
|
5108
|
+
.fec-sub-title .fec-label-line-query[data-v-c1ff92cd] {
|
|
5109
5109
|
height: 1px;
|
|
5110
5110
|
flex-grow: 1;
|
|
5111
5111
|
margin-left: 10px;
|
|
@@ -5802,11 +5802,11 @@ body,
|
|
|
5802
5802
|
}
|
|
5803
5803
|
[data-v-59950eea] .el-checkbox-group .el-checkbox-button__inner {
|
|
5804
5804
|
border-radius: 4px;
|
|
5805
|
-
}.fec-table[data-v-
|
|
5805
|
+
}.fec-table[data-v-89c88084] {
|
|
5806
5806
|
height: 100%;
|
|
5807
5807
|
flex-grow: 1;
|
|
5808
5808
|
}
|
|
5809
|
-
.fec-table-container[data-v-
|
|
5809
|
+
.fec-table-container[data-v-89c88084] {
|
|
5810
5810
|
width: 100%;
|
|
5811
5811
|
background: #fff;
|
|
5812
5812
|
box-sizing: border-box;
|
|
@@ -5816,30 +5816,30 @@ body,
|
|
|
5816
5816
|
overflow: hidden;
|
|
5817
5817
|
flex-grow: 1;
|
|
5818
5818
|
}
|
|
5819
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
5819
|
+
.fec-table-container .fec-vxe-table[data-v-89c88084] {
|
|
5820
5820
|
flex: 1;
|
|
5821
5821
|
min-height: 0;
|
|
5822
5822
|
overflow: hidden;
|
|
5823
5823
|
}
|
|
5824
|
-
.fec-table-container[data-v-
|
|
5824
|
+
.fec-table-container[data-v-89c88084] .vxe-table {
|
|
5825
5825
|
font-size: 14px;
|
|
5826
5826
|
}
|
|
5827
|
-
.fec-table-container[data-v-
|
|
5827
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-table--body-wrapper {
|
|
5828
5828
|
overflow: auto;
|
|
5829
5829
|
}
|
|
5830
|
-
.fec-table-container[data-v-
|
|
5830
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-header--column {
|
|
5831
5831
|
background-color: #f5f7fa;
|
|
5832
5832
|
}
|
|
5833
|
-
.fec-table-container[data-v-
|
|
5833
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-header--column .vxe-cell {
|
|
5834
5834
|
height: 40px !important;
|
|
5835
5835
|
min-height: 40px !important;
|
|
5836
5836
|
}
|
|
5837
|
-
.fec-table-container[data-v-
|
|
5837
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .vxe-cell {
|
|
5838
5838
|
padding: 6px !important;
|
|
5839
5839
|
min-height: 40px !important;
|
|
5840
5840
|
}
|
|
5841
|
-
.fec-table-container[data-v-
|
|
5842
|
-
.fec-table-container[data-v-
|
|
5841
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .c--tooltip,
|
|
5842
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .c--title {
|
|
5843
5843
|
height: 40px !important;
|
|
5844
5844
|
min-height: 40px !important;
|
|
5845
5845
|
}:root,:host{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-break:anywhere;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;line-break:anywhere;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
|
|
@@ -42,6 +42,7 @@ const _sfc_main = {
|
|
|
42
42
|
api.getById(pkId).then((data2) => {
|
|
43
43
|
const templateName = data2.templateName;
|
|
44
44
|
const templateKey = data2.templateKey;
|
|
45
|
+
document.title = templateName || "表单设计器";
|
|
45
46
|
if (data2.type == "table") {
|
|
46
47
|
const tableOptions = ref({
|
|
47
48
|
pkId,
|
|
@@ -140,7 +141,7 @@ const _sfc_main = {
|
|
|
140
141
|
};
|
|
141
142
|
}
|
|
142
143
|
};
|
|
143
|
-
const layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
144
|
+
const layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b54a865d"]]);
|
|
144
145
|
export {
|
|
145
146
|
layout as default
|
|
146
147
|
};
|
|
@@ -21,7 +21,7 @@ const _sfc_main = {
|
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
const _SubTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
24
|
+
const _SubTitle = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c1ff92cd"]]);
|
|
25
25
|
export {
|
|
26
26
|
_SubTitle as default
|
|
27
27
|
};
|
|
@@ -449,6 +449,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
449
449
|
{ immediate: true }
|
|
450
450
|
);
|
|
451
451
|
const loadConfig = async () => {
|
|
452
|
+
var _a;
|
|
452
453
|
if (!props.templateKey) {
|
|
453
454
|
if (props.initOption) {
|
|
454
455
|
localConfig.value = Object.assign({}, props.initOption);
|
|
@@ -475,7 +476,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
475
476
|
isShow: false
|
|
476
477
|
}))
|
|
477
478
|
];
|
|
478
|
-
localConfig.value.hiddenFields.forEach((item) => {
|
|
479
|
+
(_a = localConfig.value.hiddenFields) == null ? void 0 : _a.forEach((item) => {
|
|
479
480
|
if (!hiddenFormData.value[item.fieldName]) {
|
|
480
481
|
hiddenFormData.value[item.fieldName] = item.value;
|
|
481
482
|
}
|
|
@@ -574,7 +575,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
574
575
|
key: 1,
|
|
575
576
|
localConfig: localConfig.value,
|
|
576
577
|
"fields-data": fieldsData.value,
|
|
577
|
-
onSearch: handleFilterSearch
|
|
578
|
+
onSearch: handleFilterSearch,
|
|
579
|
+
onClick: handleCustomBtnClick
|
|
578
580
|
}, null, 8, ["localConfig", "fields-data"])) : createCommentVNode("", true),
|
|
579
581
|
createElementVNode("div", _hoisted_1, [
|
|
580
582
|
createVNode(unref(VxeTable), {
|
|
@@ -640,7 +642,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
640
642
|
};
|
|
641
643
|
}
|
|
642
644
|
});
|
|
643
|
-
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
645
|
+
const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-89c88084"]]);
|
|
644
646
|
export {
|
|
645
647
|
_Table as default
|
|
646
648
|
};
|
package/lib/designer.css
CHANGED
|
@@ -4887,7 +4887,7 @@ to {
|
|
|
4887
4887
|
padding: 0 10px;
|
|
4888
4888
|
border-radius: 4px;
|
|
4889
4889
|
font-size: 13px;
|
|
4890
|
-
}.init-error-container[data-v-
|
|
4890
|
+
}.init-error-container[data-v-b54a865d] {
|
|
4891
4891
|
width: 100%;
|
|
4892
4892
|
height: 100vh;
|
|
4893
4893
|
display: flex;
|
|
@@ -4895,39 +4895,39 @@ to {
|
|
|
4895
4895
|
justify-content: center;
|
|
4896
4896
|
background-color: #f5f7fa;
|
|
4897
4897
|
}
|
|
4898
|
-
.inner-container[data-v-
|
|
4898
|
+
.inner-container[data-v-b54a865d] {
|
|
4899
4899
|
height: 0px;
|
|
4900
4900
|
z-index: 1;
|
|
4901
4901
|
background-color: #f7f8fa;
|
|
4902
4902
|
}
|
|
4903
|
-
.inner-container[data-v-
|
|
4903
|
+
.inner-container[data-v-b54a865d] .el-collapse {
|
|
4904
4904
|
border-bottom: none;
|
|
4905
4905
|
}
|
|
4906
|
-
.inner-container[data-v-
|
|
4906
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header {
|
|
4907
4907
|
height: 45px;
|
|
4908
4908
|
background: rgb(242, 242, 242);
|
|
4909
4909
|
color: #1a1a1a;
|
|
4910
4910
|
padding-left: 40px;
|
|
4911
4911
|
position: relative;
|
|
4912
4912
|
}
|
|
4913
|
-
.inner-container[data-v-
|
|
4913
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header .el-collapse-item__arrow {
|
|
4914
4914
|
position: absolute;
|
|
4915
4915
|
left: 14px;
|
|
4916
4916
|
font-size: 12px;
|
|
4917
4917
|
}
|
|
4918
|
-
.inner-container[data-v-
|
|
4918
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__header .el-collapse-item__title {
|
|
4919
4919
|
font-size: 14px;
|
|
4920
4920
|
font-weight: 600;
|
|
4921
4921
|
}
|
|
4922
|
-
.inner-container[data-v-
|
|
4922
|
+
.inner-container[data-v-b54a865d] .el-collapse .el-collapse-item__wrap {
|
|
4923
4923
|
border: none;
|
|
4924
4924
|
}
|
|
4925
|
-
.root-main[data-v-
|
|
4925
|
+
.root-main[data-v-b54a865d] {
|
|
4926
4926
|
padding: 0;
|
|
4927
4927
|
margin: 0 20px;
|
|
4928
4928
|
background-color: #fff;
|
|
4929
4929
|
}
|
|
4930
|
-
.fec-designer-container[data-v-
|
|
4930
|
+
.fec-designer-container[data-v-b54a865d] {
|
|
4931
4931
|
flex-direction: column;
|
|
4932
4932
|
height: 100%;
|
|
4933
4933
|
}/* 弹层样式 */
|
|
@@ -5084,14 +5084,14 @@ body,
|
|
|
5084
5084
|
overflow: hidden;
|
|
5085
5085
|
text-overflow: ellipsis;
|
|
5086
5086
|
position: relative;
|
|
5087
|
-
}.fec-sub-title[data-v-
|
|
5087
|
+
}.fec-sub-title[data-v-c1ff92cd] {
|
|
5088
5088
|
width: 100%;
|
|
5089
5089
|
height: 100%;
|
|
5090
5090
|
display: flex;
|
|
5091
5091
|
align-items: center;
|
|
5092
|
-
padding: 0
|
|
5092
|
+
padding: 0 10px;
|
|
5093
5093
|
}
|
|
5094
|
-
.fec-sub-title .fec-label-line[data-v-
|
|
5094
|
+
.fec-sub-title .fec-label-line[data-v-c1ff92cd] {
|
|
5095
5095
|
width: 3px;
|
|
5096
5096
|
height: 13px;
|
|
5097
5097
|
background-color: var(--el-color-primary);
|
|
@@ -5099,13 +5099,13 @@ body,
|
|
|
5099
5099
|
margin-right: 6px;
|
|
5100
5100
|
border-radius: 2px;
|
|
5101
5101
|
}
|
|
5102
|
-
.fec-sub-title .fec-label-title[data-v-
|
|
5102
|
+
.fec-sub-title .fec-label-title[data-v-c1ff92cd] {
|
|
5103
5103
|
font-size: 14px;
|
|
5104
5104
|
line-height: 16px;
|
|
5105
5105
|
font-weight: 700;
|
|
5106
5106
|
color: #1a1a1a;
|
|
5107
5107
|
}
|
|
5108
|
-
.fec-sub-title .fec-label-line-query[data-v-
|
|
5108
|
+
.fec-sub-title .fec-label-line-query[data-v-c1ff92cd] {
|
|
5109
5109
|
height: 1px;
|
|
5110
5110
|
flex-grow: 1;
|
|
5111
5111
|
margin-left: 10px;
|
|
@@ -5802,11 +5802,11 @@ body,
|
|
|
5802
5802
|
}
|
|
5803
5803
|
[data-v-59950eea] .el-checkbox-group .el-checkbox-button__inner {
|
|
5804
5804
|
border-radius: 4px;
|
|
5805
|
-
}.fec-table[data-v-
|
|
5805
|
+
}.fec-table[data-v-89c88084] {
|
|
5806
5806
|
height: 100%;
|
|
5807
5807
|
flex-grow: 1;
|
|
5808
5808
|
}
|
|
5809
|
-
.fec-table-container[data-v-
|
|
5809
|
+
.fec-table-container[data-v-89c88084] {
|
|
5810
5810
|
width: 100%;
|
|
5811
5811
|
background: #fff;
|
|
5812
5812
|
box-sizing: border-box;
|
|
@@ -5816,30 +5816,30 @@ body,
|
|
|
5816
5816
|
overflow: hidden;
|
|
5817
5817
|
flex-grow: 1;
|
|
5818
5818
|
}
|
|
5819
|
-
.fec-table-container .fec-vxe-table[data-v-
|
|
5819
|
+
.fec-table-container .fec-vxe-table[data-v-89c88084] {
|
|
5820
5820
|
flex: 1;
|
|
5821
5821
|
min-height: 0;
|
|
5822
5822
|
overflow: hidden;
|
|
5823
5823
|
}
|
|
5824
|
-
.fec-table-container[data-v-
|
|
5824
|
+
.fec-table-container[data-v-89c88084] .vxe-table {
|
|
5825
5825
|
font-size: 14px;
|
|
5826
5826
|
}
|
|
5827
|
-
.fec-table-container[data-v-
|
|
5827
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-table--body-wrapper {
|
|
5828
5828
|
overflow: auto;
|
|
5829
5829
|
}
|
|
5830
|
-
.fec-table-container[data-v-
|
|
5830
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-header--column {
|
|
5831
5831
|
background-color: #f5f7fa;
|
|
5832
5832
|
}
|
|
5833
|
-
.fec-table-container[data-v-
|
|
5833
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-header--column .vxe-cell {
|
|
5834
5834
|
height: 40px !important;
|
|
5835
5835
|
min-height: 40px !important;
|
|
5836
5836
|
}
|
|
5837
|
-
.fec-table-container[data-v-
|
|
5837
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .vxe-cell {
|
|
5838
5838
|
padding: 6px !important;
|
|
5839
5839
|
min-height: 40px !important;
|
|
5840
5840
|
}
|
|
5841
|
-
.fec-table-container[data-v-
|
|
5842
|
-
.fec-table-container[data-v-
|
|
5841
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .c--tooltip,
|
|
5842
|
+
.fec-table-container[data-v-89c88084] .vxe-table .vxe-body--column .c--title {
|
|
5843
5843
|
height: 40px !important;
|
|
5844
5844
|
min-height: 40px !important;
|
|
5845
5845
|
}:root,:host{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;line-break:anywhere;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;line-break:anywhere;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
|
|
@@ -44,6 +44,7 @@ const _sfc_main = {
|
|
|
44
44
|
index.default.getById(pkId).then((data2) => {
|
|
45
45
|
const templateName = data2.templateName;
|
|
46
46
|
const templateKey = data2.templateKey;
|
|
47
|
+
document.title = templateName || "表单设计器";
|
|
47
48
|
if (data2.type == "table") {
|
|
48
49
|
const tableOptions = vue.ref({
|
|
49
50
|
pkId,
|
|
@@ -142,5 +143,5 @@ const _sfc_main = {
|
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
145
|
};
|
|
145
|
-
const layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
146
|
+
const layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b54a865d"]]);
|
|
146
147
|
exports.default = layout;
|
|
@@ -23,5 +23,5 @@ const _sfc_main = {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
const _SubTitle = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
26
|
+
const _SubTitle = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c1ff92cd"]]);
|
|
27
27
|
exports.default = _SubTitle;
|
|
@@ -451,6 +451,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
451
451
|
{ immediate: true }
|
|
452
452
|
);
|
|
453
453
|
const loadConfig = async () => {
|
|
454
|
+
var _a;
|
|
454
455
|
if (!props.templateKey) {
|
|
455
456
|
if (props.initOption) {
|
|
456
457
|
localConfig.value = Object.assign({}, props.initOption);
|
|
@@ -477,7 +478,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
477
478
|
isShow: false
|
|
478
479
|
}))
|
|
479
480
|
];
|
|
480
|
-
localConfig.value.hiddenFields.forEach((item) => {
|
|
481
|
+
(_a = localConfig.value.hiddenFields) == null ? void 0 : _a.forEach((item) => {
|
|
481
482
|
if (!hiddenFormData.value[item.fieldName]) {
|
|
482
483
|
hiddenFormData.value[item.fieldName] = item.value;
|
|
483
484
|
}
|
|
@@ -576,7 +577,8 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
576
577
|
key: 1,
|
|
577
578
|
localConfig: localConfig.value,
|
|
578
579
|
"fields-data": fieldsData.value,
|
|
579
|
-
onSearch: handleFilterSearch
|
|
580
|
+
onSearch: handleFilterSearch,
|
|
581
|
+
onClick: handleCustomBtnClick
|
|
580
582
|
}, null, 8, ["localConfig", "fields-data"])) : vue.createCommentVNode("", true),
|
|
581
583
|
vue.createElementVNode("div", _hoisted_1, [
|
|
582
584
|
vue.createVNode(vue.unref(index$1.VxeTable), {
|
|
@@ -642,5 +644,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
642
644
|
};
|
|
643
645
|
}
|
|
644
646
|
});
|
|
645
|
-
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
647
|
+
const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-89c88084"]]);
|
|
646
648
|
exports.default = _Table;
|