@kmkf-fe-packages/services-components 0.24.0-alpha.2 → 0.24.0-alpha.6
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/esm/components/BS/common/BsHeaderChild.js +1 -2
- package/dist/esm/components/BS/common/BsHeaderGood.js +2 -60
- package/dist/esm/components/BS/common/index.d.ts +0 -1
- package/dist/esm/components/BS/common/index.js +0 -1
- package/dist/esm/components/Common/index.d.ts +4 -12
- package/dist/esm/components/Common/index.js +228 -325
- package/dist/esm/components/EItemEnCode/index.d.ts +7 -10
- package/dist/esm/components/EItemEnCode/index.js +44 -68
- package/dist/esm/components/PostIng/index.js +1 -1
- package/dist/esm/constant.js +6 -1
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/type.d.ts +1 -2
- package/package.json +4 -4
- package/dist/esm/components/BS/common/BsHeaderGoodPic.d.ts +0 -27
- package/dist/esm/components/BS/common/BsHeaderGoodPic.js +0 -114
|
@@ -58,8 +58,7 @@ var BsHeaderChild = /*#__PURE__*/_createClass(function BsHeaderChild(options) {
|
|
|
58
58
|
});
|
|
59
59
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
60
60
|
var _this$getComponentVal2;
|
|
61
|
-
|
|
62
|
-
return typeof val === 'number' ? val + '' : val;
|
|
61
|
+
return (_this$getComponentVal2 = _this.getComponentValue(record)) !== null && _this$getComponentVal2 !== void 0 ? _this$getComponentVal2 : '--';
|
|
63
62
|
});
|
|
64
63
|
_defineProperty(this, "editRender", function () {
|
|
65
64
|
return null;
|
|
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
20
20
|
import React from "react";
|
|
21
21
|
import ItemView from "../../../commonComponents/ItemView";
|
|
22
22
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
23
|
-
import { BsHeaderPic, BsHeaderChild
|
|
23
|
+
import { BsHeaderPic, BsHeaderChild } from "./index";
|
|
24
24
|
var HeaderMap = {
|
|
25
25
|
mark: {
|
|
26
26
|
component: BsHeaderChild,
|
|
@@ -81,57 +81,7 @@ var HeaderMap = {
|
|
|
81
81
|
name: "赠品类型",
|
|
82
82
|
key: "type",
|
|
83
83
|
width: 150
|
|
84
|
-
},
|
|
85
|
-
title: {
|
|
86
|
-
component: BsHeaderChild,
|
|
87
|
-
name: "商品名称",
|
|
88
|
-
key: "title",
|
|
89
|
-
width: 200
|
|
90
|
-
},
|
|
91
|
-
outerId: {
|
|
92
|
-
component: BsHeaderChild,
|
|
93
|
-
name: "商品编码",
|
|
94
|
-
key: "outerId",
|
|
95
|
-
width: 100
|
|
96
|
-
},
|
|
97
|
-
picUrl: {
|
|
98
|
-
component: BsHeaderGoodPic,
|
|
99
|
-
name: "图片",
|
|
100
|
-
key: "picUrl",
|
|
101
|
-
width: 140
|
|
102
|
-
},
|
|
103
|
-
numIid: {
|
|
104
|
-
component: BsHeaderChild,
|
|
105
|
-
name: "商品id",
|
|
106
|
-
key: "numIid",
|
|
107
|
-
width: 100
|
|
108
|
-
},
|
|
109
|
-
skuId: {
|
|
110
|
-
component: BsHeaderChild,
|
|
111
|
-
name: "SKU ID",
|
|
112
|
-
key: "skuId",
|
|
113
|
-
width: 140
|
|
114
|
-
},
|
|
115
|
-
outerSkuId: {
|
|
116
|
-
component: BsHeaderChild,
|
|
117
|
-
name: "SKU 编码",
|
|
118
|
-
key: "outerSkuId",
|
|
119
|
-
width: 140
|
|
120
|
-
},
|
|
121
|
-
propertiesName: {
|
|
122
|
-
component: BsHeaderChild,
|
|
123
|
-
name: "SKU 信息",
|
|
124
|
-
key: "propertiesName",
|
|
125
|
-
width: 140
|
|
126
84
|
}
|
|
127
|
-
|
|
128
|
-
// title: '商品名称',
|
|
129
|
-
// outerId: '商品编码',
|
|
130
|
-
// picUrl: '图片',
|
|
131
|
-
// numIid: '商品id',
|
|
132
|
-
// skuId: 'SKU ID',
|
|
133
|
-
// outerSkuId: 'SKU 编码',
|
|
134
|
-
// propertiesName: 'SKU 信息',
|
|
135
85
|
};
|
|
136
86
|
var BsHeaderGods = /*#__PURE__*/_createClass(function BsHeaderGods(options) {
|
|
137
87
|
var _this = this;
|
|
@@ -202,15 +152,7 @@ var BsHeaderGods = /*#__PURE__*/_createClass(function BsHeaderGods(options) {
|
|
|
202
152
|
this.isCombinationComponent = true;
|
|
203
153
|
this.canSort = false;
|
|
204
154
|
this.dataType = "string";
|
|
205
|
-
this.itemKey =
|
|
206
|
-
title: '商品名称',
|
|
207
|
-
outerId: '商品编码',
|
|
208
|
-
picUrl: '图片',
|
|
209
|
-
numIid: '商品id',
|
|
210
|
-
skuId: 'SKU ID',
|
|
211
|
-
outerSkuId: 'SKU 编码',
|
|
212
|
-
propertiesName: 'SKU 信息'
|
|
213
|
-
} : {
|
|
155
|
+
this.itemKey = {
|
|
214
156
|
mark: "商品标记",
|
|
215
157
|
pic: "图片",
|
|
216
158
|
name: "名称",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { default as BsType } from "./BsType";
|
|
2
2
|
export { default as BsMemo } from "./BsMemo";
|
|
3
3
|
export { default as BsHeaderPic } from "./BsHeaderPic";
|
|
4
|
-
export { default as BsHeaderGoodPic } from "./BsHeaderGoodPic";
|
|
5
4
|
export { default as BsHeaderChild } from "./BsHeaderChild";
|
|
6
5
|
export { default as BsHeaderGood } from "./BsHeaderGood";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { default as BsType } from "./BsType";
|
|
2
2
|
export { default as BsMemo } from "./BsMemo";
|
|
3
3
|
export { default as BsHeaderPic } from "./BsHeaderPic";
|
|
4
|
-
export { default as BsHeaderGoodPic } from "./BsHeaderGoodPic";
|
|
5
4
|
export { default as BsHeaderChild } from "./BsHeaderChild";
|
|
6
5
|
export { default as BsHeaderGood } from "./BsHeaderGood";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare type getFormItemProps = {
|
|
3
3
|
name: string;
|
|
4
4
|
title: string;
|
|
@@ -7,14 +7,13 @@ declare type getFormItemProps = {
|
|
|
7
7
|
component: JSX.Element | string | null;
|
|
8
8
|
};
|
|
9
9
|
export declare const getFormItem: ({ name, title, rules, required, component, }: getFormItemProps) => React.JSX.Element;
|
|
10
|
-
export declare const showImage: ({ item, type, index,
|
|
10
|
+
export declare const showImage: ({ item, type, index, }: {
|
|
11
11
|
item: any;
|
|
12
12
|
type: string;
|
|
13
13
|
index: number;
|
|
14
|
-
showHeader: string[];
|
|
15
14
|
}) => React.JSX.Element;
|
|
16
|
-
export declare const ShowTotalImage: ({ total, allImage, type
|
|
17
|
-
export declare const GoodImage: ({ list, type
|
|
15
|
+
export declare const ShowTotalImage: ({ total, allImage, type }: any) => React.JSX.Element;
|
|
16
|
+
export declare const GoodImage: ({ list, type }: any) => React.JSX.Element | null;
|
|
18
17
|
export declare const JstGoodImage: ({ list, type }: any) => any;
|
|
19
18
|
export declare const BsExpressRender: ({ list, showField }: any) => any;
|
|
20
19
|
export declare const CommonOrderContent: ({ list, valueKey, failValue, options, }: any) => any;
|
|
@@ -28,13 +27,6 @@ export declare const BsGoodsTable: ({ list, showHeader, text, }: {
|
|
|
28
27
|
list: any[];
|
|
29
28
|
showHeader: string[];
|
|
30
29
|
text?: string | undefined;
|
|
31
|
-
type?: string | undefined;
|
|
32
|
-
}) => React.JSX.Element;
|
|
33
|
-
export declare const TBGoodTable: ({ list, showHeader, text, }: {
|
|
34
|
-
list: any[];
|
|
35
|
-
showHeader: string[];
|
|
36
|
-
text?: string | undefined;
|
|
37
|
-
type?: string | undefined;
|
|
38
30
|
}) => React.JSX.Element;
|
|
39
31
|
export declare const FileRender: ({ fileList, canDownload }: any) => React.JSX.Element;
|
|
40
32
|
export declare const BsSystemOrderTable: ({ value, type }: any) => React.JSX.Element;
|