@kashifd/jwero-components 0.7.78 → 0.7.80
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/package.json +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +0 -63666
- package/dist/index.umd.js +0 -1056
- package/dist/src/App.d.ts +0 -6
- package/dist/src/components/JweroAccordian.d.ts +0 -7
- package/dist/src/components/JweroBreadcrumbs.d.ts +0 -14
- package/dist/src/components/JweroChip.d.ts +0 -26
- package/dist/src/components/JweroDialogHeader.d.ts +0 -29
- package/dist/src/components/JweroPicker.d.ts +0 -5
- package/dist/src/components/JweroPopper.d.ts +0 -14
- package/dist/src/components/JweroRadio.d.ts +0 -10
- package/dist/src/components/JweroSidebar.d.ts +0 -23
- package/dist/src/components/JweroToggleButton.d.ts +0 -9
- package/dist/src/components/JweroTypography.d.ts +0 -71
- package/dist/src/components/jwero_actions_button/index.d.ts +0 -22
- package/dist/src/components/jwero_alerts/index.d.ts +0 -15
- package/dist/src/components/jwero_avatars/index.d.ts +0 -21
- package/dist/src/components/jwero_badger/index.d.ts +0 -11
- package/dist/src/components/jwero_button_menu/components/JweroMenu.d.ts +0 -35
- package/dist/src/components/jwero_button_menu/index.d.ts +0 -24
- package/dist/src/components/jwero_charts/components/AreaChart.d.ts +0 -9
- package/dist/src/components/jwero_charts/components/BarChart.d.ts +0 -10
- package/dist/src/components/jwero_charts/components/Funnel.d.ts +0 -4
- package/dist/src/components/jwero_charts/components/FunnelChart.d.ts +0 -9
- package/dist/src/components/jwero_charts/components/LineChart.d.ts +0 -9
- package/dist/src/components/jwero_charts/components/MultipleLineChart.d.ts +0 -11
- package/dist/src/components/jwero_charts/components/NumericChart.d.ts +0 -9
- package/dist/src/components/jwero_charts/components/PieChart.d.ts +0 -8
- package/dist/src/components/jwero_charts/components/RacingBarChart.d.ts +0 -9
- package/dist/src/components/jwero_charts/components/RadialChart.d.ts +0 -14
- package/dist/src/components/jwero_charts/index.d.ts +0 -26
- package/dist/src/components/jwero_checkbox/index.d.ts +0 -10
- package/dist/src/components/jwero_confirmation_dialog/index.d.ts +0 -44
- package/dist/src/components/jwero_custom_field/index.d.ts +0 -30
- package/dist/src/components/jwero_data_card/components/CardAreaGraph.d.ts +0 -7
- package/dist/src/components/jwero_data_card/components/NumberAnimation.d.ts +0 -8
- package/dist/src/components/jwero_data_card/index.d.ts +0 -54
- package/dist/src/components/jwero_data_table/components/JweroPagination.d.ts +0 -10
- package/dist/src/components/jwero_data_table/components/JweroRowsPerPage.d.ts +0 -10
- package/dist/src/components/jwero_data_table/components/JweroTable.d.ts +0 -29
- package/dist/src/components/jwero_data_table/index.d.ts +0 -21
- package/dist/src/components/jwero_date_filter/components/DateFiltersMenu.d.ts +0 -9
- package/dist/src/components/jwero_date_filter/helper/dateFilterList.d.ts +0 -5
- package/dist/src/components/jwero_date_filter/index.d.ts +0 -11
- package/dist/src/components/jwero_dialog_footer/index.d.ts +0 -17
- package/dist/src/components/jwero_drawer/index.d.ts +0 -45
- package/dist/src/components/jwero_empty_state/index.d.ts +0 -26
- package/dist/src/components/jwero_filter_operator/components/HighlightLabelChip.d.ts +0 -12
- package/dist/src/components/jwero_filter_operator/index.d.ts +0 -10
- package/dist/src/components/jwero_media_preview/components/MediaPreviewDisplay.d.ts +0 -2
- package/dist/src/components/jwero_media_preview/components/MediaPreviewHeader.d.ts +0 -5
- package/dist/src/components/jwero_media_preview/index.d.ts +0 -2
- package/dist/src/components/jwero_navigation/drawer.d.ts +0 -4
- package/dist/src/components/jwero_navigation/icons/Analytics.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Automations.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/CRM.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Catalog.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/DigitalGold.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Ecommerce.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Inventory.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/JweroOne.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Loyality.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/Socials.d.ts +0 -2
- package/dist/src/components/jwero_navigation/icons/chats.d.ts +0 -2
- package/dist/src/components/jwero_navigation/index.d.ts +0 -22
- package/dist/src/components/jwero_note_card/components/JweroNoteCardHeader.d.ts +0 -11
- package/dist/src/components/jwero_note_card/helper/AttachmentPreview.d.ts +0 -10
- package/dist/src/components/jwero_note_card/helper/convertDate.d.ts +0 -1
- package/dist/src/components/jwero_note_card/helper/getFileType.d.ts +0 -3
- package/dist/src/components/jwero_note_card/index.d.ts +0 -14
- package/dist/src/components/jwero_note_editor/components/AttachmentPreview.d.ts +0 -10
- package/dist/src/components/jwero_note_editor/components/AttachmentsSection.d.ts +0 -8
- package/dist/src/components/jwero_note_editor/components/NoteEditorFooter.d.ts +0 -12
- package/dist/src/components/jwero_note_editor/components/NoteEditorHeader.d.ts +0 -6
- package/dist/src/components/jwero_note_editor/helpers/bytesToMegabytes.d.ts +0 -4
- package/dist/src/components/jwero_note_editor/helpers/fileLimits.d.ts +0 -7
- package/dist/src/components/jwero_note_editor/helpers/getFileType.d.ts +0 -1
- package/dist/src/components/jwero_note_editor/helpers/getRandomId.d.ts +0 -1
- package/dist/src/components/jwero_note_editor/index.d.ts +0 -25
- package/dist/src/components/jwero_order_card/index.d.ts +0 -30
- package/dist/src/components/jwero_phone_input/index.d.ts +0 -9
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryBody.d.ts +0 -8
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryFooter.d.ts +0 -2
- package/dist/src/components/jwero_plan_expiry/components/JweroPlanExpiryHeader.d.ts +0 -2
- package/dist/src/components/jwero_plan_expiry/index.d.ts +0 -8
- package/dist/src/components/jwero_plan_expiry/svg/PlanExpiredSvg.d.ts +0 -2
- package/dist/src/components/jwero_primary_button/index.d.ts +0 -25
- package/dist/src/components/jwero_product_card/index.d.ts +0 -24
- package/dist/src/components/jwero_search_box/index.d.ts +0 -28
- package/dist/src/components/jwero_snackbar/index.d.ts +0 -17
- package/dist/src/components/jwero_status_chip/index.d.ts +0 -23
- package/dist/src/components/jwero_tabs/index.d.ts +0 -30
- package/dist/src/components/jwero_task_card/components/CustomAvatarGroup.d.ts +0 -10
- package/dist/src/components/jwero_task_card/components/TaskCardEditDelete.d.ts +0 -13
- package/dist/src/components/jwero_task_card/components/TeamMembersDisplay.d.ts +0 -9
- package/dist/src/components/jwero_task_card/helpers/checkIfOverdue.d.ts +0 -14
- package/dist/src/components/jwero_task_card/helpers/getInitials.d.ts +0 -1
- package/dist/src/components/jwero_task_card/index.d.ts +0 -39
- package/dist/src/components/jwero_theme_switch/components/dark_light_mode_switch/index.d.ts +0 -5
- package/dist/src/components/jwero_theme_switch/index.d.ts +0 -3
- package/dist/src/components/jwero_tooltip/index.d.ts +0 -15
- package/dist/src/components/jwero_verticaltabs/helper/convertToUnderscore.d.ts +0 -1
- package/dist/src/components/jwero_verticaltabs/index.d.ts +0 -24
- package/dist/src/components/jwero_view_options/index.d.ts +0 -23
- package/dist/src/consts/typography.d.ts +0 -80
- package/dist/src/icons/AddIcon.d.ts +0 -5
- package/dist/src/icons/AnalyticsIcon.d.ts +0 -2
- package/dist/src/icons/AttachIcon.d.ts +0 -2
- package/dist/src/icons/BoldIcon.d.ts +0 -2
- package/dist/src/icons/CalendarIcon.d.ts +0 -5
- package/dist/src/icons/CallIcon.d.ts +0 -5
- package/dist/src/icons/CheckedCheckboxIcon.d.ts +0 -4
- package/dist/src/icons/CheckedRadioIcon.d.ts +0 -4
- package/dist/src/icons/ChevronDown.d.ts +0 -4
- package/dist/src/icons/CloseIcon.d.ts +0 -5
- package/dist/src/icons/CloseMedia.d.ts +0 -2
- package/dist/src/icons/CompletedIcon.d.ts +0 -2
- package/dist/src/icons/CrownEmoji.d.ts +0 -4
- package/dist/src/icons/DecrementChipIcon.d.ts +0 -2
- package/dist/src/icons/DecrementIcon.d.ts +0 -2
- package/dist/src/icons/DeleteIcon.d.ts +0 -4
- package/dist/src/icons/DiamondIcon.d.ts +0 -2
- package/dist/src/icons/DropdownIcon.d.ts +0 -2
- package/dist/src/icons/EditIcon.d.ts +0 -6
- package/dist/src/icons/ErrorIcon.d.ts +0 -4
- package/dist/src/icons/EyeIcon.d.ts +0 -2
- package/dist/src/icons/FacebookFooterIcon.d.ts +0 -2
- package/dist/src/icons/ImproveChipIcon.d.ts +0 -2
- package/dist/src/icons/IncrementIcon.d.ts +0 -2
- package/dist/src/icons/InfoAlertIcon.d.ts +0 -4
- package/dist/src/icons/InfoIcon.d.ts +0 -2
- package/dist/src/icons/InprogressIcon.d.ts +0 -2
- package/dist/src/icons/InstagramFooterIcon.d.ts +0 -2
- package/dist/src/icons/InventoryIcon.d.ts +0 -2
- package/dist/src/icons/ItalicIcon.d.ts +0 -2
- package/dist/src/icons/LineThroughIcon.d.ts +0 -2
- package/dist/src/icons/LinkedInFooterIcon.d.ts +0 -2
- package/dist/src/icons/MailIcon.d.ts +0 -5
- package/dist/src/icons/PendingIcon.d.ts +0 -2
- package/dist/src/icons/QuotationsIcon.d.ts +0 -2
- package/dist/src/icons/RedCalendarIcon.d.ts +0 -2
- package/dist/src/icons/SalesAppIcon.d.ts +0 -2
- package/dist/src/icons/SearchIcon.d.ts +0 -2
- package/dist/src/icons/ShoppingCart.d.ts +0 -2
- package/dist/src/icons/StockIcon.d.ts +0 -4
- package/dist/src/icons/StockStatus.d.ts +0 -2
- package/dist/src/icons/SuccessIcon.d.ts +0 -4
- package/dist/src/icons/ToggleOffIcon.d.ts +0 -4
- package/dist/src/icons/ToggleOnIcon.d.ts +0 -4
- package/dist/src/icons/TripleDotsIcon.d.ts +0 -2
- package/dist/src/icons/TruckIcon.d.ts +0 -2
- package/dist/src/icons/UncheckedCheckboxIcon.d.ts +0 -4
- package/dist/src/icons/UncheckedRadioIcon.d.ts +0 -4
- package/dist/src/icons/UnderlineIcon.d.ts +0 -2
- package/dist/src/icons/WarningIcon.d.ts +0 -4
- package/dist/src/icons/WebIcon.d.ts +0 -4
- package/dist/src/icons/YoutubeFooterIcon.d.ts +0 -2
- package/dist/src/index.d.ts +0 -44
- package/dist/src/main.d.ts +0 -1
- package/dist/src/theme/JweroTheme.d.ts +0 -179
- package/dist/src/theme/ThemeProvider.d.ts +0 -10
- package/dist/src/utils/customDateFormatting.d.ts +0 -5
- package/dist/src/utils/formatServerValue.d.ts +0 -1
- package/dist/src/utils/numbers/formatNumbers.d.ts +0 -1
- package/dist/src/utils/reduceLargeText.d.ts +0 -1
- package/dist/src/vite-env.d.ts +0 -1
- package/dist/style.css +0 -1
- package/dist/vite.svg +0 -1
package/dist/src/App.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare function App(): import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export default App;
|
|
3
|
-
export declare const Test2: () => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const TabsTest: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const JweroMenuTest: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const TableTest: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
type BreadcrumbItem = {
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
};
|
|
7
|
-
type BreadcrumbsProps = {
|
|
8
|
-
items: BreadcrumbItem[];
|
|
9
|
-
onClick: (item: BreadcrumbItem) => void;
|
|
10
|
-
selectedItem?: string | null;
|
|
11
|
-
sx?: SxProps<Theme>;
|
|
12
|
-
};
|
|
13
|
-
declare const JweroBreadcrumbs: ({ items, onClick, selectedItem, sx, }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default JweroBreadcrumbs;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { Theme, SxProps } from '@mui/material';
|
|
3
|
-
import { CustomTypographyProps } from './JweroTypography';
|
|
4
|
-
import { JweroUserAvatarType } from './jwero_avatars';
|
|
5
|
-
|
|
6
|
-
type JweroChipsType = {
|
|
7
|
-
boxSx?: SxProps<Theme>;
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
iconPosition?: "before" | "after";
|
|
10
|
-
avatar?: boolean;
|
|
11
|
-
avatarPosition?: "before" | "after";
|
|
12
|
-
radioButton?: boolean;
|
|
13
|
-
radioButtonPosition?: "before" | "after";
|
|
14
|
-
checkBox?: boolean;
|
|
15
|
-
checkBoxPosition?: "before" | "after";
|
|
16
|
-
label?: string;
|
|
17
|
-
onClick?: (value: string) => void;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
labelProps?: Omit<CustomTypographyProps, "children">;
|
|
20
|
-
isChecked?: boolean;
|
|
21
|
-
value?: string;
|
|
22
|
-
avatarProps?: Omit<JweroUserAvatarType, "children">;
|
|
23
|
-
customLabel?: React.ReactNode;
|
|
24
|
-
};
|
|
25
|
-
declare const JweroChip: ({ boxSx, icon, iconPosition, avatar, avatarPosition, radioButton, radioButtonPosition, checkBox, checkBoxPosition, value, label, onClick, onClose, isChecked, labelProps, avatarProps, customLabel, }: JweroChipsType) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export default JweroChip;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
|
-
type JweroDialogHeaderType = {
|
|
5
|
-
title: string;
|
|
6
|
-
subTitle?: string;
|
|
7
|
-
onClose?: () => void;
|
|
8
|
-
titleComponent?: ReactNode;
|
|
9
|
-
titleIconProps?: {
|
|
10
|
-
icon?: ReactNode;
|
|
11
|
-
position?: "start" | "end";
|
|
12
|
-
sx?: SxProps<Theme>;
|
|
13
|
-
};
|
|
14
|
-
endIconProps?: {
|
|
15
|
-
flag: boolean;
|
|
16
|
-
onClickFunction?: () => void;
|
|
17
|
-
icon?: ReactNode;
|
|
18
|
-
};
|
|
19
|
-
stepProps?: {
|
|
20
|
-
flag: boolean;
|
|
21
|
-
custom_name?: string;
|
|
22
|
-
total_steps?: number;
|
|
23
|
-
current_step?: number;
|
|
24
|
-
};
|
|
25
|
-
sx?: SxProps;
|
|
26
|
-
titleSx?: SxProps;
|
|
27
|
-
};
|
|
28
|
-
declare const JweroDialogHeader: ({ title, subTitle, onClose, titleComponent, titleIconProps, endIconProps, stepProps, sx, titleSx, }: JweroDialogHeaderType) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export default JweroDialogHeader;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { PopperProps, SxProps } from '@mui/material';
|
|
3
|
-
|
|
4
|
-
type JweroPopperType = {
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
open: boolean;
|
|
7
|
-
anchorEl: null | HTMLDivElement | HTMLElement;
|
|
8
|
-
placement?: PopperProps["placement"];
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
boxSx?: SxProps;
|
|
11
|
-
popperProps?: PopperProps;
|
|
12
|
-
};
|
|
13
|
-
declare const JweroPopper: ({ children, open, placement, onClose, anchorEl, boxSx, popperProps, }: JweroPopperType) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default JweroPopper;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/system';
|
|
2
|
-
|
|
3
|
-
type JweroRadioType = {
|
|
4
|
-
checked: boolean;
|
|
5
|
-
onChange?: (checked: boolean) => void;
|
|
6
|
-
sx?: SxProps<Theme>;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare const JweroRadio: ({ checked, onChange, sx, disabled, }: JweroRadioType) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default JweroRadio;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/material';
|
|
3
|
-
|
|
4
|
-
type NavigationDataType = {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
redirect_to: string;
|
|
8
|
-
icon?: ReactNode;
|
|
9
|
-
badge_props?: {
|
|
10
|
-
type?: "positive";
|
|
11
|
-
flag?: boolean;
|
|
12
|
-
badge_count?: number;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
type JweroSidebarType = {
|
|
16
|
-
currentPage: string;
|
|
17
|
-
primaryNavigationData: NavigationDataType[];
|
|
18
|
-
secondaryNavigationData: NavigationDataType[];
|
|
19
|
-
onClick?: (option: NavigationDataType) => void;
|
|
20
|
-
boxSx?: SxProps<Theme>;
|
|
21
|
-
};
|
|
22
|
-
declare const JweroSidebar: ({ currentPage, primaryNavigationData, secondaryNavigationData, onClick, boxSx, }: JweroSidebarType) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default JweroSidebar;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/system';
|
|
2
|
-
|
|
3
|
-
type JweroToggleButtonProps = {
|
|
4
|
-
checked: boolean;
|
|
5
|
-
onChange?: (checked: boolean) => void;
|
|
6
|
-
sx?: SxProps<Theme>;
|
|
7
|
-
};
|
|
8
|
-
declare const JweroToggleButton: ({ checked, onChange, sx, }: JweroToggleButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default JweroToggleButton;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Theme, SxProps } from '@mui/material';
|
|
3
|
-
|
|
4
|
-
export type CustomTypographyProps = {
|
|
5
|
-
variant?: "xxxlSemibold" | "xxlSemibold" | "xxlMedium" | "xxlRegular" | "xlBold" | "xlSemibold" | "xlRegular" | "lMedium" | "lRegular" | "xlMedium";
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
sx?: SxProps<Theme>;
|
|
9
|
-
};
|
|
10
|
-
declare const typographyStyles: {
|
|
11
|
-
xxxlSemibold: {
|
|
12
|
-
fontSize: string;
|
|
13
|
-
fontWeight: number;
|
|
14
|
-
letterSpacing: string;
|
|
15
|
-
lineHeight: string;
|
|
16
|
-
};
|
|
17
|
-
xxlSemibold: {
|
|
18
|
-
fontSize: string;
|
|
19
|
-
fontWeight: number;
|
|
20
|
-
lineHeight: string;
|
|
21
|
-
};
|
|
22
|
-
xxlMedium: {
|
|
23
|
-
fontSize: string;
|
|
24
|
-
fontWeight: number;
|
|
25
|
-
lineHeight: string;
|
|
26
|
-
};
|
|
27
|
-
xxlRegular: {
|
|
28
|
-
fontSize: string;
|
|
29
|
-
fontWeight: number;
|
|
30
|
-
lineHeight: string;
|
|
31
|
-
};
|
|
32
|
-
xlBold: {
|
|
33
|
-
fontSize: string;
|
|
34
|
-
fontWeight: number;
|
|
35
|
-
letterSpacing: string;
|
|
36
|
-
lineHeight: string;
|
|
37
|
-
};
|
|
38
|
-
xlSemibold: {
|
|
39
|
-
fontSize: string;
|
|
40
|
-
fontWeight: number;
|
|
41
|
-
letterSpacing: string;
|
|
42
|
-
lineHeight: string;
|
|
43
|
-
};
|
|
44
|
-
xlMedium: {
|
|
45
|
-
fontSize: string;
|
|
46
|
-
fontWeight: number;
|
|
47
|
-
letterSpacing: string;
|
|
48
|
-
lineHeight: string;
|
|
49
|
-
};
|
|
50
|
-
xlRegular: {
|
|
51
|
-
fontSize: string;
|
|
52
|
-
fontWeight: number;
|
|
53
|
-
letterSpacing: string;
|
|
54
|
-
lineHeight: string;
|
|
55
|
-
};
|
|
56
|
-
lMedium: {
|
|
57
|
-
fontSize: string;
|
|
58
|
-
fontWeight: number;
|
|
59
|
-
letterSpacing: string;
|
|
60
|
-
lineHeight: string;
|
|
61
|
-
};
|
|
62
|
-
lRegular: {
|
|
63
|
-
fontSize: string;
|
|
64
|
-
fontWeight: number;
|
|
65
|
-
letterSpacing: string;
|
|
66
|
-
lineHeight: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
declare const JweroTypography: ({ variant, children, onClick, sx, }: CustomTypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
-
export { typographyStyles };
|
|
71
|
-
export default JweroTypography;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SxProps, PopperProps } from '@mui/material';
|
|
2
|
-
import { MenuOptionType } from '../jwero_button_menu/components/JweroMenu';
|
|
3
|
-
|
|
4
|
-
type ButtonType = {
|
|
5
|
-
label?: string;
|
|
6
|
-
onClick: (e: React.MouseEvent<HTMLElement>) => void;
|
|
7
|
-
tooltip?: string;
|
|
8
|
-
sx?: SxProps;
|
|
9
|
-
labelSx?: SxProps;
|
|
10
|
-
popperProps?: PopperProps;
|
|
11
|
-
};
|
|
12
|
-
type JweroActionsButtonType = {
|
|
13
|
-
primaryButtonProps?: ButtonType;
|
|
14
|
-
secondaryButtonProps?: ButtonType & {
|
|
15
|
-
icon: React.ReactNode;
|
|
16
|
-
};
|
|
17
|
-
options: MenuOptionType[];
|
|
18
|
-
customClose?: false;
|
|
19
|
-
popperProps?: PopperProps;
|
|
20
|
-
};
|
|
21
|
-
declare const JweroActionsButton: ({ primaryButtonProps, secondaryButtonProps, options, customClose, popperProps, }: JweroActionsButtonType) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default JweroActionsButton;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
type AlertType = "error" | "warning" | "info" | "success";
|
|
4
|
-
type AlertVariant = "simple" | "description" | "filled";
|
|
5
|
-
export interface AlertComponentProps {
|
|
6
|
-
label: string;
|
|
7
|
-
type: AlertType;
|
|
8
|
-
isClosable?: boolean;
|
|
9
|
-
onClose?: () => void;
|
|
10
|
-
variant: AlertVariant;
|
|
11
|
-
description?: string;
|
|
12
|
-
sx?: SxProps<Theme>;
|
|
13
|
-
}
|
|
14
|
-
declare const JweroAlert: ({ label, type, isClosable, onClose, variant, description, sx, }: AlertComponentProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
15
|
-
export default JweroAlert;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type JweroUserAvatarType = {
|
|
2
|
-
name: string;
|
|
3
|
-
data?: string;
|
|
4
|
-
src?: string;
|
|
5
|
-
size?: "small" | "medium";
|
|
6
|
-
isOnline?: boolean;
|
|
7
|
-
isFollowUp?: boolean;
|
|
8
|
-
isSpam?: boolean;
|
|
9
|
-
customer?: boolean;
|
|
10
|
-
sentiment?: boolean;
|
|
11
|
-
channel?: string;
|
|
12
|
-
showCheckboxOnHover?: boolean;
|
|
13
|
-
onCheckboxClick?: () => void;
|
|
14
|
-
customSize?: number;
|
|
15
|
-
isChecked?: boolean;
|
|
16
|
-
onClick?: () => void;
|
|
17
|
-
avatarTooltip?: string;
|
|
18
|
-
showGradientBackground?: boolean;
|
|
19
|
-
};
|
|
20
|
-
declare const JweroUserAvatar: ({ name, src, size, isOnline, isFollowUp, isSpam, customer, sentiment, channel, showCheckboxOnHover, onCheckboxClick, customSize, isChecked, onClick, avatarTooltip, showGradientBackground, }: JweroUserAvatarType) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default JweroUserAvatar;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material/styles';
|
|
2
|
-
|
|
3
|
-
export type CustomBadgePropsType = "single" | "multi" | "off" | "formatted";
|
|
4
|
-
export type CustomBadgeProps = {
|
|
5
|
-
type: CustomBadgePropsType;
|
|
6
|
-
count?: number;
|
|
7
|
-
stroke?: boolean;
|
|
8
|
-
sx?: SxProps;
|
|
9
|
-
};
|
|
10
|
-
declare const JweroBadge: ({ type, count, stroke, sx, }: CustomBadgeProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export default JweroBadge;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { CustomTypographyProps } from '../../JweroTypography';
|
|
4
|
-
|
|
5
|
-
type JweroMenuType = {
|
|
6
|
-
boxSx?: SxProps<Theme>;
|
|
7
|
-
menuList?: MenuListType[];
|
|
8
|
-
innerBoxSx?: SxProps<Theme>;
|
|
9
|
-
};
|
|
10
|
-
export type MenuListType = {
|
|
11
|
-
title?: string;
|
|
12
|
-
iconProps?: {
|
|
13
|
-
icon: ReactNode;
|
|
14
|
-
placement: "start" | "end";
|
|
15
|
-
};
|
|
16
|
-
titleSx?: SxProps<Theme>;
|
|
17
|
-
titleProps?: Omit<CustomTypographyProps, "children">;
|
|
18
|
-
options?: MenuOptionType[];
|
|
19
|
-
};
|
|
20
|
-
export type MenuOptionType = {
|
|
21
|
-
value: string;
|
|
22
|
-
label: string;
|
|
23
|
-
onClick?: () => void;
|
|
24
|
-
sx?: SxProps<Theme>;
|
|
25
|
-
iconProps?: {
|
|
26
|
-
icon?: ReactNode;
|
|
27
|
-
placement: "start" | "end";
|
|
28
|
-
};
|
|
29
|
-
labelProps?: Omit<CustomTypographyProps, "children">;
|
|
30
|
-
endIcon?: ReactNode;
|
|
31
|
-
tooltip?: string;
|
|
32
|
-
disable?: boolean;
|
|
33
|
-
};
|
|
34
|
-
declare const JweroMenu: ({ menuList, boxSx, innerBoxSx }: JweroMenuType) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
35
|
-
export default JweroMenu;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PopperProps, SxProps } from '@mui/material';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
import { CustomTypographyProps } from '../JweroTypography';
|
|
4
|
-
import { MenuListType } from './components/JweroMenu';
|
|
5
|
-
|
|
6
|
-
type JweroButtonMenuType = {
|
|
7
|
-
label?: string;
|
|
8
|
-
onOpenMenu?: () => void;
|
|
9
|
-
customClose?: boolean;
|
|
10
|
-
menuList?: MenuListType[];
|
|
11
|
-
iconProps?: {
|
|
12
|
-
position?: string;
|
|
13
|
-
icon?: ReactNode;
|
|
14
|
-
};
|
|
15
|
-
endIcon?: ReactNode;
|
|
16
|
-
boxSx?: SxProps;
|
|
17
|
-
innerBoxSx?: SxProps;
|
|
18
|
-
labelProps?: Omit<CustomTypographyProps, "children">;
|
|
19
|
-
menuSx?: SxProps;
|
|
20
|
-
popperSx?: SxProps;
|
|
21
|
-
popperProps?: PopperProps;
|
|
22
|
-
};
|
|
23
|
-
declare const JweroButtonMenu: ({ label, onOpenMenu, customClose, menuList, iconProps, endIcon, boxSx, innerBoxSx, labelProps, menuSx, popperSx, popperProps, }: JweroButtonMenuType) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default JweroButtonMenu;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
type EngagementChartProps = {
|
|
4
|
-
series?: {
|
|
5
|
-
name: string;
|
|
6
|
-
data: number[];
|
|
7
|
-
}[];
|
|
8
|
-
label: any[];
|
|
9
|
-
};
|
|
10
|
-
declare const JweroMultipleLineChart: React.FC<EngagementChartProps>;
|
|
11
|
-
export default JweroMultipleLineChart;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
type NumericChartProps = {
|
|
4
|
-
data: any;
|
|
5
|
-
labelName: any;
|
|
6
|
-
sx?: SxProps;
|
|
7
|
-
};
|
|
8
|
-
declare const JweroNumericChart: ({ data, sx, labelName, }: NumericChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default JweroNumericChart;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SxProps, Theme } from '@mui/system';
|
|
3
|
-
|
|
4
|
-
type RadialChartProps = {
|
|
5
|
-
completionRate?: number;
|
|
6
|
-
size?: number;
|
|
7
|
-
labelOptions?: {
|
|
8
|
-
name?: string;
|
|
9
|
-
nameSx?: SxProps<Theme>;
|
|
10
|
-
valueSx?: SxProps<Theme>;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
declare const JweroRadialChart: React.FC<RadialChartProps>;
|
|
14
|
-
export default JweroRadialChart;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { SxProps } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
export type ChartProps = {
|
|
4
|
-
type?: "radial" | "pie" | "racing_bar" | "numeric" | "line" | "funnel" | "bar" | "multiple_line" | "area";
|
|
5
|
-
data: any[];
|
|
6
|
-
label: any[];
|
|
7
|
-
boxSx?: SxProps;
|
|
8
|
-
chartSx?: SxProps;
|
|
9
|
-
NumericChartData?: number;
|
|
10
|
-
completionRate?: number;
|
|
11
|
-
barColor?: string;
|
|
12
|
-
size?: number;
|
|
13
|
-
labelName?: any;
|
|
14
|
-
series?: {
|
|
15
|
-
name: string;
|
|
16
|
-
data: number[];
|
|
17
|
-
}[];
|
|
18
|
-
labelOptions?: {
|
|
19
|
-
name?: string;
|
|
20
|
-
valueSx?: SxProps;
|
|
21
|
-
nameSx?: SxProps;
|
|
22
|
-
};
|
|
23
|
-
numericCharSx?: SxProps;
|
|
24
|
-
};
|
|
25
|
-
declare const JweroCharts: ({ type, NumericChartData, completionRate, data, series, size, chartSx, barColor, label, labelName, labelOptions, numericCharSx }: ChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export default JweroCharts;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SxProps, Theme } from '@mui/material';
|
|
2
|
-
|
|
3
|
-
type CheckboxProps = {
|
|
4
|
-
checked?: boolean;
|
|
5
|
-
onChange?: (checked: boolean) => void;
|
|
6
|
-
sx?: SxProps<Theme>;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
9
|
-
declare const JweroCheckbox: ({ checked, onChange, sx, disabled, }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export default JweroCheckbox;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { JweroCustomFieldType } from '../jwero_custom_field';
|
|
3
|
-
|
|
4
|
-
type ConfirmationDialogType = {
|
|
5
|
-
open: boolean;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
title?: string;
|
|
8
|
-
subTitle?: string;
|
|
9
|
-
primaryButtonProps?: {
|
|
10
|
-
flag: boolean;
|
|
11
|
-
buttonType: "positive" | "negative";
|
|
12
|
-
onClick: () => void;
|
|
13
|
-
label: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
};
|
|
16
|
-
secondaryButtonProps?: {
|
|
17
|
-
flag: boolean;
|
|
18
|
-
buttonType: "positive" | "negative";
|
|
19
|
-
onClick: () => void;
|
|
20
|
-
label: string;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
};
|
|
23
|
-
customIconProps?: {
|
|
24
|
-
customIcon?: React.ReactNode;
|
|
25
|
-
customBgColor?: string;
|
|
26
|
-
iconTitle?: string;
|
|
27
|
-
};
|
|
28
|
-
inputFieldProps?: JweroCustomFieldType & {
|
|
29
|
-
flag?: boolean;
|
|
30
|
-
addComponent?: {
|
|
31
|
-
component: ReactNode;
|
|
32
|
-
position: "before" | "after";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
infoProps?: {
|
|
36
|
-
infoTitle?: string;
|
|
37
|
-
infoIcon?: React.ReactNode;
|
|
38
|
-
infoBgColor?: string;
|
|
39
|
-
infoColor?: string;
|
|
40
|
-
};
|
|
41
|
-
loading?: boolean;
|
|
42
|
-
};
|
|
43
|
-
declare const JweroConfirmationDialog: ({ open, onClose, title, subTitle, primaryButtonProps, secondaryButtonProps, customIconProps, inputFieldProps, infoProps, loading, }: ConfirmationDialogType) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export default JweroConfirmationDialog;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CustomTypographyProps } from '../JweroTypography';
|
|
3
|
-
|
|
4
|
-
export type OptionType = {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string | number;
|
|
7
|
-
disableProps?: {
|
|
8
|
-
disable?: boolean;
|
|
9
|
-
disableText?: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type JweroCustomFieldType = {
|
|
13
|
-
label?: string;
|
|
14
|
-
onChange?: (value: any) => void;
|
|
15
|
-
options?: OptionType[];
|
|
16
|
-
value?: any;
|
|
17
|
-
textFieldProps?: any;
|
|
18
|
-
type?: "text" | "number" | "dropdown" | "date" | "time" | "datetime" | "checkbox" | "radio" | "password" | "date-range" | "autocomplete" | "single_solo_autocomplete";
|
|
19
|
-
labelRight?: ReactNode;
|
|
20
|
-
sx?: object;
|
|
21
|
-
error?: boolean;
|
|
22
|
-
helperText?: string;
|
|
23
|
-
backgroundColor?: string;
|
|
24
|
-
tooltip?: string;
|
|
25
|
-
inputFieldProps?: Omit<CustomTypographyProps, "children">;
|
|
26
|
-
helperTextProps?: Omit<CustomTypographyProps, "children">;
|
|
27
|
-
autocompleteProps?: any;
|
|
28
|
-
};
|
|
29
|
-
declare const JweroCustomField: ({ label, onChange, options, value: _value, textFieldProps, type, labelRight, sx, error, helperText, backgroundColor, tooltip, inputFieldProps, helperTextProps, autocompleteProps, }: JweroCustomFieldType) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export default JweroCustomField;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
type NumberAnimationProps = {
|
|
2
|
-
value: number;
|
|
3
|
-
duration?: number;
|
|
4
|
-
styles?: object;
|
|
5
|
-
isPercentage?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const NumberAnimation: ({ value, duration, styles, isPercentage, }: NumberAnimationProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default NumberAnimation;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { CustomTypographyProps } from '../JweroTypography';
|
|
3
|
-
import { SxProps, Theme } from '@mui/material';
|
|
4
|
-
|
|
5
|
-
type SubDataType = {
|
|
6
|
-
label: string;
|
|
7
|
-
value: number;
|
|
8
|
-
};
|
|
9
|
-
type InfoType = {
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
total_number?: string;
|
|
13
|
-
is_percentage: boolean;
|
|
14
|
-
increased_by?: number;
|
|
15
|
-
backgroundImage?: string;
|
|
16
|
-
chipType?: "completed" | "in_progress" | "pending" | "scheduled" | "custom";
|
|
17
|
-
customChipProps?: {
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
backgroundColor?: string;
|
|
21
|
-
color?: string;
|
|
22
|
-
iconProps?: {
|
|
23
|
-
position: "start" | "end";
|
|
24
|
-
icon: React.ReactNode;
|
|
25
|
-
};
|
|
26
|
-
textSx?: object;
|
|
27
|
-
boxSx?: object;
|
|
28
|
-
};
|
|
29
|
-
statusTextSx?: SxProps;
|
|
30
|
-
statusBoxSx?: SxProps;
|
|
31
|
-
subData?: SubDataType[];
|
|
32
|
-
};
|
|
33
|
-
export type JweroDataCardType = {
|
|
34
|
-
info: InfoType;
|
|
35
|
-
showStatusChip?: boolean;
|
|
36
|
-
showBackgroundImage?: boolean;
|
|
37
|
-
showSubData?: boolean;
|
|
38
|
-
labelProps?: Omit<CustomTypographyProps, "children">;
|
|
39
|
-
dataProps?: Omit<CustomTypographyProps, "children">;
|
|
40
|
-
boxSx: SxProps<Theme>;
|
|
41
|
-
customFooter?: ReactNode;
|
|
42
|
-
chartProps?: {
|
|
43
|
-
flag: true;
|
|
44
|
-
data: number[];
|
|
45
|
-
label: string[];
|
|
46
|
-
};
|
|
47
|
-
animateLabelProps?: {
|
|
48
|
-
flag: boolean;
|
|
49
|
-
duration?: number;
|
|
50
|
-
styles?: object;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
declare const JweroDataCard: ({ info, showStatusChip, showBackgroundImage, showSubData, labelProps, dataProps, boxSx, customFooter, chartProps, animateLabelProps, }: JweroDataCardType) => import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
export default JweroDataCard;
|