pixel-react-excel-sheet 1.0.23 → 1.0.24

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 (62) hide show
  1. package/lib/components/Charts/LineChart/types.d.ts +1 -0
  2. package/lib/components/DownloadClient/type.d.ts +19 -27
  3. package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
  4. package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -0
  5. package/lib/components/MultiSelect/dropdownTypes.d.ts +1 -0
  6. package/lib/components/PhoneInput/PhoneInput.d.ts +0 -1
  7. package/lib/components/PhoneInput/types.d.ts +6 -0
  8. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
  9. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +4 -1
  10. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.d.ts +1 -1
  11. package/lib/components/SequentialConnectingBranch/components/ConnectingBranches/types.d.ts +4 -1
  12. package/lib/components/SequentialConnectingBranch/types.d.ts +7 -1
  13. package/lib/index.d.ts +36 -29
  14. package/lib/index.esm.js +293 -188
  15. package/lib/index.esm.js.map +1 -1
  16. package/lib/index.js +293 -188
  17. package/lib/index.js.map +1 -1
  18. package/lib/utils/getSequentialPayload/types.d.ts +1 -0
  19. package/package.json +1 -1
  20. package/src/assets/Themes/BaseTheme.scss +1 -1
  21. package/src/assets/Themes/DarkTheme.scss +2 -0
  22. package/src/assets/icons/auto_save_icon.svg +4 -0
  23. package/src/components/Charts/LineChart/LineChart.stories.tsx +7 -3
  24. package/src/components/Charts/LineChart/LineChart.tsx +10 -1
  25. package/src/components/Charts/LineChart/types.ts +1 -0
  26. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +1 -1
  27. package/src/components/DownloadClient/DownloadClient.scss +51 -64
  28. package/src/components/DownloadClient/DownloadClient.stories.tsx +6 -6
  29. package/src/components/DownloadClient/DownloadClient.tsx +60 -51
  30. package/src/components/DownloadClient/type.ts +32 -40
  31. package/src/components/Excel/ExcelFile/ExcelFile.scss +46 -53
  32. package/src/components/Excel/ExcelFile/ExcelFile.tsx +7 -7
  33. package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +4 -1
  34. package/src/components/Excel/ExcelFile/ExcelFileComponents/CornerIndicator.tsx +8 -7
  35. package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +4 -1
  36. package/src/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.scss +117 -106
  37. package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +1 -2
  38. package/src/components/FileDropzone/FileDropzone.stories.tsx +5 -19
  39. package/src/components/FileDropzone/FileDropzone.tsx +24 -4
  40. package/src/components/Icon/iconList.ts +2 -0
  41. package/src/components/MachineInputField/MachineInputField.stories.tsx +5 -4
  42. package/src/components/MachineInputField/MachineInputField.tsx +12 -15
  43. package/src/components/MachineInputField/types.ts +1 -0
  44. package/src/components/MultiSelect/Dropdown.tsx +30 -4
  45. package/src/components/MultiSelect/MultiSelect.tsx +2 -0
  46. package/src/components/MultiSelect/MultiSelectTypes.ts +3 -1
  47. package/src/components/MultiSelect/dropdownTypes.ts +2 -0
  48. package/src/components/PhoneInput/PhoneInput.stories.tsx +16 -41
  49. package/src/components/PhoneInput/PhoneInput.tsx +10 -2
  50. package/src/components/PhoneInput/phoneInput.scss +898 -0
  51. package/src/components/PhoneInput/types.ts +6 -0
  52. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +13 -2
  53. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +34 -19
  54. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +113 -33
  55. package/src/components/SequentialConnectingBranch/components/Branches/types.ts +7 -1
  56. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/ConnectingBranches.tsx +6 -0
  57. package/src/components/SequentialConnectingBranch/components/ConnectingBranches/types.ts +7 -1
  58. package/src/components/SequentialConnectingBranch/types.ts +7 -5
  59. package/src/components/TableTree/TableTree.tsx +1 -3
  60. package/src/components/TableTree/data.ts +0 -45
  61. package/src/components/TableTree/types.ts +3 -3
  62. package/src/utils/getSequentialPayload/types.ts +1 -0
@@ -24,4 +24,5 @@ export interface LineChartProps {
24
24
  textSize?: string | number;
25
25
  fontWeight?: string | number;
26
26
  numberSize?: string | number;
27
+ proportionalSpacing?: boolean;
27
28
  }
@@ -1,35 +1,27 @@
1
1
  export interface DownloadClientProps {
2
2
  /**
3
- * Title of the popup.
4
- */
5
- title: string;
3
+ * Close dialog function to close the modal dialog
4
+ **/
5
+ onClose: () => void;
6
6
  /**
7
- * Description or body text of the popup.
8
- */
9
- description: string;
7
+ * distance between modal dialog and parent from top
8
+ **/
9
+ top?: string;
10
10
  /**
11
- * Callback for when the "Cancel" icon is clicked.
12
- */
13
- onCancel: () => void;
11
+ * distance between modal dialog and parent from left
12
+ **/
13
+ left?: string;
14
14
  /**
15
- * Callback for when the "Download for Windows" icon is clicked.
16
- */
17
- onDownloadWindows: () => void;
15
+ * To be used custom properties for the modal dialog through className
16
+ **/
17
+ className?: string;
18
18
  /**
19
- * Callback for when the "Download for macOS" icon is clicked.
20
- */
21
- onDownloadMac: () => void;
19
+ * Description of the dialog box
20
+ **/
21
+ description?: string;
22
22
  /**
23
- * Optional flag to control whether to display icons for download actions instead of buttons.
24
- * Defaults to `false` for buttons.
25
- */
26
- showIcons?: boolean;
27
- }
28
- export interface DownloadClientProps {
29
- onClose?: () => void;
30
- onClickWindows: () => void;
31
- onClickLinux: () => void;
32
- onClickMac: () => void;
33
- top?: string;
34
- left?: string;
23
+ * Download button function
24
+ **/
25
+ onClick?: (os: string) => void;
26
+ optionZIndex?: number;
35
27
  }
@@ -1,4 +1,4 @@
1
1
  import './MultiSelect.scss';
2
2
  import { MultiSelectProps } from './MultiSelectTypes';
3
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, loadMoreOptions, onEnter, }: MultiSelectProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default MultiSelect;
@@ -32,5 +32,6 @@ interface MultiSelectProps {
32
32
  labelAccessor?: string;
33
33
  valueAccessor?: string;
34
34
  onEnter?: (newOption: string) => void;
35
+ loadMoreOptions?: () => void;
35
36
  }
36
37
  export { Option, MultiSelectProps };
@@ -16,4 +16,5 @@ export interface DropdownProps {
16
16
  onSelect?: () => void;
17
17
  labelAccessor?: string;
18
18
  valueAccessor?: string;
19
+ loadMoreOptions?: () => void;
19
20
  }
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import 'react-phone-input-2/lib/style.css';
3
2
  import { PhoneInputProps } from './types';
4
3
  import './PhoneInput.scss';
5
4
  declare const PhoneInputField: React.FC<PhoneInputProps>;
@@ -7,4 +7,10 @@ export interface PhoneInputProps {
7
7
  width?: string;
8
8
  placeholder?: string;
9
9
  isValid: any;
10
+ id: string;
11
+ international?: boolean;
12
+ dropdownStyle?: React.CSSProperties;
13
+ enableAreaCodeStretch?: boolean;
14
+ defaultCountry?: string;
15
+ disabled?: boolean;
10
16
  }
@@ -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, }: 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, }: BranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Branches;
@@ -9,8 +9,11 @@ export interface BranchesProps {
9
9
  onAddBrowser: (modalId: string) => void;
10
10
  onDeleteBrowser: (id: string, runCount: number) => void;
11
11
  onAddRunBrowser: (id: string) => void;
12
- onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
13
12
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
13
+ addInstanceLabel?: string;
14
+ scriptType?: string;
15
+ onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
16
+ projectType?: string;
14
17
  }
15
18
  export interface branchTypeProps {
16
19
  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, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const ConnectingBranches: ({ machineBranchInstances, machineColumnCount, machineColumnWidth, onAddBrowser, onDeleteBrowser, onAddRunBrowser, onUpdateDataSetList, onUpdateAddBrowserInstance, addInstanceLabel, scriptType, projectType, }: ConnectingBranchesProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default ConnectingBranches;
@@ -6,6 +6,9 @@ export interface ConnectingBranchesProps {
6
6
  onAddBrowser: (modalId: string) => void;
7
7
  onDeleteBrowser: (id: string, runCount: number) => void;
8
8
  onAddRunBrowser: (id: string) => void;
9
- onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
10
9
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
10
+ addInstanceLabel?: string;
11
+ scriptType?: string;
12
+ projectType?: string;
13
+ onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
11
14
  }
@@ -7,19 +7,25 @@ export interface SequentialConnectingBranchProps {
7
7
  machineOptionsList?: Option[];
8
8
  onHandleSelect?: (option: Option) => void;
9
9
  onAddBrowserInstance?: (modalId: string) => void;
10
- onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
10
+ onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
11
11
  onDeleteBrowserInstance?: (id: string, runCount: number) => void;
12
12
  onAddRunBrowserInstance?: (machineInstanceId: string) => void;
13
13
  onDeleteMachineInstance?: () => void;
14
14
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
15
15
  dataSetValues: dataSetValues;
16
+ addInstanceLabel?: string;
17
+ scriptType?: string;
18
+ projectType?: string;
16
19
  }
17
20
  export interface MachineInfo {
18
21
  osName: string;
19
22
  osVersion: string;
20
23
  hostName: string;
24
+ iconName: string;
21
25
  }
22
26
  export interface DeviceInfo {
27
+ name: string;
28
+ platform: string;
23
29
  }
24
30
  export interface ExecutionContext {
25
31
  machineInstanceId: string;
package/lib/index.d.ts CHANGED
@@ -325,9 +325,10 @@ interface MultiSelectProps {
325
325
  labelAccessor?: string;
326
326
  valueAccessor?: string;
327
327
  onEnter?: (newOption: string) => void;
328
+ loadMoreOptions?: () => void;
328
329
  }
329
330
 
330
- declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, onEnter, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
331
+ declare const MultiSelect: ({ options, type, selectedOptions, onChange, acceptNewOption, zIndex, label, onSearch, required, disabled, errorMessage, displayCount: initialDisplayCount, placeholderForSearching, variant, onLabelPlusIconClick, onManageLabelsClick, className, highlightedMachine, onSelectButtonClick, labelAccessor, valueAccessor, withSelectButton, loadMoreOptions, onEnter, }: MultiSelectProps) => react_jsx_runtime.JSX.Element;
331
332
 
332
333
  interface ToasterProps {
333
334
  /**Boolean value to handle state of toaster. */
@@ -2162,19 +2163,25 @@ interface SequentialConnectingBranchProps {
2162
2163
  machineOptionsList?: Option$2[];
2163
2164
  onHandleSelect?: (option: Option$2) => void;
2164
2165
  onAddBrowserInstance?: (modalId: string) => void;
2165
- onUpdateAddBrowserInstance: (id: string, machineInstanceId: string) => void;
2166
+ onUpdateAddBrowserInstance: (modalId: string, machineInstance: ExecutionContext) => void;
2166
2167
  onDeleteBrowserInstance?: (id: string, runCount: number) => void;
2167
2168
  onAddRunBrowserInstance?: (machineInstanceId: string) => void;
2168
2169
  onDeleteMachineInstance?: () => void;
2169
2170
  onUpdateDataSetList: (id: string, dataSetObject: dataSetValues, isInstance?: boolean, noOfRuns?: number, machineInstanceId?: string) => void;
2170
2171
  dataSetValues: dataSetValues;
2172
+ addInstanceLabel?: string;
2173
+ scriptType?: string;
2174
+ projectType?: string;
2171
2175
  }
2172
2176
  interface MachineInfo {
2173
2177
  osName: string;
2174
2178
  osVersion: string;
2175
2179
  hostName: string;
2180
+ iconName: string;
2176
2181
  }
2177
2182
  interface DeviceInfo {
2183
+ name: string;
2184
+ platform: string;
2178
2185
  }
2179
2186
  interface ExecutionContext {
2180
2187
  machineInstanceId: string;
@@ -2557,44 +2564,37 @@ interface LineChartProps {
2557
2564
  textSize?: string | number;
2558
2565
  fontWeight?: string | number;
2559
2566
  numberSize?: string | number;
2567
+ proportionalSpacing?: boolean;
2560
2568
  }
2561
2569
 
2562
2570
  declare const LineChart: React__default.FC<LineChartProps>;
2563
2571
 
2564
2572
  interface DownloadClientProps {
2565
2573
  /**
2566
- * Title of the popup.
2567
- */
2568
- title: string;
2574
+ * Close dialog function to close the modal dialog
2575
+ **/
2576
+ onClose: () => void;
2569
2577
  /**
2570
- * Description or body text of the popup.
2571
- */
2572
- description: string;
2578
+ * distance between modal dialog and parent from top
2579
+ **/
2580
+ top?: string;
2573
2581
  /**
2574
- * Callback for when the "Cancel" icon is clicked.
2575
- */
2576
- onCancel: () => void;
2582
+ * distance between modal dialog and parent from left
2583
+ **/
2584
+ left?: string;
2577
2585
  /**
2578
- * Callback for when the "Download for Windows" icon is clicked.
2579
- */
2580
- onDownloadWindows: () => void;
2586
+ * To be used custom properties for the modal dialog through className
2587
+ **/
2588
+ className?: string;
2581
2589
  /**
2582
- * Callback for when the "Download for macOS" icon is clicked.
2583
- */
2584
- onDownloadMac: () => void;
2590
+ * Description of the dialog box
2591
+ **/
2592
+ description?: string;
2585
2593
  /**
2586
- * Optional flag to control whether to display icons for download actions instead of buttons.
2587
- * Defaults to `false` for buttons.
2588
- */
2589
- showIcons?: boolean;
2590
- }
2591
- interface DownloadClientProps {
2592
- onClose?: () => void;
2593
- onClickWindows: () => void;
2594
- onClickLinux: () => void;
2595
- onClickMac: () => void;
2596
- top?: string;
2597
- left?: string;
2594
+ * Download button function
2595
+ **/
2596
+ onClick?: (os: string) => void;
2597
+ optionZIndex?: number;
2598
2598
  }
2599
2599
 
2600
2600
  declare const DownloadClient: React.FC<DownloadClientProps>;
@@ -2847,6 +2847,7 @@ interface OperatingSystemInfo {
2847
2847
  osName: string;
2848
2848
  osVersion: string;
2849
2849
  hostName: string;
2850
+ iconName: string;
2850
2851
  }
2851
2852
  interface RunLevelExecutionDataSet {
2852
2853
  peVariableSetId: string;
@@ -3066,6 +3067,12 @@ interface PhoneInputProps {
3066
3067
  width?: string;
3067
3068
  placeholder?: string;
3068
3069
  isValid: any;
3070
+ id: string;
3071
+ international?: boolean;
3072
+ dropdownStyle?: React.CSSProperties;
3073
+ enableAreaCodeStretch?: boolean;
3074
+ defaultCountry?: string;
3075
+ disabled?: boolean;
3069
3076
  }
3070
3077
 
3071
3078
  declare const PhoneInputField: React__default.FC<PhoneInputProps>;