@kmkf-fe-packages/basic-components 0.6.3-alpha.4 → 0.6.3-alpha.44

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.
Files changed (39) hide show
  1. package/README.md +1 -1
  2. package/dist/apaas/ApaasAddress/index.d.ts +2 -1
  3. package/dist/apaas/ApaasCascader/index.d.ts +2 -1
  4. package/dist/apaas/ApaasCheckbox/index.d.ts +2 -1
  5. package/dist/apaas/ApaasDate/index.d.ts +2 -1
  6. package/dist/apaas/ApaasInput/index.d.ts +2 -1
  7. package/dist/apaas/ApaasInputNumber/index.d.ts +2 -1
  8. package/dist/apaas/ApaasMultipleSelect/index.d.ts +2 -1
  9. package/dist/apaas/ApaasSelect/index.d.ts +2 -1
  10. package/dist/apaas/ApaasTextArea/index.d.ts +2 -1
  11. package/dist/apaas/ApaasUpload/index.d.ts +2 -1
  12. package/dist/apaas/ApaasUploadAsync/index.d.ts +2 -1
  13. package/dist/apaas/hoc/withFormItem.d.ts +1 -1
  14. package/dist/basics/FormItem/index.d.ts +2 -1
  15. package/dist/business/AliPay/index.d.ts +2 -1
  16. package/dist/business/BuyerNick/index.d.ts +2 -1
  17. package/dist/business/ChooseBaby/index.d.ts +2 -1
  18. package/dist/business/ExpressLogistics/index.d.ts +2 -1
  19. package/dist/business/Invoice/index.d.ts +2 -1
  20. package/dist/business/LogisticsInterception/index.d.ts +5 -4
  21. package/dist/business/Payment/index.d.ts +2 -1
  22. package/dist/business/Remark/index.d.ts +2 -1
  23. package/dist/business/ShopName/index.d.ts +2 -1
  24. package/dist/business/Status/index.d.ts +10 -1
  25. package/dist/business/Supplier/index.d.ts +2 -1
  26. package/dist/business/TBGoodId/index.d.ts +2 -1
  27. package/dist/business/TBGoodSerial/index.d.ts +2 -1
  28. package/dist/business/TradeId/index.d.ts +2 -1
  29. package/dist/common/ExpressCompany/index.d.ts +2 -1
  30. package/dist/common/Goods/goodModel.d.ts +2 -1
  31. package/dist/common/Goods/index.d.ts +2 -1
  32. package/dist/common/GoodsTable/goodModel.d.ts +2 -1
  33. package/dist/common/Logistics/index.d.ts +2 -1
  34. package/dist/config/utils.d.ts +0 -1
  35. package/dist/index.esm.js +167 -198
  36. package/dist/index.js +167 -198
  37. package/dist/jst/Goods/index.d.ts +2 -1
  38. package/dist/jst/ItemList/index.d.ts +2 -1
  39. package/package.json +9 -4
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface JstGoodsProps {
2
3
  value: any[];
3
4
  type: number;
@@ -6,5 +7,5 @@ interface JstGoodsProps {
6
7
  onChange: (val: any[]) => void;
7
8
  showField: string;
8
9
  }
9
- declare const jstGoods: (props: Partial<JstGoodsProps>) => JSX.Element;
10
+ declare const jstGoods: (props: Partial<JstGoodsProps>) => React.JSX.Element;
10
11
  export default jstGoods;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import './index.less';
2
3
  export interface GoodsProps {
3
4
  value: any[];
@@ -15,5 +16,5 @@ export interface GoodsItem {
15
16
  price: string;
16
17
  [key: string]: any;
17
18
  }
18
- declare const ItemList: (props: Partial<GoodsProps>) => JSX.Element;
19
+ declare const ItemList: (props: Partial<GoodsProps>) => React.JSX.Element;
19
20
  export default ItemList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "0.6.3-alpha.4",
3
+ "version": "0.6.3-alpha.44",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -12,17 +12,22 @@
12
12
  ],
13
13
  "scripts": {
14
14
  "async": "yarn build && yalc push",
15
- "build": "father-build",
15
+ "build": "yarn lint && father-build",
16
+ "lint": "eslint '**/*.{ts,tsx}'",
17
+ "lint:fix": "eslint --fix '**/*.{ts,tsx}'",
16
18
  "start": "dumi dev",
17
19
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
18
20
  },
19
21
  "dependencies": {
22
+ "@kmkf-fe-packages/kmkf-utils": "^0.6.3-alpha.44",
20
23
  "umi-request": "^1.4.0"
21
24
  },
22
25
  "devDependencies": {
23
- "@umijs/test": "^3.0.5",
26
+ "@typescript-eslint/eslint-plugin": "^5.59.2",
27
+ "@typescript-eslint/parser": "^5.59.2",
24
28
  "babel-plugin-import": "^1.13.5",
25
29
  "dumi": "^1.0.16",
30
+ "eslint": "^8.40.0",
26
31
  "father-build": "^1.17.2",
27
32
  "gh-pages": "^3.0.0",
28
33
  "lint-staged": "^10.0.7",
@@ -37,5 +42,5 @@
37
42
  "publishConfig": {
38
43
  "access": "public"
39
44
  },
40
- "gitHead": "59ce91a916fe14c9149999f4a4b87c7e1fc696ae"
45
+ "gitHead": "cbdb203dd7951559af410da4c7a1d2339bd45878"
41
46
  }