@verifiedinc-public/shared-ui-elements 3.18.2-beta.16 → 3.18.2-beta.5
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/components/chart/index.d.ts +0 -2
- package/dist/components/chart/index.mjs +1 -1
- package/dist/components/chart/one-click-time-series/OneClickOverTimeChart.d.ts +17 -5
- package/dist/components/chart/one-click-time-series/OneClickTimeSeriesDataMapper.d.ts +12 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/typographies/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/PageHeader-x2k3H9mE.mjs +1 -0
- package/dist/shared/PageSectionHeader-BIozeXN1.mjs +1 -0
- package/dist/shared/{index-Cs67MQjU.mjs → index-CW9F-W3V.mjs} +13 -13
- package/package.json +1 -1
- package/dist/components/BrandFilterInput/BrandFilterInput.hook.d.ts +0 -25
- package/dist/components/BrandFilterInput/index.d.ts +0 -16
- package/dist/components/BrandFilterInput/types.d.ts +0 -15
- package/dist/components/chart/EmptyChartSection.d.ts +0 -1
- package/dist/components/chart/LoadingChartSection.d.ts +0 -1
- package/dist/components/chart/OneClickPercentageChart/OneClickPercentageChart.d.ts +0 -19
- package/dist/components/chart/OneClickPercentageChart/index.d.ts +0 -1
- package/dist/components/chart/monthly-billable-signups/MonthlyBillableSignupsDataMapper.d.ts +0 -33
- package/dist/components/chart/monthly-billable-signups/MonthlyBillableSignupsTable.d.ts +0 -14
- package/dist/components/chart/monthly-billable-signups/index.d.ts +0 -2
- package/dist/components/chart/styles.d.ts +0 -14
- package/dist/components/typographies/SectionDescription.d.ts +0 -2
- package/dist/components/typographies/SectionTitle.d.ts +0 -2
- package/dist/shared/PageSectionHeader-DdpDhBZG.mjs +0 -1
package/package.json
CHANGED
@@ -1,25 +0,0 @@
|
|
1
|
-
import { BrandFilter, Brands } from './types';
|
2
|
-
export declare const toOption: (brands: Brands[]) => {
|
3
|
-
name: string;
|
4
|
-
value: string;
|
5
|
-
_raw: Brands;
|
6
|
-
}[];
|
7
|
-
interface UseBrandFilterInputProps {
|
8
|
-
value: BrandFilter | BrandFilter[] | undefined;
|
9
|
-
multiple?: boolean;
|
10
|
-
onChange?: (brands: BrandFilter | BrandFilter[]) => void;
|
11
|
-
getBrandsQuery: {
|
12
|
-
data?: Brands[];
|
13
|
-
isFetching: boolean;
|
14
|
-
};
|
15
|
-
maximumSelectedBrands?: number;
|
16
|
-
}
|
17
|
-
export declare function useBrandFilterInput({ value, multiple, onChange, getBrandsQuery, maximumSelectedBrands, }: UseBrandFilterInputProps): {
|
18
|
-
brandOptions: {
|
19
|
-
name: string;
|
20
|
-
value: string;
|
21
|
-
_raw: Brands;
|
22
|
-
}[];
|
23
|
-
isFetching: boolean;
|
24
|
-
};
|
25
|
-
export {};
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { BrandFilter } from './types';
|
2
|
-
export type Value = BrandFilter;
|
3
|
-
interface BrandFilterInputProps {
|
4
|
-
label: string;
|
5
|
-
multiple?: boolean;
|
6
|
-
value: Value | Value[] | undefined;
|
7
|
-
onChange: (value: Value | Value[] | null) => void;
|
8
|
-
getBrandsQuery: {
|
9
|
-
data?: any[];
|
10
|
-
isFetching: boolean;
|
11
|
-
};
|
12
|
-
maximumSelectedBrands?: number;
|
13
|
-
}
|
14
|
-
export declare function BrandFilterInput({ label, multiple, value, onChange, getBrandsQuery, maximumSelectedBrands, }: Readonly<BrandFilterInputProps>): import("react").JSX.Element;
|
15
|
-
export * from './types';
|
16
|
-
export * from './BrandFilterInput.hook';
|
@@ -1,15 +0,0 @@
|
|
1
|
-
export interface Brands {
|
2
|
-
brandUuid: string;
|
3
|
-
customerUuid: string;
|
4
|
-
brandName: string;
|
5
|
-
integrationType: string;
|
6
|
-
oneClickCreated: number;
|
7
|
-
oneClickSuccess: number;
|
8
|
-
isLiveBrand: boolean;
|
9
|
-
additionalData: any;
|
10
|
-
}
|
11
|
-
export type BrandFilter = {
|
12
|
-
name: string;
|
13
|
-
value: string;
|
14
|
-
_raw: Brands;
|
15
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function EmptyChartSection(): React.ReactNode;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function LoadingChartSection(): React.ReactNode;
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export interface OneClickChartData {
|
3
|
-
uuid: string;
|
4
|
-
chartData: Array<{
|
5
|
-
date: string;
|
6
|
-
oneClickSuccess: number;
|
7
|
-
oneClickCreated: number;
|
8
|
-
}>;
|
9
|
-
}
|
10
|
-
interface OneClickPercentageChartProps {
|
11
|
-
data: OneClickChartData[];
|
12
|
-
isLoading: boolean;
|
13
|
-
isFetching: boolean;
|
14
|
-
isSuccess: boolean;
|
15
|
-
filter?: any;
|
16
|
-
sx?: any;
|
17
|
-
}
|
18
|
-
export declare function OneClickPercentageChart({ data, isLoading, isFetching, isSuccess, filter, sx, }: Readonly<OneClickPercentageChartProps>): React.ReactNode;
|
19
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './OneClickPercentageChart';
|
package/dist/components/chart/monthly-billable-signups/MonthlyBillableSignupsDataMapper.d.ts
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
type Brand = {
|
2
|
-
brandUuid: string;
|
3
|
-
brandName: string;
|
4
|
-
integrationType: string;
|
5
|
-
};
|
6
|
-
type ChartData = {
|
7
|
-
brandUuid: string;
|
8
|
-
brandName: string;
|
9
|
-
interval?: Array<{
|
10
|
-
oneClickCreated: number;
|
11
|
-
oneClickSuccess: number;
|
12
|
-
date: number;
|
13
|
-
totalCost: string;
|
14
|
-
}>;
|
15
|
-
overall: {
|
16
|
-
oneClickCreated: number;
|
17
|
-
oneClickSuccess: number;
|
18
|
-
totalCost: string;
|
19
|
-
};
|
20
|
-
};
|
21
|
-
type MapMonthlyBillableSignupsDataParams = {
|
22
|
-
data: ChartData[];
|
23
|
-
brands: Brand[];
|
24
|
-
};
|
25
|
-
export declare const mapMonthlyBillableSignupsData: ({ data, brands, }: MapMonthlyBillableSignupsDataParams) => {
|
26
|
-
month: string;
|
27
|
-
brand: string;
|
28
|
-
integrationType: string;
|
29
|
-
total: number;
|
30
|
-
finished: number;
|
31
|
-
totalCost: string;
|
32
|
-
}[];
|
33
|
-
export {};
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { default as React } from 'react';
|
2
|
-
export type BillableSignupData = {
|
3
|
-
month: string;
|
4
|
-
brand: string;
|
5
|
-
integrationType: string;
|
6
|
-
total: number;
|
7
|
-
finished: number;
|
8
|
-
totalCost: string;
|
9
|
-
};
|
10
|
-
export type MonthlyBillableSignupsTableProps = {
|
11
|
-
data: BillableSignupData[];
|
12
|
-
isLoading: boolean;
|
13
|
-
};
|
14
|
-
export declare const MonthlyBillableSignupsTable: React.FC<MonthlyBillableSignupsTableProps>;
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export declare const useStyle: () => {
|
2
|
-
regularChartWrapper: {
|
3
|
-
justifyContent: string;
|
4
|
-
alignItems: string;
|
5
|
-
width: string;
|
6
|
-
height: number;
|
7
|
-
};
|
8
|
-
smallChartWrapper: {
|
9
|
-
justifyContent: string;
|
10
|
-
alignItems: string;
|
11
|
-
width: string;
|
12
|
-
height: number;
|
13
|
-
};
|
14
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";import{j as t}from"./jsx-runtime-DHlBLioN.mjs";import{Typography as n,Box as r,Stack as o}from"@mui/material";const a=({children:i,sx:e,...s})=>t.jsx(n,{variant:"body1",textAlign:"center",width:"100%",marginTop:2,sx:{...e,wordBreak:"break-word"},...s,children:i}),c=({children:i,...e})=>t.jsx(n,{variant:"h2",textAlign:"center",fontWeight:900,...e,children:i});function h(i){return t.jsxs(r,{sx:{mt:6.25},children:[t.jsxs(o,{direction:"row",alignItems:"center",spacing:1,sx:{"& button":{marginTop:"4px!important"}},children:[t.jsx(n,{variant:"h3",fontSize:50,fontWeight:"800",children:i.title}),i.titleRightChildren]}),!!i.description&&t.jsx(n,{variant:"h4",fontSize:30,fontWeight:"700",color:"text.disabled",children:i.description})]})}function d(i){return t.jsxs(r,{children:[t.jsxs(o,{direction:"row",alignItems:"center",spacing:1,children:[t.jsx(n,{variant:"h4",fontSize:34,fontWeight:"900",children:i.title}),i.titleRightChildren]}),!!i.description&&t.jsx(n,{variant:"h5",fontSize:24,fontWeight:"400",children:i.description})]})}export{a as P,c as S,h as a,d as b};
|