@steedos-widgets/amis-object 1.2.41 → 1.2.42
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/dist/amis-object.cjs.js
CHANGED
|
@@ -13426,7 +13426,7 @@ const getRecordPermissions = async (objectName, recordId)=>{
|
|
|
13426
13426
|
* @Author: baozhoutao@steedos.com
|
|
13427
13427
|
* @Date: 2022-07-05 15:55:39
|
|
13428
13428
|
* @LastEditors: liaodaxue
|
|
13429
|
-
* @LastEditTime: 2023-
|
|
13429
|
+
* @LastEditTime: 2023-08-21 14:50:21
|
|
13430
13430
|
* @Description:
|
|
13431
13431
|
*/
|
|
13432
13432
|
|
|
@@ -13576,7 +13576,7 @@ async function getRecordDetailRelatedListSchema(objectName, recordId, relatedObj
|
|
|
13576
13576
|
globalFilter,
|
|
13577
13577
|
defaults: {
|
|
13578
13578
|
listSchema: {
|
|
13579
|
-
headerToolbar:[],
|
|
13579
|
+
headerToolbar:["bulkActions"],
|
|
13580
13580
|
columnsTogglable: false,
|
|
13581
13581
|
onEvent: {
|
|
13582
13582
|
[`@data.changed.${relatedObjectName}`]: {
|
|
@@ -18783,8 +18783,8 @@ var AmisGlobalFooter = function (props) { return __awaiter(void 0, void 0, void
|
|
|
18783
18783
|
/*
|
|
18784
18784
|
* @Author: baozhoutao@steedos.com
|
|
18785
18785
|
* @Date: 2022-09-01 14:44:57
|
|
18786
|
-
* @LastEditors:
|
|
18787
|
-
* @LastEditTime: 2023-
|
|
18786
|
+
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
18787
|
+
* @LastEditTime: 2023-08-21 14:00:27
|
|
18788
18788
|
* @Description:
|
|
18789
18789
|
*/
|
|
18790
18790
|
var AmisGlobalHeaderToolbar = function (props) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -18929,7 +18929,7 @@ var AmisGlobalHeaderToolbar = function (props) { return __awaiter(void 0, void 0
|
|
|
18929
18929
|
"name": "notifications",
|
|
18930
18930
|
"items": {
|
|
18931
18931
|
"type": "tpl",
|
|
18932
|
-
"tpl": "<div class='flex items-center p-4 hover:bg-sky-50'
|
|
18932
|
+
"tpl": "<div class='flex items-center p-4 hover:bg-sky-50'>\n <img src='<%=data.context.rootUrl + \"/avatar/\" + data.from%>' alt='' class='h-10 w-10 flex-none rounded-full'>\n <div class='ml-4 flex-auto'>\n <div class='font-medium'>\n <span class='text-primary'><%=data.name%></span>\n </div>\n <div class='mt-1 text-slate-700'>\n <%=data.body%>\n </div>\n <div class='mt-1 text-slate-700'>\n <%=moment(data.created).fromNow()%>\n <abbr class='slds-text-link slds-m-horizontal_xxx-small <%=data.is_read ? 'hidden' : ''%>' title='unread'>\u25CF</abbr>\n </div>\n </div>\n </div>",
|
|
18933
18933
|
"id": "u:07ece657c7b7",
|
|
18934
18934
|
"onEvent": {
|
|
18935
18935
|
"click": {
|
|
@@ -19480,7 +19480,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
|
|
|
19480
19480
|
* @Author: baozhoutao@steedos.com
|
|
19481
19481
|
* @Date: 2023-01-14 16:41:24
|
|
19482
19482
|
* @LastEditors: 殷亮辉 yinlianghui@hotoa.com
|
|
19483
|
-
* @LastEditTime: 2023-08-
|
|
19483
|
+
* @LastEditTime: 2023-08-21 10:03:05
|
|
19484
19484
|
* @Description:
|
|
19485
19485
|
*/
|
|
19486
19486
|
var getSelectFlowSchema = function (id, props) {
|
|
@@ -19632,7 +19632,7 @@ var getSelectFlowSchema = function (id, props) {
|
|
|
19632
19632
|
"headers": {
|
|
19633
19633
|
"Authorization": "Bearer ${context.tenantId},${context.authToken}"
|
|
19634
19634
|
}
|
|
19635
|
-
}, "showIcon": showIcon, "showRadio": showRadio, "onlyLeaf": true, "onEvent": onEvent, "static": !!props.static }, amis);
|
|
19635
|
+
}, "showIcon": showIcon, "showRadio": showRadio, "onlyLeaf": true, "onEvent": onEvent, "static": !!props.static, "onlyChildren": true }, amis);
|
|
19636
19636
|
};
|
|
19637
19637
|
/**
|
|
19638
19638
|
*
|