pixel-react 1.4.5 → 1.4.6

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 (168) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/lib/assets/fonts/Poppins-Bold.ttf +0 -0
  3. package/lib/assets/fonts/Poppins-Medium.ttf +0 -0
  4. package/lib/assets/fonts/Poppins-Regular.ttf +0 -0
  5. package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
  6. package/lib/components/MachineInputField/types.d.ts +1 -0
  7. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.d.ts +1 -1
  8. package/lib/components/SequentialConnectingBranch/types.d.ts +7 -4
  9. package/lib/index.d.ts +12 -10
  10. package/lib/index.esm.js +200 -427
  11. package/lib/index.esm.js.map +1 -1
  12. package/lib/index.js +200 -427
  13. package/lib/index.js.map +1 -1
  14. package/lib/utils/getSequentialPayload/getSequentialPayload.d.ts +2 -2
  15. package/lib/utils/getSequentialPayload/types.d.ts +2 -4
  16. package/package.json +2 -2
  17. package/src/assets/icons/add_file.svg +4 -13
  18. package/src/assets/icons/eye_open_icon.svg +10 -0
  19. package/src/assets/icons/windows.svg +8 -4
  20. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +2 -2
  21. package/src/components/Checkbox/Checkbox.scss +1 -1
  22. package/src/components/Icon/iconList.ts +2 -0
  23. package/src/components/MachineInputField/MachineInputField.scss +4 -2
  24. package/src/components/MachineInputField/MachineInputField.tsx +2 -0
  25. package/src/components/MachineInputField/types.ts +1 -0
  26. package/src/components/MenuOption/MenuOption.tsx +3 -4
  27. package/src/components/MultiSelect/MultiSelect.scss +50 -45
  28. package/src/components/MultiSelect/MultiSelect.tsx +1 -1
  29. package/src/components/Select/components/Dropdown.tsx +22 -8
  30. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.scss +34 -32
  31. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.tsx +34 -40
  32. package/src/components/SequentialConnectingBranch/SequentialConnectingBranch.tsx +27 -100
  33. package/src/components/SequentialConnectingBranch/components/Branches/Branches.scss +5 -5
  34. package/src/components/SequentialConnectingBranch/components/Branches/Branches.tsx +5 -3
  35. package/src/components/SequentialConnectingBranch/types.ts +7 -4
  36. package/src/components/Tooltip/Tooltip.scss +1 -0
  37. package/src/components/Tooltip/Tooltip.tsx +1 -2
  38. package/src/utils/getSequentialPayload/getSequentialPayload.stories.tsx +2 -5
  39. package/src/utils/getSequentialPayload/getSequentialPayload.ts +11 -24
  40. package/src/utils/getSequentialPayload/types.ts +3 -6
  41. package/lib/StyleGuide/ColorPalette/ColorPalette.stories.d.ts +0 -6
  42. package/lib/StyleGuide/Typography/Typography.stories.d.ts +0 -6
  43. package/lib/components/Accordion/Accordion.stories.d.ts +0 -6
  44. package/lib/components/AddButton/AddButton.d.ts +0 -5
  45. package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
  46. package/lib/components/AddButton/index.d.ts +0 -1
  47. package/lib/components/AddButton/types.d.ts +0 -4
  48. package/lib/components/AddResourceButton/AddButton.stories.d.ts +0 -8
  49. package/lib/components/AllProjectsDropdown/AllProjectsDropdown.stories.d.ts +0 -7
  50. package/lib/components/AppHeader/AppHeader.stories.d.ts +0 -7
  51. package/lib/components/AttachImage/AttachImage.stories.d.ts +0 -7
  52. package/lib/components/AttachmentButton/AttachmentButton.stories.d.ts +0 -9
  53. package/lib/components/Avatar/Avatar.stories.d.ts +0 -10
  54. package/lib/components/Button/Button.stories.d.ts +0 -13
  55. package/lib/components/Charts/BarChart/BarChart.stories.d.ts +0 -6
  56. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +0 -7
  57. package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -6
  58. package/lib/components/Charts/IconRadialChart/IconRadialChart.stories.d.ts +0 -8
  59. package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -7
  60. package/lib/components/Charts/MultiRadialChart/MultiRadialChart.stories.d.ts +0 -8
  61. package/lib/components/Charts/PieChart/PieChart.stories.d.ts +0 -7
  62. package/lib/components/Charts/RadialChart/RadialChart.stories.d.ts +0 -6
  63. package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -8
  64. package/lib/components/Chip/Chip.stories.d.ts +0 -14
  65. package/lib/components/ConnectingBranch/ConnectingBranch.stories.d.ts +0 -6
  66. package/lib/components/DatePicker/DatePicker.stories.d.ts +0 -9
  67. package/lib/components/DragAndDrop/DragAndDrop.stories.d.ts +0 -6
  68. package/lib/components/Drawer/Drawer.stories.d.ts +0 -12
  69. package/lib/components/EditTextField/EditTextField.stories.d.ts +0 -10
  70. package/lib/components/Editor/Editor.stories.d.ts +0 -6
  71. package/lib/components/Excel/ExcelFile.stories.d.ts +0 -6
  72. package/lib/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
  73. package/lib/components/ExcelFile/ColorBarselector/ColorBarSelector.d.ts +0 -8
  74. package/lib/components/ExcelFile/ContextMenu/ContextMenu.d.ts +0 -4
  75. package/lib/components/ExcelFile/ExcelFile/Excel/ActiveCell.d.ts +0 -7
  76. package/lib/components/ExcelFile/ExcelFile/Excel/Cell.d.ts +0 -4
  77. package/lib/components/ExcelFile/ExcelFile/Excel/ColumnIndicator.d.ts +0 -5
  78. package/lib/components/ExcelFile/ExcelFile/Excel/Copied.d.ts +0 -3
  79. package/lib/components/ExcelFile/ExcelFile/Excel/CornerIndicator.d.ts +0 -5
  80. package/lib/components/ExcelFile/ExcelFile/Excel/DataEditor.d.ts +0 -5
  81. package/lib/components/ExcelFile/ExcelFile/Excel/DataViewer.d.ts +0 -8
  82. package/lib/components/ExcelFile/ExcelFile/Excel/FloatingRect.d.ts +0 -10
  83. package/lib/components/ExcelFile/ExcelFile/Excel/HeaderRow.d.ts +0 -3
  84. package/lib/components/ExcelFile/ExcelFile/Excel/Row.d.ts +0 -3
  85. package/lib/components/ExcelFile/ExcelFile/Excel/RowIndicator.d.ts +0 -5
  86. package/lib/components/ExcelFile/ExcelFile/Excel/Selected.d.ts +0 -3
  87. package/lib/components/ExcelFile/ExcelFile/Excel/Spreadsheet.d.ts +0 -81
  88. package/lib/components/ExcelFile/ExcelFile/Excel/Table.d.ts +0 -3
  89. package/lib/components/ExcelFile/ExcelFile/Excel/actions.d.ts +0 -130
  90. package/lib/components/ExcelFile/ExcelFile/Excel/areModelsEqual.d.ts +0 -1
  91. package/lib/components/ExcelFile/ExcelFile/Excel/context.d.ts +0 -8
  92. package/lib/components/ExcelFile/ExcelFile/Excel/engine/engine.d.ts +0 -22
  93. package/lib/components/ExcelFile/ExcelFile/Excel/engine/formula.d.ts +0 -17
  94. package/lib/components/ExcelFile/ExcelFile/Excel/engine/index.d.ts +0 -2
  95. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-graph.d.ts +0 -21
  96. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-hash.d.ts +0 -3
  97. package/lib/components/ExcelFile/ExcelFile/Excel/engine/point-set.d.ts +0 -24
  98. package/lib/components/ExcelFile/ExcelFile/Excel/index.d.ts +0 -13
  99. package/lib/components/ExcelFile/ExcelFile/Excel/matrix.d.ts +0 -67
  100. package/lib/components/ExcelFile/ExcelFile/Excel/point-range.d.ts +0 -22
  101. package/lib/components/ExcelFile/ExcelFile/Excel/point.d.ts +0 -11
  102. package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
  103. package/lib/components/ExcelFile/ExcelFile/Excel/selection.d.ts +0 -95
  104. package/lib/components/ExcelFile/ExcelFile/Excel/types.d.ts +0 -215
  105. package/lib/components/ExcelFile/ExcelFile/Excel/use-dispatch.d.ts +0 -3
  106. package/lib/components/ExcelFile/ExcelFile/Excel/use-selector.d.ts +0 -3
  107. package/lib/components/ExcelFile/ExcelFile/Excel/util.d.ts +0 -45
  108. package/lib/components/ExcelFile/ExcelFile/ExcelFile.d.ts +0 -3
  109. package/lib/components/ExcelFile/ExcelFile.stories.d.ts +0 -6
  110. package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -15
  111. package/lib/components/ExcelFile/ExcelToolBar/ExcelToolBar.d.ts +0 -3
  112. package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
  113. package/lib/components/ExcelFile/Types.d.ts +0 -176
  114. package/lib/components/ExcelFile/index.d.ts +0 -1
  115. package/lib/components/ExpandableMenu/ExpandableMenu.stories.d.ts +0 -7
  116. package/lib/components/FF_Captcha/captcha.stories.d.ts +0 -8
  117. package/lib/components/FileDropzone/FileDropzone.stories.d.ts +0 -8
  118. package/lib/components/Form/Form.stories.d.ts +0 -7
  119. package/lib/components/GridLayout/GridLayout.stories.d.ts +0 -8
  120. package/lib/components/HighlightText/HighlightText.stories.d.ts +0 -6
  121. package/lib/components/Icon/Icon.stories.d.ts +0 -8
  122. package/lib/components/IconButton/IconButton.stories.d.ts +0 -7
  123. package/lib/components/IconRadioGroup/IconRadioGroup.stories.d.ts +0 -7
  124. package/lib/components/Input/Input.stories.d.ts +0 -9
  125. package/lib/components/InputWithDropdown/InputWithDropdown.stories.d.ts +0 -9
  126. package/lib/components/LabelEditTextField/LabelEditTextField.stories.d.ts +0 -13
  127. package/lib/components/LazyLoad/LazyLoad.stories.d.ts +0 -6
  128. package/lib/components/MachineInputField/MachineInputField.stories.d.ts +0 -6
  129. package/lib/components/MenuOption/MenuOption.stories.d.ts +0 -16
  130. package/lib/components/MiniModal/MiniModal.stories.d.ts +0 -10
  131. package/lib/components/Modal/Modal.stories.d.ts +0 -7
  132. package/lib/components/ModulesChip/ModuleChip.stories.d.ts +0 -6
  133. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -12
  134. package/lib/components/NLPInput/NlpInput.stories.d.ts +0 -7
  135. package/lib/components/Paper/Paper.stories.d.ts +0 -11
  136. package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -10
  137. package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -9
  138. package/lib/components/Search/Search.stories.d.ts +0 -6
  139. package/lib/components/Select/Select.stories.d.ts +0 -14
  140. package/lib/components/Select/components/Dropdown/Dropdown.d.ts +0 -4
  141. package/lib/components/Select/components/Dropdown/dropdownTypes.d.ts +0 -17
  142. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.stories.d.ts +0 -6
  143. package/lib/components/StateDropdown/StateDropdown.stories.d.ts +0 -10
  144. package/lib/components/StatusButton/StatusButton.stories.d.ts +0 -14
  145. package/lib/components/StatusCard/StatusCard.stories.d.ts +0 -11
  146. package/lib/components/Table/Table.stories.d.ts +0 -13
  147. package/lib/components/TableTree/TableTree.stories.d.ts +0 -7
  148. package/lib/components/Tabs/Tabs.stories.d.ts +0 -9
  149. package/lib/components/TextArea/Textarea.stories.d.ts +0 -9
  150. package/lib/components/Toast/Toast.stories.d.ts +0 -6
  151. package/lib/components/Toastify/Toastify.stories.d.ts +0 -6
  152. package/lib/components/Toggle/Toggle.stories.d.ts +0 -12
  153. package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -15
  154. package/lib/components/Typography/Typography.stories.d.ts +0 -10
  155. package/lib/components/VariableInput/VariableInput.stories.d.ts +0 -6
  156. package/lib/utils/checkEmpty/checkEmpty.stories.d.ts +0 -6
  157. package/lib/utils/compareArrays/compareArrays.stories.d.ts +0 -6
  158. package/lib/utils/compareObjects/compareObjects.stories.d.ts +0 -6
  159. package/lib/utils/debounce/debounce.stories.d.ts +0 -6
  160. package/lib/utils/ffID/ffID.stories.d.ts +0 -6
  161. package/lib/utils/find/findAndInsert.d.ts +0 -7
  162. package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
  163. package/lib/utils/findAndInsert/findAndInsert.stories.d.ts +0 -7
  164. package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +0 -6
  165. package/lib/utils/getExtension/getExtension.stories.d.ts +0 -6
  166. package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +0 -10
  167. package/lib/utils/throttle/throttle.stories.d.ts +0 -6
  168. package/lib/utils/truncateText/truncateText.stories.d.ts +0 -6
Binary file
@@ -8,4 +8,5 @@ export interface MachineInputFieldProps {
8
8
  runCount: number;
9
9
  className?: string;
10
10
  contentReverse?: boolean;
11
+ onClick?: () => void;
11
12
  }
@@ -1,4 +1,4 @@
1
1
  import './SequentialConnectingBranch.scss';
2
2
  import { SequentialConnectingBranchProps } from './types';
3
- declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, selectedMachine, machineOptionsList, onHandleSelect, onAddBrowserInstance, onAddRunBrowserInstance, onDeleteBrowserInstance, }: SequentialConnectingBranchProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default SequentialConnectingBranch;
@@ -3,10 +3,13 @@ export interface SequentialConnectingBranchProps {
3
3
  machineInstances?: ExecutionContext[] | {}[];
4
4
  machineColumnWidth?: number;
5
5
  machineColumnCount?: number;
6
- machineInstance: ExecutionContext;
7
- selectedMachine?: string;
8
- onMachineSelectionChange?: (selectedMachine: Option) => void;
6
+ selectedMachine?: Option;
9
7
  machineOptionsList?: Option[];
8
+ onHandleSelect?: (option: Option) => void;
9
+ onAddBrowserInstance?: () => void;
10
+ onUpdateAddBrowserInstance?: () => void;
11
+ onDeleteBrowserInstance?: (id: string, runCount: number) => void;
12
+ onAddRunBrowserInstance?: (id: string) => void;
10
13
  }
11
14
  export interface MachineInfo {
12
15
  osName: string;
@@ -18,7 +21,7 @@ export interface DeviceInfo {
18
21
  export interface ExecutionContext {
19
22
  id: string;
20
23
  clientId: string;
21
- runCount: number;
24
+ numberOfRuns: number;
22
25
  executionEnv?: 'Local';
23
26
  browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
24
27
  browserVersion: string;
package/lib/index.d.ts CHANGED
@@ -1912,6 +1912,7 @@ interface MachineInputFieldProps {
1912
1912
  runCount: number;
1913
1913
  className?: string;
1914
1914
  contentReverse?: boolean;
1915
+ onClick?: () => void;
1915
1916
  }
1916
1917
 
1917
1918
  declare const MachineInputField: React$1.ForwardRefExoticComponent<MachineInputFieldProps & React$1.RefAttributes<HTMLDivElement>>;
@@ -1920,10 +1921,13 @@ interface SequentialConnectingBranchProps {
1920
1921
  machineInstances?: ExecutionContext[] | {}[];
1921
1922
  machineColumnWidth?: number;
1922
1923
  machineColumnCount?: number;
1923
- machineInstance: ExecutionContext;
1924
- selectedMachine?: string;
1925
- onMachineSelectionChange?: (selectedMachine: Option$2) => void;
1924
+ selectedMachine?: Option$2;
1926
1925
  machineOptionsList?: Option$2[];
1926
+ onHandleSelect?: (option: Option$2) => void;
1927
+ onAddBrowserInstance?: () => void;
1928
+ onUpdateAddBrowserInstance?: () => void;
1929
+ onDeleteBrowserInstance?: (id: string, runCount: number) => void;
1930
+ onAddRunBrowserInstance?: (id: string) => void;
1927
1931
  }
1928
1932
  interface MachineInfo {
1929
1933
  osName: string;
@@ -1935,7 +1939,7 @@ interface DeviceInfo {
1935
1939
  interface ExecutionContext {
1936
1940
  id: string;
1937
1941
  clientId: string;
1938
- runCount: number;
1942
+ numberOfRuns: number;
1939
1943
  executionEnv?: 'Local';
1940
1944
  browserName?: 'Local' | 'mac' | 'android' | 'Google Chrome';
1941
1945
  browserVersion: string;
@@ -1948,7 +1952,7 @@ interface ExecutionContext {
1948
1952
  testDataSetId: string;
1949
1953
  }
1950
1954
 
1951
- declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, machineInstance, selectedMachine, machineOptionsList, onMachineSelectionChange, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
1955
+ declare const SequentialConnectingBranch: ({ machineInstances, machineColumnWidth, machineColumnCount, selectedMachine, machineOptionsList, onHandleSelect, onAddBrowserInstance, onAddRunBrowserInstance, onDeleteBrowserInstance, }: SequentialConnectingBranchProps) => react_jsx_runtime.JSX.Element;
1952
1956
 
1953
1957
  interface AttachmentUploaderProps {
1954
1958
  label: string;
@@ -2352,18 +2356,16 @@ interface MachineExecutionInstance {
2352
2356
  systemUrl: string;
2353
2357
  machineInfo: OperatingSystemInfo;
2354
2358
  deviceInfo: any[];
2355
- headless: boolean;
2356
- }
2357
- interface MachineExecutionInstanceDataSet extends MachineExecutionInstance {
2358
2359
  runLevelExecutionDataSets: RunLevelExecutionDataSet[];
2360
+ headless: boolean;
2359
2361
  }
2360
- interface SequentialMachineInstance extends MachineExecutionInstance {
2362
+ interface SequentialMachineInstance extends Omit<MachineExecutionInstance, 'runLevelExecutionDataSets'> {
2361
2363
  peVariableSetId: string;
2362
2364
  globalVariableSetId: string;
2363
2365
  testDataSetId: string;
2364
2366
  }
2365
2367
 
2366
- declare const getSequentialPayload: (machineInstances?: MachineExecutionInstanceDataSet[]) => SequentialMachineInstance[];
2368
+ declare const getSequentialPayload: (data: MachineExecutionInstance[]) => SequentialMachineInstance[];
2367
2369
 
2368
2370
  declare const ConnectingBranch: React__default.FC;
2369
2371