@kmkf-fe-packages/basic-components 0.8.19 → 0.8.21-alpha.0

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 (65) hide show
  1. package/package.json +3 -3
  2. package/dist/index.esm.js +0 -11831
  3. package/dist/index.js +0 -11891
  4. package/dist/jest.config.d.ts +0 -17
  5. package/dist/src/apaas/ApaasAddress/index.d.ts +0 -15
  6. package/dist/src/apaas/ApaasCascader/index.d.ts +0 -3
  7. package/dist/src/apaas/ApaasCheckbox/index.d.ts +0 -22
  8. package/dist/src/apaas/ApaasDate/index.d.ts +0 -9
  9. package/dist/src/apaas/ApaasInput/index.d.ts +0 -8
  10. package/dist/src/apaas/ApaasInputNumber/index.d.ts +0 -4
  11. package/dist/src/apaas/ApaasLogistics/index.d.ts +0 -8
  12. package/dist/src/apaas/ApaasMultipleSelect/index.d.ts +0 -4
  13. package/dist/src/apaas/ApaasPosting/index.d.ts +0 -15
  14. package/dist/src/apaas/ApaasRadio/index.d.ts +0 -22
  15. package/dist/src/apaas/ApaasRadio/test/props.test.d.ts +0 -1
  16. package/dist/src/apaas/ApaasRate/index.d.ts +0 -18
  17. package/dist/src/apaas/ApaasSelect/index.d.ts +0 -14
  18. package/dist/src/apaas/ApaasSlider/index.d.ts +0 -9
  19. package/dist/src/apaas/ApaasTextArea/index.d.ts +0 -8
  20. package/dist/src/apaas/ApaasUpload/index.d.ts +0 -14
  21. package/dist/src/apaas/ApaasUploadAsync/index.d.ts +0 -17
  22. package/dist/src/apaas/ApaasUploadFile/index.d.ts +0 -20
  23. package/dist/src/apaas/CalculationInput/index.d.ts +0 -3
  24. package/dist/src/apaas/hoc/withFormItem.d.ts +0 -12
  25. package/dist/src/basics/FormItem/index.d.ts +0 -3
  26. package/dist/src/bs/Exchange/index.d.ts +0 -3
  27. package/dist/src/bs/Goods/index.d.ts +0 -3
  28. package/dist/src/bs/Reissue/index.d.ts +0 -3
  29. package/dist/src/bs/Return/index.d.ts +0 -3
  30. package/dist/src/bs/SystemOrder/index.d.ts +0 -14
  31. package/dist/src/bs/component/GoodItem/index.d.ts +0 -24
  32. package/dist/src/bs/component/GoodsModal.d.ts +0 -12
  33. package/dist/src/business/Address/index.d.ts +0 -13
  34. package/dist/src/business/AliPay/index.d.ts +0 -14
  35. package/dist/src/business/BuyerNick/index.d.ts +0 -15
  36. package/dist/src/business/ChooseBaby/index.d.ts +0 -4
  37. package/dist/src/business/ExpressLogistics/index.d.ts +0 -4
  38. package/dist/src/business/Invoice/index.d.ts +0 -15
  39. package/dist/src/business/LogisticsInterception/index.d.ts +0 -24
  40. package/dist/src/business/LogisticsTrajectory/index.d.ts +0 -3
  41. package/dist/src/business/Payment/index.d.ts +0 -15
  42. package/dist/src/business/Remark/index.d.ts +0 -13
  43. package/dist/src/business/ShopName/index.d.ts +0 -9
  44. package/dist/src/business/Status/index.d.ts +0 -25
  45. package/dist/src/business/Supplier/index.d.ts +0 -4
  46. package/dist/src/business/TBGoodId/index.d.ts +0 -4
  47. package/dist/src/business/TBGoodSerial/index.d.ts +0 -4
  48. package/dist/src/business/TradeId/index.d.ts +0 -11
  49. package/dist/src/common/CommonMultiStatus/index.d.ts +0 -15
  50. package/dist/src/common/CommonStatus/index.d.ts +0 -12
  51. package/dist/src/common/CommonSystemOrder/index.d.ts +0 -10
  52. package/dist/src/common/ExpressCompany/index.d.ts +0 -8
  53. package/dist/src/common/Goods/goodModel.d.ts +0 -16
  54. package/dist/src/common/Goods/index.d.ts +0 -38
  55. package/dist/src/common/GoodsTable/goodModel.d.ts +0 -14
  56. package/dist/src/common/GoodsTable/index.d.ts +0 -14
  57. package/dist/src/common/IdentifyAddress/index.d.ts +0 -15
  58. package/dist/src/common/Logistics/index.d.ts +0 -4
  59. package/dist/src/common/ParseLogistics/index.d.ts +0 -6
  60. package/dist/src/common/Sku/index.d.ts +0 -14
  61. package/dist/src/common/request.d.ts +0 -2
  62. package/dist/src/config/utils.d.ts +0 -2
  63. package/dist/src/index.d.ts +0 -50
  64. package/dist/src/jst/Goods/index.d.ts +0 -11
  65. package/dist/src/jst/ItemList/index.d.ts +0 -20
@@ -1,17 +0,0 @@
1
- declare const _default: {
2
- clearMocks: boolean;
3
- collectCoverage: boolean;
4
- coverageDirectory: string;
5
- coverageProvider: string;
6
- moduleFileExtensions: string[];
7
- moduleNameMapper: {
8
- '\\.(css|less|jpg|jpeg|png|gif)$': string;
9
- };
10
- preset: string;
11
- roots: string[];
12
- testEnvironment: string;
13
- transform: {
14
- '^.+\\.ts?$': string;
15
- };
16
- };
17
- export default _default;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface Option {
3
- value: string | number;
4
- label: string;
5
- children?: Option[];
6
- }
7
- interface ProvinceType {
8
- value: string[];
9
- options: Option[];
10
- disabled: boolean;
11
- onChange: (value: any, selectedOptions: any) => void;
12
- type?: string;
13
- }
14
- declare const Province: (props: Partial<ProvinceType>) => React.JSX.Element;
15
- export default Province;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare function ApaasCascader(props: any): React.JSX.Element;
3
- export default ApaasCascader;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { CheckboxGroupProps, CheckboxValueType } from 'antd/es/checkbox/Group';
3
- type OptionsType = {
4
- label: string;
5
- value: string;
6
- [propName: string]: any;
7
- };
8
- interface CheckboxValue {
9
- value?: Array<CheckboxValueType>;
10
- other?: string;
11
- }
12
- export interface ApaasCheckboxProps extends Omit<CheckboxGroupProps, 'onChange' | 'value'> {
13
- showOther?: boolean;
14
- horizontal?: boolean;
15
- options?: OptionsType[];
16
- disabled?: boolean;
17
- onChange?: (value: CheckboxValue) => void;
18
- value?: CheckboxValue;
19
- [key: string]: any;
20
- }
21
- declare function ApaasCheckbox(props: ApaasCheckboxProps): React.JSX.Element;
22
- export default ApaasCheckbox;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- declare const DateType: ["DATE", "DATE_TIME", "DATE_RANGE", "DATE_TIME_RANGE"];
3
- export declare type ButtonType = typeof DateType[number];
4
- export interface ApaasDate {
5
- dateType?: ButtonType;
6
- [propName: string]: any;
7
- }
8
- declare const ApaasDate: (props: ApaasDate) => React.JSX.Element;
9
- export default ApaasDate;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- export interface ApaasInputProps extends InputProps {
4
- isNumber?: boolean;
5
- replaceWarn?: boolean;
6
- }
7
- declare function ApaasInput(props: ApaasInputProps): React.JSX.Element;
8
- export default ApaasInput;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { InputNumberProps } from 'antd';
3
- declare function ApaasInputNumber(props: InputNumberProps): React.JSX.Element;
4
- export default ApaasInputNumber;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- export interface ApaasLogisticsProps {
3
- value: any;
4
- onChange: (val: any) => void;
5
- [propName: string]: any;
6
- }
7
- declare function ApaasLogistics(props: ApaasLogisticsProps): React.JSX.Element;
8
- export default ApaasLogistics;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { ApaasSelectProps } from '../ApaasSelect/index';
3
- declare function ApaasMultipleSelect(props: ApaasSelectProps): React.JSX.Element;
4
- export default ApaasMultipleSelect;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface PostingValueType {
3
- postingAddress: any[];
4
- postingDetail: string;
5
- postingReceiverName: string;
6
- postingReceiverMobile: string;
7
- }
8
- interface ApaasPostingProps {
9
- value: Partial<PostingValueType>;
10
- disabled: boolean;
11
- onChange: (val: any) => void;
12
- type?: string;
13
- }
14
- declare function ApaasPosting(props: Partial<ApaasPostingProps>): React.JSX.Element;
15
- export default ApaasPosting;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import { RadioGroupProps } from 'antd';
3
- type OptionsType = {
4
- label: string;
5
- value: string;
6
- [propName: string]: any;
7
- };
8
- interface RadioValue {
9
- value?: string;
10
- other?: string;
11
- }
12
- export interface ApaasRadioProps extends Omit<RadioGroupProps, 'onChange' | 'value'> {
13
- showOther?: boolean;
14
- horizontal?: boolean;
15
- options?: OptionsType[];
16
- disabled?: boolean;
17
- hideUnselectedItem?: boolean;
18
- onChange?: (value: RadioValue) => void;
19
- value?: RadioValue;
20
- }
21
- declare function ApaasRadio(props: ApaasRadioProps): React.ReactElement;
22
- export default ApaasRadio;
@@ -1 +0,0 @@
1
- export {};
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- interface optionsType {
3
- name?: string;
4
- id: string;
5
- value?: number;
6
- }
7
- export interface SliderType {
8
- value: optionsType[];
9
- options: optionsType[];
10
- onChange: (value: optionsType[]) => void;
11
- disabled: boolean;
12
- allowHalf?: boolean;
13
- style?: any;
14
- textStyle?: any;
15
- allowClear?: boolean;
16
- }
17
- declare function ApaasRate(props: Partial<SliderType>): React.ReactElement;
18
- export default ApaasRate;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { SelectProps } from 'antd';
3
- type OptionsType = {
4
- label: string;
5
- value: string;
6
- [propName: string]: any;
7
- };
8
- export interface ApaasSelectProps extends SelectProps<string[]> {
9
- options?: OptionsType[];
10
- readonly?: boolean;
11
- [propName: string]: any;
12
- }
13
- declare function ApaasSelect(props: ApaasSelectProps): React.JSX.Element;
14
- export default ApaasSelect;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface SliderType {
3
- value: number;
4
- onChange: (value: number | null) => void;
5
- range: number;
6
- disabled: boolean;
7
- }
8
- declare function ApaasSlider(props: Partial<SliderType>): React.ReactElement;
9
- export default ApaasSlider;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { TextAreaProps } from 'antd/es/input';
3
- export interface ITextAreaProps {
4
- minRows?: number;
5
- maxRows?: number;
6
- }
7
- declare function ApaasTextArea(props: TextAreaProps & ITextAreaProps): React.JSX.Element;
8
- export default ApaasTextArea;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import { UploadProps } from 'antd';
3
- declare type UploadValue = string[];
4
- export interface ApaasUploadProps extends Omit<UploadProps, 'onChange' | 'value'> {
5
- maxCount?: number;
6
- maxSize?: number;
7
- uploadText?: string;
8
- canPreview?: boolean;
9
- disabled?: boolean;
10
- onChange?: (value: UploadValue) => void;
11
- value?: UploadValue;
12
- }
13
- declare const ApaasUpload: ({ maxCount, maxSize, uploadText, onChange, value, accept, canPreview, disabled, ...resetProps }: ApaasUploadProps) => React.JSX.Element;
14
- export default ApaasUpload;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { UploadProps } from 'antd';
3
- declare type UploadValue = string[];
4
- export interface ApaasUploadProps extends Omit<UploadProps, 'onChange' | 'value'> {
5
- maxCount?: number;
6
- maxSize?: number;
7
- uploadText?: string;
8
- canPreview?: boolean;
9
- disabled?: boolean;
10
- onChange?: (value: UploadValue) => void;
11
- value?: UploadValue;
12
- uniqueKey?: string;
13
- hostUrl?: string;
14
- actionUrl?: string;
15
- }
16
- declare const ApaasUploadAsync: ({ maxCount, maxSize, uploadText, onChange, value, accept, canPreview, disabled, uniqueKey, hostUrl, actionUrl, ...resetProps }: ApaasUploadProps) => React.JSX.Element;
17
- export default ApaasUploadAsync;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { UploadProps } from 'antd';
3
- declare type UploadValue = {
4
- name: string;
5
- url: string;
6
- }[];
7
- export interface ApaasUploadProps extends Omit<UploadProps, 'onChange' | 'value'> {
8
- maxCount?: number;
9
- maxSize?: number;
10
- uploadText?: string;
11
- canPreview?: boolean;
12
- disabled?: boolean;
13
- onChange?: (value: UploadValue) => void;
14
- value?: UploadValue;
15
- uniqueKey?: string;
16
- hostUrl?: string;
17
- actionUrl?: string;
18
- }
19
- declare const ApaasUploadAsync: ({ maxCount, maxSize, onChange, value, accept, disabled, uniqueKey, hostUrl, actionUrl, ...resetProps }: ApaasUploadProps) => React.JSX.Element;
20
- export default ApaasUploadAsync;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const CalculationInput: (props: any) => React.JSX.Element;
3
- export default CalculationInput;
@@ -1,12 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { Rule } from 'antd/es/form';
3
- export interface WithFormItemProps {
4
- label?: string;
5
- name?: string;
6
- extra?: ReactNode;
7
- required?: boolean;
8
- rules?: Rule[];
9
- initialValue?: string;
10
- [prop: string]: any;
11
- }
12
- export default function withFormItem(WrappedComponent: React.ComponentType<WithFormItemProps>): (props: WithFormItemProps) => React.JSX.Element;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const FormItem: (props: any) => React.JSX.Element;
3
- export default FormItem;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const BsExchange: (props: any) => React.JSX.Element;
3
- export default BsExchange;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const BsGoods: (props: any) => React.JSX.Element;
3
- export default BsGoods;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const BsReissue: (props: any) => React.JSX.Element;
3
- export default BsReissue;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const BsReturnGoods: (props: any) => React.JSX.Element;
3
- export default BsReturnGoods;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface BsSystemOrderProps {
3
- value: {
4
- orderNo: string;
5
- orders: any[];
6
- selectIds: string[];
7
- showOrderInfo: any[];
8
- };
9
- disabled: boolean;
10
- onChange: (val: any) => void;
11
- onChangeOrder?: (val: any) => void;
12
- }
13
- declare const _default: (props: BsSystemOrderProps) => React.JSX.Element;
14
- export default _default;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- interface BsGoodsProps {
3
- value: any[];
4
- type: number;
5
- options: any[];
6
- disabled: boolean;
7
- showHeader: string[];
8
- width: number;
9
- shopList: any[];
10
- shopId: string | number;
11
- maxLength: number;
12
- showChangeBtn: boolean;
13
- tableSelect?: boolean;
14
- selectType?: string;
15
- otherOperations: any;
16
- canUpdateNumber: boolean;
17
- shopCode: string;
18
- companyKey: string;
19
- onChange: (val: any[]) => void;
20
- onSelect: (val: any[]) => void;
21
- onDelete: (val: any[]) => void;
22
- }
23
- declare const GoodItem: (props: Partial<BsGoodsProps>) => React.JSX.Element;
24
- export default GoodItem;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface GoodModelProps {
3
- shopId: number | string;
4
- maxLength: number;
5
- shopList: any[];
6
- width?: string | number;
7
- shopCode?: string;
8
- companyKey: string;
9
- onSubmit: (...args: any[]) => any;
10
- }
11
- declare const _default: React.ForwardRefExoticComponent<GoodModelProps & React.RefAttributes<unknown>>;
12
- export default _default;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- interface valueType {
3
- address?: string[];
4
- detail?: string;
5
- }
6
- export interface AddressType {
7
- value: valueType;
8
- disabled: boolean;
9
- onChange: (value: valueType) => void;
10
- [key: string]: any;
11
- }
12
- declare function ApaasAddress(props: Partial<AddressType>): React.ReactElement;
13
- export default ApaasAddress;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface AliPayValueType {
3
- name?: string;
4
- user?: string;
5
- }
6
- interface AliPayProps {
7
- value: AliPayValueType;
8
- isSingle: boolean;
9
- disabled?: boolean;
10
- onChange: (value: AliPayValueType) => void;
11
- onBlur?: (value: string, type: string) => void;
12
- }
13
- declare const AliPay: (props: Partial<AliPayProps>) => React.JSX.Element;
14
- export default AliPay;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface BuyerNickValueType {
3
- buyerNick?: string;
4
- buyerOpenUid?: string;
5
- }
6
- interface BuyerNickProps {
7
- value: BuyerNickValueType;
8
- shopId: string;
9
- shopList: any[];
10
- disabled: boolean;
11
- onChange: (value: BuyerNickValueType) => void;
12
- onBlur: (value: string, type: string) => void;
13
- }
14
- declare const BuyerNick: (props: Partial<BuyerNickProps>) => React.JSX.Element;
15
- export default BuyerNick;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { GoodsProps } from '../../common/Goods';
3
- declare const ChooseBaby: (props: Partial<GoodsProps>) => React.JSX.Element;
4
- export default ChooseBaby;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { LogisticsType } from '../../common/Logistics/index.d';
3
- declare const ExpressLogistics: (props: Partial<LogisticsType>) => React.JSX.Element;
4
- export default ExpressLogistics;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface InvoiceValueType {
4
- ordinaryTaitou: string;
5
- ordinarySerial: string;
6
- ordinaryMoney: string;
7
- }
8
- export interface InvoiceProps {
9
- value: InvoiceValueType;
10
- required: boolean;
11
- disabled?: boolean;
12
- onChange: (value: InvoiceValueType) => void;
13
- }
14
- declare const Invoice: (props: Partial<InvoiceProps>) => React.JSX.Element;
15
- export default Invoice;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- interface LogisticsInterceptionValueType {
3
- interceptCompany: string;
4
- interceptCode: string;
5
- interceptType: string;
6
- interceptSenderMobile: string;
7
- interceptAddress: any[];
8
- interceptDetail: string;
9
- interceptReceiverName: string;
10
- interceptReceiverMobile: string;
11
- interceptLogisticsStatus: string | number;
12
- interceptLogisticsStatusOther: string;
13
- }
14
- interface LogisticsInterceptionProps {
15
- value: Partial<LogisticsInterceptionValueType>;
16
- logisticsOptions: any[];
17
- expressInterceptData: any[];
18
- required: boolean;
19
- disabled: boolean;
20
- isEditing: boolean;
21
- onChange: (value: Partial<LogisticsInterceptionValueType>) => void;
22
- }
23
- declare const LogisticsInterception: (props: Partial<LogisticsInterceptionProps>) => React.JSX.Element;
24
- export default LogisticsInterception;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- declare const LogisticsTrajectory: (props: any) => React.JSX.Element;
3
- export default LogisticsTrajectory;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- export interface PaymentProps {
3
- value: any;
4
- zhiFubaoRequired: boolean;
5
- required: boolean;
6
- shopId: string;
7
- shopList: any[];
8
- disabled: boolean;
9
- id: string;
10
- onChange: (value: any) => void;
11
- onSearch: (value: any) => void;
12
- onBlur: (value: any, type: string) => void;
13
- }
14
- declare const Payment: (props: Partial<PaymentProps>) => React.JSX.Element;
15
- export default Payment;
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- interface ValueType {
3
- remark?: string;
4
- flag?: number;
5
- }
6
- interface RemarkType {
7
- isShowFlag: boolean;
8
- disabled?: boolean;
9
- value: ValueType;
10
- onChange: (value: ValueType) => void;
11
- }
12
- declare const RemarkInput: (props: Partial<RemarkType>) => React.JSX.Element;
13
- export default RemarkInput;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface ShopNameType {
3
- value: number;
4
- onChange: (value: number) => void;
5
- disabled: boolean;
6
- style: any;
7
- }
8
- declare const ShopNameSelect: (props: Partial<ShopNameType>) => React.JSX.Element;
9
- export default ShopNameSelect;
@@ -1,25 +0,0 @@
1
- /**
2
- * props
3
- * isUseCustomStatus true/false 是否自定义文案
4
- * customStatusText 自定义文案内容
5
- * isSelectStyle true/false 是否为下拉框
6
- * require true/false 是否必填
7
- * originCustomer和isEditing 当状态组件处于编辑状态下,工单状态从未处理切换到已处理时候,我们需要将客服重置为初始值
8
- */
9
- import React from 'react';
10
- export interface StatusProps {
11
- shopId: string;
12
- customStatusText: string;
13
- customerService: any[];
14
- isEditing: boolean;
15
- isSelectStyle: boolean;
16
- isUseCustomStatus: boolean;
17
- status?: string;
18
- originCustomer?: string[];
19
- value: any;
20
- disabled?: boolean;
21
- required: boolean;
22
- onChange: (value: any) => void;
23
- }
24
- declare const Status: (props: StatusProps) => React.JSX.Element;
25
- export default Status;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { GoodsProps } from '../../common/Goods';
3
- declare const Supplier: (props: Partial<GoodsProps>) => React.JSX.Element;
4
- export default Supplier;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { GoodsProps } from '../../common/Goods';
3
- declare const TBGoodId: (props: Partial<GoodsProps>) => React.JSX.Element;
4
- export default TBGoodId;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { GoodsProps } from '../../common/Goods';
3
- declare const TBGoodSerial: (props: Partial<GoodsProps>) => React.JSX.Element;
4
- export default TBGoodSerial;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- interface TradeIdProps extends InputProps {
4
- value: string;
5
- shopId?: string;
6
- shopList?: any[];
7
- disabled?: boolean;
8
- onSearch: (value: any) => void;
9
- }
10
- declare function TradeId(props: Partial<TradeIdProps>): React.JSX.Element;
11
- export default TradeId;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- interface CommonSystemOrderProps {
3
- value: {
4
- status: string;
5
- reason?: string;
6
- systemOrderId?: string;
7
- }[];
8
- failValue: string;
9
- options: any[];
10
- onChange: (val: any) => void;
11
- disabled: boolean;
12
- type: number;
13
- }
14
- declare const CommonSystemOrder: (props: Partial<CommonSystemOrderProps>) => React.JSX.Element;
15
- export default CommonSystemOrder;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface CommonStatusProps {
3
- value: {
4
- status: string;
5
- reason: string;
6
- };
7
- failValue: string;
8
- options: any[];
9
- onChange: (val: any) => void;
10
- }
11
- declare function CommonStatus(props: Partial<CommonStatusProps>): React.JSX.Element;
12
- export default CommonStatus;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- interface CommonSystemOrderProps {
3
- value: any[];
4
- type: number;
5
- options: any[];
6
- disabled: boolean;
7
- onChange: (val: any[]) => void;
8
- }
9
- declare const CommonSystemOrder: (props: Partial<CommonSystemOrderProps>) => React.JSX.Element;
10
- export default CommonSystemOrder;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- type ExpressCompanyProps = {
3
- options: any[];
4
- value: string;
5
- onChange: (v: string) => void;
6
- };
7
- declare const ExpressCompany: (props: ExpressCompanyProps) => React.JSX.Element;
8
- export default ExpressCompany;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface GoodModelProps {
4
- visible: boolean;
5
- type: number;
6
- shopId: number | string;
7
- imgList: any[];
8
- maxLength: number;
9
- shopList: any[];
10
- changeSku?: boolean;
11
- width?: string | number;
12
- onSubmit: (...args: any[]) => any;
13
- onCancel: (...args: any[]) => any;
14
- }
15
- declare const GoodsModal: (props: GoodModelProps) => React.JSX.Element;
16
- export default GoodsModal;