@ibiz-template/model-helper 0.7.41-alpha.17 → 0.7.41-alpha.19

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
@@ -20039,10 +20039,8 @@ var StringUtil = class {
20039
20039
  if (notNilEmpty(params)) {
20040
20040
  const strArr = str.match(this.paramsReg);
20041
20041
  strArr === null || strArr === void 0 ? void 0 : strArr.forEach((_key) => {
20042
- const key = _key.slice(8, _key.length - 1);
20043
- if (params[key]) {
20044
- str = str.replace("${params.".concat(key, "}"), params[key]);
20045
- }
20042
+ const key = _key.slice(9, _key.length - 1);
20043
+ str = str.replace("${params.".concat(key, "}"), params[key] || "");
20046
20044
  });
20047
20045
  }
20048
20046
  if (notNilEmpty(data)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/model-helper",
3
- "version": "0.7.41-alpha.17",
3
+ "version": "0.7.41-alpha.19",
4
4
  "description": "模型辅助库",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -30,14 +30,14 @@
30
30
  "author": "iBiz",
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@ibiz-template/core": "^0.7.41-alpha.17",
33
+ "@ibiz-template/core": "^0.7.41-alpha.18",
34
34
  "@ibiz/model-core": "^0.1.79",
35
35
  "@ibiz/rt-model-api": "0.2.77",
36
36
  "pluralize": "^8.0.0",
37
37
  "ramda": "^0.29.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@ibiz-template/runtime": "^0.7.41-alpha.17",
40
+ "@ibiz-template/runtime": "^0.7.41-alpha.19",
41
41
  "@types/pluralize": "^0.0.33",
42
42
  "@types/ramda": "^0.29.10"
43
43
  },
@@ -45,5 +45,5 @@
45
45
  "@ibiz-template/runtime": "^0.6.0",
46
46
  "ramda": "^0.29.0"
47
47
  },
48
- "gitHead": "8edd9d91119567c06e78dcecca5a88bac75e732c"
48
+ "gitHead": "9ba5057b454bfffcc001d2cf659bc63073277f21"
49
49
  }