randmarcomps 1.278.0 → 1.280.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.
@@ -94,11 +94,6 @@ declare interface ApiKeyContextType {
94
94
  apiKey: string | null;
95
95
  }
96
96
 
97
- export declare const ApiKeyProvider: ({ apiKey, children, }: {
98
- apiKey?: string | null;
99
- children: ReactNode;
100
- }) => JSX.Element;
101
-
102
97
  export declare function AreaChart({ data, units, unitsPosition, width, height, className, size, }: AreaChartProps): JSX.Element;
103
98
 
104
99
  export declare interface AreaChartProps {
@@ -111,6 +106,14 @@ export declare interface AreaChartProps {
111
106
  size?: "default" | "mini";
112
107
  }
113
108
 
109
+ export declare function AssistantChat(props: AssistantChatProps): JSX.Element;
110
+
111
+ declare interface AssistantChatProps {
112
+ userId: string;
113
+ userName: string;
114
+ initialPrompt?: string;
115
+ }
116
+
114
117
  export declare const Avatar: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
115
118
 
116
119
  export declare const AvatarFallback: React_2.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React_2.RefAttributes<HTMLSpanElement>, "ref"> & React_2.RefAttributes<HTMLSpanElement>>;
@@ -175,9 +178,10 @@ export declare interface ChatLayoutHandle {
175
178
  export declare interface ChatLayoutProps {
176
179
  userId: string;
177
180
  userName: string;
178
- apiKey: string;
179
181
  inputRef?: React.RefObject<HTMLTextAreaElement | null>;
180
182
  assistantOnly?: boolean;
183
+ className?: string;
184
+ initialPrompt?: string;
181
185
  }
182
186
 
183
187
  export declare const ChatProvider: default_2.FC<{
@@ -375,6 +379,11 @@ export declare function ExploreManufacturers({ appID, manufPath, withBot }: {
375
379
  withBot: boolean;
376
380
  }): JSX.Element;
377
381
 
382
+ export declare const GeminiApiKeyProvider: ({ apiKey, children, }: {
383
+ apiKey?: string | null;
384
+ children: ReactNode;
385
+ }) => JSX.Element;
386
+
378
387
  export declare function GeneralDocumentCard({ document, loading }: GeneralDocumentCardProps): JSX.Element;
379
388
 
380
389
  export declare interface GeneralDocumentCardProps {
@@ -402,15 +411,6 @@ export declare interface InputProps extends Omit<React_2.ComponentProps<"input">
402
411
  }
403
412
 
404
413
  declare interface IProps {
405
- appID: string;
406
- readonly: boolean;
407
- userEmail: string;
408
- isSuperAdmin: boolean;
409
- reseller?: Reseller;
410
- withoutReports?: boolean;
411
- }
412
-
413
- declare interface IProps_2 {
414
414
  applicationId: string;
415
415
  sku: string;
416
416
  productDefaultOpportunityNumber?: string;
@@ -423,6 +423,15 @@ declare interface IProps_2 {
423
423
  productCustomAction?: React.ReactNode;
424
424
  }
425
425
 
426
+ declare interface IProps_2 {
427
+ appID: string;
428
+ readonly: boolean;
429
+ userEmail: string;
430
+ isSuperAdmin: boolean;
431
+ reseller?: Reseller;
432
+ withoutReports?: boolean;
433
+ }
434
+
426
435
  export declare function Label({ className, ...props }: React_2.ComponentProps<typeof LabelPrimitive.Root>): JSX.Element;
427
436
 
428
437
  export declare const Layout: ForwardRefExoticComponent<LayoutProps & RefAttributes<HTMLInputElement>>;
@@ -439,7 +448,6 @@ declare interface LayoutProps {
439
448
  searchPlaceholder?: string;
440
449
  withRandmarAssistant?: boolean;
441
450
  chatUserName?: string;
442
- chatApiKey?: string;
443
451
  chatRef?: React.Ref<ChatLayoutHandle | null>;
444
452
  }
445
453
 
@@ -502,7 +510,6 @@ export declare interface NavbarProps {
502
510
  footer: default_2.ReactNode;
503
511
  withRandmarAssistant?: boolean;
504
512
  chatUserName?: string;
505
- chatApiKey?: string;
506
513
  }
507
514
 
508
515
  export declare interface NavRoute {
@@ -598,7 +605,7 @@ declare interface ProductInventoryGridProps {
598
605
  showBinLocation?: boolean;
599
606
  }
600
607
 
601
- export declare function ProductOverviewPage({ applicationId, sku, productDefaultOpportunityNumber, productOnAddToCart, productAddingToCart, productShopifyHostname, productCustomAction }: IProps_2): JSX.Element;
608
+ export declare function ProductOverviewPage({ applicationId, sku, productDefaultOpportunityNumber, productOnAddToCart, productAddingToCart, productShopifyHostname, productCustomAction }: IProps): JSX.Element;
602
609
 
603
610
  export declare const Progress: React_2.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
604
611
 
@@ -623,7 +630,7 @@ export declare interface ResellerCardProps {
623
630
  loading?: boolean;
624
631
  }
625
632
 
626
- export declare function ResellerOverview({ appID, reseller, readonly, userEmail, isSuperAdmin, withoutReports }: IProps): JSX.Element;
633
+ export declare function ResellerOverview({ appID, reseller, readonly, userEmail, isSuperAdmin, withoutReports }: IProps_2): JSX.Element;
627
634
 
628
635
  export declare function ResellerQualificationsCard({ qualifications, loading }: ResellerQualificationsCardProps): JSX.Element;
629
636
 
@@ -890,10 +897,10 @@ export declare interface TopbarProps {
890
897
  searchPlaceholder?: string;
891
898
  }
892
899
 
893
- export declare const useApiKey: () => ApiKeyContextType;
894
-
895
900
  export declare const useChat: () => ChatContextType;
896
901
 
902
+ export declare const useGeminiApiKey: () => ApiKeyContextType;
903
+
897
904
  export declare function useIsMobile(): boolean;
898
905
 
899
906
  export declare function useSidebar(): SidebarContext;