@fecp/designer 5.5.36 → 5.5.39
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/package.json.mjs +1 -1
- package/es/designer/src/components/DocumentParam.vue.mjs +1 -1
- package/es/designer/src/components/ParamsConfig.vue2.mjs +1 -1
- package/es/designer/src/components/ValueSelector.vue2.mjs +3 -1
- package/es/designer/src/layout/aside/HiddenFieldDialog.vue.mjs +1 -1
- package/es/designer/src/packages/advancedFilter/ValueInput.vue2.mjs +1 -1
- package/es/designer/src/packages/dataLinkage/index.vue.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
- package/es/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/approvalHistory.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/contract.vue.mjs +1 -1
- package/es/designer/src/packages/form/property/subForm.vue.mjs +1 -1
- package/es/designer/src/packages/prod/index.vue.mjs +1 -1
- package/es/designer/src/packages/table/headerBtn.vue.mjs +1 -1
- package/es/designer.css +31 -29
- package/es/packages/vue/src/components/forms/text/Text.vue.mjs +5 -2
- package/es/packages/vue/src/components/forms/textarea/Textarea.vue.mjs +7 -2
- package/es/packages/vue/src/components/table/TableFilter.vue.mjs +7 -5
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/components/DocumentParam.vue.js +1 -1
- package/lib/designer/src/components/ParamsConfig.vue2.js +1 -1
- package/lib/designer/src/components/ValueSelector.vue2.js +14 -12
- package/lib/designer/src/layout/aside/HiddenFieldDialog.vue.js +1 -1
- package/lib/designer/src/packages/advancedFilter/ValueInput.vue2.js +1 -1
- package/lib/designer/src/packages/dataLinkage/index.vue.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
- package/lib/designer/src/packages/eventFlow/dialog/action/RiskSch.vue.js +1 -1
- package/lib/designer/src/packages/form/property/approvalHistory.vue.js +1 -1
- package/lib/designer/src/packages/form/property/contract.vue.js +1 -1
- package/lib/designer/src/packages/form/property/subForm.vue.js +1 -1
- package/lib/designer/src/packages/prod/index.vue.js +1 -1
- package/lib/designer/src/packages/table/headerBtn.vue.js +1 -1
- package/lib/designer.css +31 -29
- package/lib/packages/vue/src/components/forms/text/Text.vue.js +5 -2
- package/lib/packages/vue/src/components/forms/textarea/Textarea.vue.js +7 -2
- package/lib/packages/vue/src/components/table/TableFilter.vue.js +6 -4
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import "../../../node_modules/element-plus/es/index.mjs";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { getCurrentInstance, 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.
|
|
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.
|
|
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";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { computed, createBlock, openBlock, resolveDynamicComponent, withCtx, createVNode } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import "../../../node_modules/element-plus/es/index.mjs";
|
|
3
3
|
import ValueSelectorPopover from "./ValueSelectorPopover.vue2.mjs";
|
|
4
4
|
import { getEditConfigData, getEditConfigDataFields } from "../packages/utils/common.mjs";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
|
+
import { ElInputTag } from "../../../node_modules/element-plus/es/components/input-tag/index.mjs";
|
|
8
|
+
import { ElInput } from "../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
7
9
|
const _sfc_main = {
|
|
8
10
|
__name: "ValueSelector",
|
|
9
11
|
props: {
|
|
@@ -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.
|
|
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 { getCurrentInstance, 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.
|
|
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
|
/* empty css */
|
|
35
35
|
/* empty css */
|
|
36
36
|
/* empty css */
|
|
@@ -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.
|
|
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.
|
|
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 { getCurrentInstance, 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.
|
|
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.vue2.mjs";
|
|
14
14
|
import emitter from "../../utils/eventBus.mjs";
|
|
15
|
-
import ValueSelector from "../../../components/ValueSelector.
|
|
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";
|
|
@@ -14,7 +14,7 @@ import "../../../../node_modules/element-plus/es/index.mjs";
|
|
|
14
14
|
import { getCurrentInstance, 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.
|
|
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";
|
package/es/designer.css
CHANGED
|
@@ -5742,15 +5742,15 @@ body,
|
|
|
5742
5742
|
text-align: center;
|
|
5743
5743
|
color: #f56c6c;
|
|
5744
5744
|
font-size: 14px;
|
|
5745
|
-
}.text-field-wrapper[data-v-
|
|
5745
|
+
}.text-field-wrapper[data-v-b509ac94] {
|
|
5746
5746
|
width: 100%;
|
|
5747
5747
|
}
|
|
5748
|
-
.prefix-content[data-v-
|
|
5749
|
-
.suffix-content[data-v-
|
|
5748
|
+
.prefix-content[data-v-b509ac94],
|
|
5749
|
+
.suffix-content[data-v-b509ac94] {
|
|
5750
5750
|
color: #909399;
|
|
5751
5751
|
font-size: 14px;
|
|
5752
5752
|
}
|
|
5753
|
-
.data-masking[data-v-
|
|
5753
|
+
.data-masking[data-v-b509ac94] {
|
|
5754
5754
|
margin-top: 4px;
|
|
5755
5755
|
padding: 8px;
|
|
5756
5756
|
background: #f5f7fa;
|
|
@@ -5758,26 +5758,26 @@ body,
|
|
|
5758
5758
|
font-size: 12px;
|
|
5759
5759
|
color: #909399;
|
|
5760
5760
|
}
|
|
5761
|
-
[data-v-
|
|
5761
|
+
[data-v-b509ac94] .el-input-group__append {
|
|
5762
5762
|
background-color: #409eff;
|
|
5763
5763
|
color: #fff;
|
|
5764
5764
|
padding: 0 18px;
|
|
5765
5765
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5766
5766
|
}
|
|
5767
|
-
[data-v-
|
|
5767
|
+
[data-v-b509ac94] .el-input-group__append:hover {
|
|
5768
5768
|
background-color: #79bbff;
|
|
5769
5769
|
border-color: #79bbff;
|
|
5770
5770
|
color: #fff;
|
|
5771
5771
|
outline: none;
|
|
5772
5772
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
5773
|
-
}.textarea-field-wrapper[data-v-
|
|
5773
|
+
}.textarea-field-wrapper[data-v-1bdb1a05] {
|
|
5774
5774
|
height: 100%;
|
|
5775
5775
|
width: 100%;
|
|
5776
5776
|
}
|
|
5777
|
-
.textarea-field-wrapper[data-v-
|
|
5777
|
+
.textarea-field-wrapper[data-v-1bdb1a05] .el-textarea {
|
|
5778
5778
|
height: 100%;
|
|
5779
5779
|
}
|
|
5780
|
-
.textarea-field-wrapper[data-v-
|
|
5780
|
+
.textarea-field-wrapper[data-v-1bdb1a05] .el-textarea .el-textarea__inner {
|
|
5781
5781
|
height: 100%;
|
|
5782
5782
|
}[data-v-cc99b56c] .el-input-group__append {
|
|
5783
5783
|
background-color: #409eff;
|
|
@@ -6037,7 +6037,7 @@ body,
|
|
|
6037
6037
|
}
|
|
6038
6038
|
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
6039
6039
|
color: #409eff;
|
|
6040
|
-
}.fec-table-filter[data-v-
|
|
6040
|
+
}.fec-table-filter[data-v-0d77bdaf] {
|
|
6041
6041
|
display: flex;
|
|
6042
6042
|
background-color: #fff;
|
|
6043
6043
|
align-items: flex-start;
|
|
@@ -6045,7 +6045,7 @@ body,
|
|
|
6045
6045
|
border-bottom: 1px solid #f0f5fb;
|
|
6046
6046
|
padding-top: 16px;
|
|
6047
6047
|
}
|
|
6048
|
-
.fec-table-filter .filter-fields[data-v-
|
|
6048
|
+
.fec-table-filter .filter-fields[data-v-0d77bdaf] {
|
|
6049
6049
|
flex: 1;
|
|
6050
6050
|
display: grid;
|
|
6051
6051
|
grid-template-columns: repeat(var(--column-count, 3), 1fr);
|
|
@@ -6053,18 +6053,18 @@ body,
|
|
|
6053
6053
|
transition: all 0.4s ease;
|
|
6054
6054
|
overflow: hidden;
|
|
6055
6055
|
}
|
|
6056
|
-
.fec-table-filter .filter-fields.is-collapsed[data-v-
|
|
6057
|
-
max-height: var(--
|
|
6056
|
+
.fec-table-filter .filter-fields.is-collapsed[data-v-0d77bdaf] {
|
|
6057
|
+
max-height: var(--7cffb288);
|
|
6058
6058
|
}
|
|
6059
|
-
.fec-table-filter .filter-field[data-v-
|
|
6059
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] {
|
|
6060
6060
|
transition: all 0.3s ease;
|
|
6061
6061
|
}
|
|
6062
|
-
.fec-table-filter .filter-field[data-v-
|
|
6062
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item {
|
|
6063
6063
|
display: flex;
|
|
6064
6064
|
flex-direction: row;
|
|
6065
6065
|
align-items: center;
|
|
6066
6066
|
}
|
|
6067
|
-
.fec-table-filter .filter-field[data-v-
|
|
6067
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__label {
|
|
6068
6068
|
font-size: 14px;
|
|
6069
6069
|
color: #606266;
|
|
6070
6070
|
font-weight: 500;
|
|
@@ -6077,16 +6077,16 @@ body,
|
|
|
6077
6077
|
width: 35% !important;
|
|
6078
6078
|
pointer-events: none;
|
|
6079
6079
|
}
|
|
6080
|
-
.fec-table-filter .filter-field[data-v-
|
|
6080
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__content {
|
|
6081
6081
|
flex: 1;
|
|
6082
6082
|
margin-left: 0 !important;
|
|
6083
6083
|
}
|
|
6084
|
-
.fec-table-filter .filter-field[data-v-
|
|
6085
|
-
.fec-table-filter .filter-field[data-v-
|
|
6086
|
-
.fec-table-filter .filter-field[data-v-
|
|
6084
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .text-field-wrapper,
|
|
6085
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-select,
|
|
6086
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-date-editor {
|
|
6087
6087
|
width: 100%;
|
|
6088
6088
|
}
|
|
6089
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6089
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] {
|
|
6090
6090
|
flex-shrink: 0;
|
|
6091
6091
|
/* border-left: 1px solid #eaebef; */
|
|
6092
6092
|
display: flex;
|
|
@@ -6096,34 +6096,36 @@ body,
|
|
|
6096
6096
|
gap: 10px;
|
|
6097
6097
|
height: 100%;
|
|
6098
6098
|
}
|
|
6099
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6099
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] .el-button {
|
|
6100
6100
|
margin: 0;
|
|
6101
6101
|
}
|
|
6102
|
-
.fec-table-filter .filter-actions.inline[data-v-
|
|
6102
|
+
.fec-table-filter .filter-actions.inline[data-v-0d77bdaf] {
|
|
6103
6103
|
flex-direction: row;
|
|
6104
6104
|
gap: 8px;
|
|
6105
6105
|
height: auto;
|
|
6106
6106
|
align-items: center;
|
|
6107
|
+
min-width: 16%;
|
|
6108
|
+
margin: 1px 0 0 16px;
|
|
6107
6109
|
}
|
|
6108
|
-
.filter-fields[data-v-
|
|
6110
|
+
.filter-fields[data-v-0d77bdaf] {
|
|
6109
6111
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6110
6112
|
}
|
|
6111
|
-
.filter-field[data-v-
|
|
6113
|
+
.filter-field[data-v-0d77bdaf] {
|
|
6112
6114
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6113
6115
|
}
|
|
6114
|
-
.filter-divider[data-v-
|
|
6116
|
+
.filter-divider[data-v-0d77bdaf] {
|
|
6115
6117
|
margin: 8px 0;
|
|
6116
6118
|
z-index: 1;
|
|
6117
6119
|
transition: all 0.3s ease;
|
|
6118
6120
|
}
|
|
6119
|
-
.filter-divider .collapse-toggle[data-v-
|
|
6121
|
+
.filter-divider .collapse-toggle[data-v-0d77bdaf] {
|
|
6120
6122
|
display: flex;
|
|
6121
6123
|
align-items: center;
|
|
6122
6124
|
gap: 2px;
|
|
6123
6125
|
color: #409eff;
|
|
6124
6126
|
cursor: pointer;
|
|
6125
6127
|
}
|
|
6126
|
-
.filter-divider[data-v-
|
|
6128
|
+
.filter-divider[data-v-0d77bdaf] .el-divider__text {
|
|
6127
6129
|
font-size: 13px;
|
|
6128
6130
|
color: #606266;
|
|
6129
6131
|
transition: all 0.3s ease;
|
|
@@ -6133,7 +6135,7 @@ body,
|
|
|
6133
6135
|
background-color: #fff;
|
|
6134
6136
|
padding: 0 10px;
|
|
6135
6137
|
}
|
|
6136
|
-
.filter-divider[data-v-
|
|
6138
|
+
.filter-divider[data-v-0d77bdaf] .el-icon {
|
|
6137
6139
|
transition: transform 0.3s ease;
|
|
6138
6140
|
}.dynamic-mode-config .dynamic-row[data-v-e95c842d] {
|
|
6139
6141
|
display: flex;
|
|
@@ -138,6 +138,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
138
138
|
emit("update:modelValue", val);
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
|
+
const realMaxLength = computed(() => {
|
|
142
|
+
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
143
|
+
});
|
|
141
144
|
function handleChange(val) {
|
|
142
145
|
emit("change", val);
|
|
143
146
|
}
|
|
@@ -211,7 +214,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
211
214
|
placeholder: __props.placeholder,
|
|
212
215
|
disabled: __props.disabled,
|
|
213
216
|
readonly: __props.suffixButton == "dialog" ? true : false,
|
|
214
|
-
maxlength:
|
|
217
|
+
maxlength: realMaxLength.value,
|
|
215
218
|
"show-word-limit": __props.showWordCount,
|
|
216
219
|
onChange: handleChange,
|
|
217
220
|
clearable: ""
|
|
@@ -260,7 +263,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
260
263
|
};
|
|
261
264
|
}
|
|
262
265
|
});
|
|
263
|
-
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
266
|
+
const _Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b509ac94"]]);
|
|
264
267
|
export {
|
|
265
268
|
_Text as default
|
|
266
269
|
};
|
|
@@ -2,6 +2,7 @@ import "../../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { computed, createElementBlock, openBlock, createVNode, mergeProps, toHandlers } from "vue";
|
|
5
|
+
import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
|
|
5
6
|
/* empty css */
|
|
6
7
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
7
8
|
import { ElInput } from "../../../../../../node_modules/element-plus/es/components/input/index.mjs";
|
|
@@ -50,6 +51,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
50
51
|
},
|
|
51
52
|
emits: ["update:modelValue", "change"],
|
|
52
53
|
setup(__props, { emit: __emit }) {
|
|
54
|
+
const ctx = getCurrentVueInstance();
|
|
53
55
|
const props = __props;
|
|
54
56
|
const emit = __emit;
|
|
55
57
|
const inputValue = computed({
|
|
@@ -58,6 +60,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
58
60
|
emit("update:modelValue", val);
|
|
59
61
|
}
|
|
60
62
|
});
|
|
63
|
+
const realMaxLength = computed(() => {
|
|
64
|
+
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
65
|
+
});
|
|
61
66
|
function handleChange(val) {
|
|
62
67
|
emit("change", val);
|
|
63
68
|
}
|
|
@@ -72,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
72
77
|
placeholder: __props.placeholder,
|
|
73
78
|
disabled: __props.disabled,
|
|
74
79
|
readonly: __props.readonly,
|
|
75
|
-
maxlength:
|
|
80
|
+
maxlength: realMaxLength.value,
|
|
76
81
|
"show-word-limit": __props.showWordCount,
|
|
77
82
|
rows: __props.rows,
|
|
78
83
|
autosize: __props.autosize,
|
|
@@ -83,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
83
88
|
};
|
|
84
89
|
}
|
|
85
90
|
});
|
|
86
|
-
const _Textarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
91
|
+
const _Textarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1bdb1a05"]]);
|
|
87
92
|
export {
|
|
88
93
|
_Textarea as default
|
|
89
94
|
};
|
|
@@ -10,7 +10,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
|
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
import "../../../../../node_modules/element-plus/theme-chalk/el-date-picker.css.mjs";
|
|
13
|
-
import { useCssVars, computed, ref, watch, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, normalizeStyle, withCtx, createElementVNode, normalizeClass, renderList, withDirectives, createVNode, resolveDynamicComponent, mergeProps, vShow, createTextVNode, toDisplayString, unref } from "vue";
|
|
13
|
+
import { useCssVars, computed, ref, watch, createElementBlock, openBlock, Fragment, createBlock, createCommentVNode, withKeys, normalizeStyle, withCtx, createElementVNode, normalizeClass, renderList, withDirectives, createVNode, resolveDynamicComponent, mergeProps, vShow, createTextVNode, toDisplayString, unref } from "vue";
|
|
14
14
|
import { DArrowRight as d_arrow_right_default, DArrowLeft as d_arrow_left_default } from "../../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
|
|
15
15
|
import { Text } from "../forms/text/index.mjs";
|
|
16
16
|
import { Select } from "../forms/select/index.mjs";
|
|
@@ -31,7 +31,7 @@ const _hoisted_1 = {
|
|
|
31
31
|
key: 1,
|
|
32
32
|
style: { "display": "flex", "align-items": "center", "gap": "8px", "width": "100%" }
|
|
33
33
|
};
|
|
34
|
-
const _hoisted_2 = { class: "filter-actions inline
|
|
34
|
+
const _hoisted_2 = { class: "filter-actions inline" };
|
|
35
35
|
const _sfc_main = {
|
|
36
36
|
__name: "TableFilter",
|
|
37
37
|
props: {
|
|
@@ -52,7 +52,7 @@ const _sfc_main = {
|
|
|
52
52
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
53
53
|
var _a;
|
|
54
54
|
useCssVars((_ctx) => ({
|
|
55
|
-
"
|
|
55
|
+
"7cffb288": `${config.value.collapseRows * 90}px`
|
|
56
56
|
}));
|
|
57
57
|
const props = __props;
|
|
58
58
|
const emit = __emit;
|
|
@@ -186,7 +186,9 @@ const _sfc_main = {
|
|
|
186
186
|
class: "fec-table-filter",
|
|
187
187
|
"label-width": "100px",
|
|
188
188
|
"label-position": "right",
|
|
189
|
-
style: normalizeStyle({ "--column-count": config.value.columnCount })
|
|
189
|
+
style: normalizeStyle({ "--column-count": config.value.columnCount }),
|
|
190
|
+
tabindex: "0",
|
|
191
|
+
onKeydown: withKeys(handleSearch, ["enter"])
|
|
190
192
|
}, {
|
|
191
193
|
default: withCtx(() => [
|
|
192
194
|
createElementVNode("div", {
|
|
@@ -298,7 +300,7 @@ const _sfc_main = {
|
|
|
298
300
|
};
|
|
299
301
|
}
|
|
300
302
|
};
|
|
301
|
-
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
303
|
+
const TableFilter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0d77bdaf"]]);
|
|
302
304
|
export {
|
|
303
305
|
TableFilter as default
|
|
304
306
|
};
|
|
@@ -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.
|
|
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.
|
|
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");
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
require("../../../node_modules/element-plus/es/index.js");
|
|
5
5
|
const ValueSelectorPopover = require("./ValueSelectorPopover.vue2.js");
|
|
6
6
|
const common = require("../packages/utils/common.js");
|
|
7
7
|
;/* empty css */
|
|
8
8
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
9
|
+
const index = require("../../../node_modules/element-plus/es/components/input-tag/index.js");
|
|
10
|
+
const index$1 = require("../../../node_modules/element-plus/es/components/input/index.js");
|
|
9
11
|
const _sfc_main = {
|
|
10
12
|
__name: "ValueSelector",
|
|
11
13
|
props: {
|
|
@@ -46,14 +48,14 @@ const _sfc_main = {
|
|
|
46
48
|
setup(__props, { emit: __emit }) {
|
|
47
49
|
const props = __props;
|
|
48
50
|
const emit = __emit;
|
|
49
|
-
const inputComponent =
|
|
50
|
-
return props.multiple ?
|
|
51
|
+
const inputComponent = Vue.computed(() => {
|
|
52
|
+
return props.multiple ? index.ElInputTag : index$1.ElInput;
|
|
51
53
|
});
|
|
52
|
-
const hiddenFieldsData =
|
|
54
|
+
const hiddenFieldsData = Vue.computed(() => {
|
|
53
55
|
const editConfigData = common.getEditConfigData();
|
|
54
56
|
return (editConfigData == null ? void 0 : editConfigData.hiddenFields) || [];
|
|
55
57
|
});
|
|
56
|
-
const availableFields =
|
|
58
|
+
const availableFields = Vue.computed(() => {
|
|
57
59
|
const fields = common.getEditConfigDataFields() || [];
|
|
58
60
|
return fields.map((item) => ({
|
|
59
61
|
id: item.id,
|
|
@@ -62,7 +64,7 @@ const _sfc_main = {
|
|
|
62
64
|
fieldType: item.fieldType
|
|
63
65
|
}));
|
|
64
66
|
});
|
|
65
|
-
const displayText =
|
|
67
|
+
const displayText = Vue.computed(() => {
|
|
66
68
|
if (!props.modelValue) return "";
|
|
67
69
|
if (!props.multiple && typeof props.modelValue === "object" && !Array.isArray(props.modelValue)) {
|
|
68
70
|
const val = props.modelValue;
|
|
@@ -74,7 +76,7 @@ const _sfc_main = {
|
|
|
74
76
|
}
|
|
75
77
|
return "";
|
|
76
78
|
});
|
|
77
|
-
const tags =
|
|
79
|
+
const tags = Vue.computed({
|
|
78
80
|
get() {
|
|
79
81
|
if (!props.multiple || !Array.isArray(props.modelValue)) {
|
|
80
82
|
return [];
|
|
@@ -101,7 +103,7 @@ const _sfc_main = {
|
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
});
|
|
104
|
-
const unifiedInputValue =
|
|
106
|
+
const unifiedInputValue = Vue.computed({
|
|
105
107
|
get() {
|
|
106
108
|
return props.multiple ? tags.value : displayText.value;
|
|
107
109
|
},
|
|
@@ -160,7 +162,7 @@ const _sfc_main = {
|
|
|
160
162
|
return labels[key] || key;
|
|
161
163
|
};
|
|
162
164
|
return (_ctx, _cache) => {
|
|
163
|
-
return
|
|
165
|
+
return Vue.openBlock(), Vue.createBlock(Vue.resolveDynamicComponent(inputComponent.value), {
|
|
164
166
|
modelValue: unifiedInputValue.value,
|
|
165
167
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => unifiedInputValue.value = $event),
|
|
166
168
|
placeholder: __props.placeholder,
|
|
@@ -173,8 +175,8 @@ const _sfc_main = {
|
|
|
173
175
|
class: "value-selector-input",
|
|
174
176
|
size: __props.size
|
|
175
177
|
}, {
|
|
176
|
-
suffix:
|
|
177
|
-
|
|
178
|
+
suffix: Vue.withCtx(() => [
|
|
179
|
+
Vue.createVNode(ValueSelectorPopover.default, {
|
|
178
180
|
"available-fields": availableFields.value,
|
|
179
181
|
disabled: __props.disabled,
|
|
180
182
|
onConfirm: handleConfirm
|
|
@@ -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.
|
|
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.
|
|
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
|
;/* empty css */
|
|
37
37
|
;/* empty css */
|
|
38
38
|
;/* empty css */
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.vue2.js");
|
|
16
16
|
const eventBus = require("../../utils/eventBus.js");
|
|
17
|
-
const ValueSelector = require("../../../components/ValueSelector.
|
|
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.
|
|
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");
|
package/lib/designer.css
CHANGED
|
@@ -5742,15 +5742,15 @@ body,
|
|
|
5742
5742
|
text-align: center;
|
|
5743
5743
|
color: #f56c6c;
|
|
5744
5744
|
font-size: 14px;
|
|
5745
|
-
}.text-field-wrapper[data-v-
|
|
5745
|
+
}.text-field-wrapper[data-v-b509ac94] {
|
|
5746
5746
|
width: 100%;
|
|
5747
5747
|
}
|
|
5748
|
-
.prefix-content[data-v-
|
|
5749
|
-
.suffix-content[data-v-
|
|
5748
|
+
.prefix-content[data-v-b509ac94],
|
|
5749
|
+
.suffix-content[data-v-b509ac94] {
|
|
5750
5750
|
color: #909399;
|
|
5751
5751
|
font-size: 14px;
|
|
5752
5752
|
}
|
|
5753
|
-
.data-masking[data-v-
|
|
5753
|
+
.data-masking[data-v-b509ac94] {
|
|
5754
5754
|
margin-top: 4px;
|
|
5755
5755
|
padding: 8px;
|
|
5756
5756
|
background: #f5f7fa;
|
|
@@ -5758,26 +5758,26 @@ body,
|
|
|
5758
5758
|
font-size: 12px;
|
|
5759
5759
|
color: #909399;
|
|
5760
5760
|
}
|
|
5761
|
-
[data-v-
|
|
5761
|
+
[data-v-b509ac94] .el-input-group__append {
|
|
5762
5762
|
background-color: #409eff;
|
|
5763
5763
|
color: #fff;
|
|
5764
5764
|
padding: 0 18px;
|
|
5765
5765
|
box-shadow: 0 1px 0 0 #a8abb2 inset, 0 -1px 0 0 #a8abb2 inset, -1px 0 0 0 #a8abb2 inset;
|
|
5766
5766
|
}
|
|
5767
|
-
[data-v-
|
|
5767
|
+
[data-v-b509ac94] .el-input-group__append:hover {
|
|
5768
5768
|
background-color: #79bbff;
|
|
5769
5769
|
border-color: #79bbff;
|
|
5770
5770
|
color: #fff;
|
|
5771
5771
|
outline: none;
|
|
5772
5772
|
box-shadow: 0 1px 0 0 #c0c4cc inset, 0 -1px 0 0 #c0c4cc inset, -1px 0 0 0 #c0c4cc inset;
|
|
5773
|
-
}.textarea-field-wrapper[data-v-
|
|
5773
|
+
}.textarea-field-wrapper[data-v-1bdb1a05] {
|
|
5774
5774
|
height: 100%;
|
|
5775
5775
|
width: 100%;
|
|
5776
5776
|
}
|
|
5777
|
-
.textarea-field-wrapper[data-v-
|
|
5777
|
+
.textarea-field-wrapper[data-v-1bdb1a05] .el-textarea {
|
|
5778
5778
|
height: 100%;
|
|
5779
5779
|
}
|
|
5780
|
-
.textarea-field-wrapper[data-v-
|
|
5780
|
+
.textarea-field-wrapper[data-v-1bdb1a05] .el-textarea .el-textarea__inner {
|
|
5781
5781
|
height: 100%;
|
|
5782
5782
|
}[data-v-cc99b56c] .el-input-group__append {
|
|
5783
5783
|
background-color: #409eff;
|
|
@@ -6037,7 +6037,7 @@ body,
|
|
|
6037
6037
|
}
|
|
6038
6038
|
.cell-content .copy-icon[data-v-5138d230]:hover {
|
|
6039
6039
|
color: #409eff;
|
|
6040
|
-
}.fec-table-filter[data-v-
|
|
6040
|
+
}.fec-table-filter[data-v-0d77bdaf] {
|
|
6041
6041
|
display: flex;
|
|
6042
6042
|
background-color: #fff;
|
|
6043
6043
|
align-items: flex-start;
|
|
@@ -6045,7 +6045,7 @@ body,
|
|
|
6045
6045
|
border-bottom: 1px solid #f0f5fb;
|
|
6046
6046
|
padding-top: 16px;
|
|
6047
6047
|
}
|
|
6048
|
-
.fec-table-filter .filter-fields[data-v-
|
|
6048
|
+
.fec-table-filter .filter-fields[data-v-0d77bdaf] {
|
|
6049
6049
|
flex: 1;
|
|
6050
6050
|
display: grid;
|
|
6051
6051
|
grid-template-columns: repeat(var(--column-count, 3), 1fr);
|
|
@@ -6053,18 +6053,18 @@ body,
|
|
|
6053
6053
|
transition: all 0.4s ease;
|
|
6054
6054
|
overflow: hidden;
|
|
6055
6055
|
}
|
|
6056
|
-
.fec-table-filter .filter-fields.is-collapsed[data-v-
|
|
6057
|
-
max-height: var(--
|
|
6056
|
+
.fec-table-filter .filter-fields.is-collapsed[data-v-0d77bdaf] {
|
|
6057
|
+
max-height: var(--7cffb288);
|
|
6058
6058
|
}
|
|
6059
|
-
.fec-table-filter .filter-field[data-v-
|
|
6059
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] {
|
|
6060
6060
|
transition: all 0.3s ease;
|
|
6061
6061
|
}
|
|
6062
|
-
.fec-table-filter .filter-field[data-v-
|
|
6062
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item {
|
|
6063
6063
|
display: flex;
|
|
6064
6064
|
flex-direction: row;
|
|
6065
6065
|
align-items: center;
|
|
6066
6066
|
}
|
|
6067
|
-
.fec-table-filter .filter-field[data-v-
|
|
6067
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__label {
|
|
6068
6068
|
font-size: 14px;
|
|
6069
6069
|
color: #606266;
|
|
6070
6070
|
font-weight: 500;
|
|
@@ -6077,16 +6077,16 @@ body,
|
|
|
6077
6077
|
width: 35% !important;
|
|
6078
6078
|
pointer-events: none;
|
|
6079
6079
|
}
|
|
6080
|
-
.fec-table-filter .filter-field[data-v-
|
|
6080
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-form-item .el-form-item__content {
|
|
6081
6081
|
flex: 1;
|
|
6082
6082
|
margin-left: 0 !important;
|
|
6083
6083
|
}
|
|
6084
|
-
.fec-table-filter .filter-field[data-v-
|
|
6085
|
-
.fec-table-filter .filter-field[data-v-
|
|
6086
|
-
.fec-table-filter .filter-field[data-v-
|
|
6084
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .text-field-wrapper,
|
|
6085
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-select,
|
|
6086
|
+
.fec-table-filter .filter-field[data-v-0d77bdaf] .el-date-editor {
|
|
6087
6087
|
width: 100%;
|
|
6088
6088
|
}
|
|
6089
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6089
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] {
|
|
6090
6090
|
flex-shrink: 0;
|
|
6091
6091
|
/* border-left: 1px solid #eaebef; */
|
|
6092
6092
|
display: flex;
|
|
@@ -6096,34 +6096,36 @@ body,
|
|
|
6096
6096
|
gap: 10px;
|
|
6097
6097
|
height: 100%;
|
|
6098
6098
|
}
|
|
6099
|
-
.fec-table-filter .filter-actions[data-v-
|
|
6099
|
+
.fec-table-filter .filter-actions[data-v-0d77bdaf] .el-button {
|
|
6100
6100
|
margin: 0;
|
|
6101
6101
|
}
|
|
6102
|
-
.fec-table-filter .filter-actions.inline[data-v-
|
|
6102
|
+
.fec-table-filter .filter-actions.inline[data-v-0d77bdaf] {
|
|
6103
6103
|
flex-direction: row;
|
|
6104
6104
|
gap: 8px;
|
|
6105
6105
|
height: auto;
|
|
6106
6106
|
align-items: center;
|
|
6107
|
+
min-width: 16%;
|
|
6108
|
+
margin: 1px 0 0 16px;
|
|
6107
6109
|
}
|
|
6108
|
-
.filter-fields[data-v-
|
|
6110
|
+
.filter-fields[data-v-0d77bdaf] {
|
|
6109
6111
|
transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
6110
6112
|
}
|
|
6111
|
-
.filter-field[data-v-
|
|
6113
|
+
.filter-field[data-v-0d77bdaf] {
|
|
6112
6114
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
6113
6115
|
}
|
|
6114
|
-
.filter-divider[data-v-
|
|
6116
|
+
.filter-divider[data-v-0d77bdaf] {
|
|
6115
6117
|
margin: 8px 0;
|
|
6116
6118
|
z-index: 1;
|
|
6117
6119
|
transition: all 0.3s ease;
|
|
6118
6120
|
}
|
|
6119
|
-
.filter-divider .collapse-toggle[data-v-
|
|
6121
|
+
.filter-divider .collapse-toggle[data-v-0d77bdaf] {
|
|
6120
6122
|
display: flex;
|
|
6121
6123
|
align-items: center;
|
|
6122
6124
|
gap: 2px;
|
|
6123
6125
|
color: #409eff;
|
|
6124
6126
|
cursor: pointer;
|
|
6125
6127
|
}
|
|
6126
|
-
.filter-divider[data-v-
|
|
6128
|
+
.filter-divider[data-v-0d77bdaf] .el-divider__text {
|
|
6127
6129
|
font-size: 13px;
|
|
6128
6130
|
color: #606266;
|
|
6129
6131
|
transition: all 0.3s ease;
|
|
@@ -6133,7 +6135,7 @@ body,
|
|
|
6133
6135
|
background-color: #fff;
|
|
6134
6136
|
padding: 0 10px;
|
|
6135
6137
|
}
|
|
6136
|
-
.filter-divider[data-v-
|
|
6138
|
+
.filter-divider[data-v-0d77bdaf] .el-icon {
|
|
6137
6139
|
transition: transform 0.3s ease;
|
|
6138
6140
|
}.dynamic-mode-config .dynamic-row[data-v-e95c842d] {
|
|
6139
6141
|
display: flex;
|
|
@@ -140,6 +140,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
140
140
|
emit("update:modelValue", val);
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
|
+
const realMaxLength = Vue.computed(() => {
|
|
144
|
+
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
145
|
+
});
|
|
143
146
|
function handleChange(val) {
|
|
144
147
|
emit("change", val);
|
|
145
148
|
}
|
|
@@ -213,7 +216,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
213
216
|
placeholder: __props.placeholder,
|
|
214
217
|
disabled: __props.disabled,
|
|
215
218
|
readonly: __props.suffixButton == "dialog" ? true : false,
|
|
216
|
-
maxlength:
|
|
219
|
+
maxlength: realMaxLength.value,
|
|
217
220
|
"show-word-limit": __props.showWordCount,
|
|
218
221
|
onChange: handleChange,
|
|
219
222
|
clearable: ""
|
|
@@ -262,5 +265,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
262
265
|
};
|
|
263
266
|
}
|
|
264
267
|
});
|
|
265
|
-
const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
268
|
+
const _Text = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-b509ac94"]]);
|
|
266
269
|
exports.default = _Text;
|
|
@@ -4,6 +4,7 @@ require("../../../../../../node_modules/element-plus/es/index.js");
|
|
|
4
4
|
;/* empty css */
|
|
5
5
|
;/* empty css */
|
|
6
6
|
const Vue = require("vue");
|
|
7
|
+
const getInstance = require("../../../utils/getInstance.js");
|
|
7
8
|
;/* empty css */
|
|
8
9
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
|
|
9
10
|
const index = require("../../../../../../node_modules/element-plus/es/components/input/index.js");
|
|
@@ -52,6 +53,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
52
53
|
},
|
|
53
54
|
emits: ["update:modelValue", "change"],
|
|
54
55
|
setup(__props, { emit: __emit }) {
|
|
56
|
+
const ctx = getInstance.getCurrentVueInstance();
|
|
55
57
|
const props = __props;
|
|
56
58
|
const emit = __emit;
|
|
57
59
|
const inputValue = Vue.computed({
|
|
@@ -60,6 +62,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
60
62
|
emit("update:modelValue", val);
|
|
61
63
|
}
|
|
62
64
|
});
|
|
65
|
+
const realMaxLength = Vue.computed(() => {
|
|
66
|
+
return Math.floor(props.maxLength / (ctx.$dbFieldLengthRatio || 1));
|
|
67
|
+
});
|
|
63
68
|
function handleChange(val) {
|
|
64
69
|
emit("change", val);
|
|
65
70
|
}
|
|
@@ -74,7 +79,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
74
79
|
placeholder: __props.placeholder,
|
|
75
80
|
disabled: __props.disabled,
|
|
76
81
|
readonly: __props.readonly,
|
|
77
|
-
maxlength:
|
|
82
|
+
maxlength: realMaxLength.value,
|
|
78
83
|
"show-word-limit": __props.showWordCount,
|
|
79
84
|
rows: __props.rows,
|
|
80
85
|
autosize: __props.autosize,
|
|
@@ -85,5 +90,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
|
|
|
85
90
|
};
|
|
86
91
|
}
|
|
87
92
|
});
|
|
88
|
-
const _Textarea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
93
|
+
const _Textarea = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-1bdb1a05"]]);
|
|
89
94
|
exports.default = _Textarea;
|
|
@@ -33,7 +33,7 @@ const _hoisted_1 = {
|
|
|
33
33
|
key: 1,
|
|
34
34
|
style: { "display": "flex", "align-items": "center", "gap": "8px", "width": "100%" }
|
|
35
35
|
};
|
|
36
|
-
const _hoisted_2 = { class: "filter-actions inline
|
|
36
|
+
const _hoisted_2 = { class: "filter-actions inline" };
|
|
37
37
|
const _sfc_main = {
|
|
38
38
|
__name: "TableFilter",
|
|
39
39
|
props: {
|
|
@@ -54,7 +54,7 @@ const _sfc_main = {
|
|
|
54
54
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
55
55
|
var _a;
|
|
56
56
|
Vue.useCssVars((_ctx) => ({
|
|
57
|
-
"
|
|
57
|
+
"7cffb288": `${config.value.collapseRows * 90}px`
|
|
58
58
|
}));
|
|
59
59
|
const props = __props;
|
|
60
60
|
const emit = __emit;
|
|
@@ -188,7 +188,9 @@ const _sfc_main = {
|
|
|
188
188
|
class: "fec-table-filter",
|
|
189
189
|
"label-width": "100px",
|
|
190
190
|
"label-position": "right",
|
|
191
|
-
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount })
|
|
191
|
+
style: Vue.normalizeStyle({ "--column-count": config.value.columnCount }),
|
|
192
|
+
tabindex: "0",
|
|
193
|
+
onKeydown: Vue.withKeys(handleSearch, ["enter"])
|
|
192
194
|
}, {
|
|
193
195
|
default: Vue.withCtx(() => [
|
|
194
196
|
Vue.createElementVNode("div", {
|
|
@@ -300,5 +302,5 @@ const _sfc_main = {
|
|
|
300
302
|
};
|
|
301
303
|
}
|
|
302
304
|
};
|
|
303
|
-
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-
|
|
305
|
+
const TableFilter = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-0d77bdaf"]]);
|
|
304
306
|
exports.default = TableFilter;
|