@kmkf-fe-packages/basic-components 0.6.3-alpha.45 → 0.6.3-alpha.48
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 +2 -2
- package/dist/index.js +2 -2
- package/dist/jest.config.d.ts +16 -0
- package/dist/src/apaas/ApaasRadio/test/props.test.d.ts +1 -0
- package/package.json +13 -4
- /package/dist/{apaas → src/apaas}/ApaasAddress/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasCascader/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasCheckbox/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasDate/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasInput/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasInputNumber/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasMultipleSelect/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasRadio/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasRate/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasSelect/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasSlider/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasTextArea/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasUpload/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/ApaasUploadAsync/index.d.ts +0 -0
- /package/dist/{apaas → src/apaas}/hoc/withFormItem.d.ts +0 -0
- /package/dist/{basics → src/basics}/FormItem/index.d.ts +0 -0
- /package/dist/{business → src/business}/Address/index.d.ts +0 -0
- /package/dist/{business → src/business}/AliPay/index.d.ts +0 -0
- /package/dist/{business → src/business}/BuyerNick/index.d.ts +0 -0
- /package/dist/{business → src/business}/ChooseBaby/index.d.ts +0 -0
- /package/dist/{business → src/business}/ExpressLogistics/index.d.ts +0 -0
- /package/dist/{business → src/business}/Invoice/index.d.ts +0 -0
- /package/dist/{business → src/business}/LogisticsInterception/index.d.ts +0 -0
- /package/dist/{business → src/business}/Payment/index.d.ts +0 -0
- /package/dist/{business → src/business}/Remark/index.d.ts +0 -0
- /package/dist/{business → src/business}/ShopName/index.d.ts +0 -0
- /package/dist/{business → src/business}/Status/index.d.ts +0 -0
- /package/dist/{business → src/business}/Supplier/index.d.ts +0 -0
- /package/dist/{business → src/business}/TBGoodId/index.d.ts +0 -0
- /package/dist/{business → src/business}/TBGoodSerial/index.d.ts +0 -0
- /package/dist/{business → src/business}/TradeId/index.d.ts +0 -0
- /package/dist/{common → src/common}/ExpressCompany/index.d.ts +0 -0
- /package/dist/{common → src/common}/Goods/goodModel.d.ts +0 -0
- /package/dist/{common → src/common}/Goods/index.d.ts +0 -0
- /package/dist/{common → src/common}/GoodsTable/goodModel.d.ts +0 -0
- /package/dist/{common → src/common}/GoodsTable/index.d.ts +0 -0
- /package/dist/{common → src/common}/Logistics/index.d.ts +0 -0
- /package/dist/{common → src/common}/Sku/index.d.ts +0 -0
- /package/dist/{common → src/common}/request.d.ts +0 -0
- /package/dist/{config → src/config}/utils.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{jst → src/jst}/Goods/index.d.ts +0 -0
- /package/dist/{jst → src/jst}/ItemList/index.d.ts +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -3103,7 +3103,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3103
3103
|
setStatusOptions((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.logisticsStatusList) || []);
|
|
3104
3104
|
setIsInterface(interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.isInterface);
|
|
3105
3105
|
}, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
3106
|
-
//拦截类型切换
|
|
3106
|
+
//拦截类型切换 需要清空派送地址
|
|
3107
3107
|
useEffect(function () {
|
|
3108
3108
|
if (!(value === null || value === void 0 ? void 0 : value.interceptCompany)) return;
|
|
3109
3109
|
var interceptCompany = expressInterceptData.find(function (item) {
|
|
@@ -3205,7 +3205,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3205
3205
|
return option.label.includes(input);
|
|
3206
3206
|
}
|
|
3207
3207
|
})), /*#__PURE__*/React.createElement(Item, {
|
|
3208
|
-
label: '
|
|
3208
|
+
label: '派送地址',
|
|
3209
3209
|
required: true,
|
|
3210
3210
|
key: 'newAddress',
|
|
3211
3211
|
hidden: !showNewAddress
|
package/dist/index.js
CHANGED
|
@@ -3113,7 +3113,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3113
3113
|
setStatusOptions((interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.logisticsStatusList) || []);
|
|
3114
3114
|
setIsInterface(interceptCompany === null || interceptCompany === void 0 ? void 0 : interceptCompany.isInterface);
|
|
3115
3115
|
}, [value === null || value === void 0 ? void 0 : value.interceptCompany]);
|
|
3116
|
-
//拦截类型切换
|
|
3116
|
+
//拦截类型切换 需要清空派送地址
|
|
3117
3117
|
React.useEffect(function () {
|
|
3118
3118
|
if (!(value === null || value === void 0 ? void 0 : value.interceptCompany)) return;
|
|
3119
3119
|
var interceptCompany = expressInterceptData.find(function (item) {
|
|
@@ -3215,7 +3215,7 @@ var LogisticsInterception = function LogisticsInterception(props) {
|
|
|
3215
3215
|
return option.label.includes(input);
|
|
3216
3216
|
}
|
|
3217
3217
|
})), /*#__PURE__*/React__default['default'].createElement(Item, {
|
|
3218
|
-
label: '
|
|
3218
|
+
label: '派送地址',
|
|
3219
3219
|
required: true,
|
|
3220
3220
|
key: 'newAddress',
|
|
3221
3221
|
hidden: !showNewAddress
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
clearMocks: boolean;
|
|
3
|
+
collectCoverage: boolean;
|
|
4
|
+
coverageDirectory: string;
|
|
5
|
+
coverageProvider: string;
|
|
6
|
+
moduleFileExtensions: string[];
|
|
7
|
+
moduleNameMapper: {
|
|
8
|
+
'\\.(css|less)$': string;
|
|
9
|
+
};
|
|
10
|
+
preset: string;
|
|
11
|
+
roots: string[];
|
|
12
|
+
transform: {
|
|
13
|
+
"^.+\\.ts?$": string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.6.3-alpha.
|
|
3
|
+
"version": "0.6.3-alpha.48",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -16,13 +16,17 @@
|
|
|
16
16
|
"lint": "eslint '**/*.{ts,tsx}'",
|
|
17
17
|
"lint:fix": "eslint --fix '**/*.{ts,tsx}'",
|
|
18
18
|
"start": "dumi dev",
|
|
19
|
-
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
|
|
19
|
+
"watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'",
|
|
20
|
+
"test": "jest"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.
|
|
23
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.48",
|
|
23
24
|
"umi-request": "^1.4.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
27
|
+
"@types/jest": "^29.5.1",
|
|
28
|
+
"@types/node": "^20.1.4",
|
|
29
|
+
"@types/react-test-renderer": "^18.0.0",
|
|
26
30
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
27
31
|
"@typescript-eslint/parser": "^5.59.2",
|
|
28
32
|
"babel-plugin-import": "^1.13.5",
|
|
@@ -30,8 +34,13 @@
|
|
|
30
34
|
"eslint": "^8.40.0",
|
|
31
35
|
"father-build": "^1.17.2",
|
|
32
36
|
"gh-pages": "^3.0.0",
|
|
37
|
+
"identity-obj-proxy": "^3.0.0",
|
|
38
|
+
"jest": "^29.5.0",
|
|
33
39
|
"lint-staged": "^10.0.7",
|
|
34
40
|
"prettier": "^2.2.1",
|
|
41
|
+
"react-test-renderer": "17.0.2",
|
|
42
|
+
"ts-jest": "^29.1.0",
|
|
43
|
+
"ts-node": "^10.9.1",
|
|
35
44
|
"yorkie": "^2.0.0"
|
|
36
45
|
},
|
|
37
46
|
"peerDependencies": {
|
|
@@ -42,5 +51,5 @@
|
|
|
42
51
|
"publishConfig": {
|
|
43
52
|
"access": "public"
|
|
44
53
|
},
|
|
45
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "3bd8082778ee9bfc2ab3c65e7d59bf540babfb9d"
|
|
46
55
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|