@kmkf-fe-packages/basic-components 2.2.22 → 2.2.24

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.
@@ -6,6 +6,11 @@ interface BsSystemOrderProps {
6
6
  selectIds: string[];
7
7
  showOrderInfo: any[];
8
8
  };
9
+ showHeader: {
10
+ title: string;
11
+ dataIndex: string;
12
+ show?: boolean;
13
+ }[] | string[];
9
14
  type: string;
10
15
  disabled: boolean;
11
16
  onChange: (val: any) => void;
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { GoodsSourceFormatType, GoodsSourceType } from '../model/type';
3
3
  import { FormInstance } from 'antd/es/form';
4
+ import '../model/Columns/columns.less';
4
5
  interface BsGoodsProps {
5
6
  templateDetail?: any;
6
7
  form: FormInstance;
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ import './model/Columns/columns.less';
3
+ import './model/components/SearchForm/index.less';
2
4
  interface GoodModelProps {
3
5
  shopId: number | string;
4
6
  maxLength: number;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './Columns/columns.less';
2
3
  export declare namespace BsE3Goods {
3
4
  interface GoodsInfo {
4
5
  deleted: 0 | 1;
@@ -1,7 +1,9 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  dataIndex: string;
3
4
  title: string;
4
5
  ellipsis: boolean;
5
6
  width: number;
7
+ render: (value: any) => import("react").JSX.Element;
6
8
  }[];
7
9
  export default _default;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const renderTextEllipsis: (value: any) => React.JSX.Element;
@@ -4,7 +4,7 @@ declare const _default: ({
4
4
  title: string;
5
5
  width: number;
6
6
  ellipsis: boolean;
7
- render?: undefined;
7
+ render: (value: any) => React.JSX.Element;
8
8
  } | {
9
9
  dataIndex: string;
10
10
  title: string;
@@ -1,11 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: ({
3
- dataIndex: string;
4
- title: string;
5
- width: number;
6
- ellipsis: boolean;
7
- render?: undefined;
8
- } | {
9
3
  dataIndex: string;
10
4
  title: string;
11
5
  width: number;
@@ -16,6 +10,6 @@ declare const _default: ({
16
10
  title: string;
17
11
  ellipsis: boolean;
18
12
  width: number;
19
- render: (type?: 'normal' | 'combine') => string;
13
+ render: (type?: 'normal' | 'combine') => React.JSX.Element;
20
14
  })[];
21
15
  export default _default;
@@ -1,11 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: ({
3
- dataIndex: string;
4
- title: string;
5
- width: number;
6
- ellipsis: boolean;
7
- render?: undefined;
8
- } | {
9
3
  dataIndex: string;
10
4
  title: string;
11
5
  width: number;
@@ -1,11 +1,5 @@
1
1
  import React from 'react';
2
2
  declare const _default: ({
3
- dataIndex: string;
4
- title: string;
5
- width: number;
6
- ellipsis: boolean;
7
- render?: undefined;
8
- } | {
9
3
  dataIndex: string;
10
4
  title: string;
11
5
  width: number;
@@ -4,7 +4,7 @@ declare const _default: ({
4
4
  title: string;
5
5
  width: number;
6
6
  ellipsis: boolean;
7
- render?: undefined;
7
+ render: (value: any) => React.JSX.Element;
8
8
  } | {
9
9
  dataIndex: string;
10
10
  title: string;
@@ -15,7 +15,7 @@ declare const _default: ({
15
15
  dataIndex: string;
16
16
  title: string;
17
17
  width: number;
18
- render: (price: string) => string;
18
+ render: (price: string | number) => string;
19
19
  ellipsis?: undefined;
20
20
  })[];
21
21
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './Columns/columns.less';
2
3
  export declare namespace BsE3Goods {
3
4
  interface GoodsInfo {
4
5
  deleted: 0 | 1;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '../Columns/columns.less';
2
3
  export declare namespace JstGoods {
3
4
  interface GoodsInfo {
4
5
  brandName: string;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '../Columns/columns.less';
2
3
  export declare namespace JyGoods {
3
4
  interface GoodsInfo {
4
5
  companyKey: string;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '../Columns/columns.less';
2
3
  export declare namespace ErpGoods {
3
4
  interface GoodsInfo {
4
5
  brandName: string;
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import './Columns/columns.less';
2
3
  export declare namespace WdtGoods {
3
4
  interface GoodsInfo {
4
5
  deleted: 0 | 1;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { FormInstance } from 'antd';
3
+ import './index.less';
3
4
  type Props = {
4
5
  searchFormData: SearchFormData;
5
6
  form: FormInstance;
@@ -0,0 +1,68 @@
1
+ declare const SYSTEM_ORDER_COLUMNS_MAP: {
2
+ BS_SYSTEM_ORDER: {
3
+ title: string;
4
+ dataIndex: string;
5
+ width: number;
6
+ }[];
7
+ KM_SYSTEM_ORDER: ({
8
+ dataIndex: string;
9
+ title: string;
10
+ width: number;
11
+ render?: undefined;
12
+ renderExport?: undefined;
13
+ } | {
14
+ dataIndex: string;
15
+ title: string;
16
+ width: number;
17
+ render: (val: "WAIT_AUDIT" | "WAIT_FINANCE_AUDIT" | "WAIT_MANUAL_AUDIT" | "FINISHED_AUDIT" | "WAIT_EXPRESS_PRINT" | "SYS_STATUS_WAIT_DELIVERY_PRINT" | "WAIT_PACKAGE" | "WAIT_WEIGHT" | "WAIT_SEND_GOODS" | "WAIT_DEST_SEND_GOODS" | "SELLER_SEND_GOODS" | "FINISHED" | "CLOSED" | "CANCEL") => string;
18
+ renderExport: (val: "WAIT_AUDIT" | "WAIT_FINANCE_AUDIT" | "WAIT_MANUAL_AUDIT" | "FINISHED_AUDIT" | "WAIT_EXPRESS_PRINT" | "SYS_STATUS_WAIT_DELIVERY_PRINT" | "WAIT_PACKAGE" | "WAIT_WEIGHT" | "WAIT_SEND_GOODS" | "WAIT_DEST_SEND_GOODS" | "SELLER_SEND_GOODS" | "FINISHED" | "CLOSED" | "CANCEL") => string;
19
+ } | {
20
+ dataIndex: string;
21
+ title: string;
22
+ width: number;
23
+ render: (val: string[]) => string;
24
+ renderExport: (val: string[]) => string;
25
+ })[];
26
+ WLN_SYSTEM_ORDER: {
27
+ title: string;
28
+ dataIndex: string;
29
+ width: number;
30
+ }[];
31
+ WDT_SYSTEM_ORDER: {
32
+ title: string;
33
+ dataIndex: string;
34
+ width: number;
35
+ ellipsis: boolean;
36
+ }[];
37
+ BS_E3_SYSTEM_ORDER: ({
38
+ title: string;
39
+ dataIndex: string;
40
+ width: number;
41
+ ellipsis: boolean;
42
+ render?: undefined;
43
+ renderExport?: undefined;
44
+ } | {
45
+ title: string;
46
+ dataIndex: string;
47
+ width: number;
48
+ ellipsis: boolean;
49
+ render: (val: any) => any;
50
+ renderExport: (val: any) => any;
51
+ })[];
52
+ GY_SYSTEM_ORDER: {
53
+ dataIndex: string;
54
+ title: string;
55
+ width: number;
56
+ }[];
57
+ JST_SYSTEM_ORDER: {
58
+ dataIndex: string;
59
+ title: string;
60
+ width: number;
61
+ }[];
62
+ JY_SYSTEM_ORDER: {
63
+ dataIndex: string;
64
+ title: string;
65
+ width: number;
66
+ }[];
67
+ };
68
+ export default SYSTEM_ORDER_COLUMNS_MAP;
@@ -73,4 +73,5 @@ export { default as OrderSubFormUtils } from './apaas/OrderSubForm/utils';
73
73
  export { default as SkxIdInputSelect } from './skx/IdInputSelect';
74
74
  export { default as SkxGoods } from './skx/Goods';
75
75
  export { default as columnsBaseInfoMap, erpColumnsMap, erpFormValidator, } from './constants/columnsBaseInfoMap';
76
+ export { default as SYSTEM_ORDER_COLUMNS_MAP } from './constants/systemOrderColumnsMap';
76
77
  export { default as erpModalColumnsMap } from './bs/component/model/Columns';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.22",
3
+ "version": "2.2.24",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "",
6
6
  "license": "ISC",
@@ -20,7 +20,7 @@
20
20
  "watch": "nodemon --ignore dist/ --ignore node_modules/ --watch src/ -C -e ts,tsx,less --debug -x 'yarn async'"
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/kmkf-utils": "2.2.21",
23
+ "@kmkf-fe-packages/kmkf-utils": "2.2.24",
24
24
  "ahooks": "^3.7.4",
25
25
  "ali-react-table": "2.6.1",
26
26
  "bignumber.js": "^9.1.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "c10557886dfdb507b45a46093a648a85af0ea904"
69
+ "gitHead": "35bc1e4833e1bcb1255c9c43cb3c807d2544e88c"
70
70
  }