import { CollapseProps } from "antd";

//#region src/components/shoppingCart/type.d.ts
interface productProps {
  hideAddBtn?: boolean;
  isShowNote?: boolean;
  isShowPackageNote?: boolean;
  products?: any[];
  holders?: any[];
  isEdit?: boolean;
  disabledEdit?: boolean;
  isShowChangeResource?: boolean;
  isShowDelete?: boolean;
  isShowChangeHolder?: boolean;
  isShowHolder?: boolean;
  isShowAddHolderButton?: boolean;
}
interface shoppingCartProps {
  isOpenGroup?: boolean;
  carts?: any[];
  platform?: 'shop' | 'h5';
  emptyText?: string;
  activeKey?: string[] | number[];
  defaultActiveKey?: string[] | number[];
  className?: string;
  onCard?: (e: any) => void;
  onAction?: (e: any) => void;
  onChange?: (items: any, type?: string, other?: any) => void;
  onAddProduct?: (e?: any) => void;
  onActiveKey?: (e: any) => void;
  isShowImage?: boolean;
  isShowHolder?: boolean;
  isShowDelete?: boolean;
  isShowAmountFooter?: boolean;
  collapseParams?: CollapseProps;
  productParams?: productProps;
  isHideClearCart?: boolean;
  isParallelResource?: boolean;
  scenario?: 'booking2';
}
//#endregion
export { shoppingCartProps };