@pisell/materials 1.0.169 → 1.0.170
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.js +14 -14
- package/lowcode/table/meta.ts +44 -10
- package/package.json +1 -1
package/lowcode/table/meta.ts
CHANGED
|
@@ -91,8 +91,17 @@ export default {
|
|
|
91
91
|
{
|
|
92
92
|
name: "dataIndex",
|
|
93
93
|
title: { label: "数据字段", tip: "dataIndex | 数据字段" },
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
setter: [
|
|
95
|
+
"StringSetter",
|
|
96
|
+
{
|
|
97
|
+
componentName: "ArraySetter",
|
|
98
|
+
props: {
|
|
99
|
+
itemSetter: {
|
|
100
|
+
componentName: "StringSetter",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
],
|
|
96
105
|
isRequired: true,
|
|
97
106
|
},
|
|
98
107
|
{
|
|
@@ -944,7 +953,7 @@ export default {
|
|
|
944
953
|
},
|
|
945
954
|
},
|
|
946
955
|
},
|
|
947
|
-
]
|
|
956
|
+
],
|
|
948
957
|
},
|
|
949
958
|
{
|
|
950
959
|
title: { label: "分组配置", tip: "表格的分组配置" },
|
|
@@ -965,7 +974,8 @@ export default {
|
|
|
965
974
|
name: "dataSourceGroup.storageMode",
|
|
966
975
|
condition: {
|
|
967
976
|
type: "JSFunction",
|
|
968
|
-
value:
|
|
977
|
+
value:
|
|
978
|
+
'target => !!target.getProps().getPropValue("dataSourceGroup.show")',
|
|
969
979
|
},
|
|
970
980
|
title: {
|
|
971
981
|
label: "存储模式",
|
|
@@ -1068,8 +1078,17 @@ export default {
|
|
|
1068
1078
|
{
|
|
1069
1079
|
name: "name",
|
|
1070
1080
|
title: { label: "字段", tip: "所筛选的字段" },
|
|
1071
|
-
|
|
1072
|
-
|
|
1081
|
+
setter: [
|
|
1082
|
+
"StringSetter",
|
|
1083
|
+
{
|
|
1084
|
+
componentName: "ArraySetter",
|
|
1085
|
+
props: {
|
|
1086
|
+
itemSetter: {
|
|
1087
|
+
componentName: "StringSetter",
|
|
1088
|
+
},
|
|
1089
|
+
},
|
|
1090
|
+
},
|
|
1091
|
+
],
|
|
1073
1092
|
isRequired: true,
|
|
1074
1093
|
},
|
|
1075
1094
|
{
|
|
@@ -1123,14 +1142,20 @@ export default {
|
|
|
1123
1142
|
},
|
|
1124
1143
|
{
|
|
1125
1144
|
name: "sort",
|
|
1126
|
-
title: {
|
|
1145
|
+
title: {
|
|
1146
|
+
label: "开启排序",
|
|
1147
|
+
tip: "开启字段排序可以对顺序及字段隐藏调整,关闭时筛选项只在最外层展示",
|
|
1148
|
+
},
|
|
1127
1149
|
propType: "bool",
|
|
1128
1150
|
setter: "BoolSetter",
|
|
1129
1151
|
defaultValue: false,
|
|
1130
1152
|
},
|
|
1131
1153
|
{
|
|
1132
1154
|
name: "remoteFilter",
|
|
1133
|
-
title: {
|
|
1155
|
+
title: {
|
|
1156
|
+
label: "开启接口筛选",
|
|
1157
|
+
tip: "开启接口筛选时,字段值改变会调用接口对数据更新。关闭时走本地前端搜索",
|
|
1158
|
+
},
|
|
1134
1159
|
propType: "bool",
|
|
1135
1160
|
setter: "BoolSetter",
|
|
1136
1161
|
defaultValue: false,
|
|
@@ -1225,8 +1250,17 @@ export default {
|
|
|
1225
1250
|
{
|
|
1226
1251
|
name: "name",
|
|
1227
1252
|
title: { label: "字段", tip: "所排序的字段" },
|
|
1228
|
-
|
|
1229
|
-
|
|
1253
|
+
setter: [
|
|
1254
|
+
"StringSetter",
|
|
1255
|
+
{
|
|
1256
|
+
componentName: "ArraySetter",
|
|
1257
|
+
props: {
|
|
1258
|
+
itemSetter: {
|
|
1259
|
+
componentName: "StringSetter",
|
|
1260
|
+
},
|
|
1261
|
+
},
|
|
1262
|
+
},
|
|
1263
|
+
],
|
|
1230
1264
|
isRequired: true,
|
|
1231
1265
|
},
|
|
1232
1266
|
{
|