pixel-react-excel-sheet 1.0.38 → 1.0.39
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/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +3 -0
- package/lib/components/Charts/LineChart/types.d.ts +1 -0
- package/lib/components/ChooseFile/ChooseFile.d.ts +3 -2
- package/lib/components/Comment/Comments.d.ts +1 -1
- package/lib/components/Comment/type.d.ts +3 -3
- package/lib/components/ConditionalDropdown/types.d.ts +4 -0
- package/lib/components/DatePicker/types.d.ts +2 -0
- package/lib/components/Drawer/Types.d.ts +3 -0
- package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +11 -10
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +10 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.d.ts +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +9 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +0 -3
- package/lib/components/Excel/Types.d.ts +14 -10
- package/lib/components/FF_Captcha/Recaptcha.d.ts +2 -1
- package/lib/components/FF_Captcha/types.d.ts +11 -2
- package/lib/components/Input/types.d.ts +4 -0
- package/lib/components/LabelEditTextField/types.d.ts +2 -0
- package/lib/components/MobileSkin/MobileSkin.d.ts +5 -0
- package/lib/components/MobileSkin/MobileSkinInterface.d.ts +13 -0
- package/lib/components/MobileSkin/index.d.ts +1 -0
- package/lib/components/MobileSkin/types.d.ts +32 -0
- package/lib/components/Search/Search.d.ts +1 -1
- package/lib/components/Search/types.d.ts +1 -0
- package/lib/components/Select/components/types.d.ts +3 -2
- package/lib/components/Select/types.d.ts +10 -2
- package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
- package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +1 -0
- package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
- package/lib/components/TableTree/types.d.ts +4 -4
- package/lib/components/Tabs/types.d.ts +1 -0
- package/lib/index.d.ts +96 -40
- package/lib/index.esm.js +4812 -1669
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +4825 -1669
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/formData/ConvertFormDataToObject.d.ts +1 -0
- package/lib/utils/keyBoardActionUtil/UseKeyboardActions.d.ts +2 -0
- package/lib/utils/keyBoardActionUtil/types.d.ts +4 -0
- package/lib/validations/regex.d.ts +11 -1
- package/package.json +6 -1
- package/src/assets/Themes/BaseTheme.scss +3 -1
- package/src/assets/Themes/DarkTheme.scss +10 -1
- package/src/assets/icons/clear_cache.svg +5 -0
- package/src/assets/icons/external_user.svg +13 -0
- package/src/assets/icons/group_user.svg +12 -0
- package/src/assets/icons/single_user.svg +12 -0
- package/src/assets/icons/test_freshers_logo.svg +8 -0
- package/src/assets/icons/unfollow_icon.svg +3 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +7 -45
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +5 -0
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +76 -64
- package/src/components/Button/Button.scss +0 -1
- package/src/components/Button/Button.tsx +3 -4
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +38 -6
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +10 -4
- package/src/components/Charts/DashboardDonutChart/types.ts +4 -1
- package/src/components/Charts/LineChart/LineChart.stories.tsx +27 -88
- package/src/components/Charts/LineChart/LineChart.tsx +138 -42
- package/src/components/Charts/LineChart/types.ts +1 -0
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +3 -3
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +47 -43
- package/src/components/ChooseFile/ChooseFile.tsx +3 -4
- package/src/components/Comment/Comments.scss +0 -1
- package/src/components/Comment/Comments.stories.tsx +22 -4
- package/src/components/Comment/Comments.tsx +20 -1
- package/src/components/Comment/type.ts +3 -3
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +2 -1
- package/src/components/ConditionalDropdown/types.ts +4 -0
- package/src/components/DatePicker/DatePicker.scss +307 -2
- package/src/components/DatePicker/DatePicker.tsx +27 -19
- package/src/components/DatePicker/types.ts +4 -0
- package/src/components/Drawer/Drawer.stories.tsx +1 -1
- package/src/components/Drawer/Types.ts +4 -2
- package/src/components/Editor/Editor.scss +23 -18
- package/src/components/Editor/Editor.tsx +2 -2
- package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.tsx +6 -3
- package/src/components/Excel/ExcelFile/ExcelFile.scss +45 -41
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +68 -64
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +29 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +0 -36
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.tsx +1 -40
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +3 -3
- package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +12 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +8 -74
- package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +0 -5
- package/src/components/Excel/ExcelFile.stories.tsx +112 -125
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +10 -11
- package/src/components/Excel/Types.ts +17 -15
- package/src/components/FF_Captcha/Recaptcha.tsx +19 -9
- package/src/components/FF_Captcha/types.ts +12 -4
- package/src/components/Icon/Icon.stories.tsx +56 -8
- package/src/components/Icon/iconList.ts +13 -1
- package/src/components/Input/Input.stories.tsx +12 -0
- package/src/components/Input/Input.tsx +3 -1
- package/src/components/Input/types.ts +4 -0
- package/src/components/InputWithDropdown/types.ts +1 -1
- package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +2 -1
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +14 -10
- package/src/components/LabelEditTextField/types.ts +2 -0
- package/src/components/LazyLoad/LazyLoad.stories.tsx +1 -0
- package/src/components/LazyLoad/LazyLoading.tsx +10 -1
- package/src/components/MachineInputField/MachineInputField.scss +5 -1
- package/src/components/MachineInputField/MachineInputField.tsx +1 -0
- package/src/components/MobileSkin/MobileSkin.scss +67 -0
- package/src/components/MobileSkin/MobileSkin.stories.tsx +93 -0
- package/src/components/MobileSkin/MobileSkin.tsx +89 -0
- package/src/components/MobileSkin/MobileSkinInterface.ts +13 -0
- package/src/components/MobileSkin/index.ts +1 -0
- package/src/components/MobileSkin/types.ts +32 -0
- package/src/components/Modal/Modal.stories.tsx +7 -0
- package/src/components/Modal/Modal.tsx +17 -20
- package/src/components/Search/Search.scss +8 -0
- package/src/components/Search/Search.tsx +17 -6
- package/src/components/Search/types.ts +1 -0
- package/src/components/Select/Select.stories.tsx +85 -0
- package/src/components/Select/Select.tsx +10 -2
- package/src/components/Select/components/Dropdown.tsx +23 -15
- package/src/components/Select/components/types.ts +3 -2
- package/src/components/Select/types.ts +12 -2
- package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +65 -57
- package/src/components/SequentialConnectingBranch/components/Branches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +2 -0
- package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +1 -0
- package/src/components/SequentialConnectingBranch/types.ts +5 -1
- package/src/components/TableTree/Components/TableCell.tsx +3 -3
- package/src/components/TableTree/TableTree.scss +0 -7
- package/src/components/TableTree/TableTree.tsx +3 -22
- package/src/components/TableTree/types.ts +4 -4
- package/src/components/Tabs/Tabs.scss +19 -0
- package/src/components/Tabs/Tabs.tsx +9 -0
- package/src/components/Tabs/types.ts +1 -0
- package/src/index.ts +27 -0
- package/src/utils/formData/ConvertFormDataToObject.stories.tsx +27 -0
- package/src/utils/formData/ConvertFormDataToObject.ts +14 -0
- package/src/utils/getExtension/getExtension.stories.tsx +1 -0
- package/src/utils/keyBoardActionUtil/UseKeyboardAction.stories.tsx +53 -0
- package/src/utils/keyBoardActionUtil/UseKeyboardActions.tsx +20 -0
- package/src/utils/keyBoardActionUtil/types.ts +4 -0
- package/src/validations/regex.stories.tsx +63 -0
- package/src/validations/regex.ts +34 -0
- package/src/assets/images/photo.png +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ interface ButtonProps {
|
|
|
146
146
|
handleCloseIcon?: () => void;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
declare const
|
|
149
|
+
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
150
150
|
|
|
151
151
|
interface BtnPropsCommon {
|
|
152
152
|
/**
|
|
@@ -303,6 +303,9 @@ interface DrawerProps {
|
|
|
303
303
|
* Custom overflow for the drawer
|
|
304
304
|
*/
|
|
305
305
|
overflow?: string;
|
|
306
|
+
/**
|
|
307
|
+
* Callback function returns a boolean value when the drawer is collapsed.
|
|
308
|
+
*/
|
|
306
309
|
onCollapse?: (value: boolean) => void;
|
|
307
310
|
}
|
|
308
311
|
|
|
@@ -685,6 +688,10 @@ interface InputProps {
|
|
|
685
688
|
* if on, suggestion popup will be displayed
|
|
686
689
|
*/
|
|
687
690
|
autoComplete?: 'on' | 'off';
|
|
691
|
+
/**
|
|
692
|
+
* if true, input field is in autofocus state
|
|
693
|
+
*/
|
|
694
|
+
autoFocus?: boolean;
|
|
688
695
|
/**
|
|
689
696
|
* minimum and maximum values for the number type input field and their functions
|
|
690
697
|
*/
|
|
@@ -783,6 +790,14 @@ interface SelectProps$1 {
|
|
|
783
790
|
disableInput?: boolean;
|
|
784
791
|
showIcon?: boolean;
|
|
785
792
|
iconName?: string;
|
|
793
|
+
/**
|
|
794
|
+
* Provide the placehoder for the select
|
|
795
|
+
*/
|
|
796
|
+
placeHolder?: string;
|
|
797
|
+
/**
|
|
798
|
+
* Provide the boolean value if tooltip is reuired or not
|
|
799
|
+
*/
|
|
800
|
+
showToolTip?: boolean;
|
|
786
801
|
}
|
|
787
802
|
type OptionValue = any;
|
|
788
803
|
interface Option$2 {
|
|
@@ -1711,13 +1726,13 @@ interface TreeTableProps {
|
|
|
1711
1726
|
columnsData: Column[];
|
|
1712
1727
|
selected?: string[];
|
|
1713
1728
|
select?: 'radio' | 'checkbox' | 'none';
|
|
1714
|
-
onChange?: (e: any, node: string[]) => void;
|
|
1729
|
+
onChange?: (e: any, node: string[] | any) => void;
|
|
1715
1730
|
onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
|
|
1716
1731
|
onExpand?: (_isExpanded: boolean, node: string) => void;
|
|
1717
1732
|
loadMore?: (_direction?: string) => void;
|
|
1718
1733
|
}
|
|
1719
1734
|
|
|
1720
|
-
declare const _default
|
|
1735
|
+
declare const _default: React__default.NamedExoticComponent<TreeTableProps>;
|
|
1721
1736
|
|
|
1722
1737
|
interface TabsProps {
|
|
1723
1738
|
/**
|
|
@@ -1729,6 +1744,7 @@ interface TabsProps {
|
|
|
1729
1744
|
component?: JSX.Element;
|
|
1730
1745
|
disabled?: boolean;
|
|
1731
1746
|
count?: number | string;
|
|
1747
|
+
status?: 'success' | 'error' | 'transparent';
|
|
1732
1748
|
}[];
|
|
1733
1749
|
/**
|
|
1734
1750
|
* Defines the styling variant of the tabs.
|
|
@@ -1812,9 +1828,10 @@ interface SearchProps {
|
|
|
1812
1828
|
isExpand: boolean;
|
|
1813
1829
|
onClose: () => void;
|
|
1814
1830
|
onExpand: (isExpand: boolean) => void;
|
|
1831
|
+
showClose?: boolean;
|
|
1815
1832
|
}
|
|
1816
1833
|
|
|
1817
|
-
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
1834
|
+
declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, showClose, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
1818
1835
|
|
|
1819
1836
|
interface DatePickerProps {
|
|
1820
1837
|
/**
|
|
@@ -1869,6 +1886,8 @@ interface DatePickerProps {
|
|
|
1869
1886
|
* Select only date .
|
|
1870
1887
|
*/
|
|
1871
1888
|
dateOnly?: boolean;
|
|
1889
|
+
className?: string;
|
|
1890
|
+
zIndex?: number;
|
|
1872
1891
|
}
|
|
1873
1892
|
type DateValue = Date | undefined;
|
|
1874
1893
|
|
|
@@ -2102,6 +2121,7 @@ type ChartItem = {
|
|
|
2102
2121
|
key: string;
|
|
2103
2122
|
value: string | number;
|
|
2104
2123
|
color?: string;
|
|
2124
|
+
percentage?: string | number;
|
|
2105
2125
|
};
|
|
2106
2126
|
type LegendType$1 = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
|
|
2107
2127
|
type DashboardDonutChartProps = {
|
|
@@ -2112,6 +2132,7 @@ type DashboardDonutChartProps = {
|
|
|
2112
2132
|
isLegendDetails: boolean;
|
|
2113
2133
|
gapAngle?: number;
|
|
2114
2134
|
legendType: LegendType$1;
|
|
2135
|
+
apiDataLabel: string | number;
|
|
2115
2136
|
showOnlyLabel?: boolean;
|
|
2116
2137
|
unit?: string;
|
|
2117
2138
|
showUnit?: boolean;
|
|
@@ -2131,7 +2152,16 @@ type DashboardDonutChartProps = {
|
|
|
2131
2152
|
|
|
2132
2153
|
declare const DashboardDonutChart: React__default.FC<DashboardDonutChartProps>;
|
|
2133
2154
|
|
|
2134
|
-
|
|
2155
|
+
type FixedReCAPTCHA = React.ComponentType<{
|
|
2156
|
+
sitekey: string;
|
|
2157
|
+
onChange: (token: string | null) => void;
|
|
2158
|
+
className?: string;
|
|
2159
|
+
theme?: 'light' | 'dark';
|
|
2160
|
+
size?: 'compact' | 'normal' | 'invisible';
|
|
2161
|
+
tabindex?: number;
|
|
2162
|
+
badge?: 'bottomright' | 'bottomleft' | 'inline';
|
|
2163
|
+
}>;
|
|
2164
|
+
interface RecaptchaProps extends Omit<ComponentProps<FixedReCAPTCHA>, 'onChange'> {
|
|
2135
2165
|
/**
|
|
2136
2166
|
* Callback function that receives the verification token
|
|
2137
2167
|
*/
|
|
@@ -2150,7 +2180,7 @@ interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChang
|
|
|
2150
2180
|
sitekey: string;
|
|
2151
2181
|
}
|
|
2152
2182
|
|
|
2153
|
-
declare const Recaptcha:
|
|
2183
|
+
declare const Recaptcha: React__default.ForwardRefExoticComponent<RecaptchaProps & React__default.RefAttributes<ReCAPTCHA>>;
|
|
2154
2184
|
|
|
2155
2185
|
interface SelectProps {
|
|
2156
2186
|
label?: string;
|
|
@@ -2266,6 +2296,7 @@ interface SequentialConnectingBranchProps {
|
|
|
2266
2296
|
addInstanceLabel?: string;
|
|
2267
2297
|
scriptType?: string;
|
|
2268
2298
|
projectType?: string;
|
|
2299
|
+
readOnly?: boolean;
|
|
2269
2300
|
}
|
|
2270
2301
|
interface MachineInfo {
|
|
2271
2302
|
osName: string;
|
|
@@ -2392,6 +2423,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
|
2392
2423
|
label?: string;
|
|
2393
2424
|
/** Initial text displayed in the input field. */
|
|
2394
2425
|
text?: string;
|
|
2426
|
+
showText?: boolean;
|
|
2395
2427
|
/** Text to be highlighted within the displayed text, if provided. */
|
|
2396
2428
|
highlightText?: string;
|
|
2397
2429
|
/** Custom error message to be displayed, if applicable. */
|
|
@@ -2417,6 +2449,7 @@ interface LabelEditTextFieldTypes$1 {
|
|
|
2417
2449
|
onClick?: () => void;
|
|
2418
2450
|
/** Function called when every input character got changed */
|
|
2419
2451
|
onInputChange?: (newInputValue: string) => void;
|
|
2452
|
+
className?: string;
|
|
2420
2453
|
tooltip?: {
|
|
2421
2454
|
tooltipTitle?: string;
|
|
2422
2455
|
tooltipPlacement?: string;
|
|
@@ -2482,22 +2515,23 @@ declare const EditTextField: FC<LabelEditTextFieldTypes>;
|
|
|
2482
2515
|
|
|
2483
2516
|
interface ExcelFileProps {
|
|
2484
2517
|
/** The Excel data containing sheets and their content */
|
|
2485
|
-
excelData:
|
|
2486
|
-
sheets: WorkSheet[];
|
|
2487
|
-
};
|
|
2488
|
-
heightType?: string;
|
|
2518
|
+
excelData: WorkSheet[];
|
|
2489
2519
|
/** Optional: Provide context menu options for actions like right-click */
|
|
2490
2520
|
contextOption?: {
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2521
|
+
open: boolean;
|
|
2522
|
+
options: {
|
|
2523
|
+
label: string;
|
|
2524
|
+
value: string;
|
|
2525
|
+
iconName: string;
|
|
2526
|
+
action: () => void;
|
|
2527
|
+
}[];
|
|
2528
|
+
};
|
|
2495
2529
|
/** Controls whether the toolbar is shown, disabled, or hidden */
|
|
2496
2530
|
toolbar?: 'show' | 'disable' | 'hide';
|
|
2497
2531
|
/** Callback function to save the Excel data */
|
|
2498
2532
|
onSave?: (saveData: any) => void;
|
|
2499
|
-
|
|
2500
|
-
|
|
2533
|
+
contextHeightPositioning?: number;
|
|
2534
|
+
contextWidthPositioning?: number;
|
|
2501
2535
|
/** Set your dynamic sheet Height*/
|
|
2502
2536
|
sheetHeight?: string;
|
|
2503
2537
|
}
|
|
@@ -2672,6 +2706,7 @@ interface LineChartProps {
|
|
|
2672
2706
|
fontWeight?: string | number;
|
|
2673
2707
|
numberSize?: string | number;
|
|
2674
2708
|
proportionalSpacing?: boolean;
|
|
2709
|
+
chartName?: string;
|
|
2675
2710
|
}
|
|
2676
2711
|
|
|
2677
2712
|
declare const LineChart: React__default.FC<LineChartProps>;
|
|
@@ -2869,7 +2904,7 @@ interface ChooseFileProps {
|
|
|
2869
2904
|
handleCloseIcon?: () => void;
|
|
2870
2905
|
}
|
|
2871
2906
|
|
|
2872
|
-
declare const
|
|
2907
|
+
declare const ChooseFile: FC<ChooseFileProps>;
|
|
2873
2908
|
|
|
2874
2909
|
interface ScriptSwitchButtonProps {
|
|
2875
2910
|
handleClick: (selected: string) => void;
|
|
@@ -2878,6 +2913,21 @@ interface ScriptSwitchButtonProps {
|
|
|
2878
2913
|
}
|
|
2879
2914
|
declare const ScriptSwitchButton: React__default.FC<ScriptSwitchButtonProps>;
|
|
2880
2915
|
|
|
2916
|
+
interface NavBarIcon {
|
|
2917
|
+
name: string;
|
|
2918
|
+
[key: string]: any;
|
|
2919
|
+
}
|
|
2920
|
+
interface MobileSkinProps {
|
|
2921
|
+
children: React.ReactNode | string;
|
|
2922
|
+
orientation?: 'portrait' | 'landscape';
|
|
2923
|
+
type: 'ios' | 'android';
|
|
2924
|
+
navBarIcons: NavBarIcon[];
|
|
2925
|
+
mobileHeight?: number;
|
|
2926
|
+
mobileWidth?: number;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
declare const MobileSkin: React__default.FC<MobileSkinProps>;
|
|
2930
|
+
|
|
2881
2931
|
type valueType$1 = any;
|
|
2882
2932
|
declare const checkEmpty: (value: valueType$1) => boolean;
|
|
2883
2933
|
|
|
@@ -3025,35 +3075,20 @@ declare const saveFileFromBlob: (blob: Blob, filename: string) => void;
|
|
|
3025
3075
|
|
|
3026
3076
|
declare const capitalize: (text: string) => string;
|
|
3027
3077
|
|
|
3028
|
-
interface CommentType {
|
|
3029
|
-
id?: string | number;
|
|
3030
|
-
description?: string;
|
|
3031
|
-
createdBy?: string;
|
|
3032
|
-
modifiedBy?: string;
|
|
3033
|
-
createdByUname?: string;
|
|
3034
|
-
modifiedByUname?: string;
|
|
3035
|
-
createdOn?: string;
|
|
3036
|
-
modifiedOn?: string;
|
|
3037
|
-
name?: string;
|
|
3038
|
-
emailId?: string[];
|
|
3039
|
-
commentParentId?: string;
|
|
3040
|
-
comments: CommentType[];
|
|
3041
|
-
}
|
|
3042
|
-
type HandleAddComment = (newComment: CommentType, parentCommentId?: string) => void;
|
|
3043
|
-
type HandleEditComment = (commentId: string, updatedDescription: string) => void;
|
|
3044
|
-
type HandleDeleteComment = (commentId: string) => void;
|
|
3045
3078
|
interface CommentsProps {
|
|
3046
3079
|
commentsData: any;
|
|
3047
|
-
handleAddComment:
|
|
3048
|
-
handleEditComment:
|
|
3049
|
-
handleDeleteComment:
|
|
3080
|
+
handleAddComment: any;
|
|
3081
|
+
handleEditComment: any;
|
|
3082
|
+
handleDeleteComment: any;
|
|
3050
3083
|
onCommentsDataChange: (data: any) => void;
|
|
3051
3084
|
}
|
|
3052
3085
|
|
|
3053
|
-
declare const Comments: ({ commentsData, onCommentsDataChange, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
|
3086
|
+
declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, }: CommentsProps) => react_jsx_runtime.JSX.Element;
|
|
3054
3087
|
|
|
3055
3088
|
declare const useFileDropzone: (options: DropzoneOptions) => DropzoneState;
|
|
3056
3089
|
|
|
3090
|
+
declare const useClickOutside: (ref: React.RefObject<HTMLElement>, callback: () => void, ignoreRefs?: Array<React.RefObject<HTMLElement> | undefined>) => void;
|
|
3091
|
+
|
|
3057
3092
|
interface PopUpModalProps {
|
|
3058
3093
|
isOpen: boolean;
|
|
3059
3094
|
onClose: () => void;
|
|
@@ -3197,6 +3232,10 @@ interface ConditionalDropdownProps {
|
|
|
3197
3232
|
* Options for the dropdown when `isHash` is true.
|
|
3198
3233
|
*/
|
|
3199
3234
|
dataFiles?: dynamicObject[];
|
|
3235
|
+
/**
|
|
3236
|
+
* a boolean prop to show add variable icon or not.
|
|
3237
|
+
*/
|
|
3238
|
+
showAddVariableIcon?: boolean;
|
|
3200
3239
|
}
|
|
3201
3240
|
|
|
3202
3241
|
declare const ConditionalDropdown: React$1.ForwardRefExoticComponent<ConditionalDropdownProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -3222,6 +3261,13 @@ interface PhoneInputProps {
|
|
|
3222
3261
|
|
|
3223
3262
|
declare const PhoneInputField: React__default.FC<PhoneInputProps>;
|
|
3224
3263
|
|
|
3264
|
+
type KeyboardAction = {
|
|
3265
|
+
key: string;
|
|
3266
|
+
action: () => void;
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3269
|
+
declare const useKeyboardActions: (actions: KeyboardAction[]) => void;
|
|
3270
|
+
|
|
3225
3271
|
declare const EMAIL_REGEX: RegExp;
|
|
3226
3272
|
declare const URL_REGEX: RegExp;
|
|
3227
3273
|
declare const PHONE_REGEX: RegExp;
|
|
@@ -3234,6 +3280,7 @@ declare const PASSWORD_COMPLEX_REGEX: RegExp;
|
|
|
3234
3280
|
declare const ALPHABET_ONLY_REGEX: RegExp;
|
|
3235
3281
|
declare const NUMBERS_ONLY_REGEX: RegExp;
|
|
3236
3282
|
declare const ALPHANUMERIC_REGEX: RegExp;
|
|
3283
|
+
declare const ALPHANUMERIC_WITH_ROUND_BRACES_REGEX: RegExp;
|
|
3237
3284
|
declare const DATE_REGEX: RegExp;
|
|
3238
3285
|
declare const TIME_REGEX: RegExp;
|
|
3239
3286
|
declare const FILE_EXTENSION_REGEX: RegExp;
|
|
@@ -3267,5 +3314,14 @@ declare const ROMAN_NUMERALS_REGEX: RegExp;
|
|
|
3267
3314
|
declare const CURRENCY_GENERIC_REGEX: RegExp;
|
|
3268
3315
|
declare const LINKEDIN_PROFILE_REGEX: RegExp;
|
|
3269
3316
|
declare const TWITTER_HANDLE_REGEX: RegExp;
|
|
3270
|
-
|
|
3271
|
-
|
|
3317
|
+
declare const NUMBER_REGEX: RegExp;
|
|
3318
|
+
declare const UNIT_REGEX: RegExp;
|
|
3319
|
+
declare const MEMORY_VALIDATION_REGEX: RegExp;
|
|
3320
|
+
declare const STEP_GROUP_NAME_REGEX: RegExp;
|
|
3321
|
+
declare const NLP_DESCRIPTION_REGEX: RegExp;
|
|
3322
|
+
declare const FILE_NAME_REGEX: RegExp;
|
|
3323
|
+
declare const ELEMENTS_TRAILING_SPACE_REGEX: RegExp;
|
|
3324
|
+
declare const ELEMENTS_WHITE_SPACE_REGEX: RegExp;
|
|
3325
|
+
declare const PARAMETER_ALPHANUMERIC_REGEX: RegExp;
|
|
3326
|
+
|
|
3327
|
+
export { AADHAAR_REGEX, ALPHABET_ONLY_REGEX, ALPHANUMERIC_REGEX, ALPHANUMERIC_WITH_ROUND_BRACES_REGEX, Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, AttachImage, AttachmentButton, Avatar, BASE64_REGEX, BINARY_NUMBER_REGEX, BarChart, Button, CREDIT_CARD_REGEX, CURRENCY_GENERIC_REGEX, Checkbox, Chip, ChooseFile, Col, Comments, ConditionalDropdown, ConnectingBranch, Container, CreateVariableSlider, DATE_REGEX, DECIMAL_NUMBER_REGEX, DRIVING_LICENSE_REGEX, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DownloadClient, DragAndDrop, Drawer, Dropzone, ELEMENTS_TRAILING_SPACE_REGEX, ELEMENTS_WHITE_SPACE_REGEX, EMAIL_REGEX, EditTextField, Editor, ExcelFile as Excel, ExpandableMenu, FILE_EXTENSION_REGEX, FILE_NAME_REGEX, FieldSet, FileDropzone, FilePreview, ForwardedForms as Form, formatString as FormatString, GSTIN_REGEX, HEXADECIMAL_NUMBER_REGEX, HEX_COLOR_REGEX, HSL_COLOR_REGEX, HTML_ATTRIBUTE_REGEX, HTML_TAG_REGEX, HighlightText, INDIAN_CURRENCY_REGEX, INDIAN_PASSPORT_REGEX, INDIAN_PHONE_REGEX, INDIAN_PIN_CODE_REGEX, INTERNATIONAL_PHONE_REGEX, IPV4_REGEX, IPV6_REGEX, Icon, IconButton, IconRadialChart, IconRadioGroup, Input, InputWithDropdown, LINKEDIN_PROFILE_REGEX, LabelEditTextField, LineChart, MAC_ADDRESS_REGEX, MEMORY_VALIDATION_REGEX, MachineInputField, MenuOption, MiniModal, MobileSkin, Modal, ModuleChip, MultiRadialChart, MultiSelect, NlpInput as NLPInput, NLP_DESCRIPTION_REGEX, NUMBERS_ONLY_REGEX, NUMBER_REGEX, PAN_CARD_REGEX, PARAMETER_ALPHANUMERIC_REGEX, PASSWORD_COMPLEX_REGEX, PASSWORD_SIMPLE_REGEX, PHONE_REGEX, POSTAL_CODE_REGEX, Paper, PhoneInputField, PieChart, PopUpModal, ProgressBar, RGB_COLOR_REGEX, ROMAN_NUMERALS_REGEX, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, SSN_REGEX, STEP_GROUP_NAME_REGEX, ScriptSwitchButton, Search, Select, SequentialConnectingBranch, StateDropdown, StatusButton, StatusCard, TIME_REGEX, TWITTER_HANDLE_REGEX, Table, _default as TableTree, TableWithAccordion, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toastify, Toggle, ToggleSwitch, Tooltip, Typography, UNIT_REGEX, URL_REGEX, USERNAME_REGEX, USERNAME_SPECIAL_REGEX, US_ZIP_CODE_REGEX, UUID_REGEX, VEHICLE_REGISTRATION_REGEX, VariableDropdown, VariableInput, WHITESPACE_REGEX, capitalize, checkEmpty, compareArrays, compareObjects, debounce, ffid, findAndInsert, getEncryptedData, getExtension, getExtensionWithPeriod, getSequentialPayload, hasDuplicateFile, saveFileFromBlob, throttle, toast, truncateText, useClickOutside, useFileDropzone, useKeyboardActions, useTheme };
|