pixel-priya 1.2.9 → 1.2.11

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 (61) hide show
  1. package/lib/StyleGuide/ColorPalette/colorPaletteList.js +21 -1
  2. package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
  3. package/lib/_virtual/index10.js +2 -2
  4. package/lib/_virtual/index11.js +2 -2
  5. package/lib/_virtual/index9.js +2 -2
  6. package/lib/assets/icons/cloud_clock.svg.js +6 -0
  7. package/lib/assets/icons/cloud_clock.svg.js.map +1 -0
  8. package/lib/assets/icons/fill_filter.svg.js +1 -1
  9. package/lib/assets/icons/fill_filter.svg.js.map +1 -1
  10. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +28 -3
  11. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  12. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +2 -1
  13. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  14. package/lib/components/Drawer/Drawer.js +1 -1
  15. package/lib/components/Drawer/Drawer.js.map +1 -1
  16. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +10 -33
  17. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +25 -13
  20. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  21. package/lib/components/Icon/iconList.js +2 -0
  22. package/lib/components/Icon/iconList.js.map +1 -1
  23. package/lib/components/Input/Input.js +13 -4
  24. package/lib/components/Input/Input.js.map +1 -1
  25. package/lib/components/Input/types.d.ts +4 -0
  26. package/lib/components/MachineInputField/MachineInputField.js +1 -1
  27. package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
  28. package/lib/components/MachineInputField/types.d.ts +1 -1
  29. package/lib/components/PrePostTable/PrePostTable.d.ts +1 -1
  30. package/lib/components/PrePostTable/PrePostTable.js +14 -4
  31. package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
  32. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.d.ts +1 -1
  33. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +2 -4
  34. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
  35. package/lib/components/SequentialConnectingBranch/components/Branches/types.d.ts +1 -1
  36. package/lib/components/StepsLandingTable/StepLandingTable.js +3 -0
  37. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  38. package/lib/components/TableTree/Components/TableHead.d.ts +1 -1
  39. package/lib/components/TableTree/Components/TableHead.js +8 -10
  40. package/lib/components/TableTree/Components/TableHead.js.map +1 -1
  41. package/lib/components/TableTree/TableTree.js +2 -1
  42. package/lib/components/TableTree/TableTree.js.map +1 -1
  43. package/lib/components/TableTree/types.d.ts +1 -0
  44. package/lib/index.cjs +125 -90
  45. package/lib/index.cjs.map +1 -1
  46. package/lib/index.d.ts +6 -2
  47. package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
  48. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  49. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  50. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  51. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  52. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  53. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  54. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  55. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  56. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  57. package/lib/styles.css +1 -1
  58. package/lib/styles.css.map +1 -1
  59. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js +2 -2
  60. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js.map +1 -1
  61. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -896,7 +896,7 @@ const SvgScenariosIcon = (props) => /* @__PURE__ */ React__namespace.createEleme
896
896
 
897
897
  const SvgRequestIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.62939 11.963H3.07383C1.92716 11.963 0.999756 11.0356 0.999756 9.88889C0.999756 8.74222 1.92716 7.81481 3.07383 7.81481C3.12124 7.81481 3.16864 7.81778 3.21309 7.82341C3.12124 7.54222 3.07383 7.2403 3.07383 6.92592C3.07383 5.29037 4.40124 3.96296 6.03679 3.96296C6.59087 3.96296 7.10939 4.11407 7.55087 4.38074C7.77902 2.63822 9.26939 1.2963 11.0738 1.2963C13.0383 1.2963 14.6294 2.88741 14.6294 4.85185C14.6294 5.09215 14.6057 5.32592 14.5612 5.55081C15.9627 5.91259 16.9998 7.18667 16.9998 8.7037C16.9998 10.5052 15.539 11.963 13.7405 11.963H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M7.51829 10.1852V6.03706C6.37281 6.03706 5.44421 6.96565 5.44421 8.11113V10.1852", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M5.44421 8.40732H7.51829", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.7776 7.22224C10.7776 7.87676 10.2469 8.40743 9.59238 8.40743H8.70349V6.03706H9.59238C10.2469 6.03706 10.7776 6.56772 10.7776 7.22224Z", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8.70337 8.40736V10.1851", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.6664 6.03709H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.6664 10.1852H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.2589 6.03709V10.1852", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.92566 13.4445L8.40714 11.963L9.88862 13.4445", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8.4071 11.963V16.7037", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.8515 15.2222L11.37 16.7036L9.88855 15.2222", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.3701 16.7037V11.963", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }));
898
898
 
899
- const SvgFillFilter = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_2947_13043)" }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.14282 6.30732C5.14282 5.03869 6.08816 4 7.32222 4H16.6777C17.8878 4 18.8571 5.01358 18.8571 6.23432V7.8404C18.8571 8.27652 18.7291 8.71582 18.5689 9.07888C18.4079 9.44375 18.1838 9.80062 17.9288 10.0632C17.9178 10.0746 17.9065 10.0856 17.8948 10.0962L14.8472 12.8703C14.8417 12.8753 14.8361 12.8803 14.8305 12.8851C14.736 12.9662 14.6204 13.1252 14.5278 13.35C14.4367 13.5711 14.392 13.7981 14.392 13.9727V17.1119C14.392 17.4828 14.2776 17.8595 14.1219 18.1679C13.9707 18.4675 13.7324 18.7973 13.4 19.0071L12.4159 19.6587L12.4032 19.6669C10.9977 20.5578 9.04094 19.5725 9.04094 17.7689V13.8997C9.04094 13.7747 9.0025 13.5829 8.91694 13.3626C8.8383 13.1601 8.73932 12.9835 8.65486 12.8689L5.99269 9.98245C5.73901 9.71868 5.53517 9.38141 5.39397 9.05698C5.25415 8.73569 5.14282 8.35128 5.14282 7.98641V6.30732Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("circle", { cx: 17, cy: 4.36511, r: 3, fill: "#FD9C35" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_2947_13043" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "white" }))));
899
+ const SvgFillFilter = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 14 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.142822 2.30732C0.142822 1.03869 1.08816 0 2.32222 0H11.6777C12.8878 0 13.8571 1.01358 13.8571 2.23432V3.8404C13.8571 4.27652 13.7291 4.71582 13.5689 5.07888C13.4079 5.44375 13.1838 5.80062 12.9288 6.06324C12.9178 6.07458 12.9065 6.08557 12.8948 6.09619L9.84719 8.87034C9.84169 8.87534 9.83612 8.88027 9.83048 8.88511C9.73599 8.96621 9.62041 9.12516 9.52782 9.34997C9.43674 9.5711 9.39199 9.79813 9.39199 9.97272V13.1119C9.39199 13.4828 9.27765 13.8595 9.12194 14.1679C8.97074 14.4675 8.73245 14.7973 8.39996 15.0071L7.41592 15.6587L7.4032 15.6669C5.99766 16.5578 4.04094 15.5725 4.04094 13.7689V9.89972C4.04094 9.77465 4.0025 9.58294 3.91694 9.36263C3.8383 9.16011 3.73932 8.98353 3.65486 8.86891L0.992695 5.98245C0.739011 5.71868 0.535167 5.38141 0.39397 5.05698C0.254146 4.73569 0.142822 4.35128 0.142822 3.98641V2.30732Z", fill: "#71347B" }));
900
900
 
901
901
  const SvgStatusFillFilterIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.142822 2.30732C0.142822 1.03869 1.08816 0 2.32222 0H11.6777C12.8878 0 13.8571 1.01358 13.8571 2.23432V3.8404C13.8571 4.27652 13.7291 4.71582 13.5689 5.07888C13.4079 5.44375 13.1838 5.80062 12.9288 6.06324C12.9178 6.07458 12.9065 6.08557 12.8948 6.09619L9.84719 8.87034C9.84169 8.87534 9.83612 8.88027 9.83048 8.88511C9.73599 8.96621 9.62041 9.12516 9.52782 9.34997C9.43674 9.5711 9.39199 9.79813 9.39199 9.97272V13.1119C9.39199 13.4828 9.27765 13.8595 9.12194 14.1679C8.97074 14.4675 8.73245 14.7973 8.39996 15.0071L7.41592 15.6587L7.4032 15.6669C5.99766 16.5578 4.04094 15.5725 4.04094 13.7689V9.89972C4.04094 9.77465 4.0025 9.58294 3.91694 9.36263C3.8383 9.16011 3.73932 8.98353 3.65486 8.86891L0.992695 5.98245C0.739011 5.71868 0.535167 5.38141 0.39397 5.05698C0.254146 4.73569 0.142822 4.35128 0.142822 3.98641V2.30732Z", fill: "currentColor" }));
902
902
 
@@ -1042,6 +1042,8 @@ const SvgEclipsePlugin = (props) => /* @__PURE__ */ React__namespace.createEleme
1042
1042
 
1043
1043
  const SvgAiToken = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M12 1.5C6.21 1.5 1.5 6.21 1.5 12C1.5 17.79 6.21 22.5 12 22.5C17.79 22.5 22.5 17.79 22.5 12C22.5 6.21 17.79 1.5 12 1.5ZM12 19.5C7.8645 19.5 4.5 16.1355 4.5 12C4.5 7.8645 7.8645 4.5 12 4.5C16.1355 4.5 19.5 7.8645 19.5 12C19.5 16.1355 16.1355 19.5 12 19.5Z", fill: "#FBC34E" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12 4.5C7.8645 4.5 4.5 7.8645 4.5 12C4.5 16.1355 7.8645 19.5 12 19.5C16.1355 19.5 19.5 16.1355 19.5 12C19.5 7.8645 16.1355 4.5 12 4.5ZM15.183 12.954L14.3205 13.4235C13.9425 13.6298 13.6327 13.9387 13.4257 14.316L12.9525 15.1755C12.7613 15.5235 12.3967 15.7388 12 15.7388C11.6033 15.7388 11.2387 15.5227 11.0475 15.1755L10.575 14.3153C10.3673 13.9373 10.0575 13.6283 9.67875 13.422L8.81775 12.9532C8.46675 12.7642 8.25 12.3983 8.25 12C8.25 11.6017 8.46675 11.2357 8.817 11.046L9.6795 10.5765C10.0575 10.3703 10.3672 10.0612 10.5743 9.684L11.0475 8.8245C11.2387 8.4765 11.6033 8.26125 12 8.26125C12.3967 8.26125 12.7613 8.47725 12.9525 8.8245L13.425 9.68475C13.6327 10.062 13.9425 10.371 14.3205 10.5772L15.1823 11.046C15.5332 11.2357 15.75 11.6017 15.75 12C15.75 12.3983 15.5332 12.7642 15.183 12.954Z", fill: "#E5A533" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M15.1823 11.0452L14.3205 10.5765C13.9425 10.3702 13.6327 10.0612 13.425 9.684L12.9525 8.82375C12.7613 8.4765 12.3967 8.2605 12 8.2605C11.6033 8.2605 11.2387 8.4765 11.0475 8.82375L10.575 9.68325C10.368 10.0612 10.0582 10.3702 9.68025 10.5757L8.81775 11.0452C8.46675 11.2357 8.25 11.6017 8.25 12C8.25 12.3982 8.46675 12.7642 8.81775 12.9547L9.67875 13.4235C10.0575 13.6297 10.3673 13.9387 10.575 14.3167L11.0475 15.177C11.2387 15.5242 11.6033 15.7402 12 15.7402C12.3967 15.7402 12.7613 15.5242 12.9525 15.177L13.4257 14.3175C13.6327 13.9395 13.9425 13.6305 14.3205 13.425L15.183 12.9555C15.5332 12.7642 15.75 12.3982 15.75 12C15.75 11.6017 15.5332 11.2357 15.1823 11.0452Z", fill: "#E4EDF2" }));
1044
1044
 
1045
+ const SvgCloudClock = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.00244 0.669189C2.9708 0.669189 0.498535 3.14145 0.498535 6.1731C0.498535 9.20474 2.9708 11.6721 6.00244 11.6721C9.03408 11.6721 11.5015 9.20474 11.5015 6.1731C11.5019 6.10702 11.4891 6.04153 11.4641 5.9804C11.439 5.91927 11.402 5.86372 11.3554 5.81695C11.3087 5.77019 11.2532 5.73313 11.1921 5.70794C11.1311 5.68274 11.0656 5.66991 10.9995 5.67017C10.9338 5.67042 10.8687 5.68364 10.8081 5.70907C10.7475 5.73449 10.6924 5.77162 10.6462 5.81834C10.5999 5.86505 10.5633 5.92043 10.5385 5.98131C10.5137 6.04218 10.5011 6.10735 10.5015 6.1731C10.5015 8.6643 8.49364 10.6721 6.00244 10.6721C3.51124 10.6721 1.49854 8.6643 1.49854 6.1731C1.49854 3.68189 3.51124 1.66919 6.00244 1.66919C6.13437 1.66868 6.26076 1.61604 6.35405 1.52275C6.44734 1.42946 6.49997 1.30307 6.50049 1.17114C6.50075 1.10548 6.48807 1.04041 6.46318 0.979652C6.43829 0.918891 6.40167 0.863627 6.35542 0.817016C6.30918 0.770405 6.2542 0.73336 6.19364 0.707996C6.13307 0.682632 6.0681 0.669445 6.00244 0.669189ZM7.8999 1.04517C7.70472 1.04706 7.52041 1.16362 7.44189 1.35571C7.3365 1.61154 7.45815 1.90435 7.71436 2.00903C7.72021 2.01149 7.72399 2.0147 7.72891 2.01678C7.98473 2.12507 8.28001 2.00393 8.38613 1.74725C8.49196 1.49244 8.3712 1.20006 8.1166 1.09393C8.10942 1.09091 8.10148 1.0858 8.09512 1.08316C8.03117 1.05681 7.96497 1.0445 7.8999 1.04517ZM9.52686 2.1272C9.39508 2.12828 9.26913 2.18117 9.17627 2.27466C8.97997 2.47009 8.97997 2.7882 9.17627 2.98364C9.18043 2.9878 9.18288 2.99025 9.18704 2.99441C9.38146 3.19173 9.69957 3.19361 9.89603 2.99838C10.0923 2.80294 10.0923 2.48483 9.89603 2.2894C9.89092 2.28429 9.88658 2.27976 9.88148 2.27484C9.78772 2.18045 9.65991 2.12731 9.52686 2.1272ZM6.00244 2.67017C5.93637 2.66978 5.87088 2.68249 5.80975 2.70757C5.74862 2.73264 5.69306 2.76958 5.6463 2.81626C5.59953 2.86294 5.56248 2.91842 5.53729 2.9795C5.51209 3.04058 5.49925 3.10605 5.49951 3.17212V6.1731C5.49978 6.26589 5.52586 6.35679 5.57484 6.4356C5.62382 6.51442 5.69377 6.57806 5.77686 6.61938L7.77686 7.61938C7.8357 7.64888 7.89978 7.66646 7.96543 7.67113C8.03108 7.6758 8.09701 7.66746 8.15943 7.6466C8.22186 7.62573 8.27954 7.59274 8.32919 7.54953C8.37883 7.50631 8.41946 7.45372 8.44873 7.39478C8.47822 7.33594 8.49581 7.27185 8.50048 7.2062C8.50515 7.14055 8.49681 7.07462 8.47594 7.0122C8.45508 6.94977 8.42209 6.89209 8.37887 6.84244C8.33566 6.7928 8.28307 6.75217 8.22412 6.7229L6.50049 5.86255V3.17212C6.50075 3.10646 6.48807 3.04139 6.46318 2.98063C6.43829 2.91987 6.40167 2.8646 6.35542 2.81799C6.30918 2.77138 6.2542 2.73434 6.19364 2.70897C6.13307 2.68361 6.0681 2.67042 6.00244 2.67017ZM10.6196 3.74536C10.5542 3.74498 10.4876 3.75746 10.4233 3.78442C10.1666 3.89055 10.0455 4.18583 10.1538 4.44165C10.1563 4.4477 10.1595 4.4511 10.1616 4.4562C10.2662 4.71232 10.5591 4.83503 10.8149 4.72964C11.071 4.62496 11.1937 4.33214 11.0883 4.07632C11.0855 4.06951 11.083 4.06385 11.0806 4.0578C11.0021 3.86418 10.816 3.7465 10.6196 3.74536Z", fill: "#5B5B5B" }));
1046
+
1045
1047
  let Components = {};
1046
1048
  Components['success'] = SvgSuccess;
1047
1049
  Components['setting_icon'] = SvgSettingIcon;
@@ -1483,6 +1485,7 @@ Components['video_live_icon'] = SvgVideoRecording;
1483
1485
  Components['screen_capture_icon'] = SvgCaptureImage;
1484
1486
  Components['eclipse_plugin'] = SvgEclipsePlugin;
1485
1487
  Components['ai_token'] = SvgAiToken;
1488
+ Components['cloud_clock'] = SvgCloudClock;
1486
1489
 
1487
1490
  const Icon = /*#__PURE__*/React.forwardRef(({
1488
1491
  name,
@@ -1988,7 +1991,7 @@ const Drawer = ({
1988
1991
  const handleKeyDown = e => {
1989
1992
  if (e.key === 'Enter' && isOpen && primaryButtonProps?.onClick && !primaryButtonProps.disabled) {
1990
1993
  const activeElement = document.activeElement;
1991
- if (activeElement && activeElement.tagName === 'INPUT') {
1994
+ if (activeElement && activeElement.tagName === 'INPUT' && ['ff-add-module-input', 'ff-search-input'].includes(activeElement.className)) {
1992
1995
  return;
1993
1996
  }
1994
1997
  primaryButtonProps.onClick();
@@ -3559,6 +3562,7 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3559
3562
  placeholder = 'Enter input',
3560
3563
  value = type === 'number' ? 0 : '',
3561
3564
  helperText = '',
3565
+ isHelperTextRequired = false,
3562
3566
  error,
3563
3567
  noBorder,
3564
3568
  className = '',
@@ -3771,14 +3775,20 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3771
3775
  height: 7,
3772
3776
  width: 12,
3773
3777
  color: value == maxValue ? 'var(--private-chip-bg-color)' : 'var(--text-area-default-color)',
3774
- onClick: () => handleIncrementDecrement('increment'),
3778
+ onClick: () => {
3779
+ if (disabled) return;
3780
+ handleIncrementDecrement('increment');
3781
+ },
3775
3782
  disabled: disabled
3776
3783
  }), jsxRuntime.jsx(Icon, {
3777
3784
  name: "arrow_down",
3778
3785
  height: 7,
3779
3786
  width: 12,
3780
3787
  color: value == minValue ? 'var(--private-chip-bg-color)' : 'var(--text-area-default-color)',
3781
- onClick: () => handleIncrementDecrement('decrement'),
3788
+ onClick: () => {
3789
+ if (disabled) return;
3790
+ handleIncrementDecrement('decrement');
3791
+ },
3782
3792
  disabled: disabled
3783
3793
  })]
3784
3794
  }), showSearchIcon && !(type === 'number') && jsxRuntime.jsx("div", {
@@ -3804,11 +3814,13 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3804
3814
  }), reserveHelperTextSpace && jsxRuntime.jsx("span", {
3805
3815
  className: classNames('ff-input-message', {
3806
3816
  'ff-input-message--space': !!reserveHelperTextSpace,
3817
+ 'ff-input-message--showHelperText': !!isHelperTextRequired,
3807
3818
  'ff-input-message--danger': (displayErrorImmediately || touched) && !!error
3808
3819
  }),
3809
- children: (displayErrorImmediately || touched) && error ? helperText : ''
3810
- }), !reserveHelperTextSpace && (displayErrorImmediately || touched) && helperText && error && jsxRuntime.jsx("span", {
3820
+ children: (displayErrorImmediately || touched) && (error || isHelperTextRequired) ? helperText : ''
3821
+ }), !reserveHelperTextSpace && (displayErrorImmediately || touched) && helperText && (error || isHelperTextRequired) && jsxRuntime.jsx("span", {
3811
3822
  className: classNames('ff-input-message', {
3823
+ 'ff-input-message--showHelperText': !!isHelperTextRequired,
3812
3824
  'ff-input-message--danger': !!error
3813
3825
  }),
3814
3826
  children: helperText
@@ -16370,6 +16382,19 @@ const OverviewModal = ({
16370
16382
  return /*#__PURE__*/ReactDOM.createPortal(modalContent, document.body);
16371
16383
  };
16372
16384
 
16385
+ const formatCellData = (content, maxLength) => {
16386
+ if (typeof content === 'string') {
16387
+ return truncateText(content, maxLength);
16388
+ }
16389
+ if (/*#__PURE__*/React.isValidElement(content)) {
16390
+ return /*#__PURE__*/React.cloneElement(content, {}, formatCellData(content.props.children, maxLength));
16391
+ }
16392
+ if (Array.isArray(content)) {
16393
+ return content.map(child => formatCellData(child, maxLength));
16394
+ }
16395
+ return content;
16396
+ };
16397
+
16373
16398
  const TableHead = /*#__PURE__*/React.memo(({
16374
16399
  columnsData,
16375
16400
  rootNode,
@@ -16378,7 +16403,8 @@ const TableHead = /*#__PURE__*/React.memo(({
16378
16403
  selectedNode,
16379
16404
  tableHeaderBgColor,
16380
16405
  hideOnDisable,
16381
- transparentHeader
16406
+ transparentHeader,
16407
+ scriptLengthTruncate = 25
16382
16408
  }) => {
16383
16409
  // const hasDefaultValues = useMemo(
16384
16410
  // () => columnsData.some(({ defaultValue }) => !!defaultValue),
@@ -16422,16 +16448,11 @@ const TableHead = /*#__PURE__*/React.memo(({
16422
16448
  value: rootNode.node.key,
16423
16449
  onChange: e => onCheckBoxChange(e, rootNode.node),
16424
16450
  disabled: rootNode.node.isDisabled
16425
- }), jsxRuntime.jsxs("span", {
16451
+ }), jsxRuntime.jsx("span", {
16426
16452
  className: "tree-table-td-content-text",
16427
- children: [jsxRuntime.jsx("span", {
16428
- children: rootNode.node[col.accessor]
16429
- }), rootNode.cell && index === 0 && jsxRuntime.jsx("span", {
16430
- className: "table-tree-root-cell",
16431
- children: (() => {
16432
- return rootNode.cell(rootNode.node);
16433
- })()
16434
- })]
16453
+ children: jsxRuntime.jsx("span", {
16454
+ children: formatCellData(prepareData(rootNode.node, col), scriptLengthTruncate)
16455
+ })
16435
16456
  }), rootNode.actions && index === 0 && isMounted && rootNodeRowRef.current && jsxRuntime.jsx("div", {
16436
16457
  className: "table-tree-row-action",
16437
16458
  children: (() => {
@@ -16881,19 +16902,6 @@ const EditLabel = ({
16881
16902
 
16882
16903
  const SvgSpinner = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("style", null, "\r\n .spinner_DupU {\r\n animation: spinner_sM3D 1.2s infinite;\r\n fill: #71347b;\r\n }\r\n .spinner_GWtZ { animation-delay: .1s; }\r\n .spinner_dwN6 { animation-delay: .2s; }\r\n .spinner_46QP { animation-delay: .3s; }\r\n .spinner_PD82 { animation-delay: .4s; }\r\n .spinner_eUgh { animation-delay: .5s; }\r\n .spinner_eUaP { animation-delay: .6s; }\r\n .spinner_j38H { animation-delay: .7s; }\r\n .spinner_tVmX { animation-delay: .8s; }\r\n .spinner_DQhX { animation-delay: .9s; }\r\n .spinner_GIL4 { animation-delay: 1s; }\r\n .spinner_n0Yb { animation-delay: 1.1s; }\r\n\r\n @keyframes spinner_sM3D {\r\n 0%, 50% {\r\n animation-timing-function: cubic-bezier(0, 1, 0, 1);\r\n r: 0;\r\n }\r\n 10% {\r\n animation-timing-function: cubic-bezier(.53, 0, .61, .73);\r\n r: 2px;\r\n }\r\n }\r\n "), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU", cx: 12, cy: 3, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_GWtZ", cx: 16.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_n0Yb", cx: 7.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_dwN6", cx: 19.79, cy: 7.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_GIL4", cx: 4.21, cy: 7.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_46QP", cx: 21, cy: 12, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_DQhX", cx: 3, cy: 12, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_PD82", cx: 19.79, cy: 16.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_tVmX", cx: 4.21, cy: 16.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_eUgh", cx: 16.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_j38H", cx: 7.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_eUaP", cx: 12, cy: 21, r: 0 }));
16883
16904
 
16884
- const formatCellData = (content, maxLength) => {
16885
- if (typeof content === 'string') {
16886
- return truncateText(content, maxLength);
16887
- }
16888
- if (/*#__PURE__*/React.isValidElement(content)) {
16889
- return /*#__PURE__*/React.cloneElement(content, {}, formatCellData(content.props.children, maxLength));
16890
- }
16891
- if (Array.isArray(content)) {
16892
- return content.map(child => formatCellData(child, maxLength));
16893
- }
16894
- return content;
16895
- };
16896
-
16897
16905
  const renderSpaces = (level, parentSiblings = [], isLast, isContainer) => {
16898
16906
  let siblingsArray = parentSiblings;
16899
16907
  let isLastNode = isLast;
@@ -17340,7 +17348,8 @@ const TreeTable = /*#__PURE__*/React.forwardRef(({
17340
17348
  selectedNode: selectedNode,
17341
17349
  tableHeaderBgColor: tableHeaderBgColor,
17342
17350
  hideOnDisable: hideOnDisable,
17343
- transparentHeader: transparentHeader
17351
+ transparentHeader: transparentHeader,
17352
+ scriptLengthTruncate: scriptLengthTruncate
17344
17353
  }), jsxRuntime.jsx(TableBody, {
17345
17354
  flattenedTreeData: addLastChild(treeData),
17346
17355
  rootNode: rootNode?.node,
@@ -31257,6 +31266,31 @@ const DashboardDonutChart = ({
31257
31266
  document.body.removeChild(svgContainer);
31258
31267
  return `${truncatedText}...`;
31259
31268
  };
31269
+ const getCenterText = () => {
31270
+ if (legendType === 'tableLegend' && hoveredItemIndex !== null) {
31271
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31272
+ return total === 0 ? '0%' : `${Math.round((hoveredItem?.value || 0) / total * 100)}%`;
31273
+ }
31274
+ if (legendType === 'memoryLegend') {
31275
+ return `${totalMemory}`;
31276
+ }
31277
+ if (isOnClick && hoveredItemIndex !== null) {
31278
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31279
+ return `${hoveredItem?.value}`;
31280
+ }
31281
+ return `${legendType === 'tableLegend' ? `${chartValues.length}` : Number.isInteger(total) ? total : total?.toFixed(2)} ${showUnit && unit ? unit.toUpperCase() : ''}`;
31282
+ };
31283
+ const getSubLabelText = () => {
31284
+ if (legendType === 'tableLegend' && hoveredItemIndex !== null) {
31285
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31286
+ return truncateChartText(hoveredItem?.key || '');
31287
+ }
31288
+ if (isOnClick && hoveredItemIndex !== null) {
31289
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31290
+ return truncateChartText(hoveredItem?.key || '');
31291
+ }
31292
+ return truncateChartText(legendDetailsType);
31293
+ };
31260
31294
  return jsxRuntime.jsxs("div", {
31261
31295
  className: classNames('ff-dashboard-donut-chart-section', {
31262
31296
  'ff-dashboard-donut-chart-section-table-legend': legendType === 'tableLegend',
@@ -31308,7 +31342,7 @@ const DashboardDonutChart = ({
31308
31342
  style: {
31309
31343
  fontSize: `${labelFontSize}px`
31310
31344
  },
31311
- children: wrapText(legendType === 'tableLegend' && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex) ? total === 0 ? '0%' : `${Math.round((chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value || 0) / total * 100)}%` : legendType === 'memoryLegend' ? `${totalMemory}` : isOnClick && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value ? `${chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value}` : `${legendType === 'tableLegend' ? `${chartValues.length}` : Number.isInteger(total) ? total : total?.toFixed(2)} ${showUnit && unit ? unit.toUpperCase() : ''}`, LABEL_MAX_WIDTH, labelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31345
+ children: wrapText(getCenterText(), LABEL_MAX_WIDTH, labelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31312
31346
  x: "0",
31313
31347
  dy: index === 0 ? 0 : labelFontSize,
31314
31348
  children: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex) ? index === 0 ? chartValues.find(item => item.originalIndex === selectedItemIndex)?.value : null : apiDataLabel ? apiDataLabel : line
@@ -31321,11 +31355,11 @@ const DashboardDonutChart = ({
31321
31355
  style: {
31322
31356
  fontSize: `${subLabelFontSize}px`
31323
31357
  },
31324
- children: wrapText(legendType === 'tableLegend' && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex) ? chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key || '' : isOnClick && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key ? `${chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key}` : legendDetailsType, LABEL_MAX_WIDTH, subLabelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31358
+ children: wrapText(getSubLabelText(), LABEL_MAX_WIDTH, subLabelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31325
31359
  x: "0",
31326
31360
  dy: index === 0 ? 0 : subLabelFontSize,
31327
31361
  fill: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex)?.color || hoveredItemIndex !== null && isOnClick && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.color || '',
31328
- children: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex) ? index === 0 ? truncateChartText(chartValues.find(item => item.originalIndex === selectedItemIndex)?.key || '') : null : truncateChartText(line)
31362
+ children: line
31329
31363
  }, index))
31330
31364
  })]
31331
31365
  })]
@@ -34247,7 +34281,7 @@ const IconRadioGroup = ({
34247
34281
  };
34248
34282
 
34249
34283
  const MachineInputField = ({
34250
- width = '',
34284
+ width = '100%',
34251
34285
  options = [],
34252
34286
  runCount = 0,
34253
34287
  className = '',
@@ -34373,7 +34407,6 @@ const Branches = ({
34373
34407
  machineInstances,
34374
34408
  rowIndex,
34375
34409
  machineColumnCount,
34376
- machineColumnWidth,
34377
34410
  nextRowMachineInstance,
34378
34411
  previousRowMachineInstance,
34379
34412
  onAddBrowser,
@@ -34405,9 +34438,9 @@ const Branches = ({
34405
34438
  const showMiddleArrow = index => machineInstances.length - 1 !== index && machineColumnCount > 1;
34406
34439
  const getGridTemplateColumnStyle = () => {
34407
34440
  if (machineColumnCount === 1) {
34408
- return `24px ${machineColumnWidth}px 24px`;
34441
+ return `24px auto 24px`;
34409
34442
  }
34410
- return `24px ${machineColumnWidth}px repeat(${machineColumnCount - 1}, 40px ${machineColumnWidth}px) 24px`;
34443
+ return `24px minmax(180px, auto) repeat(${machineColumnCount - 1}, 40px minmax(180px, auto)) 24px`;
34411
34444
  };
34412
34445
  const getMachineLabelOptionList = (type = '', machineInstance) => {
34413
34446
  const {
@@ -34523,7 +34556,6 @@ const Branches = ({
34523
34556
  'ff-connecting-branch-point-reverse': !evenRow
34524
34557
  })
34525
34558
  }), jsxRuntime.jsx(MachineInputField, {
34526
- width: `${machineColumnWidth}px`,
34527
34559
  runCount: runCount,
34528
34560
  options: getMachineLabelOptionList(projectType, machineInstance),
34529
34561
  contentReverse: !evenRow,
@@ -37499,6 +37531,16 @@ const clearCell = cell => {
37499
37531
  style: cell?.style
37500
37532
  };
37501
37533
  };
37534
+ const clearEditCell = cell => {
37535
+ if (!canClearCell(cell) || cell?.inputType?.type === 'file') {
37536
+ return cell;
37537
+ }
37538
+ return {
37539
+ ...cell,
37540
+ value: typeof cell?.value === 'string' ? cell.value.slice(0, -1) : cell?.value,
37541
+ style: cell?.style
37542
+ };
37543
+ };
37502
37544
  const nextLine = cell => {
37503
37545
  if (!cell) return undefined;
37504
37546
  return {
@@ -37533,24 +37575,26 @@ function clearEditMode(state) {
37533
37575
  if (!state.active) {
37534
37576
  return state;
37535
37577
  }
37536
- const selectedRange = state.selected.toRange(state.model.data);
37537
- const changes = [];
37538
- let newData = state.model.data;
37539
- for (const point of selectedRange || []) {
37540
- const cell = get$1(point, state.model.data);
37541
- const clearedCell = clearCell(cell);
37578
+ if (state.mode === 'view') {
37579
+ const resultState = clear(state);
37580
+ return resultState;
37581
+ } else {
37582
+ const changes = [];
37583
+ let newData = state.model.data;
37584
+ const cell = get$1(state.active, state.model.data);
37585
+ const clearedCell = clearEditCell(cell);
37542
37586
  changes.push({
37543
37587
  prevCell: cell || null,
37544
37588
  nextCell: clearedCell || null
37545
37589
  });
37546
- newData = set$1(point, clearedCell, newData);
37590
+ newData = set$1(state.active, clearedCell, newData);
37591
+ return {
37592
+ ...state,
37593
+ mode: 'edit',
37594
+ model: new Model(createFormulaParser, newData),
37595
+ ...commit(changes)
37596
+ };
37547
37597
  }
37548
- return {
37549
- ...state,
37550
- mode: 'edit',
37551
- model: new Model(createFormulaParser, newData),
37552
- ...commit(changes)
37553
- };
37554
37598
  }
37555
37599
  function enterFunctionality(state) {
37556
37600
  if (!state.active) {
@@ -40448,32 +40492,17 @@ const ActiveCell = props => {
40448
40492
  try {
40449
40493
  if (actionType === 'ADD' && cell?.inputType?.type === 'file') {
40450
40494
  const parsedFiles = !checkEmpty(cell.value) ? JSON.parse(cell.value) : [];
40451
- let successCount = 0;
40452
- let failureCount = 0;
40453
- let duplicateCount = 0;
40454
- const nonDuplicateFiles = selected?.filter(file => {
40455
- const isDuplicate = parsedFiles?.some(existing => existing?.name.split('*')[0] === file?.name);
40495
+ for (const file of selected) {
40496
+ const isDuplicate = parsedFiles.some(existing => existing?.name.split('*')[0] === file?.name);
40456
40497
  if (isDuplicate) {
40457
- duplicateCount++;
40458
- }
40459
- return !isDuplicate;
40460
- });
40461
- const uploadPromises = nonDuplicateFiles?.map(async file => {
40462
- const response = await props.attachmentAction?.addAttachment(file);
40463
- if (!checkEmpty(response)) {
40464
- return JSON.parse(response ?? '');
40465
- }
40466
- });
40467
- const results = await Promise.all(uploadPromises);
40468
- results.forEach(result => {
40469
- if (result) {
40470
- parsedFiles.push(result);
40471
- successCount++;
40498
+ toast.warning(`Duplicate attachments not allowed within the same row`);
40472
40499
  } else {
40473
- failureCount++;
40500
+ const response = await props.attachmentAction?.addAttachment(file);
40501
+ if (!checkEmpty(response)) {
40502
+ parsedFiles.push(JSON.parse(response));
40503
+ }
40474
40504
  }
40475
- });
40476
- // Update cell value with all successful uploads
40505
+ }
40477
40506
  handleChange({
40478
40507
  ...cell,
40479
40508
  value: JSON.stringify(parsedFiles),
@@ -40481,13 +40510,6 @@ const ActiveCell = props => {
40481
40510
  inputType: cell?.inputType
40482
40511
  });
40483
40512
  setSelectedFiles(parsedFiles);
40484
- if (duplicateCount > 0) {
40485
- toast.warning(`Duplicate attachments not allowed within the same row`);
40486
- } else if (successCount > 0 && failureCount === 0) {
40487
- toast.success(`file${successCount > 1 ? 's' : ''} uploaded successfully.`);
40488
- } else if (failureCount > 0) {
40489
- toast.info(`${failureCount} unsupported ${failureCount > 1 ? 'files' : 'file'}. Please check the file formats.`);
40490
- }
40491
40513
  } else if (actionType === 'DELETE') {
40492
40514
  const parsedValue = cell && JSON.parse(cell.value);
40493
40515
  const updatedFileDetails = [...parsedValue];
@@ -40601,7 +40623,6 @@ const ActiveCell = props => {
40601
40623
  options: props.contextOption?.options || []
40602
40624
  });
40603
40625
  }, [props]);
40604
- console.log("Hi Sharan");
40605
40626
  return jsxRuntime.jsxs("div", {
40606
40627
  ref: rootRef,
40607
40628
  className: classNames('ff-spreadsheet-active-cell', `ff-spreadsheet-active-cell--${mode}`),
@@ -40640,7 +40661,6 @@ const ActiveCell = props => {
40640
40661
  selectedFiles: selectedFiles,
40641
40662
  onFilesChange: handleFilesChange,
40642
40663
  disabled: false,
40643
- maxFileSizeMB: 5,
40644
40664
  maxFiles: 5,
40645
40665
  buttonLabel: "+ Attachments",
40646
40666
  buttonVariant: "tertiary",
@@ -40657,7 +40677,8 @@ const ActiveCell = props => {
40657
40677
  }) : jsxRuntime.jsx("textarea", {
40658
40678
  className: "ff-spreadsheet-cell-textarea",
40659
40679
  style: {
40660
- ...cell?.style
40680
+ ...cell?.style,
40681
+ textDecoration: 'normal'
40661
40682
  },
40662
40683
  value: cell?.value,
40663
40684
  disabled: false
@@ -60414,7 +60435,8 @@ const ConditionalDropdown = /*#__PURE__*/React.forwardRef(({
60414
60435
  position: "absolute",
60415
60436
  width: dropdownWidth,
60416
60437
  optionsList: variableList.filter(file => file.name.toLowerCase().includes(result?.searchString)),
60417
- onSelectVariable: handleDropdownClick
60438
+ onSelectVariable: handleDropdownClick,
60439
+ height: "230px"
60418
60440
  }), showDropdown && (isHash || onlyDropdown) && jsxRuntime.jsx(OptionsDropdown, {
60419
60441
  position: "relative",
60420
60442
  width: dropdownWidth,
@@ -73815,7 +73837,7 @@ const scrollToView = id => {
73815
73837
  }
73816
73838
  };
73817
73839
 
73818
- const PrePostTable = ({
73840
+ const PrePostTable = /*#__PURE__*/React.forwardRef(({
73819
73841
  data = [],
73820
73842
  columns = [],
73821
73843
  headerType,
@@ -73845,7 +73867,7 @@ const PrePostTable = ({
73845
73867
  handleAccordion,
73846
73868
  loading,
73847
73869
  scriptType = false
73848
- }) => {
73870
+ }, ref) => {
73849
73871
  const observerRef = React.useRef(null);
73850
73872
  const [ViewComponent, setViewComponent] = React.useState(null);
73851
73873
  const [viewModeId, setViewModeId] = React.useState(null);
@@ -73880,6 +73902,9 @@ const PrePostTable = ({
73880
73902
  });
73881
73903
  }
73882
73904
  };
73905
+ // const resetStepGroupAccordion = () => {
73906
+ // setExpandStepGroup(new Map());
73907
+ // };
73883
73908
  React.useEffect(() => {
73884
73909
  const scrollContainer = document.getElementById('ff-table-scroll-container');
73885
73910
  const firstNode = document.getElementById('ff-table-first-node');
@@ -73934,6 +73959,13 @@ const PrePostTable = ({
73934
73959
  React.useEffect(() => {
73935
73960
  scrollToView('getInFocus');
73936
73961
  }, [AddNlp, viewModeId]);
73962
+ if (ref) {
73963
+ React.useImperativeHandle(ref, () => ({
73964
+ resetStepGroupAccordion: () => {
73965
+ setExpandStepGroup(new Map());
73966
+ }
73967
+ }));
73968
+ }
73937
73969
  return jsxRuntime.jsx(DndContext, {
73938
73970
  collisionDetection: closestCorners,
73939
73971
  onDragStart: () => {
@@ -74046,7 +74078,7 @@ const PrePostTable = ({
74046
74078
  })
74047
74079
  })
74048
74080
  });
74049
- };
74081
+ });
74050
74082
 
74051
74083
  const StepGroupAccordions = /*#__PURE__*/React.memo(({
74052
74084
  data = [],
@@ -75152,6 +75184,9 @@ const StepLandingTable = /*#__PURE__*/React.forwardRef(({
75152
75184
  },
75153
75185
  deleteRow: rowData => {
75154
75186
  setSelectedRows(prev => Object.fromEntries(Object.entries(prev)?.map(([key, ids]) => [key, new Set([...ids].filter(id => id !== rowData?.stepId))])));
75187
+ },
75188
+ resetStepGroupAccordion: () => {
75189
+ setExpandStepGroup(new Map());
75155
75190
  }
75156
75191
  }));
75157
75192
  React.useEffect(() => {
@@ -109199,12 +109234,12 @@ const getNavigateToKey = (currentNode, treeData, action) => {
109199
109234
  const childrenOfRoot = getRootChildren(treeData, currentNode);
109200
109235
  if (childrenOfRoot.length > 0) {
109201
109236
  const lastChildOfRoot = childrenOfRoot[childrenOfRoot.length - 1];
109202
- if (lastChildOfRoot?.expanded === false) {
109237
+ if (lastChildOfRoot?.expandedAll === false || lastChildOfRoot?.expanded === false) {
109203
109238
  return {
109204
109239
  navigateTo: lastChildOfRoot?.key
109205
109240
  };
109206
109241
  }
109207
- if (lastChildOfRoot?.expanded === true) {
109242
+ if (lastChildOfRoot?.expandedAll === true || lastChildOfRoot?.expanded === true) {
109208
109243
  const lastChildExpand = getAllChildrenNodesUsingSearchKey(treeData, lastChildOfRoot?.searchKey);
109209
109244
  return {
109210
109245
  navigateTo: lastChildExpand[lastChildExpand.length - 1]?.key