@kmkf-fe-packages/kmkf-work-order-service-component 0.20.2-alpha.1 → 0.20.2-alpha.7
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.
|
@@ -645,28 +645,23 @@ var FormRender = function FormRender(props, ref) {
|
|
|
645
645
|
var prefixId = isChildField ? (_item$leftValue$split = item.leftValue.split('_')) === null || _item$leftValue$split === void 0 ? void 0 : _item$leftValue$split[0] : item.leftValue;
|
|
646
646
|
var childFieldType = isChildField ? (_item$leftValue$split2 = item.leftValue.split('_')) === null || _item$leftValue$split2 === void 0 ? void 0 : _item$leftValue$split2[1] : '';
|
|
647
647
|
var dependenceDetail = getComponentDetailByFieldId(prefixId);
|
|
648
|
-
console.log('dependenceDetail', dependenceDetail);
|
|
649
648
|
if (isChildField && CHILD_FIELD_TYPE[childFieldType]) {
|
|
650
649
|
var _dependenceDetail;
|
|
651
650
|
var childType = CHILD_FIELD_TYPE[childFieldType];
|
|
652
651
|
dependenceDetail = ((_dependenceDetail = dependenceDetail) === null || _dependenceDetail === void 0 ? void 0 : _dependenceDetail[childType]) || dependenceDetail;
|
|
653
652
|
}
|
|
654
653
|
var leftValue = getFieldValue(prefixId);
|
|
655
|
-
console.log('leftValue1', leftValue);
|
|
656
654
|
if (isChildField) {
|
|
657
655
|
var _leftValue;
|
|
658
656
|
leftValue = CHILD_FIELD_VALUE !== null && CHILD_FIELD_VALUE !== void 0 && CHILD_FIELD_VALUE[childFieldType] ? (_leftValue = leftValue) === null || _leftValue === void 0 ? void 0 : _leftValue[CHILD_FIELD_VALUE[childFieldType]] : '';
|
|
659
|
-
console.log('leftValue2', leftValue);
|
|
660
657
|
}
|
|
661
658
|
if (typeof dependenceDetail.formDataTransform === 'function') {
|
|
662
659
|
leftValue = dependenceDetail.formDataTransform(leftValue);
|
|
663
|
-
console.log('leftValue3', leftValue);
|
|
664
660
|
}
|
|
665
661
|
// TODO: 如果依赖的组件是隐藏的,当前依赖项为false
|
|
666
662
|
if (Reflect.has(currentComponentDisplayStatus.current, prefixId) && !currentComponentDisplayStatus.current[prefixId]) {
|
|
667
663
|
return false;
|
|
668
664
|
}
|
|
669
|
-
console.log('getExpression', leftValue, item.rightValue);
|
|
670
665
|
return getExpression((_item$compareSymbol = item.compareSymbol) === null || _item$compareSymbol === void 0 ? void 0 : _item$compareSymbol.toUpperCase(), leftValue, item.rightValue);
|
|
671
666
|
};
|
|
672
667
|
var newRenderColumnItem = function newRenderColumnItem(effects) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.20.2-alpha.
|
|
3
|
+
"version": "0.20.2-alpha.7",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "^0.20.2-alpha.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.20.2-alpha.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.20.2-alpha.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^0.20.2-alpha.7",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.20.2-alpha.7",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.20.2-alpha.7",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "a463838fb4996fa3e2fede152b2383e6b69328c2",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|