@stonecrop/aform 0.61.0 → 0.62.0

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/aform.js CHANGED
@@ -2783,7 +2783,10 @@ var AForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__
2783
2783
  if (componentObj.kind === "table") {
2784
2784
  propsToPass["rows"] = dataModel.value[componentObj.fieldname] || [];
2785
2785
  propsToPass["onUpdate:rows"] = (rows) => updateTableRows(componentObj.fieldname, rows);
2786
- if (resolvedMode(componentObj) !== "edit") propsToPass["schema"] = componentObj.schema.map((column) => Object.assign({}, column, { edit: false }));
2786
+ if (resolvedMode(componentObj) !== "edit") {
2787
+ propsToPass["schema"] = componentObj.schema.map((column) => Object.assign({}, column, { edit: false }));
2788
+ propsToPass["config"] = Object.assign({}, componentObj.config, { addable: false });
2789
+ }
2787
2790
  }
2788
2791
  return propsToPass;
2789
2792
  };
@@ -2905,7 +2908,7 @@ var AForm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__
2905
2908
  }), 128))]);
2906
2909
  };
2907
2910
  }
2908
- }), [["__scopeId", "data-v-33120a88"]]);
2911
+ }), [["__scopeId", "data-v-ec9a95e6"]]);
2909
2912
  // src/components/base/CollapseButton.vue
2910
2913
  var CollapseButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
2911
2914
  __name: "CollapseButton",