@kmkf-fe-packages/basic-components 1.6.0-beta.7 → 1.6.0-beta.8
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 +6 -6
- package/dist/index.js +6 -6
- package/dist/src/apaas/SubForm/index.d.ts +7 -5
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -7654,11 +7654,12 @@ var SubForm = function SubForm(props) {
|
|
|
7654
7654
|
var value = props.value,
|
|
7655
7655
|
onChange = props.onChange,
|
|
7656
7656
|
needFilterShopByPermission = props.needFilterShopByPermission,
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7657
|
+
_props$subConfig = props.subConfig,
|
|
7658
|
+
flowStatus = _props$subConfig.flowStatus,
|
|
7659
|
+
flowTemplateKey = _props$subConfig.flowTemplateKey,
|
|
7660
|
+
nodeId = _props$subConfig.nodeId,
|
|
7661
|
+
workOrderTemplateId = _props$subConfig.workOrderTemplateId,
|
|
7662
|
+
correlationList = _props$subConfig.correlationList,
|
|
7662
7663
|
tableHeader = props.tableHeader,
|
|
7663
7664
|
disabled = props.disabled;
|
|
7664
7665
|
var ref = useRef(null);
|
|
@@ -7686,7 +7687,6 @@ var SubForm = function SubForm(props) {
|
|
|
7686
7687
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
7687
7688
|
hasMore = _useState12[0],
|
|
7688
7689
|
setHasMore = _useState12[1];
|
|
7689
|
-
var firstIn = useRef(true);
|
|
7690
7690
|
var updateHandle = function updateHandle(val, index, type) {
|
|
7691
7691
|
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
7692
7692
|
var valueItem = tableHeader.find(function (t) {
|
package/dist/index.js
CHANGED
|
@@ -7666,11 +7666,12 @@ var SubForm = function SubForm(props) {
|
|
|
7666
7666
|
var value = props.value,
|
|
7667
7667
|
onChange = props.onChange,
|
|
7668
7668
|
needFilterShopByPermission = props.needFilterShopByPermission,
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7669
|
+
_props$subConfig = props.subConfig,
|
|
7670
|
+
flowStatus = _props$subConfig.flowStatus,
|
|
7671
|
+
flowTemplateKey = _props$subConfig.flowTemplateKey,
|
|
7672
|
+
nodeId = _props$subConfig.nodeId,
|
|
7673
|
+
workOrderTemplateId = _props$subConfig.workOrderTemplateId,
|
|
7674
|
+
correlationList = _props$subConfig.correlationList,
|
|
7674
7675
|
tableHeader = props.tableHeader,
|
|
7675
7676
|
disabled = props.disabled;
|
|
7676
7677
|
var ref = React.useRef(null);
|
|
@@ -7698,7 +7699,6 @@ var SubForm = function SubForm(props) {
|
|
|
7698
7699
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
7699
7700
|
hasMore = _useState12[0],
|
|
7700
7701
|
setHasMore = _useState12[1];
|
|
7701
|
-
var firstIn = React.useRef(true);
|
|
7702
7702
|
var updateHandle = function updateHandle(val, index, type) {
|
|
7703
7703
|
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
7704
7704
|
var valueItem = tableHeader.find(function (t) {
|
|
@@ -14,13 +14,15 @@ type subConfigType = {
|
|
|
14
14
|
type SubFormProps = {
|
|
15
15
|
value: any;
|
|
16
16
|
onChange: (val: any) => void;
|
|
17
|
+
subConfig: {
|
|
18
|
+
flowStatus: Array<string>;
|
|
19
|
+
flowTemplateKey: Array<any>;
|
|
20
|
+
nodeId: string;
|
|
21
|
+
workOrderTemplateId: string;
|
|
22
|
+
correlationList: subConfigType[];
|
|
23
|
+
};
|
|
17
24
|
needFilterShopByPermission: boolean;
|
|
18
25
|
tableHeader: subConfigType[];
|
|
19
|
-
flowStatus: Array<string>;
|
|
20
|
-
flowTemplateKey: Array<any>;
|
|
21
|
-
nodeId: string;
|
|
22
|
-
workOrderTemplateId: string;
|
|
23
|
-
correlationList: subConfigType[];
|
|
24
26
|
disabled: boolean;
|
|
25
27
|
};
|
|
26
28
|
declare const SubForm: (props: SubFormProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.8",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "aed67694931e1a241ff4b4a2a7ee719aad5e05d5"
|
|
69
69
|
}
|