@kmkf-fe-packages/basic-components 2.2.23 → 2.2.25

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.
@@ -4,8 +4,9 @@ type P = {
4
4
  disabled: boolean | undefined;
5
5
  updateHandle: (v: any, index: number, key: string) => void;
6
6
  operate?: boolean;
7
+ updateDataHandle: (v: any, index: number) => void;
7
8
  };
8
- export declare const getWdtReissueGoodColumns: ({ disabled, updateHandle, operate, }: P) => ({
9
+ export declare const getWdtReissueGoodColumns: ({ disabled, updateHandle, updateDataHandle, operate, }: P) => ({
9
10
  dataIndex: string;
10
11
  title: string;
11
12
  width?: number | undefined;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/basic-components",
3
- "version": "2.2.23",
3
+ "version": "2.2.25",
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.23",
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": "23b438486b7caf631b4dca26bbd133d3b87928de"
69
+ "gitHead": "eb88c3c93e2a120ed15b41688edff56c7faaf043"
70
70
  }