@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.
@@ -13424,7 +13424,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
13424
13424
  * @Author: baozhoutao@steedos.com
13425
13425
  * @Date: 2022-07-05 15:55:39
13426
13426
  * @LastEditors: liaodaxue
13427
- * @LastEditTime: 2023-06-20 14:05:50
13427
+ * @LastEditTime: 2023-08-21 14:50:21
13428
13428
  * @Description:
13429
13429
  */
13430
13430
 
@@ -13574,7 +13574,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
13574
13574
  globalFilter,
13575
13575
  defaults: {
13576
13576
  listSchema: {
13577
- headerToolbar:[],
13577
+ headerToolbar:["bulkActions"],
13578
13578
  columnsTogglable: false,
13579
13579
  onEvent: {
13580
13580
  [`@data.changed.${relatedObjectName}`]: {
@@ -18781,8 +18781,8 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
18781
18781
  /*
18782
18782
  * @Author: baozhoutao@steedos.com
18783
18783
  * @Date: 2022-09-01 14:44:57
18784
- * @LastEditors: 廖大雪 2291335922@qq.com
18785
- * @LastEditTime: 2023-03-17 14:09:53
18784
+ * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
18785
+ * @LastEditTime: 2023-08-21 14:00:27
18786
18786
  * @Description:
18787
18787
  */
18788
18788
  var AmisGlobalHeaderToolbar = function (props) { return __awaiter(void 0, void 0, void 0, function () {
@@ -18927,7 +18927,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
18927
18927
  "name": "notifications",
18928
18928
  "items": {
18929
18929
  "type": "tpl",
18930
- "tpl": "<div class='flex items-center p-4 hover:bg-sky-50'><img src='<%=data.context.rootUrl + `/avatar/` + data.from%>' alt='' class='h-10 w-10 flex-none rounded-full'><div class='ml-4 flex-auto'><div class='font-medium'><span class='text-primary'><%=data.name%></span></div><div class='mt-1 text-slate-700'><%=data.body%></div><div class='mt-1 text-slate-700'><%=moment(data.created).fromNow()%><abbr class='slds-text-link slds-m-horizontal_xxx-small <%=data.is_read ? 'hidden' : ''%>' title='unread'>●</abbr></div></div></div>",
18930
+ "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>",
18931
18931
  "id": "u:07ece657c7b7",
18932
18932
  "onEvent": {
18933
18933
  "click": {
@@ -19478,7 +19478,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
19478
19478
  * @Author: baozhoutao@steedos.com
19479
19479
  * @Date: 2023-01-14 16:41:24
19480
19480
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
19481
- * @LastEditTime: 2023-08-03 13:32:08
19481
+ * @LastEditTime: 2023-08-21 10:03:05
19482
19482
  * @Description:
19483
19483
  */
19484
19484
  var getSelectFlowSchema = function (id, props) {
@@ -19630,7 +19630,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
19630
19630
  "headers": {
19631
19631
  "Authorization": "Bearer ${context.tenantId},${context.authToken}"
19632
19632
  }
19633
- }, "showIcon": showIcon, "showRadio": showRadio, "onlyLeaf": true, "onEvent": onEvent, "static": !!props.static }, amis);
19633
+ }, "showIcon": showIcon, "showRadio": showRadio, "onlyLeaf": true, "onEvent": onEvent, "static": !!props.static, "onlyChildren": true }, amis);
19634
19634
  };
19635
19635
  /**
19636
19636
  *