randmarcomps 1.238.0 → 1.239.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.
@@ -18,6 +18,7 @@ import { JSX } from 'react/jsx-runtime';
18
18
  import * as LabelPrimitive from '@radix-ui/react-label';
19
19
  import { Manufacturer } from 'randmar-api-client';
20
20
  import { MouseEventHandler } from 'react';
21
+ import { OpportunityEntry } from 'randmar-api-client';
21
22
  import { OrderDetail } from 'randmar-api-client';
22
23
  import { OTPInput } from 'input-otp';
23
24
  import * as PopoverPrimitive from '@radix-ui/react-popover';
@@ -601,6 +602,14 @@ export declare interface ResellerCardProps {
601
602
  loading?: boolean;
602
603
  }
603
604
 
605
+ export declare function ResellerOpportunitiesTable({ applicationId, opportunities, loading }: ResellerOpportunitiesTableProps): JSX.Element;
606
+
607
+ declare interface ResellerOpportunitiesTableProps {
608
+ applicationId: string;
609
+ opportunities?: OpportunityEntry[] | null;
610
+ loading?: boolean;
611
+ }
612
+
604
613
  export declare function ResellerOverview({ appID, reseller, readonly, userEmail, isSuperAdmin, withoutReports }: IProps): JSX.Element;
605
614
 
606
615
  export declare function ResellerQualificationsCard({ qualifications, loading }: ResellerQualificationsCardProps): JSX.Element;
@@ -618,6 +627,17 @@ export declare interface RichTextEditorProps extends Omit<default_2.InputHTMLAtt
618
627
  placeholder?: string;
619
628
  }
620
629
 
630
+ export declare function SalesChart({ salesData, chartHeight, units, unitsPosition, className, isLoading, }: SalesChartProps): JSX.Element;
631
+
632
+ declare interface SalesChartProps {
633
+ salesData: SalesStatistic[];
634
+ chartHeight?: number;
635
+ units?: string;
636
+ unitsPosition?: "left" | "right";
637
+ className?: string;
638
+ isLoading?: boolean;
639
+ }
640
+
621
641
  export declare function SalesOverviewCard({ salesData, salesStatistics, loading }: SalesOverviewCardProps): JSX.Element;
622
642
 
623
643
  declare interface SalesOverviewCardProps {