@hybr1d-tech/charizard 2.0.15 → 2.1.1
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/hybr1d-ui.js +5073 -5412
- package/dist/hybr1d-ui.umd.cjs +11 -19
- package/dist/index.d.ts +110 -111
- package/package.json +25 -25
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { DateRange } from 'react-day-picker';
|
|
|
6
6
|
import { default as default_2 } from 'react';
|
|
7
7
|
import { HTMLInputTypeAttribute } from 'react';
|
|
8
8
|
import { Id } from 'react-toastify';
|
|
9
|
-
import { JSX
|
|
9
|
+
import { JSX } from 'react/jsx-runtime';
|
|
10
10
|
import { Matcher } from 'react-day-picker';
|
|
11
11
|
import { MenuPlacement } from 'react-select';
|
|
12
12
|
import { MultiValue } from 'react-select';
|
|
@@ -17,7 +17,6 @@ import { Props } from 'react-select';
|
|
|
17
17
|
import { PropsRange } from 'react-day-picker';
|
|
18
18
|
import { PropsSingle } from 'react-day-picker';
|
|
19
19
|
import * as React_2 from 'react';
|
|
20
|
-
import { ReactElement } from 'react';
|
|
21
20
|
import { SingleValue } from 'react-select';
|
|
22
21
|
import { StoreApi } from 'zustand';
|
|
23
22
|
import { StylesConfig } from 'react-select';
|
|
@@ -28,10 +27,10 @@ import { VisibilityState } from '@tanstack/react-table';
|
|
|
28
27
|
import * as zagSwitch from '@zag-js/switch';
|
|
29
28
|
|
|
30
29
|
export declare const Accordion: {
|
|
31
|
-
({ children, defaultActiveKey, customClasses, customStyle, isMulti, isOpenAll, allEventKeys, }: AccordionProps):
|
|
32
|
-
Item({ eventKey, children }: ItemProps):
|
|
33
|
-
Header({ eventKey, children, customClasses, customStyle }: HeaderProps):
|
|
34
|
-
Collapse({ eventKey, children, customClasses, customStyle }: CollapseProps):
|
|
30
|
+
({ children, defaultActiveKey, customClasses, customStyle, isMulti, isOpenAll, allEventKeys, }: AccordionProps): JSX.Element;
|
|
31
|
+
Item({ eventKey, children }: ItemProps): JSX.Element | undefined;
|
|
32
|
+
Header({ eventKey, children, customClasses, customStyle }: HeaderProps): JSX.Element | undefined;
|
|
33
|
+
Collapse({ eventKey, children, customClasses, customStyle }: CollapseProps): JSX.Element;
|
|
35
34
|
};
|
|
36
35
|
|
|
37
36
|
declare interface AccordionContextValue {
|
|
@@ -69,7 +68,7 @@ export declare interface ActionsDropdownProps {
|
|
|
69
68
|
};
|
|
70
69
|
}
|
|
71
70
|
|
|
72
|
-
export declare function Alert({ alertType, actionType, header, body, hide, setHide, showMore, setShowMore, }: AlertPropTypes): false |
|
|
71
|
+
export declare function Alert({ alertType, actionType, header, body, hide, setHide, showMore, setShowMore, }: AlertPropTypes): false | JSX.Element;
|
|
73
72
|
|
|
74
73
|
export declare enum ALERT_ACTION_TYPES {
|
|
75
74
|
CLOSE = "close",
|
|
@@ -121,16 +120,16 @@ export declare const amPm: PERIOD[];
|
|
|
121
120
|
* @param {React.ImgHTMLAttributes<HTMLImageElement>} props - Additional props for the img element.
|
|
122
121
|
* @returns {JSX.Element} The rendered component.
|
|
123
122
|
*/
|
|
124
|
-
export declare function AsyncImage({ src, alt, className, ...props }: ImageProps):
|
|
123
|
+
export declare function AsyncImage({ src, alt, className, ...props }: ImageProps): JSX.Element;
|
|
125
124
|
|
|
126
|
-
export declare function Avatar({ user, imageStyles }: AvatarProps):
|
|
125
|
+
export declare function Avatar({ user, imageStyles }: AvatarProps): JSX.Element;
|
|
127
126
|
|
|
128
127
|
declare interface AvatarProps {
|
|
129
128
|
user: any;
|
|
130
129
|
imageStyles?: React.CSSProperties;
|
|
131
130
|
}
|
|
132
131
|
|
|
133
|
-
export declare function Badge({ highlight, status, selected, children, icon, customSvgStyles, onClick, }: BadgeProps):
|
|
132
|
+
export declare function Badge({ highlight, status, selected, children, icon, customSvgStyles, onClick, }: BadgeProps): JSX.Element;
|
|
134
133
|
|
|
135
134
|
export declare enum BADGE_HIGHLIGHT {
|
|
136
135
|
ICON = "icon",
|
|
@@ -186,7 +185,7 @@ export declare interface Breadcrumb {
|
|
|
186
185
|
onClick?: any;
|
|
187
186
|
}
|
|
188
187
|
|
|
189
|
-
export declare function Breadcrumbs():
|
|
188
|
+
export declare function Breadcrumbs(): JSX.Element;
|
|
190
189
|
|
|
191
190
|
declare interface BreadcrumbsStore {
|
|
192
191
|
breadcrumbs: Breadcrumb[];
|
|
@@ -197,7 +196,7 @@ export declare const buildFilterQuery: (queryFilters: Record<string, any>, exclu
|
|
|
197
196
|
|
|
198
197
|
export declare const buildTableQuery: (query: TBaseQuery) => Record<string, any>;
|
|
199
198
|
|
|
200
|
-
export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, className, icon, btnType, zapTriggerProps, }: ButtonProps):
|
|
199
|
+
export declare function Button({ children, variant, disabled, onClick, type, size, customStyles, className, icon, btnType, zapTriggerProps, }: ButtonProps): JSX.Element;
|
|
201
200
|
|
|
202
201
|
export declare namespace Button {
|
|
203
202
|
var GroupAction: React_2.ForwardRefExoticComponent<GroupActionProps & React_2.RefAttributes<unknown>>;
|
|
@@ -230,7 +229,7 @@ export declare enum BUTTON_VARIANT {
|
|
|
230
229
|
|
|
231
230
|
export declare type ButtonProps = IconOnlyButtonTypeProps | IconButtonTypeProps | OtherButtonTypeProps;
|
|
232
231
|
|
|
233
|
-
export declare function Checkbox({ id, name, children, onChange, customClasses, customStyles, errorMsg, checked, indeterminate, disabled, }: CheckboxProps):
|
|
232
|
+
export declare function Checkbox({ id, name, children, onChange, customClasses, customStyles, errorMsg, checked, indeterminate, disabled, }: CheckboxProps): JSX.Element;
|
|
234
233
|
|
|
235
234
|
declare interface CheckboxProps {
|
|
236
235
|
/**
|
|
@@ -284,7 +283,7 @@ declare interface CheckboxProps_2 {
|
|
|
284
283
|
className?: string;
|
|
285
284
|
}
|
|
286
285
|
|
|
287
|
-
export declare function CheckboxV2({ label, checked, indeterminate, disabled, onChange, className, }: CheckboxProps_2):
|
|
286
|
+
export declare function CheckboxV2({ label, checked, indeterminate, disabled, onChange, className, }: CheckboxProps_2): JSX.Element;
|
|
288
287
|
|
|
289
288
|
export declare const clipboard: (text?: string, showToast?: boolean) => Promise<void>;
|
|
290
289
|
|
|
@@ -295,7 +294,7 @@ declare interface CollapseProps {
|
|
|
295
294
|
customStyle?: React.CSSProperties;
|
|
296
295
|
}
|
|
297
296
|
|
|
298
|
-
export declare function ColorPicker({ name, label, errorMsg, required, onChange, defaultColor, }: ColorPickerProps):
|
|
297
|
+
export declare function ColorPicker({ name, label, errorMsg, required, onChange, defaultColor, }: ColorPickerProps): JSX.Element;
|
|
299
298
|
|
|
300
299
|
declare interface ColorPickerProps {
|
|
301
300
|
name: string;
|
|
@@ -356,7 +355,7 @@ export declare const convertToTimestamp: (timeString: string) => number;
|
|
|
356
355
|
|
|
357
356
|
export declare const countRegex: RegExp;
|
|
358
357
|
|
|
359
|
-
export declare function CreatableSelect({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, createNewOption, refetchOptions, }: CreatableSelectProps):
|
|
358
|
+
export declare function CreatableSelect({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, createNewOption, refetchOptions, }: CreatableSelectProps): JSX.Element;
|
|
360
359
|
|
|
361
360
|
declare interface CreatableSelectProps {
|
|
362
361
|
/**
|
|
@@ -459,13 +458,13 @@ declare interface CreatableSelectProps {
|
|
|
459
458
|
* - `onCreateOption` (Promise<void> | void): function to create new option which is not in the list
|
|
460
459
|
* @returns The SelectV2 component.
|
|
461
460
|
*/
|
|
462
|
-
export declare function CreatableSelectV2(props: CreatableSelectV2Props):
|
|
461
|
+
export declare function CreatableSelectV2(props: CreatableSelectV2Props): JSX.Element;
|
|
463
462
|
|
|
464
463
|
export declare interface CreatableSelectV2Props extends SelectV2Props {
|
|
465
464
|
onCreateOption: (value: string) => Promise<void> | void;
|
|
466
465
|
}
|
|
467
466
|
|
|
468
|
-
export declare const createTableStore: <TQuery extends TBaseQuery>(initialQueries: TQuery) => UseBoundStore<StoreApi<
|
|
467
|
+
export declare const createTableStore: <TQuery extends TBaseQuery>(initialQueries: TQuery) => UseBoundStore<StoreApi<TableStore<TQuery>>>;
|
|
469
468
|
|
|
470
469
|
declare type CustomColCheckedState = {
|
|
471
470
|
id: string;
|
|
@@ -476,7 +475,7 @@ declare type CustomColCheckedState = {
|
|
|
476
475
|
|
|
477
476
|
declare type DateConfig = Partial<DateRangePickerProps>;
|
|
478
477
|
|
|
479
|
-
export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger, ...props }: DatePickerProps):
|
|
478
|
+
export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger, ...props }: DatePickerProps): JSX.Element;
|
|
480
479
|
|
|
481
480
|
declare interface DatePickerProps extends PropsSingle {
|
|
482
481
|
value?: Date | string;
|
|
@@ -504,7 +503,7 @@ declare interface DatePickerProps extends PropsSingle {
|
|
|
504
503
|
trigger?: React_2.ReactNode;
|
|
505
504
|
}
|
|
506
505
|
|
|
507
|
-
export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, placeholder, trigger, ...props }: DateRangePickerProps):
|
|
506
|
+
export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, placeholder, trigger, ...props }: DateRangePickerProps): JSX.Element;
|
|
508
507
|
|
|
509
508
|
declare interface DateRangePickerProps extends PropsRange {
|
|
510
509
|
value: DateRange;
|
|
@@ -570,7 +569,7 @@ export declare enum DOCS_TYPE {
|
|
|
570
569
|
OFFBOARDING_PHOTO_COLLECTION = "offboarding_photo_collection"
|
|
571
570
|
}
|
|
572
571
|
|
|
573
|
-
export declare function Drawer({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, customContainerStyles, }: DrawerProps):
|
|
572
|
+
export declare function Drawer({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, customContainerStyles, }: DrawerProps): JSX.Element;
|
|
574
573
|
|
|
575
574
|
declare interface DrawerProps {
|
|
576
575
|
/**
|
|
@@ -714,7 +713,7 @@ declare interface DrawerProps_2 {
|
|
|
714
713
|
customContainerStyles?: React_2.CSSProperties;
|
|
715
714
|
}
|
|
716
715
|
|
|
717
|
-
export declare function DrawerV2({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, drawerPosition, customContainerStyles, }: DrawerProps_2): false |
|
|
716
|
+
export declare function DrawerV2({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, drawerPosition, customContainerStyles, }: DrawerProps_2): false | JSX.Element;
|
|
718
717
|
|
|
719
718
|
/**
|
|
720
719
|
* Represents an option in a dropdown menu for adornment.
|
|
@@ -765,7 +764,7 @@ declare interface DropdownProps extends BaseInputAdornmentProps {
|
|
|
765
764
|
/**
|
|
766
765
|
* adapts to parent's width and height
|
|
767
766
|
*/
|
|
768
|
-
export declare function EmptyState({ icon, title, desc, flexDir, btnText, onClick, customSvgClassName, }: EmptyStateProps):
|
|
767
|
+
export declare function EmptyState({ icon, title, desc, flexDir, btnText, onClick, customSvgClassName, }: EmptyStateProps): JSX.Element;
|
|
769
768
|
|
|
770
769
|
declare interface EmptyStateProps {
|
|
771
770
|
icon: string;
|
|
@@ -778,11 +777,11 @@ declare interface EmptyStateProps {
|
|
|
778
777
|
customSvgClassName?: string;
|
|
779
778
|
}
|
|
780
779
|
|
|
781
|
-
export declare function Error404():
|
|
780
|
+
export declare function Error404(): JSX.Element;
|
|
782
781
|
|
|
783
|
-
export declare function Error500():
|
|
782
|
+
export declare function Error500(): JSX.Element;
|
|
784
783
|
|
|
785
|
-
export declare function ErrorBoundaryFallback({ error, resetError, isDev, homeRoute, }: ErrorBoundaryFallbackProps):
|
|
784
|
+
export declare function ErrorBoundaryFallback({ error, resetError, isDev, homeRoute, }: ErrorBoundaryFallbackProps): JSX.Element;
|
|
786
785
|
|
|
787
786
|
declare interface ErrorBoundaryFallbackProps {
|
|
788
787
|
error: Error;
|
|
@@ -791,7 +790,7 @@ declare interface ErrorBoundaryFallbackProps {
|
|
|
791
790
|
homeRoute?: string;
|
|
792
791
|
}
|
|
793
792
|
|
|
794
|
-
export declare function ErrorsLayout({ children, showReload, onErrorReset, homeRoute, }: ErrorsLayoutProps):
|
|
793
|
+
export declare function ErrorsLayout({ children, showReload, onErrorReset, homeRoute, }: ErrorsLayoutProps): JSX.Element;
|
|
795
794
|
|
|
796
795
|
declare interface ErrorsLayoutProps {
|
|
797
796
|
children?: React_2.ReactNode;
|
|
@@ -800,7 +799,7 @@ declare interface ErrorsLayoutProps {
|
|
|
800
799
|
homeRoute?: string;
|
|
801
800
|
}
|
|
802
801
|
|
|
803
|
-
export declare function ErrorsPage({ isOnly500, homeRoute }: ErrorsPageProps):
|
|
802
|
+
export declare function ErrorsPage({ isOnly500, homeRoute }: ErrorsPageProps): JSX.Element;
|
|
804
803
|
|
|
805
804
|
declare interface ErrorsPageProps {
|
|
806
805
|
isOnly500?: boolean;
|
|
@@ -955,7 +954,7 @@ declare interface ImageProps extends React.ImgHTMLAttributes<HTMLImageElement> {
|
|
|
955
954
|
alt: string;
|
|
956
955
|
}
|
|
957
956
|
|
|
958
|
-
export declare function Input({ customClasses, customStyles, name, id, value, onChange, restprops, cols, errorMsg, disabled, rows, type, placeholder, onBlur, }: InputProps):
|
|
957
|
+
export declare function Input({ customClasses, customStyles, name, id, value, onChange, restprops, cols, errorMsg, disabled, rows, type, placeholder, onBlur, }: InputProps): JSX.Element;
|
|
959
958
|
|
|
960
959
|
export declare namespace Input {
|
|
961
960
|
var displayName: Inputs;
|
|
@@ -987,7 +986,7 @@ declare enum INPUT_COMPONENTS {
|
|
|
987
986
|
*/
|
|
988
987
|
declare type InputAdornmentProps = DropdownProps | NonDropdownProps;
|
|
989
988
|
|
|
990
|
-
export declare function InputContainer({ children, customClassName, customStyles, size, }: InputContainerProps):
|
|
989
|
+
export declare function InputContainer({ children, customClassName, customStyles, size, }: InputContainerProps): JSX.Element;
|
|
991
990
|
|
|
992
991
|
export declare namespace InputContainer {
|
|
993
992
|
var displayName: Inputs;
|
|
@@ -1055,7 +1054,7 @@ declare interface InputControlPropsV2 extends React.HTMLAttributes<HTMLDivElemen
|
|
|
1055
1054
|
* />
|
|
1056
1055
|
* </InputControlV2>
|
|
1057
1056
|
*/
|
|
1058
|
-
export declare function InputControlV2({ className, children, ...props }: InputControlPropsV2):
|
|
1057
|
+
export declare function InputControlV2({ className, children, ...props }: InputControlPropsV2): JSX.Element;
|
|
1059
1058
|
|
|
1060
1059
|
export declare namespace InputControlV2 {
|
|
1061
1060
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1087,7 +1086,7 @@ export declare namespace InputControlV2 {
|
|
|
1087
1086
|
* disabled={false}
|
|
1088
1087
|
* />
|
|
1089
1088
|
*/
|
|
1090
|
-
export declare function InputCount({ onCountChange, min, max, count, countContainerClassName, disabled, ...props }: InputCountProps):
|
|
1089
|
+
export declare function InputCount({ onCountChange, min, max, count, countContainerClassName, disabled, ...props }: InputCountProps): JSX.Element;
|
|
1091
1090
|
|
|
1092
1091
|
export declare namespace InputCount {
|
|
1093
1092
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1154,7 +1153,7 @@ declare interface InputDirectionElementProps {
|
|
|
1154
1153
|
children: React.ReactNode;
|
|
1155
1154
|
}
|
|
1156
1155
|
|
|
1157
|
-
export declare function InputGroup({ children }: InputGroupProps):
|
|
1156
|
+
export declare function InputGroup({ children }: InputGroupProps): JSX.Element;
|
|
1158
1157
|
|
|
1159
1158
|
export declare namespace InputGroup {
|
|
1160
1159
|
var displayName: Inputs;
|
|
@@ -1197,7 +1196,7 @@ declare interface InputGroupPropsV2 extends React.HTMLAttributes<HTMLDivElement>
|
|
|
1197
1196
|
children: React.ReactNode;
|
|
1198
1197
|
}
|
|
1199
1198
|
|
|
1200
|
-
export declare function InputGroupV2({ className, children, ...props }: InputGroupPropsV2):
|
|
1199
|
+
export declare function InputGroupV2({ className, children, ...props }: InputGroupPropsV2): JSX.Element;
|
|
1201
1200
|
|
|
1202
1201
|
export declare namespace InputGroupV2 {
|
|
1203
1202
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1229,7 +1228,7 @@ declare interface InputIconProps extends Omit<SVGProps, 'path'> {
|
|
|
1229
1228
|
className?: string;
|
|
1230
1229
|
}
|
|
1231
1230
|
|
|
1232
|
-
export declare function InputLabel({ children, customClasses, customStyles, required, htmlFor, restprops, infoText, infoTextTooltipStyles, isDisabled, }: InputLabelProps):
|
|
1231
|
+
export declare function InputLabel({ children, customClasses, customStyles, required, htmlFor, restprops, infoText, infoTextTooltipStyles, isDisabled, }: InputLabelProps): JSX.Element;
|
|
1233
1232
|
|
|
1234
1233
|
export declare namespace InputLabel {
|
|
1235
1234
|
var displayName: Inputs;
|
|
@@ -1275,7 +1274,7 @@ declare interface InputLabelProps {
|
|
|
1275
1274
|
isDisabled?: boolean;
|
|
1276
1275
|
}
|
|
1277
1276
|
|
|
1278
|
-
export declare function InputLeftAddon({ children, isDropdown, dropdownOptions, handleOptionClick, showDropdownSearch, }: InputDirectionAddonProps):
|
|
1277
|
+
export declare function InputLeftAddon({ children, isDropdown, dropdownOptions, handleOptionClick, showDropdownSearch, }: InputDirectionAddonProps): JSX.Element;
|
|
1279
1278
|
|
|
1280
1279
|
export declare namespace InputLeftAddon {
|
|
1281
1280
|
var displayName: Inputs;
|
|
@@ -1309,13 +1308,13 @@ export declare namespace InputLeftAddon {
|
|
|
1309
1308
|
* <InputV2 />
|
|
1310
1309
|
* </InputGroupV2>
|
|
1311
1310
|
*/
|
|
1312
|
-
export declare function InputLeftAdornment({ children, isLoading, disabled, isDropdown, options, hideSearch, onOptionSelect, onclick, }: InputAdornmentProps):
|
|
1311
|
+
export declare function InputLeftAdornment({ children, isLoading, disabled, isDropdown, options, hideSearch, onOptionSelect, onclick, }: InputAdornmentProps): JSX.Element;
|
|
1313
1312
|
|
|
1314
1313
|
export declare namespace InputLeftAdornment {
|
|
1315
1314
|
var displayName: INPUT_COMPONENTS;
|
|
1316
1315
|
}
|
|
1317
1316
|
|
|
1318
|
-
export declare function InputLeftElement({ children }: InputDirectionElementProps):
|
|
1317
|
+
export declare function InputLeftElement({ children }: InputDirectionElementProps): JSX.Element;
|
|
1319
1318
|
|
|
1320
1319
|
export declare namespace InputLeftElement {
|
|
1321
1320
|
var displayName: Inputs;
|
|
@@ -1341,7 +1340,7 @@ export declare namespace InputLeftElement {
|
|
|
1341
1340
|
* <InputV2 />
|
|
1342
1341
|
* </InputGroupV2>
|
|
1343
1342
|
*/
|
|
1344
|
-
export declare function InputLeftIcon({ icon, onClick, iconStyles, disabled, className, svgClassName, spanClassName, }: InputIconProps):
|
|
1343
|
+
export declare function InputLeftIcon({ icon, onClick, iconStyles, disabled, className, svgClassName, spanClassName, }: InputIconProps): JSX.Element;
|
|
1345
1344
|
|
|
1346
1345
|
export declare namespace InputLeftIcon {
|
|
1347
1346
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1365,7 +1364,7 @@ export declare namespace InputLeftIcon {
|
|
|
1365
1364
|
* @example
|
|
1366
1365
|
* <InputNumber onCountChange={(value) => ...)} count={5} min={0} max={10} />
|
|
1367
1366
|
*/
|
|
1368
|
-
export declare function InputNumber({ onCountChange, min, max, count, countContainerClassName, disabled, ...props }: InputNumberProps):
|
|
1367
|
+
export declare function InputNumber({ onCountChange, min, max, count, countContainerClassName, disabled, ...props }: InputNumberProps): JSX.Element;
|
|
1369
1368
|
|
|
1370
1369
|
export declare namespace InputNumber {
|
|
1371
1370
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1460,7 +1459,7 @@ declare interface InputProps {
|
|
|
1460
1459
|
};
|
|
1461
1460
|
}
|
|
1462
1461
|
|
|
1463
|
-
export declare function InputRightAddon({ children, isDropdown, dropdownOptions, handleOptionClick, showDropdownSearch, }: InputDirectionAddonProps):
|
|
1462
|
+
export declare function InputRightAddon({ children, isDropdown, dropdownOptions, handleOptionClick, showDropdownSearch, }: InputDirectionAddonProps): JSX.Element;
|
|
1464
1463
|
|
|
1465
1464
|
export declare namespace InputRightAddon {
|
|
1466
1465
|
var displayName: Inputs;
|
|
@@ -1494,13 +1493,13 @@ export declare namespace InputRightAddon {
|
|
|
1494
1493
|
* <InputV2 />
|
|
1495
1494
|
* </InputGroupV2>
|
|
1496
1495
|
*/
|
|
1497
|
-
export declare function InputRightAdornment({ children, isLoading, disabled, isDropdown, options, hideSearch, onOptionSelect, }: InputAdornmentProps):
|
|
1496
|
+
export declare function InputRightAdornment({ children, isLoading, disabled, isDropdown, options, hideSearch, onOptionSelect, }: InputAdornmentProps): JSX.Element;
|
|
1498
1497
|
|
|
1499
1498
|
export declare namespace InputRightAdornment {
|
|
1500
1499
|
var displayName: INPUT_COMPONENTS;
|
|
1501
1500
|
}
|
|
1502
1501
|
|
|
1503
|
-
export declare function InputRightElement({ children }: InputDirectionElementProps):
|
|
1502
|
+
export declare function InputRightElement({ children }: InputDirectionElementProps): JSX.Element;
|
|
1504
1503
|
|
|
1505
1504
|
export declare namespace InputRightElement {
|
|
1506
1505
|
var displayName: Inputs;
|
|
@@ -1526,7 +1525,7 @@ export declare namespace InputRightElement {
|
|
|
1526
1525
|
* <InputRightIcon icon={...} />
|
|
1527
1526
|
* </InputGroupV2>
|
|
1528
1527
|
*/
|
|
1529
|
-
export declare function InputRightIcon({ icon, onClick, iconStyles, disabled, className, svgClassName, spanClassName, }: InputIconProps):
|
|
1528
|
+
export declare function InputRightIcon({ icon, onClick, iconStyles, disabled, className, svgClassName, spanClassName, }: InputIconProps): JSX.Element;
|
|
1530
1529
|
|
|
1531
1530
|
export declare namespace InputRightIcon {
|
|
1532
1531
|
var displayName: INPUT_COMPONENTS;
|
|
@@ -1603,6 +1602,16 @@ declare type InternalTableFilters = {
|
|
|
1603
1602
|
type?: FILTER_TYPE;
|
|
1604
1603
|
};
|
|
1605
1604
|
|
|
1605
|
+
export declare interface InternalTableStore {
|
|
1606
|
+
filters: InternalTableFilters[];
|
|
1607
|
+
setDefaultFilters: (filters: InternalTableFilters[]) => void;
|
|
1608
|
+
addFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
1609
|
+
changeFiltersDrawer: (filterKey: string, value: string[], filterDispatch: any) => void;
|
|
1610
|
+
removeFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
1611
|
+
resetFilters: (filterKey: string, filterDispatch: any) => void;
|
|
1612
|
+
resetAllFilters: (filterReset?: any) => void;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1606
1615
|
export declare const isArrayOfString: (arr: unknown) => arr is string[];
|
|
1607
1616
|
|
|
1608
1617
|
export declare const isDatePassed: (date?: string) => boolean;
|
|
@@ -1683,13 +1692,13 @@ declare interface LabelPropsV2 extends React.LabelHTMLAttributes<HTMLLabelElemen
|
|
|
1683
1692
|
* Username
|
|
1684
1693
|
* </LabelV2>
|
|
1685
1694
|
*/
|
|
1686
|
-
export declare function LabelV2({ className, info, disabled, required, tooltipProps, children, ...props }: LabelPropsV2):
|
|
1695
|
+
export declare function LabelV2({ className, info, disabled, required, tooltipProps, children, ...props }: LabelPropsV2): JSX.Element;
|
|
1687
1696
|
|
|
1688
1697
|
export declare namespace LabelV2 {
|
|
1689
1698
|
var displayName: INPUT_COMPONENTS;
|
|
1690
1699
|
}
|
|
1691
1700
|
|
|
1692
|
-
export declare function LayoutTabs({ tabs, defaultValue, tabClassName, onValueChange }: LayoutTabsProps):
|
|
1701
|
+
export declare function LayoutTabs({ tabs, defaultValue, tabClassName, onValueChange }: LayoutTabsProps): JSX.Element;
|
|
1693
1702
|
|
|
1694
1703
|
declare interface LayoutTabsProps {
|
|
1695
1704
|
tabClassName?: string;
|
|
@@ -1713,7 +1722,7 @@ declare interface LayoutTabsProps {
|
|
|
1713
1722
|
|
|
1714
1723
|
export declare const lightenHexColor: (hex: string, percent?: number) => string;
|
|
1715
1724
|
|
|
1716
|
-
export declare function Loader({ containerStyle, loaderStyle, variant, size, }: LoaderProps):
|
|
1725
|
+
export declare function Loader({ containerStyle, loaderStyle, variant, size, }: LoaderProps): JSX.Element;
|
|
1717
1726
|
|
|
1718
1727
|
export declare enum LOADER_VARIANT {
|
|
1719
1728
|
RING = "ring",
|
|
@@ -1755,9 +1764,9 @@ export declare type MenuItem = {
|
|
|
1755
1764
|
*/
|
|
1756
1765
|
export declare const minutes: string[];
|
|
1757
1766
|
|
|
1758
|
-
export declare function Modal({ isOpen, onClose, children, size, showOverlay, machineProps, }: ModalProps):
|
|
1767
|
+
export declare function Modal({ isOpen, onClose, children, size, showOverlay, machineProps, }: ModalProps): JSX.Element;
|
|
1759
1768
|
|
|
1760
|
-
export declare function ModalBody({ children, api, customStyles }: ModalBodyProps):
|
|
1769
|
+
export declare function ModalBody({ children, api, customStyles }: ModalBodyProps): JSX.Element;
|
|
1761
1770
|
|
|
1762
1771
|
declare interface ModalBodyProps {
|
|
1763
1772
|
/**
|
|
@@ -1775,7 +1784,7 @@ declare interface ModalBodyProps {
|
|
|
1775
1784
|
customStyles?: React.CSSProperties;
|
|
1776
1785
|
}
|
|
1777
1786
|
|
|
1778
|
-
export declare function ModalContent({ children, api, size }: ModalContentProps):
|
|
1787
|
+
export declare function ModalContent({ children, api, size }: ModalContentProps): JSX.Element;
|
|
1779
1788
|
|
|
1780
1789
|
declare interface ModalContentProps {
|
|
1781
1790
|
/**
|
|
@@ -1793,7 +1802,7 @@ declare interface ModalContentProps {
|
|
|
1793
1802
|
size?: 'sm' | 'md' | 'fullScreen';
|
|
1794
1803
|
}
|
|
1795
1804
|
|
|
1796
|
-
export declare function ModalFooter({ children, api, buttons, showBorder }: ModalFooterProps):
|
|
1805
|
+
export declare function ModalFooter({ children, api, buttons, showBorder }: ModalFooterProps): JSX.Element;
|
|
1797
1806
|
|
|
1798
1807
|
declare interface ModalFooterProps {
|
|
1799
1808
|
/**
|
|
@@ -1817,7 +1826,7 @@ declare interface ModalFooterProps {
|
|
|
1817
1826
|
showBorder?: boolean;
|
|
1818
1827
|
}
|
|
1819
1828
|
|
|
1820
|
-
export declare function ModalHeader({ children, api, showCrossBtn, showBorder, }: ModalHeaderProps):
|
|
1829
|
+
export declare function ModalHeader({ children, api, showCrossBtn, showBorder, }: ModalHeaderProps): JSX.Element;
|
|
1821
1830
|
|
|
1822
1831
|
declare interface ModalHeaderProps {
|
|
1823
1832
|
/**
|
|
@@ -1839,7 +1848,7 @@ declare interface ModalHeaderProps {
|
|
|
1839
1848
|
showBorder?: boolean;
|
|
1840
1849
|
}
|
|
1841
1850
|
|
|
1842
|
-
export declare function ModalOverlay({ api }: ModalOverlayProps):
|
|
1851
|
+
export declare function ModalOverlay({ api }: ModalOverlayProps): JSX.Element;
|
|
1843
1852
|
|
|
1844
1853
|
declare interface ModalOverlayProps {
|
|
1845
1854
|
/**
|
|
@@ -1882,7 +1891,7 @@ declare type ModalProps = {
|
|
|
1882
1891
|
* @param {ModalV2Props} props - The props for the ModalV2 component.
|
|
1883
1892
|
* @returns {JSX.Element} The rendered modal component.
|
|
1884
1893
|
*/
|
|
1885
|
-
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, }: ModalV2Props):
|
|
1894
|
+
export declare function ModalV2({ isOpen, title, subTitle, trigger, children, footerButtons, showBackdrop, onClose, customModalClasses, }: ModalV2Props): JSX.Element;
|
|
1886
1895
|
|
|
1887
1896
|
/**
|
|
1888
1897
|
* Props for the ModalV2 component.
|
|
@@ -1984,7 +1993,7 @@ export declare enum PERIOD {
|
|
|
1984
1993
|
PM = "PM"
|
|
1985
1994
|
}
|
|
1986
1995
|
|
|
1987
|
-
export declare function Pill({ status, children }: PillProps):
|
|
1996
|
+
export declare function Pill({ status, children }: PillProps): JSX.Element;
|
|
1988
1997
|
|
|
1989
1998
|
export declare enum PILL_STATUS {
|
|
1990
1999
|
DEFAULT = "default",
|
|
@@ -2002,9 +2011,9 @@ declare interface PillProps {
|
|
|
2002
2011
|
|
|
2003
2012
|
export declare const pluralize: (count: number, singular: string, plural: string) => string;
|
|
2004
2013
|
|
|
2005
|
-
export declare function Popover({ children, placement, popoverProps, closeOnScroll, containerRef, }: PopoverProps):
|
|
2014
|
+
export declare function Popover({ children, placement, popoverProps, closeOnScroll, containerRef, }: PopoverProps): JSX.Element;
|
|
2006
2015
|
|
|
2007
|
-
export declare function PopoverCloseButton({ children, api, styles, className }: PopoverCloseButtonProps):
|
|
2016
|
+
export declare function PopoverCloseButton({ children, api, styles, className }: PopoverCloseButtonProps): JSX.Element;
|
|
2008
2017
|
|
|
2009
2018
|
declare interface PopoverCloseButtonProps {
|
|
2010
2019
|
/**
|
|
@@ -2025,7 +2034,7 @@ declare interface PopoverCloseButtonProps {
|
|
|
2025
2034
|
className?: string;
|
|
2026
2035
|
}
|
|
2027
2036
|
|
|
2028
|
-
export declare function PopoverContent({ children, api, bg, styles, className, positionerStyles, showArrow, }: PopoverContentProps):
|
|
2037
|
+
export declare function PopoverContent({ children, api, bg, styles, className, positionerStyles, showArrow, }: PopoverContentProps): JSX.Element;
|
|
2029
2038
|
|
|
2030
2039
|
declare interface PopoverContentProps {
|
|
2031
2040
|
/**
|
|
@@ -2055,7 +2064,7 @@ declare interface PopoverContentProps {
|
|
|
2055
2064
|
showArrow?: boolean;
|
|
2056
2065
|
}
|
|
2057
2066
|
|
|
2058
|
-
export declare function PopoverDescription({ children, api, styles, className }: PopoverDescriptionProps):
|
|
2067
|
+
export declare function PopoverDescription({ children, api, styles, className }: PopoverDescriptionProps): JSX.Element;
|
|
2059
2068
|
|
|
2060
2069
|
declare interface PopoverDescriptionProps {
|
|
2061
2070
|
/**
|
|
@@ -2099,7 +2108,7 @@ declare interface PopoverProps {
|
|
|
2099
2108
|
containerRef?: React_2.RefObject<HTMLElement>;
|
|
2100
2109
|
}
|
|
2101
2110
|
|
|
2102
|
-
export declare function PopoverTitle({ children, api, styles, className }: PopoverTitleProps):
|
|
2111
|
+
export declare function PopoverTitle({ children, api, styles, className }: PopoverTitleProps): JSX.Element;
|
|
2103
2112
|
|
|
2104
2113
|
declare interface PopoverTitleProps {
|
|
2105
2114
|
/**
|
|
@@ -2120,7 +2129,7 @@ declare interface PopoverTitleProps {
|
|
|
2120
2129
|
className?: string;
|
|
2121
2130
|
}
|
|
2122
2131
|
|
|
2123
|
-
export declare function PopoverTrigger({ children, api, openOnHover, styles, className, }: PopoverTriggerProps):
|
|
2132
|
+
export declare function PopoverTrigger({ children, api, openOnHover, styles, className, }: PopoverTriggerProps): JSX.Element;
|
|
2124
2133
|
|
|
2125
2134
|
declare interface PopoverTriggerProps {
|
|
2126
2135
|
/**
|
|
@@ -2147,7 +2156,7 @@ declare interface PopoverTriggerProps {
|
|
|
2147
2156
|
className?: string;
|
|
2148
2157
|
}
|
|
2149
2158
|
|
|
2150
|
-
export declare function Progress({ steps, onCancelClick, onFinalStepClick, stepToShowSkipBtn, lastStepFooterContinueBtnText, showSkipBtn, showHeaderBtns, showFooter, lastStepHeaderContinueBtnText, allowNavigationOnStepClick, skipBtnText, jumpToStep, onSkipClick, }: ProgressProps):
|
|
2159
|
+
export declare function Progress({ steps, onCancelClick, onFinalStepClick, stepToShowSkipBtn, lastStepFooterContinueBtnText, showSkipBtn, showHeaderBtns, showFooter, lastStepHeaderContinueBtnText, allowNavigationOnStepClick, skipBtnText, jumpToStep, onSkipClick, }: ProgressProps): JSX.Element;
|
|
2151
2160
|
|
|
2152
2161
|
declare type ProgressProps = {
|
|
2153
2162
|
/**
|
|
@@ -2210,7 +2219,7 @@ declare type ProgressProps = {
|
|
|
2210
2219
|
onSkipClick?: () => void;
|
|
2211
2220
|
};
|
|
2212
2221
|
|
|
2213
|
-
export declare function RadioGroup({ items, radioHeading, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, showSkeleton, handleClickManually, }: RadioGroupProps):
|
|
2222
|
+
export declare function RadioGroup({ items, radioHeading, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, showSkeleton, handleClickManually, }: RadioGroupProps): JSX.Element;
|
|
2214
2223
|
|
|
2215
2224
|
declare interface RadioGroupProps {
|
|
2216
2225
|
/**
|
|
@@ -2256,7 +2265,7 @@ declare interface RadioGroupProps {
|
|
|
2256
2265
|
handleClickManually?: boolean;
|
|
2257
2266
|
}
|
|
2258
2267
|
|
|
2259
|
-
export declare function RadioGroupV2({ items, label, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, isLoading, handleClickManually, }: RadioGroupV2Props):
|
|
2268
|
+
export declare function RadioGroupV2({ items, label, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, isLoading, handleClickManually, }: RadioGroupV2Props): JSX.Element;
|
|
2260
2269
|
|
|
2261
2270
|
declare interface RadioGroupV2Props {
|
|
2262
2271
|
/**
|
|
@@ -2302,7 +2311,7 @@ declare interface RadioGroupV2Props {
|
|
|
2302
2311
|
handleClickManually?: boolean;
|
|
2303
2312
|
}
|
|
2304
2313
|
|
|
2305
|
-
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps):
|
|
2314
|
+
export declare function Search({ id, search, setSearch, placeholder, clearIconClearFn, customStyles, disabled, }: SearchProps): JSX.Element;
|
|
2306
2315
|
|
|
2307
2316
|
export declare interface SearchProps {
|
|
2308
2317
|
id: string;
|
|
@@ -2334,7 +2343,7 @@ export declare interface SearchProps {
|
|
|
2334
2343
|
* placeholder="Search..."
|
|
2335
2344
|
* />
|
|
2336
2345
|
*/
|
|
2337
|
-
export declare function SearchV2({ search, setSearch, inputGroupProps, ...props }: SearchV2Props):
|
|
2346
|
+
export declare function SearchV2({ search, setSearch, inputGroupProps, ...props }: SearchV2Props): JSX.Element;
|
|
2338
2347
|
|
|
2339
2348
|
declare interface SearchV2Props extends InputV2Props {
|
|
2340
2349
|
search?: string;
|
|
@@ -2348,7 +2357,7 @@ declare interface SearchV2Props extends InputV2Props {
|
|
|
2348
2357
|
*/
|
|
2349
2358
|
export declare const seconds: string[];
|
|
2350
2359
|
|
|
2351
|
-
export declare function SegmentedControl({ items, defaultValue, handleOnChange }: SegmentedControlProps):
|
|
2360
|
+
export declare function SegmentedControl({ items, defaultValue, handleOnChange }: SegmentedControlProps): JSX.Element;
|
|
2352
2361
|
|
|
2353
2362
|
declare interface SegmentedControlProps {
|
|
2354
2363
|
/**
|
|
@@ -2370,7 +2379,7 @@ declare interface SegmentedControlProps {
|
|
|
2370
2379
|
handleOnChange?: (value: string | null) => void;
|
|
2371
2380
|
}
|
|
2372
2381
|
|
|
2373
|
-
export declare function Select({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, customErrorStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, customValue, CustomDropdownIndicator, }: SelectProps):
|
|
2382
|
+
export declare function Select({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, customErrorStyles, menuPlacement, errorMsg, extraprops, isDisabled, isSearchable, isMulti, isClearable, customValue, CustomDropdownIndicator, }: SelectProps): JSX.Element;
|
|
2374
2383
|
|
|
2375
2384
|
export declare enum SELECT_VARIANT {
|
|
2376
2385
|
DEFAULT = "default",
|
|
@@ -2391,7 +2400,7 @@ declare type SelectActionMeta_2 = ActionMeta<{
|
|
|
2391
2400
|
value: string;
|
|
2392
2401
|
}>;
|
|
2393
2402
|
|
|
2394
|
-
export declare function SelectAsync({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraProps, isDisabled, isSearchable, isMulti, isClearable, customValue, }: SelectAsyncProps):
|
|
2403
|
+
export declare function SelectAsync({ options, onChange, name, id, className, placeholder, selectStyles, defaultValue, formatGroupLabel, customContainerStyles, menuPlacement, errorMsg, extraProps, isDisabled, isSearchable, isMulti, isClearable, customValue, }: SelectAsyncProps): JSX.Element;
|
|
2395
2404
|
|
|
2396
2405
|
declare interface SelectAsyncProps {
|
|
2397
2406
|
/**
|
|
@@ -2479,7 +2488,7 @@ export declare interface SelectedTime {
|
|
|
2479
2488
|
|
|
2480
2489
|
export declare type SelectMultiValue = MultiValue<Option_2>;
|
|
2481
2490
|
|
|
2482
|
-
export declare function Selectors({ selectors }: SelectorsProps):
|
|
2491
|
+
export declare function Selectors({ selectors }: SelectorsProps): JSX.Element;
|
|
2483
2492
|
|
|
2484
2493
|
export declare interface SelectorsProps {
|
|
2485
2494
|
selectors: {
|
|
@@ -2488,7 +2497,7 @@ export declare interface SelectorsProps {
|
|
|
2488
2497
|
}[];
|
|
2489
2498
|
}
|
|
2490
2499
|
|
|
2491
|
-
export declare function SelectorsV2({ options, onChange, value }: SelectorsV2Props):
|
|
2500
|
+
export declare function SelectorsV2({ options, onChange, value }: SelectorsV2Props): JSX.Element;
|
|
2492
2501
|
|
|
2493
2502
|
export declare interface SelectorsV2Props {
|
|
2494
2503
|
options: {
|
|
@@ -2596,7 +2605,7 @@ export declare type SelectSingleValue = SingleValue<Option_2>;
|
|
|
2596
2605
|
* - `customStyles` (StylesConfig<any>): custom styles for react select. it will override default styles
|
|
2597
2606
|
* @returns The SelectV2 component.
|
|
2598
2607
|
*/
|
|
2599
|
-
export declare function SelectV2(props: SelectV2Props):
|
|
2608
|
+
export declare function SelectV2(props: SelectV2Props): JSX.Element;
|
|
2600
2609
|
|
|
2601
2610
|
export declare interface SelectV2Props extends Props<any, boolean> {
|
|
2602
2611
|
options: Option_2[];
|
|
@@ -2612,11 +2621,11 @@ export declare type SelectValue = SelectMultiValue | SelectSingleValue;
|
|
|
2612
2621
|
|
|
2613
2622
|
export declare const SINGLE_VALUE_FILTER_TYPES: FILTER_TYPE[];
|
|
2614
2623
|
|
|
2615
|
-
export declare function Skeleton({ className, ...props }: SkeletonProps):
|
|
2624
|
+
export declare function Skeleton({ className, ...props }: SkeletonProps): JSX.Element;
|
|
2616
2625
|
|
|
2617
2626
|
declare type SkeletonProps = React.HTMLAttributes<HTMLDivElement>;
|
|
2618
2627
|
|
|
2619
|
-
export declare function Status({ status, children }: StatusProps):
|
|
2628
|
+
export declare function Status({ status, children }: StatusProps): JSX.Element;
|
|
2620
2629
|
|
|
2621
2630
|
export declare enum STATUS_MAP {
|
|
2622
2631
|
SUCCESS = "success",
|
|
@@ -2668,7 +2677,7 @@ declare interface StatusProps {
|
|
|
2668
2677
|
children: React_2.ReactNode;
|
|
2669
2678
|
}
|
|
2670
2679
|
|
|
2671
|
-
export declare function SVG({ path, width, height, spanClassName, svgClassName, customSpanStyles, customSvgStyles, handleClick, }: SVGProps):
|
|
2680
|
+
export declare function SVG({ path, width, height, spanClassName, svgClassName, customSpanStyles, customSvgStyles, handleClick, }: SVGProps): JSX.Element;
|
|
2672
2681
|
|
|
2673
2682
|
export declare type SVGProps = {
|
|
2674
2683
|
path: string;
|
|
@@ -2681,7 +2690,7 @@ export declare type SVGProps = {
|
|
|
2681
2690
|
handleClick?: (e: any) => void;
|
|
2682
2691
|
};
|
|
2683
2692
|
|
|
2684
|
-
export declare function Switch({ isToggled, handleToggleChange, name, switchClassName, subText, size, disabled, title, }: SwitchProps):
|
|
2693
|
+
export declare function Switch({ isToggled, handleToggleChange, name, switchClassName, subText, size, disabled, title, }: SwitchProps): JSX.Element;
|
|
2685
2694
|
|
|
2686
2695
|
declare type SwitchProps = {
|
|
2687
2696
|
isToggled: boolean | any;
|
|
@@ -2712,7 +2721,7 @@ declare type SwitchProps = {
|
|
|
2712
2721
|
*
|
|
2713
2722
|
* @returns {JSX.Element} The rendered switch component with optional label, error message, and info tooltip.
|
|
2714
2723
|
*/
|
|
2715
|
-
export declare function SwitchV2({ children, errorMsg, info, tooltipProps, ...props }: SwitchV2Props):
|
|
2724
|
+
export declare function SwitchV2({ children, errorMsg, info, tooltipProps, ...props }: SwitchV2Props): JSX.Element;
|
|
2716
2725
|
|
|
2717
2726
|
declare interface SwitchV2Props extends Omit<zagSwitch.Props, 'id'> {
|
|
2718
2727
|
children?: React_2.ReactNode;
|
|
@@ -2723,7 +2732,7 @@ declare interface SwitchV2Props extends Omit<zagSwitch.Props, 'id'> {
|
|
|
2723
2732
|
|
|
2724
2733
|
export declare const Tab: default_2.FC<TabProps>;
|
|
2725
2734
|
|
|
2726
|
-
export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, customActionItems, visibilityConfig, pinningConfig, }: TableProps):
|
|
2735
|
+
export declare function Table({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, tableStyleConfig, customColumnConfig, exportConfig, customActionItems, visibilityConfig, pinningConfig, }: TableProps): JSX.Element;
|
|
2727
2736
|
|
|
2728
2737
|
export declare enum TABLE_ACTION_TYPES {
|
|
2729
2738
|
SEARCH = "search",
|
|
@@ -2749,7 +2758,7 @@ declare type TableCustomColumns = {
|
|
|
2749
2758
|
table_name: string;
|
|
2750
2759
|
};
|
|
2751
2760
|
|
|
2752
|
-
export declare function TableDeviceCell({ device, onClick, customStyle }: TableDeviceCellProps):
|
|
2761
|
+
export declare function TableDeviceCell({ device, onClick, customStyle }: TableDeviceCellProps): JSX.Element;
|
|
2753
2762
|
|
|
2754
2763
|
declare interface TableDeviceCellProps {
|
|
2755
2764
|
device: any;
|
|
@@ -2785,7 +2794,7 @@ export declare type TableNameValueString = typeof TABLE_NAMES extends {
|
|
|
2785
2794
|
value: string;
|
|
2786
2795
|
} ? V['value'] : never : never : never : never;
|
|
2787
2796
|
|
|
2788
|
-
export declare function TablePagination({ paginationConfig }: TablePaginationProps):
|
|
2797
|
+
export declare function TablePagination({ paginationConfig }: TablePaginationProps): JSX.Element | null;
|
|
2789
2798
|
|
|
2790
2799
|
declare interface TablePaginationProps {
|
|
2791
2800
|
paginationConfig: TableProps['paginationConfig'];
|
|
@@ -2902,7 +2911,7 @@ export declare interface TableProps {
|
|
|
2902
2911
|
handleExport: any;
|
|
2903
2912
|
isLegacy?: boolean;
|
|
2904
2913
|
};
|
|
2905
|
-
customActionItems?:
|
|
2914
|
+
customActionItems?: React_2.ReactElement[];
|
|
2906
2915
|
visibilityConfig?: {
|
|
2907
2916
|
columnVisibility: VisibilityState;
|
|
2908
2917
|
setColumnVisibility: React_2.Dispatch<React_2.SetStateAction<VisibilityState>>;
|
|
@@ -2913,17 +2922,7 @@ export declare interface TableProps {
|
|
|
2913
2922
|
};
|
|
2914
2923
|
}
|
|
2915
2924
|
|
|
2916
|
-
export declare interface TableStore {
|
|
2917
|
-
filters: InternalTableFilters[];
|
|
2918
|
-
setDefaultFilters: (filters: InternalTableFilters[]) => void;
|
|
2919
|
-
addFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
2920
|
-
changeFiltersDrawer: (filterKey: string, value: string[], filterDispatch: any) => void;
|
|
2921
|
-
removeFilters: (filterKey: string, value: string, filterDispatch: any) => void;
|
|
2922
|
-
resetFilters: (filterKey: string, filterDispatch: any) => void;
|
|
2923
|
-
resetAllFilters: (filterReset?: any) => void;
|
|
2924
|
-
}
|
|
2925
|
-
|
|
2926
|
-
declare interface TableStore_2<TQuery> {
|
|
2925
|
+
export declare interface TableStore<TQuery> {
|
|
2927
2926
|
query: TQuery;
|
|
2928
2927
|
dispatch: (action: {
|
|
2929
2928
|
type: TABLE_ACTION_TYPES;
|
|
@@ -2947,7 +2946,7 @@ declare interface TableTagsCellProps {
|
|
|
2947
2946
|
customStyles?: React_2.CSSProperties;
|
|
2948
2947
|
}
|
|
2949
2948
|
|
|
2950
|
-
export declare function TableUserCell({ user, onClick, showCopy }: TableUserCellProps):
|
|
2949
|
+
export declare function TableUserCell({ user, onClick, showCopy, }: TableUserCellProps): React.ReactElement | null;
|
|
2951
2950
|
|
|
2952
2951
|
declare interface TableUserCellProps {
|
|
2953
2952
|
user: any;
|
|
@@ -2965,18 +2964,18 @@ export declare interface TabProps {
|
|
|
2965
2964
|
onClick: () => void;
|
|
2966
2965
|
}
|
|
2967
2966
|
|
|
2968
|
-
export declare const Tabs:
|
|
2967
|
+
export declare const Tabs: React_2.FC<TabsProps>;
|
|
2969
2968
|
|
|
2970
2969
|
declare interface TabsProps {
|
|
2971
2970
|
id: string;
|
|
2972
2971
|
activeKey: string;
|
|
2973
2972
|
onSelect: (key: string) => void;
|
|
2974
2973
|
customClassName?: string;
|
|
2975
|
-
customStyles?:
|
|
2976
|
-
children: ReactElement[];
|
|
2974
|
+
customStyles?: React_2.CSSProperties;
|
|
2975
|
+
children: React_2.ReactElement<TabProps>[];
|
|
2977
2976
|
}
|
|
2978
2977
|
|
|
2979
|
-
export declare function Tag({ status, text, icon, customStyles }: TagProps):
|
|
2978
|
+
export declare function Tag({ status, text, icon, customStyles }: TagProps): JSX.Element;
|
|
2980
2979
|
|
|
2981
2980
|
declare interface TagProps {
|
|
2982
2981
|
text: string;
|
|
@@ -2985,7 +2984,7 @@ declare interface TagProps {
|
|
|
2985
2984
|
customStyles?: React.CSSProperties;
|
|
2986
2985
|
}
|
|
2987
2986
|
|
|
2988
|
-
export declare function TaskCards({ headers, data, isLoading, isError, emptyText, paginationConfig, onClicks, }: TaskCardsProps):
|
|
2987
|
+
export declare function TaskCards({ headers, data, isLoading, isError, emptyText, paginationConfig, onClicks, }: TaskCardsProps): JSX.Element;
|
|
2989
2988
|
|
|
2990
2989
|
export declare interface TaskCardsProps {
|
|
2991
2990
|
headers: string[];
|
|
@@ -3007,7 +3006,7 @@ export declare interface TaskCardsProps {
|
|
|
3007
3006
|
onClicks?: ((data: ITask) => void)[][];
|
|
3008
3007
|
}
|
|
3009
3008
|
|
|
3010
|
-
declare type TBaseQuery = {
|
|
3009
|
+
export declare type TBaseQuery = {
|
|
3011
3010
|
page: number;
|
|
3012
3011
|
limit: number;
|
|
3013
3012
|
search: string;
|
|
@@ -3087,7 +3086,7 @@ export declare enum TIME_PICKER_TYPE {
|
|
|
3087
3086
|
* @param {TimePickerProps} props - Props for TimePicker component
|
|
3088
3087
|
* @returns {JSX.Element} TimePicker component
|
|
3089
3088
|
*/
|
|
3090
|
-
export declare function TimePicker({ timestamp, onTimeChange, format, enableSeconds, className, containerClassName, ...props }: TimePickerProps):
|
|
3089
|
+
export declare function TimePicker({ timestamp, onTimeChange, format, enableSeconds, className, containerClassName, ...props }: TimePickerProps): JSX.Element;
|
|
3091
3090
|
|
|
3092
3091
|
export declare namespace TimePicker {
|
|
3093
3092
|
var displayName: string;
|
|
@@ -3108,7 +3107,7 @@ declare interface TimePickerProps extends InputV2Props {
|
|
|
3108
3107
|
enableSeconds?: boolean;
|
|
3109
3108
|
}
|
|
3110
3109
|
|
|
3111
|
-
export declare function ToastCloseButton({ closeToast }: ToastCloseButtonProps):
|
|
3110
|
+
export declare function ToastCloseButton({ closeToast }: ToastCloseButtonProps): JSX.Element;
|
|
3112
3111
|
|
|
3113
3112
|
declare type ToastCloseButtonProps = {
|
|
3114
3113
|
closeToast: (e: default_2.MouseEvent<HTMLElement, MouseEvent>) => void;
|
|
@@ -3130,7 +3129,7 @@ declare type ToastTypeArgs = {
|
|
|
3130
3129
|
|
|
3131
3130
|
export declare const toastWarning: ToastType;
|
|
3132
3131
|
|
|
3133
|
-
export declare function Tooltip({ children, openDelay, closeDelay, placement, }: TooltipProps):
|
|
3132
|
+
export declare function Tooltip({ children, openDelay, closeDelay, placement, }: TooltipProps): JSX.Element;
|
|
3134
3133
|
|
|
3135
3134
|
export declare namespace Tooltip {
|
|
3136
3135
|
var Trigger: typeof TooltipTrigger;
|
|
@@ -3143,7 +3142,7 @@ export declare const TOOLTIP_DEFAULTS: {
|
|
|
3143
3142
|
portalId: string;
|
|
3144
3143
|
};
|
|
3145
3144
|
|
|
3146
|
-
declare function TooltipContent({ children, api, bg, positionerStyles, containerStyles, }: TooltipContentProps):
|
|
3145
|
+
declare function TooltipContent({ children, api, bg, positionerStyles, containerStyles, }: TooltipContentProps): JSX.Element;
|
|
3147
3146
|
|
|
3148
3147
|
/**
|
|
3149
3148
|
* @author Pratik Awaik <pratik@hybr1d.io>
|
|
@@ -3187,7 +3186,7 @@ declare interface TooltipProps {
|
|
|
3187
3186
|
placement?: Placement;
|
|
3188
3187
|
}
|
|
3189
3188
|
|
|
3190
|
-
declare function TooltipTrigger({ children, api, customStyles }: TooltipTriggerProps):
|
|
3189
|
+
declare function TooltipTrigger({ children, api, customStyles }: TooltipTriggerProps): JSX.Element;
|
|
3191
3190
|
|
|
3192
3191
|
declare interface TooltipTriggerProps {
|
|
3193
3192
|
/**
|
|
@@ -3229,7 +3228,7 @@ declare interface TooltipTriggerProps {
|
|
|
3229
3228
|
* portalId="tooltip-portal"
|
|
3230
3229
|
* />
|
|
3231
3230
|
*/
|
|
3232
|
-
export declare function TooltipV2({ placement, trigger, content, variant, customStyle, className, opacity, portalId, portalClass, contentMaxLength, }: TooltipV2Props):
|
|
3231
|
+
export declare function TooltipV2({ placement, trigger, content, variant, customStyle, className, opacity, portalId, portalClass, contentMaxLength, }: TooltipV2Props): JSX.Element;
|
|
3233
3232
|
|
|
3234
3233
|
declare interface TooltipV2Props {
|
|
3235
3234
|
placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
@@ -3246,7 +3245,7 @@ declare interface TooltipV2Props {
|
|
|
3246
3245
|
|
|
3247
3246
|
export declare const truncate: (text: string, max?: number) => string;
|
|
3248
3247
|
|
|
3249
|
-
export declare function Upload({ getUploadDoc, setIsUploading, customComponent, fileUploadLimit, type, isMultiple, uploadFileLimit, singleFileClassName, fileContainerClassName, uploadBtnClassName, alignContent, showUploadIcon, additionalNode, disabled, addDocumentText, customUrl, beforeUploadHandler, extraSubtitleText, inventoryId, softwareId, preLoadedFiles, showFileList, acceptedFileTypes, error, addDocumentSubtitle, handleImageUpload, }: UploadProps):
|
|
3248
|
+
export declare function Upload({ getUploadDoc, setIsUploading, customComponent, fileUploadLimit, type, isMultiple, uploadFileLimit, singleFileClassName, fileContainerClassName, uploadBtnClassName, alignContent, showUploadIcon, additionalNode, disabled, addDocumentText, customUrl, beforeUploadHandler, extraSubtitleText, inventoryId, softwareId, preLoadedFiles, showFileList, acceptedFileTypes, error, addDocumentSubtitle, handleImageUpload, }: UploadProps): JSX.Element;
|
|
3250
3249
|
|
|
3251
3250
|
export declare enum UPLOAD_ALIGN_BTN_CONTENT {
|
|
3252
3251
|
LEFT = "flex-start",
|
|
@@ -3348,7 +3347,7 @@ export declare enum USER_CHIP_STATUS {
|
|
|
3348
3347
|
WHITE = "white"
|
|
3349
3348
|
}
|
|
3350
3349
|
|
|
3351
|
-
export declare function UserChip({ status, selected, username, profileImgUrl, }: UserChipProps):
|
|
3350
|
+
export declare function UserChip({ status, selected, username, profileImgUrl, }: UserChipProps): JSX.Element;
|
|
3352
3351
|
|
|
3353
3352
|
declare interface UserChipProps {
|
|
3354
3353
|
status?: USER_CHIP_STATUS;
|
|
@@ -3357,7 +3356,7 @@ declare interface UserChipProps {
|
|
|
3357
3356
|
profileImgUrl?: string;
|
|
3358
3357
|
}
|
|
3359
3358
|
|
|
3360
|
-
export declare function UsersChip({ status, users }: UsersChipProps):
|
|
3359
|
+
export declare function UsersChip({ status, users }: UsersChipProps): JSX.Element;
|
|
3361
3360
|
|
|
3362
3361
|
declare interface UsersChipProps {
|
|
3363
3362
|
status?: USER_CHIP_STATUS;
|
|
@@ -3374,14 +3373,14 @@ export declare interface UsersChipUser {
|
|
|
3374
3373
|
user_position?: string | null;
|
|
3375
3374
|
}
|
|
3376
3375
|
|
|
3377
|
-
export declare const useTableStore: UseBoundStore<Omit<StoreApi<
|
|
3378
|
-
setState(partial:
|
|
3376
|
+
export declare const useTableStore: UseBoundStore<Omit<StoreApi<InternalTableStore>, "setState"> & {
|
|
3377
|
+
setState(partial: InternalTableStore | Partial<InternalTableStore> | ((state: InternalTableStore) => InternalTableStore | Partial<InternalTableStore>), replace?: false | undefined, action?: (string | {
|
|
3379
3378
|
[x: string]: unknown;
|
|
3380
3379
|
[x: number]: unknown;
|
|
3381
3380
|
[x: symbol]: unknown;
|
|
3382
3381
|
type: string;
|
|
3383
3382
|
}) | undefined): void;
|
|
3384
|
-
setState(state:
|
|
3383
|
+
setState(state: InternalTableStore | ((state: InternalTableStore) => InternalTableStore), replace: true, action?: (string | {
|
|
3385
3384
|
[x: string]: unknown;
|
|
3386
3385
|
[x: number]: unknown;
|
|
3387
3386
|
[x: symbol]: unknown;
|