pixel-react-excel-sheet 1.0.37 → 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.
Files changed (150) hide show
  1. package/lib/components/Button/Button.d.ts +2 -2
  2. package/lib/components/Charts/DashboardDonutChart/types.d.ts +3 -0
  3. package/lib/components/Charts/LineChart/types.d.ts +1 -0
  4. package/lib/components/ChooseFile/ChooseFile.d.ts +3 -2
  5. package/lib/components/Comment/Comments.d.ts +1 -1
  6. package/lib/components/Comment/type.d.ts +3 -3
  7. package/lib/components/ConditionalDropdown/types.d.ts +4 -0
  8. package/lib/components/DatePicker/types.d.ts +2 -0
  9. package/lib/components/Drawer/Types.d.ts +4 -1
  10. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +11 -10
  11. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +10 -0
  12. package/lib/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.d.ts +1 -1
  13. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +9 -0
  14. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +0 -2
  15. package/lib/components/Excel/Types.d.ts +14 -10
  16. package/lib/components/FF_Captcha/Recaptcha.d.ts +2 -1
  17. package/lib/components/FF_Captcha/types.d.ts +11 -2
  18. package/lib/components/Input/types.d.ts +4 -0
  19. package/lib/components/LabelEditTextField/types.d.ts +2 -0
  20. package/lib/components/MobileSkin/MobileSkin.d.ts +5 -0
  21. package/lib/components/MobileSkin/MobileSkinInterface.d.ts +13 -0
  22. package/lib/components/MobileSkin/index.d.ts +1 -0
  23. package/lib/components/MobileSkin/types.d.ts +32 -0
  24. package/lib/components/Search/Search.d.ts +1 -1
  25. package/lib/components/Search/types.d.ts +1 -0
  26. package/lib/components/Select/components/types.d.ts +3 -2
  27. package/lib/components/Select/types.d.ts +10 -2
  28. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
  29. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +1 -0
  30. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
  31. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +1 -0
  32. package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
  33. package/lib/components/TableTree/types.d.ts +4 -4
  34. package/lib/components/Tabs/types.d.ts +1 -0
  35. package/lib/index.d.ts +97 -41
  36. package/lib/index.esm.js +4817 -1673
  37. package/lib/index.esm.js.map +1 -1
  38. package/lib/index.js +4830 -1673
  39. package/lib/index.js.map +1 -1
  40. package/lib/tsconfig.tsbuildinfo +1 -1
  41. package/lib/utils/formData/ConvertFormDataToObject.d.ts +1 -0
  42. package/lib/utils/keyBoardActionUtil/UseKeyboardActions.d.ts +2 -0
  43. package/lib/utils/keyBoardActionUtil/types.d.ts +4 -0
  44. package/lib/validations/regex.d.ts +11 -1
  45. package/package.json +6 -1
  46. package/src/assets/Themes/BaseTheme.scss +3 -1
  47. package/src/assets/Themes/DarkTheme.scss +10 -1
  48. package/src/assets/icons/clear_cache.svg +5 -0
  49. package/src/assets/icons/external_user.svg +13 -0
  50. package/src/assets/icons/group_user.svg +12 -0
  51. package/src/assets/icons/single_user.svg +12 -0
  52. package/src/assets/icons/test_freshers_logo.svg +8 -0
  53. package/src/assets/icons/unfollow_icon.svg +3 -0
  54. package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +7 -45
  55. package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +5 -0
  56. package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +76 -64
  57. package/src/components/Button/Button.scss +0 -1
  58. package/src/components/Button/Button.tsx +3 -4
  59. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +38 -6
  60. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +10 -4
  61. package/src/components/Charts/DashboardDonutChart/types.ts +4 -1
  62. package/src/components/Charts/LineChart/LineChart.stories.tsx +27 -88
  63. package/src/components/Charts/LineChart/LineChart.tsx +138 -42
  64. package/src/components/Charts/LineChart/types.ts +1 -0
  65. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +3 -3
  66. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +47 -43
  67. package/src/components/ChooseFile/ChooseFile.tsx +3 -4
  68. package/src/components/Comment/Comments.scss +0 -1
  69. package/src/components/Comment/Comments.stories.tsx +22 -4
  70. package/src/components/Comment/Comments.tsx +20 -1
  71. package/src/components/Comment/type.ts +3 -3
  72. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +1 -0
  73. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +2 -1
  74. package/src/components/ConditionalDropdown/types.ts +4 -0
  75. package/src/components/DatePicker/DatePicker.scss +307 -2
  76. package/src/components/DatePicker/DatePicker.tsx +27 -19
  77. package/src/components/DatePicker/types.ts +4 -0
  78. package/src/components/Drawer/Drawer.stories.tsx +1 -1
  79. package/src/components/Drawer/Drawer.tsx +5 -4
  80. package/src/components/Drawer/Types.ts +4 -2
  81. package/src/components/Editor/Editor.scss +23 -18
  82. package/src/components/Editor/Editor.tsx +2 -2
  83. package/src/components/Excel/ExcelContextMenu/ExcelContextMenu.tsx +6 -3
  84. package/src/components/Excel/ExcelFile/ExcelFile.scss +45 -41
  85. package/src/components/Excel/ExcelFile/ExcelFile.tsx +68 -64
  86. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +29 -1
  87. package/src/components/Excel/ExcelFile/ExcelFileComponents/Cell.tsx +0 -38
  88. package/src/components/Excel/ExcelFile/ExcelFileComponents/DataViewer.tsx +1 -40
  89. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +3 -3
  90. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.tsx +12 -1
  91. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +8 -74
  92. package/src/components/Excel/ExcelFile/ExcelFileComponents/types.ts +0 -3
  93. package/src/components/Excel/ExcelFile.stories.tsx +112 -125
  94. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +10 -11
  95. package/src/components/Excel/Types.ts +17 -15
  96. package/src/components/FF_Captcha/Recaptcha.tsx +19 -9
  97. package/src/components/FF_Captcha/types.ts +12 -4
  98. package/src/components/Icon/Icon.stories.tsx +56 -8
  99. package/src/components/Icon/iconList.ts +13 -1
  100. package/src/components/Input/Input.stories.tsx +12 -0
  101. package/src/components/Input/Input.tsx +3 -1
  102. package/src/components/Input/types.ts +4 -0
  103. package/src/components/InputWithDropdown/types.ts +1 -1
  104. package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
  105. package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +2 -1
  106. package/src/components/LabelEditTextField/LabelEditTextField.tsx +14 -10
  107. package/src/components/LabelEditTextField/types.ts +2 -0
  108. package/src/components/LazyLoad/LazyLoad.stories.tsx +1 -0
  109. package/src/components/LazyLoad/LazyLoading.tsx +10 -1
  110. package/src/components/MachineInputField/MachineInputField.scss +5 -1
  111. package/src/components/MachineInputField/MachineInputField.tsx +1 -0
  112. package/src/components/MobileSkin/MobileSkin.scss +67 -0
  113. package/src/components/MobileSkin/MobileSkin.stories.tsx +93 -0
  114. package/src/components/MobileSkin/MobileSkin.tsx +89 -0
  115. package/src/components/MobileSkin/MobileSkinInterface.ts +13 -0
  116. package/src/components/MobileSkin/index.ts +1 -0
  117. package/src/components/MobileSkin/types.ts +32 -0
  118. package/src/components/Modal/Modal.stories.tsx +7 -0
  119. package/src/components/Modal/Modal.tsx +17 -20
  120. package/src/components/Search/Search.scss +8 -0
  121. package/src/components/Search/Search.tsx +17 -6
  122. package/src/components/Search/types.ts +1 -0
  123. package/src/components/Select/Select.stories.tsx +85 -0
  124. package/src/components/Select/Select.tsx +10 -2
  125. package/src/components/Select/components/Dropdown.tsx +23 -15
  126. package/src/components/Select/components/types.ts +3 -2
  127. package/src/components/Select/types.ts +12 -2
  128. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +2 -0
  129. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +65 -57
  130. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +1 -0
  131. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +2 -0
  132. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +1 -0
  133. package/src/components/SequentialConnectingBranch/types.ts +5 -1
  134. package/src/components/TableTree/Components/TableCell.tsx +3 -3
  135. package/src/components/TableTree/TableTree.scss +0 -7
  136. package/src/components/TableTree/TableTree.tsx +3 -22
  137. package/src/components/TableTree/types.ts +4 -4
  138. package/src/components/Tabs/Tabs.scss +19 -0
  139. package/src/components/Tabs/Tabs.tsx +9 -0
  140. package/src/components/Tabs/types.ts +1 -0
  141. package/src/index.ts +27 -0
  142. package/src/utils/formData/ConvertFormDataToObject.stories.tsx +27 -0
  143. package/src/utils/formData/ConvertFormDataToObject.ts +14 -0
  144. package/src/utils/getExtension/getExtension.stories.tsx +1 -0
  145. package/src/utils/keyBoardActionUtil/UseKeyboardAction.stories.tsx +53 -0
  146. package/src/utils/keyBoardActionUtil/UseKeyboardActions.tsx +20 -0
  147. package/src/utils/keyBoardActionUtil/types.ts +4 -0
  148. package/src/validations/regex.stories.tsx +63 -0
  149. package/src/validations/regex.ts +34 -0
  150. package/src/assets/images/photo.png +0 -0
@@ -1,5 +1,5 @@
1
1
  import './Button.scss';
2
2
  import '../../assets/styles/_colors.scss';
3
3
  import { ButtonProps } from './types';
4
- declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>>;
5
- export default _default;
4
+ declare const Button: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
5
+ export default Button;
@@ -7,6 +7,7 @@ export type ChartItem = {
7
7
  key: string;
8
8
  value: string | number;
9
9
  color?: string;
10
+ percentage?: string | number;
10
11
  };
11
12
  export type NormalizedChartItem = {
12
13
  key: string;
@@ -15,6 +16,7 @@ export type NormalizedChartItem = {
15
16
  normalizedValue?: number;
16
17
  unit?: string;
17
18
  labelValue?: number;
19
+ percentage?: string | number;
18
20
  };
19
21
  export type LegendType = 'numberLegend' | 'pillLegend' | 'memoryLegend' | 'tableLegend';
20
22
  export type DashboardDonutChartProps = {
@@ -25,6 +27,7 @@ export type DashboardDonutChartProps = {
25
27
  isLegendDetails: boolean;
26
28
  gapAngle?: number;
27
29
  legendType: LegendType;
30
+ apiDataLabel: string | number;
28
31
  showOnlyLabel?: boolean;
29
32
  unit?: string;
30
33
  showUnit?: boolean;
@@ -25,4 +25,5 @@ export interface LineChartProps {
25
25
  fontWeight?: string | number;
26
26
  numberSize?: string | number;
27
27
  proportionalSpacing?: boolean;
28
+ chartName?: string;
28
29
  }
@@ -1,3 +1,4 @@
1
+ import { type FC } from 'react';
1
2
  import { ChooseFileProps } from './types';
2
- declare const _default: import("react").NamedExoticComponent<ChooseFileProps>;
3
- export default _default;
3
+ declare const ChooseFile: FC<ChooseFileProps>;
4
+ export default ChooseFile;
@@ -1,4 +1,4 @@
1
1
  import './Comments.scss';
2
2
  import { CommentsProps } from './type';
3
- declare const Comments: ({ commentsData, onCommentsDataChange, }: CommentsProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Comments: ({ commentsData, handleAddComment, handleEditComment, handleDeleteComment, onCommentsDataChange, }: CommentsProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Comments;
@@ -18,8 +18,8 @@ export type HandleDeleteComment = (commentId: string) => void;
18
18
  export type HandleNodeFunction = (commentId: string, value: string) => void;
19
19
  export interface CommentsProps {
20
20
  commentsData: any;
21
- handleAddComment: HandleAddComment;
22
- handleEditComment: HandleEditComment;
23
- handleDeleteComment: HandleDeleteComment;
21
+ handleAddComment: any;
22
+ handleEditComment: any;
23
+ handleDeleteComment: any;
24
24
  onCommentsDataChange: (data: any) => void;
25
25
  }
@@ -120,6 +120,10 @@ export interface ConditionalDropdownProps {
120
120
  * Options for the dropdown when `isHash` is true.
121
121
  */
122
122
  dataFiles?: dynamicObject[];
123
+ /**
124
+ * a boolean prop to show add variable icon or not.
125
+ */
126
+ showAddVariableIcon?: boolean;
123
127
  }
124
128
  export interface OptionsDropdownProps {
125
129
  /**
@@ -51,6 +51,8 @@ export interface DatePickerProps {
51
51
  * Select only date .
52
52
  */
53
53
  dateOnly?: boolean;
54
+ className?: string;
55
+ zIndex?: number;
54
56
  }
55
57
  export type DateValue = Date | undefined;
56
58
  export interface CustomCaptionProps {
@@ -154,5 +154,8 @@ export interface DrawerProps {
154
154
  * Custom overflow for the drawer
155
155
  */
156
156
  overflow?: string;
157
- onCollapes?: (value: boolean) => void;
157
+ /**
158
+ * Callback function returns a boolean value when the drawer is collapsed.
159
+ */
160
+ onCollapse?: (value: boolean) => void;
158
161
  }
@@ -2,22 +2,23 @@ import React from 'react';
2
2
  import './ExcelFile.scss';
3
3
  interface ExcelFileProps {
4
4
  /** The Excel data containing sheets and their content */
5
- excelData: {
6
- sheets: WorkSheet[];
7
- };
8
- heightType?: string;
5
+ excelData: WorkSheet[];
9
6
  /** Optional: Provide context menu options for actions like right-click */
10
7
  contextOption?: {
11
- name: string;
12
- title: React.ReactNode;
13
- action: () => void;
14
- }[];
8
+ open: boolean;
9
+ options: {
10
+ label: string;
11
+ value: string;
12
+ iconName: string;
13
+ action: () => void;
14
+ }[];
15
+ };
15
16
  /** Controls whether the toolbar is shown, disabled, or hidden */
16
17
  toolbar?: 'show' | 'disable' | 'hide';
17
18
  /** Callback function to save the Excel data */
18
19
  onSave?: (saveData: any) => void;
19
- contextHeight?: number;
20
- contextWidth?: number;
20
+ contextHeightPositioning?: number;
21
+ contextWidthPositioning?: number;
21
22
  /** Set your dynamic sheet Height*/
22
23
  sheetHeight?: string;
23
24
  }
@@ -2,6 +2,16 @@ import * as React from 'react';
2
2
  import * as Types from './types';
3
3
  type Props = {
4
4
  DataEditor: Types.DataEditorComponent;
5
+ setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
6
+ contextOption?: {
7
+ open: boolean;
8
+ options: {
9
+ label: string;
10
+ value: string;
11
+ iconName: string;
12
+ action: () => void;
13
+ }[];
14
+ };
5
15
  };
6
16
  declare const ActiveCell: React.FC<Props>;
7
17
  export default ActiveCell;
@@ -3,6 +3,6 @@ import * as Types from './types';
3
3
  export declare const TRUE_TEXT = "TRUE";
4
4
  export declare const FALSE_TEXT = "FALSE";
5
5
  /** The default Spreadsheet DataViewer component */
6
- declare const DataViewer: <Cell extends Types.CellBase<Value>, Value>({ cell, evaluatedCell, setContextMenu, }: Types.DataViewerProps<Cell>) => React.ReactElement;
6
+ declare const DataViewer: <Cell extends Types.CellBase<Value>, Value>({ cell, evaluatedCell, }: Types.DataViewerProps<Cell>) => React.ReactElement;
7
7
  export default DataViewer;
8
8
  export declare function convertBooleanToText(value: boolean): string;
@@ -62,6 +62,15 @@ export type Props<CellType extends Types.CellBase> = {
62
62
  setContextMenu: React.Dispatch<React.SetStateAction<Types.ContextMenuState>>;
63
63
  /** Set your dynamic sheet Height*/
64
64
  sheetHeight: string;
65
+ contextOption?: {
66
+ open: boolean;
67
+ options: {
68
+ label: string;
69
+ value: string;
70
+ iconName: string;
71
+ action: () => void;
72
+ }[];
73
+ };
65
74
  };
66
75
  /**
67
76
  * The Spreadsheet component
@@ -102,7 +102,6 @@ export type CellComponentProps<Cell extends CellBase = CellBase> = {
102
102
  setCellDimensions: (point: Point, dimensions: Dimensions) => void;
103
103
  /** Set data of the cell */
104
104
  setCellData: (cell: Cell) => void;
105
- setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
106
105
  };
107
106
  /** Type of the Spreadsheet Cell component */
108
107
  export type CellComponent<Cell extends CellBase = CellBase> = React.ComponentType<CellComponentProps<Cell>>;
@@ -114,7 +113,6 @@ type DataComponentProps<Cell extends CellBase> = {
114
113
  export type DataViewerProps<Cell extends CellBase = CellBase> = DataComponentProps<Cell> & {
115
114
  /** Set data of the cell */
116
115
  setCellData: (cell: Cell) => void;
117
- setContextMenu: React.Dispatch<React.SetStateAction<ContextMenuState>>;
118
116
  evaluatedCell: Cell | undefined;
119
117
  };
120
118
  /** Type of the Spreadsheet DataViewer component */
@@ -64,16 +64,6 @@ interface ContextOption {
64
64
  /** Array of context menu actions for right-click options */
65
65
  value: ContextAction[];
66
66
  }
67
- interface ContextMenuState {
68
- /** Whether the context menu is visible */
69
- visible: boolean;
70
- /** X-coordinate position for the context menu */
71
- x: number;
72
- /** Y-coordinate position for the context menu */
73
- y: number;
74
- /** Type of the context menu ('cell', 'row', 'column', or 'sheet_options') */
75
- type: 'cell' | 'row' | 'column' | 'sheet_options' | null;
76
- }
77
67
  interface SelectedCell {
78
68
  /** The row index of the selected cell */
79
69
  row: number;
@@ -88,6 +78,20 @@ interface ColorContainer {
88
78
  /** The border color used for the cell (hex code) */
89
79
  borderColor: string;
90
80
  }
81
+ interface ContextMenuState {
82
+ open: boolean;
83
+ position: {
84
+ x: number;
85
+ y: number;
86
+ };
87
+ options: optionsType[];
88
+ }
89
+ interface optionsType {
90
+ label: string;
91
+ value: string;
92
+ iconName: string;
93
+ action: () => void;
94
+ }
91
95
  interface SelectedValue {
92
96
  /** The value inside the selected cell */
93
97
  value: string;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import ReCAPTCHA from 'react-google-recaptcha';
2
3
  import { RecaptchaProps } from './types';
3
4
  import './Recaptcha.scss';
4
- declare const Recaptcha: import("react").ForwardRefExoticComponent<RecaptchaProps & import("react").RefAttributes<ReCAPTCHA>>;
5
+ declare const Recaptcha: React.ForwardRefExoticComponent<RecaptchaProps & React.RefAttributes<ReCAPTCHA>>;
5
6
  export default Recaptcha;
@@ -1,6 +1,14 @@
1
1
  import { ComponentProps } from 'react';
2
- import ReCAPTCHA from 'react-google-recaptcha';
3
- export interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, 'onChange'> {
2
+ type FixedReCAPTCHA = React.ComponentType<{
3
+ sitekey: string;
4
+ onChange: (token: string | null) => void;
5
+ className?: string;
6
+ theme?: 'light' | 'dark';
7
+ size?: 'compact' | 'normal' | 'invisible';
8
+ tabindex?: number;
9
+ badge?: 'bottomright' | 'bottomleft' | 'inline';
10
+ }>;
11
+ export interface RecaptchaProps extends Omit<ComponentProps<FixedReCAPTCHA>, 'onChange'> {
4
12
  /**
5
13
  * Callback function that receives the verification token
6
14
  */
@@ -18,3 +26,4 @@ export interface RecaptchaProps extends Omit<ComponentProps<typeof ReCAPTCHA>, '
18
26
  */
19
27
  sitekey: string;
20
28
  }
29
+ export {};
@@ -62,6 +62,10 @@ export interface InputProps {
62
62
  * if on, suggestion popup will be displayed
63
63
  */
64
64
  autoComplete?: 'on' | 'off';
65
+ /**
66
+ * if true, input field is in autofocus state
67
+ */
68
+ autoFocus?: boolean;
65
69
  /**
66
70
  * minimum and maximum values for the number type input field and their functions
67
71
  */
@@ -17,6 +17,7 @@ export interface LabelEditTextFieldTypes {
17
17
  label?: string;
18
18
  /** Initial text displayed in the input field. */
19
19
  text?: string;
20
+ showText?: boolean;
20
21
  /** Text to be highlighted within the displayed text, if provided. */
21
22
  highlightText?: string;
22
23
  /** Custom error message to be displayed, if applicable. */
@@ -42,6 +43,7 @@ export interface LabelEditTextFieldTypes {
42
43
  onClick?: () => void;
43
44
  /** Function called when every input character got changed */
44
45
  onInputChange?: (newInputValue: string) => void;
46
+ className?: string;
45
47
  tooltip?: {
46
48
  tooltipTitle?: string;
47
49
  tooltipPlacement?: string;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './MobileSkin.scss';
3
+ import { MobileSkinProps } from './MobileSkinInterface';
4
+ declare const MobileSkin: React.FC<MobileSkinProps>;
5
+ export default MobileSkin;
@@ -0,0 +1,13 @@
1
+ interface NavBarIcon {
2
+ name: string;
3
+ [key: string]: any;
4
+ }
5
+ export interface MobileSkinProps {
6
+ children: React.ReactNode | string;
7
+ orientation?: 'portrait' | 'landscape';
8
+ type: 'ios' | 'android';
9
+ navBarIcons: NavBarIcon[];
10
+ mobileHeight?: number;
11
+ mobileWidth?: number;
12
+ }
13
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from './MobileSkin';
@@ -0,0 +1,32 @@
1
+ export interface iconDetails {
2
+ /**
3
+ * details of each icon
4
+ */
5
+ [key: string]: any;
6
+ }
7
+ export interface MobileSkinProps {
8
+ /**
9
+ * The content inside the mobile skin component
10
+ */
11
+ children: React.ReactNode | string;
12
+ /**
13
+ * Portrait or landScape View of the Mobile
14
+ */
15
+ orientation: "portrait" | "landscape";
16
+ /**
17
+ * type either it will be ios or android
18
+ */
19
+ type: string;
20
+ /**
21
+ * height of the MobileSkin
22
+ */
23
+ mobileHeight?: number;
24
+ /**
25
+ * width of the MobileSkin
26
+ */
27
+ mobileWidth?: number;
28
+ /**
29
+ * takes the icons details like icon name , title, onClick event, height , width, etc
30
+ */
31
+ navbarIcons: Array<iconDetails>;
32
+ }
@@ -1,4 +1,4 @@
1
1
  import './Search.scss';
2
2
  import { SearchProps } from './types';
3
- declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Search: ({ placeholder, onSearch, disabled, width, value, isExpand, onClose, onExpand, showClose, }: SearchProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Search;
@@ -16,4 +16,5 @@ export interface SearchProps {
16
16
  isExpand: boolean;
17
17
  onClose: () => void;
18
18
  onExpand: (isExpand: boolean) => void;
19
+ showClose?: boolean;
19
20
  }
@@ -1,8 +1,8 @@
1
- import { DrowdownPosition, Option } from '../types';
1
+ import { DropdownPosition, Option } from '../types';
2
2
  import { RefObject } from 'react';
3
3
  export interface DropdownProps {
4
4
  options: Option[];
5
- dropdownPosition: DrowdownPosition;
5
+ dropdownPosition: DropdownPosition;
6
6
  optionZIndex: number;
7
7
  labelAccessor?: string;
8
8
  valueAccessor?: string;
@@ -13,6 +13,7 @@ export interface DropdownProps {
13
13
  heightFromTop: number;
14
14
  selectedOption?: Option;
15
15
  showIcon?: boolean;
16
+ showToolTip?: boolean;
16
17
  }
17
18
  export declare const dropdownDefaultCSSData: {
18
19
  margin: number;
@@ -24,8 +24,16 @@ export interface SelectProps {
24
24
  disableInput?: boolean;
25
25
  showIcon?: boolean;
26
26
  iconName?: string;
27
+ /**
28
+ * Provide the placehoder for the select
29
+ */
30
+ placeHolder?: string;
31
+ /**
32
+ * Provide the boolean value if tooltip is reuired or not
33
+ */
34
+ showToolTip?: boolean;
27
35
  }
28
- export interface DrowdownPosition {
36
+ export interface DropdownPosition {
29
37
  positionX: number;
30
38
  positionY: number;
31
39
  width: number;
@@ -38,7 +46,7 @@ export interface SelectState {
38
46
  showOptions: boolean;
39
47
  options: Option[];
40
48
  option: string;
41
- dropdownPosition: DrowdownPosition;
49
+ dropdownPosition: DropdownPosition;
42
50
  }
43
51
  type OptionValue = any;
44
52
  export interface Option {
@@ -1,4 +1,4 @@
1
1
  import { BranchesProps } from './types';
2
2
  import './Branches.scss';
3
- declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Branches: ({ machineInstances, rowIndex, machineColumnCount, machineColumnWidth, nextRowMachineInstance, previousRowMachineInstance, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, readOnly, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Branches;
@@ -14,6 +14,7 @@ export interface BranchesProps {
14
14
  scriptType?: string;
15
15
  onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
16
16
  projectType?: string;
17
+ readOnly: boolean;
17
18
  }
18
19
  export interface branchTypeProps {
19
20
  currentBranch: ExecutionContext | undefined | {};
@@ -1,4 +1,4 @@
1
1
  import { ConnectingBranchesProps } from './types';
2
2
  import './ConnectingBranches.scss';
3
- declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, readOnly }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default ConnectingBranches;
@@ -11,4 +11,5 @@ export interface ConnectingBranchesProps {
11
11
  scriptType?: string;
12
12
  projectType?: string;
13
13
  onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
14
+ readOnly: boolean;
14
15
  }
@@ -16,6 +16,7 @@ export interface SequentialConnectingBranchProps {
16
16
  addInstanceLabel?: string;
17
17
  scriptType?: string;
18
18
  projectType?: string;
19
+ readOnly?: boolean;
19
20
  }
20
21
  export interface MachineInfo {
21
22
  osName: string;
@@ -12,7 +12,7 @@ export interface TableCellProps {
12
12
  level: number;
13
13
  selected: string[];
14
14
  select: string | null;
15
- onCheckBoxChange: (type: string, node: any) => void;
15
+ onCheckBoxChange: (e: any, node: string[] | any) => void;
16
16
  onToggleExpand: (node: any) => void;
17
17
  parentSiblings: boolean[];
18
18
  isLast: boolean | undefined;
@@ -27,7 +27,7 @@ export interface TableBodyProps {
27
27
  select: string | null;
28
28
  onRowClick: (e: any, node: any) => void;
29
29
  onToggleExpand: (node: any) => void;
30
- onCheckBoxChange: (type: string, node: any) => void;
30
+ onCheckBoxChange: (e: any, node: string[] | any) => void;
31
31
  }
32
32
  export interface TableRowProps {
33
33
  node: any;
@@ -37,7 +37,7 @@ export interface TableRowProps {
37
37
  select: string | null;
38
38
  onRowClick: (e: any, node: any) => void;
39
39
  onToggleExpand: (node: any) => void;
40
- onCheckBoxChange: (type: string, node: any) => void;
40
+ onCheckBoxChange: (e: any, node: string[] | any) => void;
41
41
  parentSiblings: boolean[];
42
42
  isLast: boolean | undefined;
43
43
  }
@@ -57,7 +57,7 @@ export interface TreeTableProps {
57
57
  columnsData: Column[];
58
58
  selected?: string[];
59
59
  select?: 'radio' | 'checkbox' | 'none';
60
- onChange?: (e: any, node: string[]) => void;
60
+ onChange?: (e: any, node: string[] | any) => void;
61
61
  onClick?: (e: React.MouseEvent<HTMLDivElement>, row: TreeNode) => void;
62
62
  onExpand?: (_isExpanded: boolean, node: string) => void;
63
63
  loadMore?: (_direction?: string) => void;
@@ -26,6 +26,7 @@ export interface TabsProps {
26
26
  component?: JSX.Element;
27
27
  disabled?: boolean;
28
28
  count?: number | string;
29
+ status?: 'success' | 'error' | 'transparent';
29
30
  }[];
30
31
  /**
31
32
  * Defines the styling variant of the tabs.