@steedos/service-plugin-amis 2.4.0-beta.37 → 2.4.0-beta.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.
|
@@ -228,7 +228,8 @@
|
|
|
228
228
|
"id": "u:a0027ac6f8c1",
|
|
229
229
|
"closeOnEsc": false,
|
|
230
230
|
"closeOnOutside": false,
|
|
231
|
-
"showCloseButton": true
|
|
231
|
+
"showCloseButton": true,
|
|
232
|
+
"size": "md"
|
|
232
233
|
},
|
|
233
234
|
"label": "设置按钮",
|
|
234
235
|
"id": "u:1ac8afc8a9bb"
|
|
@@ -700,7 +701,9 @@
|
|
|
700
701
|
"name": "filters",
|
|
701
702
|
"label": "过滤规则",
|
|
702
703
|
"quickEdit": {
|
|
703
|
-
"type": "
|
|
704
|
+
"type": "editor",
|
|
705
|
+
"language": "javascript",
|
|
706
|
+
"description": "函数签名:(filters, data) => 自定义过滤条件, 数据在 data 中,修改后返回 自定义过滤条件",
|
|
704
707
|
"tpl": "<b><%=data.filters%></b>",
|
|
705
708
|
"className": "col-span-2 m-0",
|
|
706
709
|
"labelClassName": "text-left",
|
|
@@ -302,9 +302,10 @@ module.exports = {
|
|
|
302
302
|
actionsArr.push(action)
|
|
303
303
|
})
|
|
304
304
|
return _.uniq(_.compact(_.map(_.sortBy(actionsArr, "sort"), (action)=>{
|
|
305
|
+
const label = action.label || action.name
|
|
305
306
|
return {
|
|
306
307
|
value: action.name,
|
|
307
|
-
label:
|
|
308
|
+
label: `${label}(${action.name})`
|
|
308
309
|
}
|
|
309
310
|
})));
|
|
310
311
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/service-plugin-amis",
|
|
3
|
-
"version": "2.4.0-beta.
|
|
3
|
+
"version": "2.4.0-beta.39",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:tailwind-base && yarn build:tailwind",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@steedos-widgets/amis-lib": "^1.0.22"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "0925adf0cf3215fd5d068f50517be378a758c148",
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"tailwindcss": "3.2.4"
|
|
22
22
|
}
|