import type { SampleMeta, SampleRenderProps } from '../../core';
import { DashboardReportCardWidget } from '../DashboardReportCardWidget';
import { wmsInboundOutboundCardPreset } from '../../../data/dashboard-report-presets';

export const sampleMeta: SampleMeta = {
  id: 'wms-inbound-outbound-report',
  componentId: 'dashboard-report-card',
  title: 'WMS 입출고 진행 현황',
  description: '입고/출고 진행 상태를 progress list로 보여주는 WMS 대시보드 카드입니다.',
  category: 'Widgets',
  kind: 'base',
  variantLabel: 'WMS / 진행 현황',
  order: 20,
  features: ['docs'],
};

export function Sample({ disableWidgetCardWrapper }: SampleRenderProps) {
  return (
    <DashboardReportCardWidget
      {...wmsInboundOutboundCardPreset}
      cardWrapper={!disableWidgetCardWrapper}
    />
  );
}
