@steedos-widgets/amis-object 6.3.0-beta.21 → 6.3.0-beta.22

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.
@@ -17314,7 +17314,7 @@ function uuidv4() {
17314
17314
  * @Author: 殷亮辉 yinlianghui@hotoa.com
17315
17315
  * @Date: 2023-11-15 09:50:22
17316
17316
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
17317
- * @LastEditTime: 2024-03-02 16:07:17
17317
+ * @LastEditTime: 2024-06-11 15:38:16
17318
17318
  */
17319
17319
 
17320
17320
  /**
@@ -18384,6 +18384,7 @@ async function getButtonActions(props, mode) {
18384
18384
  "__parentForm": mode == "new" ? "$$" : parentFormData,
18385
18385
  "_master": "${_master}",
18386
18386
  "global": "${global}",
18387
+ "context": "${context}",
18387
18388
  "uiSchema": "${uiSchema}",
18388
18389
  "index": "${index}",//amis组件自带行索引,在节点嵌套情况下,当前节点如果是children属性下的子节点时,这里的index是当前节点在children中的索引,而不是外层父节点的index
18389
18390
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -18508,6 +18509,7 @@ async function getButtonActions(props, mode) {
18508
18509
  "__parentForm": parentFormData,
18509
18510
  "_master": "${_master}",
18510
18511
  "global": "${global}",
18512
+ "context": "${context}",
18511
18513
  "uiSchema": "${uiSchema}",
18512
18514
  "index": "${index}",
18513
18515
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -24426,7 +24428,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
24426
24428
  case 14:
24427
24429
  if (!fStatic) return [3 /*break*/, 28];
24428
24430
  if (!props.data.hasOwnProperty("_display")) return [3 /*break*/, 16];
24429
- return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, readonly, ctx)];
24431
+ return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, true, ctx)];
24430
24432
  case 15:
24431
24433
  fieldSchema = _5.sent();
24432
24434
  if (steedosField.type === 'file' && fieldSchema.disabled) {
@@ -24580,7 +24582,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
24580
24582
  return [3 /*break*/, 27];
24581
24583
  case 24:
24582
24584
  if (!(steedosField.type === "file")) return [3 /*break*/, 26];
24583
- return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, readonly, ctx)];
24585
+ return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, true, ctx)];
24584
24586
  case 25:
24585
24587
  // 附件static模式先保持原来的逻辑,依赖_display,审批王中相关功能在creator中
24586
24588
  // convertSFieldToAmisField中会合并steedosField.amis,所以也不需要再次合并steedosField.amis,直接return就好