@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.
@@ -17342,7 +17342,7 @@ function uuidv4() {
17342
17342
  * @Author: 殷亮辉 yinlianghui@hotoa.com
17343
17343
  * @Date: 2023-11-15 09:50:22
17344
17344
  * @LastEditors: 殷亮辉 yinlianghui@hotoa.com
17345
- * @LastEditTime: 2024-03-02 16:07:17
17345
+ * @LastEditTime: 2024-06-11 15:38:16
17346
17346
  */
17347
17347
 
17348
17348
  /**
@@ -18412,6 +18412,7 @@ async function getButtonActions(props, mode) {
18412
18412
  "__parentForm": mode == "new" ? "$$" : parentFormData,
18413
18413
  "_master": "${_master}",
18414
18414
  "global": "${global}",
18415
+ "context": "${context}",
18415
18416
  "uiSchema": "${uiSchema}",
18416
18417
  "index": "${index}",//amis组件自带行索引,在节点嵌套情况下,当前节点如果是children属性下的子节点时,这里的index是当前节点在children中的索引,而不是外层父节点的index
18417
18418
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -18536,6 +18537,7 @@ async function getButtonActions(props, mode) {
18536
18537
  "__parentForm": parentFormData,
18537
18538
  "_master": "${_master}",
18538
18539
  "global": "${global}",
18540
+ "context": "${context}",
18539
18541
  "uiSchema": "${uiSchema}",
18540
18542
  "index": "${index}",
18541
18543
  "parent": "${__super.parent}",//amis组件自带父节点数据域数据,即节点嵌套情况下,当前节点为某个节点(比如A节点)的children属性下的子节点时,当前节点的父节点(即A节点)的数据域数据
@@ -24454,7 +24456,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
24454
24456
  case 14:
24455
24457
  if (!fStatic) return [3 /*break*/, 28];
24456
24458
  if (!props.data.hasOwnProperty("_display")) return [3 /*break*/, 16];
24457
- return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, readonly, ctx)];
24459
+ return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, true, ctx)];
24458
24460
  case 15:
24459
24461
  fieldSchema = _5.sent();
24460
24462
  if (steedosField.type === 'file' && fieldSchema.disabled) {
@@ -24608,7 +24610,7 @@ var AmisSteedosField = function (props) { return __awaiter(void 0, void 0, void
24608
24610
  return [3 /*break*/, 27];
24609
24611
  case 24:
24610
24612
  if (!(steedosField.type === "file")) return [3 /*break*/, 26];
24611
- return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, readonly, ctx)];
24613
+ return [4 /*yield*/, index.convertSFieldToAmisField(steedosField, true, ctx)];
24612
24614
  case 25:
24613
24615
  // 附件static模式先保持原来的逻辑,依赖_display,审批王中相关功能在creator中
24614
24616
  // convertSFieldToAmisField中会合并steedosField.amis,所以也不需要再次合并steedosField.amis,直接return就好