@kmkf-fe-packages/services-components 1.6.0-beta.13 → 1.6.0-beta.15
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.
|
@@ -22,8 +22,7 @@ import ItemView from "../../commonComponents/ItemView";
|
|
|
22
22
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
23
23
|
import { SYMBOL } from "../../constant";
|
|
24
24
|
var SubForm = /*#__PURE__*/_createClass(function SubForm(options) {
|
|
25
|
-
var _this = this
|
|
26
|
-
_this$componentConfig9;
|
|
25
|
+
var _this = this;
|
|
27
26
|
_classCallCheck(this, SubForm);
|
|
28
27
|
_defineProperty(this, "name", void 0);
|
|
29
28
|
_defineProperty(this, "id", void 0);
|
|
@@ -150,12 +149,11 @@ var SubForm = /*#__PURE__*/_createClass(function SubForm(options) {
|
|
|
150
149
|
this.componentConfig = options.componentConfig;
|
|
151
150
|
this.workOrderUniqueKey = options === null || options === void 0 ? void 0 : options.workOrderUniqueKey;
|
|
152
151
|
this.rules = [{
|
|
153
|
-
required: (_this$componentConfig9 = this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : _this$componentConfig9.required,
|
|
154
152
|
validator: function validator(_, value) {
|
|
155
|
-
var _this$
|
|
156
|
-
var result = (_this$
|
|
153
|
+
var _this$componentConfig9, _this$componentConfig10;
|
|
154
|
+
var result = (_this$componentConfig9 = _this.componentConfig) === null || _this$componentConfig9 === void 0 ? void 0 : (_this$componentConfig10 = _this$componentConfig9.tableHeader) === null || _this$componentConfig10 === void 0 ? void 0 : _this$componentConfig10.reduce(function (prv, next) {
|
|
157
155
|
if (next.isRequired && next.isShow && !next.isEdit) {
|
|
158
|
-
prv[next.key] = "".concat(next.name, "\
|
|
156
|
+
prv[next.key] = "".concat(next.name, "\u5FC5\u586B");
|
|
159
157
|
}
|
|
160
158
|
return prv;
|
|
161
159
|
}, {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.15",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.6.0-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.6.0-beta.15",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "1.6.0-beta.11"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "8184cacee6d0692783f52ce9ccecb96ab1ef3b08",
|
|
42
42
|
"gitHooks": {
|
|
43
43
|
"pre-commit": "lint-staged"
|
|
44
44
|
}
|