randmarcomps 1.237.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.
@@ -1,4 +1,5 @@
1
1
  import { Account } from 'randmar-api-client';
2
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
2
3
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
3
4
  import { ButtonProps as ButtonProps_2 } from './button';
4
5
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
@@ -17,6 +18,7 @@ import { JSX } from 'react/jsx-runtime';
17
18
  import * as LabelPrimitive from '@radix-ui/react-label';
18
19
  import { Manufacturer } from 'randmar-api-client';
19
20
  import { MouseEventHandler } from 'react';
21
+ import { OpportunityEntry } from 'randmar-api-client';
20
22
  import { OrderDetail } from 'randmar-api-client';
21
23
  import { OTPInput } from 'input-otp';
22
24
  import * as PopoverPrimitive from '@radix-ui/react-popover';
@@ -62,6 +64,30 @@ export declare const Alert: React_2.ForwardRefExoticComponent<React_2.HTMLAttrib
62
64
 
63
65
  export declare const AlertDescription: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLParagraphElement> & React_2.RefAttributes<HTMLParagraphElement>>;
64
66
 
67
+ export declare const AlertDialog: React_2.FC<AlertDialogPrimitive.AlertDialogProps>;
68
+
69
+ export declare const AlertDialogAction: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
70
+
71
+ export declare const AlertDialogCancel: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
72
+
73
+ export declare const AlertDialogContent: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
74
+
75
+ export declare const AlertDialogDescription: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React_2.RefAttributes<HTMLParagraphElement>, "ref"> & React_2.RefAttributes<HTMLParagraphElement>>;
76
+
77
+ export declare const AlertDialogFooter: {
78
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
79
+ displayName: string;
80
+ };
81
+
82
+ export declare const AlertDialogHeader: {
83
+ ({ className, ...props }: React_2.HTMLAttributes<HTMLDivElement>): JSX.Element;
84
+ displayName: string;
85
+ };
86
+
87
+ export declare const AlertDialogTitle: React_2.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React_2.RefAttributes<HTMLHeadingElement>, "ref"> & React_2.RefAttributes<HTMLHeadingElement>>;
88
+
89
+ export declare const AlertDialogTrigger: React_2.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
90
+
65
91
  export declare const AlertTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLHeadingElement> & React_2.RefAttributes<HTMLParagraphElement>>;
66
92
 
67
93
  declare interface ApiKeyContextType {
@@ -473,6 +499,14 @@ export declare interface NavRoute {
473
499
  showInNav?: boolean;
474
500
  }
475
501
 
502
+ export declare function PageHeader({ title, children, className }: PageHeaderProps): JSX.Element;
503
+
504
+ export declare interface PageHeaderProps {
505
+ title: string;
506
+ children?: React.ReactNode;
507
+ className?: string;
508
+ }
509
+
476
510
  export declare function PartnerCard({ account, action, loading, className, withAbout, withVoice }: PartnerCardProps): JSX.Element;
477
511
 
478
512
  declare interface PartnerCardProps {
@@ -568,6 +602,14 @@ export declare interface ResellerCardProps {
568
602
  loading?: boolean;
569
603
  }
570
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
+
571
613
  export declare function ResellerOverview({ appID, reseller, readonly, userEmail, isSuperAdmin, withoutReports }: IProps): JSX.Element;
572
614
 
573
615
  export declare function ResellerQualificationsCard({ qualifications, loading }: ResellerQualificationsCardProps): JSX.Element;
@@ -577,6 +619,25 @@ declare interface ResellerQualificationsCardProps {
577
619
  loading?: boolean;
578
620
  }
579
621
 
622
+ export declare function RichTextEditor({ id, name, value, onChange, placeholder, className, ...props }: RichTextEditorProps): JSX.Element | null;
623
+
624
+ export declare interface RichTextEditorProps extends Omit<default_2.InputHTMLAttributes<HTMLInputElement>, "onChange"> {
625
+ value: string;
626
+ onChange: default_2.ChangeEventHandler<HTMLInputElement>;
627
+ placeholder?: string;
628
+ }
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
+
580
641
  export declare function SalesOverviewCard({ salesData, salesStatistics, loading }: SalesOverviewCardProps): JSX.Element;
581
642
 
582
643
  declare interface SalesOverviewCardProps {