randmarcomps 1.114.0 → 1.115.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.
- package/dist/randmarcomps.d.ts +16 -0
- package/dist/randmarcomps.js +302 -80
- package/dist/randmarcomps.umd.cjs +57 -32
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -13,12 +13,14 @@ import { JSX } from 'react/jsx-runtime';
|
|
|
13
13
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
14
14
|
import { Manufacturer } from 'randmar-api-client';
|
|
15
15
|
import { MouseEventHandler } from 'react';
|
|
16
|
+
import { OrderDetail } from 'randmar-api-client';
|
|
16
17
|
import { OTPInput } from 'input-otp';
|
|
17
18
|
import { Product } from 'randmar-api-client';
|
|
18
19
|
import * as React_2 from 'react';
|
|
19
20
|
import { ReactNode } from 'react';
|
|
20
21
|
import { RefAttributes } from 'react';
|
|
21
22
|
import { Reseller } from 'randmar-api-client';
|
|
23
|
+
import { SalesData } from 'randmar-api-client';
|
|
22
24
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
23
25
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
24
26
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
@@ -29,6 +31,13 @@ import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
|
29
31
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
30
32
|
import { VariantProps } from 'class-variance-authority';
|
|
31
33
|
|
|
34
|
+
export declare function ActiveOrdersCard({ orders, loading }: ActiveOrdersCardProps): JSX.Element;
|
|
35
|
+
|
|
36
|
+
declare interface ActiveOrdersCardProps {
|
|
37
|
+
orders?: OrderDetail[];
|
|
38
|
+
loading?: boolean;
|
|
39
|
+
}
|
|
40
|
+
|
|
32
41
|
export declare function AreaChart({ data, units, unitsPosition, width, height, className }: AreaChartProps): JSX.Element;
|
|
33
42
|
|
|
34
43
|
export declare interface AreaChartProps {
|
|
@@ -328,6 +337,13 @@ export declare interface ResellerCardProps {
|
|
|
328
337
|
loading?: boolean;
|
|
329
338
|
}
|
|
330
339
|
|
|
340
|
+
export declare function SalesOverviewCard({ salesData, loading }: SalesOverviewCardProps): JSX.Element;
|
|
341
|
+
|
|
342
|
+
declare interface SalesOverviewCardProps {
|
|
343
|
+
salesData?: SalesData;
|
|
344
|
+
loading?: boolean;
|
|
345
|
+
}
|
|
346
|
+
|
|
331
347
|
export declare const ScrollArea: React_2.ForwardRefExoticComponent<ScrollAreaProps & React_2.RefAttributes<HTMLDivElement>>;
|
|
332
348
|
|
|
333
349
|
export declare interface ScrollAreaProps extends React_2.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|