super-page-runtime 2.0.71 → 2.0.73

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.
@@ -9,7 +9,7 @@ import axios from "axios";
9
9
  import { getTableUuid, doAfterClickEvent, handleEvent } from "./event-util.js";
10
10
  import { setStoreInfo } from "../store-util.js";
11
11
  import { refreshPage } from "../api/api-util.js";
12
- import { getPermissionCodes, getModelFields } from "../page-init-util.js";
12
+ import { getPermissionCodes, getDefaultValue, getModelFields } from "../page-init-util.js";
13
13
  import { updateChartDatasources, getVariableValue, setVariableValue } from "../page-helper-util.js";
14
14
  import printLabelUtil from "./print-label.js";
15
15
  import { getTableNameByTableUuid } from "../table-utils.js";
@@ -1615,7 +1615,8 @@ function lineEditCreateFunc(params) {
1615
1615
  const tableUuid = params["tableUuid"];
1616
1616
  const gridRef = getComponentRef(pageContext, tableUuid);
1617
1617
  if (gridRef) {
1618
- gridRef.createRow(params);
1618
+ params.getDefaultValueFunc = getDefaultValue;
1619
+ gridRef.createRow(params.listCode, {}, params);
1619
1620
  }
1620
1621
  }
1621
1622
  function printLabel(params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.0.71",
3
+ "version": "2.0.73",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -48,7 +48,7 @@
48
48
  "@vitejs/plugin-vue-jsx": "^3.1.0",
49
49
  "@vue/eslint-config-prettier": "^8.0.0",
50
50
  "@vue/test-utils": "^2.4.4",
51
- "agilebuilder-ui": "1.0.51",
51
+ "agilebuilder-ui": "1.0.53",
52
52
  "axios": "^1.6.8",
53
53
  "cypress": "^13.6.6",
54
54
  "element-plus": "^2.6.1",