@steedos-widgets/amis-lib 6.3.0-beta.21 → 6.3.0-beta.23

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/index.esm.js CHANGED
@@ -6931,7 +6931,7 @@ function getObjectListHeaderFirstLine(objectSchema, listViewName, ctx) {
6931
6931
  },
6932
6932
  {
6933
6933
  "type": "button",
6934
- "className": "steedos-listview-edit-button",
6934
+ "className": "steedos-listview-edit-button ml-3",
6935
6935
  "icon": "fa fa-edit",
6936
6936
  "actionType": "dialog",
6937
6937
  "hiddenOn": `!((global.user.is_space_admin || global.userId == '${listView.owner || ""}') && !!'${listView.owner || ""}')`,
@@ -7366,6 +7366,13 @@ function getObjectListHeaderFirstLine(objectSchema, listViewName, ctx) {
7366
7366
  "btnClassName": "!bg-transparent !border-none !hover:border-none text-lg h-5 font-bold p-0 text-black leading-none",
7367
7367
  "buttons": [
7368
7368
  ...listViewButtonOptions,
7369
+ {
7370
+ "children": [
7371
+ {
7372
+ "type": "divider"
7373
+ }
7374
+ ]
7375
+ },
7369
7376
  listviewNewButton
7370
7377
  ]
7371
7378
  }
@@ -14161,7 +14168,7 @@ function uuidv4() {
14161
14168
  * @Author: 殷亮辉 yinlianghui@hotoa.com
14162
14169
  * @Date: 2023-11-15 09:50:22
14163
14170
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
14164
- * @LastEditTime: 2024-03-02 16:07:17
14171
+ * @LastEditTime: 2024-06-14 06:31:33
14165
14172
  */
14166
14173
 
14167
14174
  /**
@@ -14380,7 +14387,8 @@ function getInputTableCell(field, showAsInlineEditMode) {
14380
14387
  return {
14381
14388
  "type": "steedos-field",
14382
14389
  "config": Object.assign({}, field, {
14383
- label: false
14390
+ label: false,
14391
+ description: null
14384
14392
  }),
14385
14393
  // quickEdit: {
14386
14394
  // "type": "steedos-field",
@@ -14397,7 +14405,8 @@ function getInputTableCell(field, showAsInlineEditMode) {
14397
14405
  return {
14398
14406
  "type": "steedos-field",
14399
14407
  "config": Object.assign({}, field, {
14400
- label: false
14408
+ label: false,
14409
+ description: null
14401
14410
  }),
14402
14411
  inInputTable: true,
14403
14412
  "static": true,
@@ -15231,6 +15240,7 @@ async function getButtonActions(props, mode) {
15231
15240
  "__parentForm": mode == "new" ? "$$" : parentFormData,
15232
15241
  "_master": "${_master}",
15233
15242
  "global": "${global}",
15243
+ "context": "${context}",
15234
15244
  "uiSchema": "${uiSchema}",
15235
15245
  "index": "${index}",//amis组件自带行索引,在节点嵌套情况下,当前节点如果是children属性下的子节点时,这里的index是当前节点在children中的索引,而不是外层父节点的index
15236
15246
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -15355,6 +15365,7 @@ async function getButtonActions(props, mode) {
15355
15365
  "__parentForm": parentFormData,
15356
15366
  "_master": "${_master}",
15357
15367
  "global": "${global}",
15368
+ "context": "${context}",
15358
15369
  "uiSchema": "${uiSchema}",
15359
15370
  "index": "${index}",
15360
15371
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -15641,7 +15652,8 @@ const getAmisInputTableSchema = async (props) => {
15641
15652
  }
15642
15653
  return value;
15643
15654
  },
15644
- "required": props.required
15655
+ "required": props.required,
15656
+ "description": props.description
15645
15657
  };
15646
15658
  if (buttonsForColumnOperations.length) {
15647
15659
  inputTableSchema.columns.unshift({