@pisell/materials 1.0.176 → 1.0.178
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 +4 -4
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/lowcode/item/meta.ts +1 -1
- package/lowcode/table/meta.ts +67 -1
- package/package.json +1 -1
package/lowcode/item/meta.ts
CHANGED
package/lowcode/table/meta.ts
CHANGED
|
@@ -1312,7 +1312,73 @@ export default {
|
|
|
1312
1312
|
},
|
|
1313
1313
|
{
|
|
1314
1314
|
name: "buttons",
|
|
1315
|
-
title: { label: "
|
|
1315
|
+
title: { label: "标题按钮组", tip: "标题右侧按钮项" },
|
|
1316
|
+
setter: {
|
|
1317
|
+
componentName: "ArraySetter",
|
|
1318
|
+
props: {
|
|
1319
|
+
itemSetter: {
|
|
1320
|
+
componentName: "ObjectSetter",
|
|
1321
|
+
props: {
|
|
1322
|
+
config: {
|
|
1323
|
+
items: [
|
|
1324
|
+
{
|
|
1325
|
+
name: "title",
|
|
1326
|
+
title: { label: "按钮名称", tip: "按钮名称" },
|
|
1327
|
+
propType: "string",
|
|
1328
|
+
setter: "PisellI18nSetter",
|
|
1329
|
+
isRequired: true,
|
|
1330
|
+
},
|
|
1331
|
+
...button.configure.props,
|
|
1332
|
+
{
|
|
1333
|
+
name: "onClick",
|
|
1334
|
+
title: { label: "点击事件", tip: "点击事件" },
|
|
1335
|
+
propType: "func",
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
name: "action",
|
|
1339
|
+
title: { label: "功能", tip: "按钮的功能" },
|
|
1340
|
+
propType: "string",
|
|
1341
|
+
setter: [
|
|
1342
|
+
{
|
|
1343
|
+
componentName: "SelectSetter",
|
|
1344
|
+
mode: "single",
|
|
1345
|
+
defaultValue: "add",
|
|
1346
|
+
props: {
|
|
1347
|
+
options: [
|
|
1348
|
+
{
|
|
1349
|
+
title: "Add",
|
|
1350
|
+
value: "add",
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
title: "Reset",
|
|
1354
|
+
value: "reset",
|
|
1355
|
+
},
|
|
1356
|
+
],
|
|
1357
|
+
},
|
|
1358
|
+
},
|
|
1359
|
+
],
|
|
1360
|
+
},
|
|
1361
|
+
|
|
1362
|
+
{
|
|
1363
|
+
name: "other",
|
|
1364
|
+
title: {
|
|
1365
|
+
label: "其他拓展属性",
|
|
1366
|
+
tip: "其他拓展属性",
|
|
1367
|
+
},
|
|
1368
|
+
propType: "object",
|
|
1369
|
+
setter: "JsonSetter",
|
|
1370
|
+
},
|
|
1371
|
+
],
|
|
1372
|
+
},
|
|
1373
|
+
},
|
|
1374
|
+
initialValue: { title: "按钮" },
|
|
1375
|
+
},
|
|
1376
|
+
},
|
|
1377
|
+
},
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
name: "actionButtons",
|
|
1381
|
+
title: { label: "表格按钮组", tip: "表格action右侧按钮项" },
|
|
1316
1382
|
setter: {
|
|
1317
1383
|
componentName: "ArraySetter",
|
|
1318
1384
|
props: {
|