pixel-react 1.13.66 → 1.13.68

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 (41) hide show
  1. package/lib/assets/icons/run_automation_scripts_icon.svg.js +1 -1
  2. package/lib/assets/icons/run_automation_scripts_icon.svg.js.map +1 -1
  3. package/lib/components/AppHeader/AppHeader.js +1 -1
  4. package/lib/components/AppHeader/AppHeader.js.map +1 -1
  5. package/lib/components/Comments/Comments.js +26 -31
  6. package/lib/components/Comments/Comments.js.map +1 -1
  7. package/lib/components/Comments/childComment/ChildComment.js +30 -17
  8. package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
  9. package/lib/components/Comments/mentionUser/MentionUser.js +1 -8
  10. package/lib/components/Comments/mentionUser/MentionUser.js.map +1 -1
  11. package/lib/components/Comments/type.d.ts +0 -4
  12. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +12 -1
  13. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  14. package/lib/components/Select/Select.js +14 -10
  15. package/lib/components/Select/Select.js.map +1 -1
  16. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +3 -2
  17. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
  18. package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
  19. package/lib/components/StepsLandingTable/StepLandingTable.js +5 -1
  20. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  21. package/lib/components/Toastify/Toastify.js +1 -2
  22. package/lib/components/Toastify/Toastify.js.map +1 -1
  23. package/lib/index.cjs +125 -85
  24. package/lib/index.cjs.map +1 -1
  25. package/lib/index.d.ts +9 -1
  26. package/lib/index.js +2 -1
  27. package/lib/index.js.map +1 -1
  28. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  29. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  30. package/lib/styles.css +1 -1
  31. package/lib/styles.css.map +1 -1
  32. package/lib/tsconfig.tsbuildinfo +1 -1
  33. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js +1 -16
  34. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js.map +1 -1
  35. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.d.ts +5 -0
  36. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js +35 -0
  37. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js.map +1 -0
  38. package/lib/validations/regex.d.ts +2 -1
  39. package/lib/validations/regex.js +3 -1
  40. package/lib/validations/regex.js.map +1 -1
  41. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -611,7 +611,7 @@ const SvgQuickRunSettingIcon = (props) => /* @__PURE__ */ React__namespace.creat
611
611
 
612
612
  const SvgRunManualTestcaseIcon = (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", { d: "M6.10873 11.1962C6.14603 11.2244 6.19148 11.2396 6.23821 11.2396C6.27942 11.2395 6.31977 11.2278 6.3546 11.2057L11.1213 8.17235C11.1521 8.15278 11.1774 8.12577 11.195 8.09381C11.2125 8.06185 11.2217 8.02599 11.2217 7.98953C11.2217 7.95307 11.2125 7.9172 11.195 7.88524C11.1774 7.85328 11.1521 7.82627 11.1213 7.8067L6.3546 4.77334C6.31747 4.74972 6.27403 4.73795 6.23006 4.73959C6.18608 4.74124 6.14364 4.75622 6.10838 4.78255C6.07312 4.80888 6.0467 4.84531 6.03263 4.88701C6.01856 4.9287 6.0175 4.97369 6.0296 5.016L6.87955 7.98953L6.02977 10.9632C6.01775 11.0055 6.01887 11.0504 6.03297 11.092C6.04707 11.1336 6.07349 11.17 6.10873 11.1962Z", fill: "#10B660" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.8751 9.40825C15.7855 9.90928 15.2659 10.1853 14.7785 10.0387C14.2911 9.89211 14.0222 9.378 14.0945 8.87419C14.2422 7.84415 14.1271 6.7881 13.7528 5.80646C13.2685 4.53625 12.3774 3.46205 11.2185 2.7514C10.0596 2.04076 8.69815 1.73365 7.34641 1.87796C5.99468 2.02227 4.72871 2.60989 3.74598 3.54917C2.76324 4.48845 2.11901 5.72657 1.91375 7.0704C1.7085 8.41423 1.95377 9.78821 2.61131 10.978C3.26885 12.1678 4.30169 13.1066 5.54871 13.6478C6.51243 14.0661 7.5622 14.2288 8.59786 14.1277C9.10443 14.0783 9.60586 14.3701 9.73028 14.8637C9.85469 15.3572 9.55547 15.8638 9.05091 15.9307C7.61706 16.1207 6.15221 15.919 4.81487 15.3386C3.19453 14.6353 1.8525 13.4155 0.998111 11.8695C0.143724 10.3235 -0.174975 8.53824 0.091725 6.79211C0.358425 5.04598 1.19553 3.43721 2.47246 2.21674C3.74939 0.996269 5.39435 0.232729 7.15075 0.0452152C8.90715 -0.142298 10.6762 0.25676 12.182 1.18014C13.6878 2.10353 14.8457 3.49931 15.475 5.14979C15.9944 6.51198 16.1297 7.98445 15.8751 9.40825ZM14.3475 10.7439C14.3475 10.6747 14.3455 10.6238 14.3414 10.5912C13.926 10.583 13.6429 10.5729 13.4922 10.5606C13.3863 11.1064 13.0217 11.9882 12.3986 13.2061C11.645 11.8172 11.2337 10.9354 11.1644 10.5606C10.9934 10.5729 10.7408 10.583 10.4068 10.5912C10.4028 10.6238 10.4007 10.6747 10.4007 10.7439C10.4007 10.8132 10.4068 10.8763 10.4191 10.9333L10.6451 10.9516C10.6573 11.1227 10.6634 11.306 10.6634 11.5015C10.6634 12.5157 10.6207 13.3934 10.5351 14.1347L10.3213 14.1531C10.3132 14.2264 10.3091 14.2875 10.3091 14.3363C10.3091 14.3812 10.3152 14.4341 10.3274 14.4952C10.4537 14.4911 10.6023 14.4891 10.7734 14.4891C10.9445 14.4891 11.0952 14.4911 11.2255 14.4952C11.2377 14.426 11.2439 14.3689 11.2439 14.3241C11.2439 14.2753 11.2398 14.2182 11.2316 14.1531L11.0056 14.1347C10.9974 13.8985 10.9934 13.5808 10.9934 13.1816C10.9934 12.7784 11.0097 12.2876 11.0422 11.7092C11.0911 11.7988 11.2459 12.088 11.5066 12.5768C11.7713 13.0615 11.975 13.4749 12.1175 13.817C12.1501 13.8211 12.2112 13.8231 12.3008 13.8231C12.3945 13.8231 12.4821 13.8069 12.5635 13.7743C12.6979 13.4321 12.9464 12.9006 13.3089 12.1797C13.4718 11.8498 13.5736 11.642 13.6144 11.5565C13.651 12.2285 13.6694 12.754 13.6694 13.1328C13.6694 13.5075 13.6653 13.8415 13.6571 14.1347L13.4555 14.1531C13.4474 14.2264 13.4433 14.2875 13.4433 14.3363C13.4433 14.3812 13.4494 14.4341 13.4616 14.4952C13.6001 14.4911 13.763 14.4891 13.9504 14.4891C14.1378 14.4891 14.3027 14.4911 14.4453 14.4952C14.4575 14.426 14.4636 14.3689 14.4636 14.3241C14.4636 14.2753 14.4595 14.2182 14.4514 14.1531L14.2253 14.1347C14.1357 13.3486 14.0909 12.4566 14.0909 11.4587C14.0909 11.2347 14.0929 11.0657 14.097 10.9516L14.3292 10.9333C14.3414 10.8763 14.3475 10.8132 14.3475 10.7439Z", fill: "currentColor" }));
613
613
 
614
- const SvgRunAutomationScriptsIcon = (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: "M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z", fill: "url(#paint0_linear_13239_24129)" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.9993 12.106C19.9926 12.6149 19.5249 12.9719 19.0201 12.9067C18.5153 12.8415 18.1663 12.3781 18.1555 11.8693C18.134 10.8599 17.8645 9.86627 17.3644 8.97844C16.7128 7.82156 15.7046 6.90633 14.4903 6.36928C13.276 5.83222 11.9206 5.70212 10.6263 5.99837C9.33198 6.29462 8.16813 7.00136 7.30833 8.01316C6.44854 9.02496 5.93887 10.2876 5.85535 11.6127C5.77184 12.9379 6.11895 14.2545 6.84492 15.3663C7.57089 16.478 8.6368 17.3253 9.88367 17.7817C10.8406 18.1319 11.8647 18.2376 12.8643 18.0959C13.3682 18.0244 13.8819 18.2941 14.0277 18.7818C14.1735 19.2694 13.8966 19.7886 13.3954 19.8774C12.011 20.1226 10.5806 19.9995 9.25011 19.5125C7.62997 18.9195 6.24495 17.8186 5.30166 16.374C4.35836 14.9295 3.90733 13.2187 4.01585 11.4968C4.12436 9.77496 4.78661 8.13433 5.9038 6.81963C7.02099 5.50493 8.53326 4.58662 10.215 4.20168C11.8968 3.81674 13.658 3.98579 15.2358 4.68362C16.8137 5.38145 18.1236 6.57067 18.9703 8.07388C19.6656 9.30832 20.0179 10.7002 19.9993 12.106ZM16.2062 14.3323C16.2062 14.4492 16.2154 14.5446 16.2339 14.6184L16.6031 14.6461C16.3692 15.8277 15.8831 17.4308 15.1446 19.4554L14.8215 19.4831C14.8092 19.5692 14.8031 19.6554 14.8031 19.7415C14.8031 19.8215 14.8123 19.9077 14.8308 20C14.9662 19.9938 15.2 19.9908 15.5323 19.9908C15.8708 19.9908 16.1139 19.9938 16.2615 20C16.28 19.8954 16.2892 19.8184 16.2892 19.7692C16.2892 19.7138 16.2831 19.6184 16.2708 19.4831L15.92 19.4554L16.1785 18.3569C16.5354 18.3323 16.9169 18.32 17.3231 18.32C17.7354 18.32 18.1169 18.3292 18.4677 18.3477C18.4739 18.3784 18.5108 18.5354 18.5785 18.8184C18.6462 19.0954 18.6954 19.3077 18.7262 19.4554L18.4031 19.4831C18.3908 19.5692 18.3846 19.6554 18.3846 19.7415C18.3846 19.8215 18.3939 19.9077 18.4123 20C18.5539 19.9938 18.8062 19.9908 19.1692 19.9908C19.5323 19.9908 19.8 19.9938 19.9723 20C19.9908 19.8954 20 19.8184 20 19.7692C20 19.7138 19.9939 19.6184 19.9815 19.4831L19.64 19.4554C18.76 17.0369 18.2462 15.2492 18.0985 14.0923C17.9139 14.0308 17.6892 14 17.4246 14C17.16 14 16.7569 14.0338 16.2154 14.1015C16.2092 14.1384 16.2062 14.2154 16.2062 14.3323ZM17.2862 17.72C16.8677 17.72 16.5539 17.7169 16.3446 17.7108C16.64 16.5538 16.9692 15.5354 17.3323 14.6554H17.3877C17.7077 15.5846 18.0123 16.5969 18.3015 17.6923C18.0431 17.7108 17.7046 17.72 17.2862 17.72Z", fill: "white" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.0875 15.2067C10.1248 15.2349 10.1702 15.2501 10.217 15.2501C10.2582 15.25 10.2985 15.2382 10.3334 15.2162L15.1001 12.1828C15.1308 12.1633 15.1562 12.1363 15.1737 12.1043C15.1913 12.0724 15.2005 12.0365 15.2005 12C15.2005 11.9636 15.1913 11.9277 15.1737 11.8957C15.1562 11.8638 15.1308 11.8368 15.1001 11.8172L10.3334 8.78383C10.2962 8.76021 10.2528 8.74845 10.2088 8.75009C10.1648 8.75174 10.1224 8.76672 10.0871 8.79305C10.0519 8.81938 10.0255 8.85581 10.0114 8.8975C9.99732 8.9392 9.99626 8.98419 10.0084 9.0265L10.8583 12L10.0085 14.9737C9.99651 15.016 9.99763 15.0609 10.0117 15.1025C10.0258 15.1441 10.0523 15.1805 10.0875 15.2067Z", fill: "white" }), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("linearGradient", { id: "paint0_linear_13239_24129", x1: 1.72771, y1: 2.34599, x2: 24, y2: 24, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ React__namespace.createElement("stop", { offset: 1, stopColor: "#2A6F09" }), /* @__PURE__ */ React__namespace.createElement("stop", { stopColor: "#44B002" }))));
614
+ const SvgRunAutomationScriptsIcon = (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: "M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12Z", fill: "#2A6F09" }), /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.9993 12.106C19.9926 12.6149 19.5249 12.9719 19.0201 12.9067C18.5153 12.8415 18.1663 12.3781 18.1555 11.8693C18.134 10.8599 17.8645 9.86627 17.3644 8.97844C16.7128 7.82156 15.7046 6.90633 14.4903 6.36928C13.276 5.83222 11.9206 5.70212 10.6263 5.99837C9.33198 6.29462 8.16813 7.00136 7.30833 8.01316C6.44854 9.02496 5.93887 10.2876 5.85535 11.6127C5.77184 12.9379 6.11895 14.2545 6.84492 15.3663C7.57089 16.478 8.6368 17.3253 9.88367 17.7817C10.8406 18.1319 11.8647 18.2376 12.8643 18.0959C13.3682 18.0244 13.8819 18.2941 14.0277 18.7818C14.1735 19.2694 13.8966 19.7886 13.3954 19.8774C12.011 20.1226 10.5806 19.9995 9.25011 19.5125C7.62997 18.9195 6.24495 17.8186 5.30166 16.374C4.35836 14.9295 3.90733 13.2187 4.01585 11.4968C4.12436 9.77496 4.78661 8.13433 5.9038 6.81963C7.02099 5.50493 8.53326 4.58662 10.215 4.20168C11.8968 3.81674 13.658 3.98579 15.2358 4.68362C16.8137 5.38145 18.1236 6.57067 18.9703 8.07388C19.6656 9.30832 20.0179 10.7002 19.9993 12.106ZM16.2062 14.3323C16.2062 14.4492 16.2154 14.5446 16.2339 14.6184L16.6031 14.6461C16.3692 15.8277 15.8831 17.4308 15.1446 19.4554L14.8215 19.4831C14.8092 19.5692 14.8031 19.6554 14.8031 19.7415C14.8031 19.8215 14.8123 19.9077 14.8308 20C14.9662 19.9938 15.2 19.9908 15.5323 19.9908C15.8708 19.9908 16.1139 19.9938 16.2615 20C16.28 19.8954 16.2892 19.8184 16.2892 19.7692C16.2892 19.7138 16.2831 19.6184 16.2708 19.4831L15.92 19.4554L16.1785 18.3569C16.5354 18.3323 16.9169 18.32 17.3231 18.32C17.7354 18.32 18.1169 18.3292 18.4677 18.3477C18.4739 18.3784 18.5108 18.5354 18.5785 18.8184C18.6462 19.0954 18.6954 19.3077 18.7262 19.4554L18.4031 19.4831C18.3908 19.5692 18.3846 19.6554 18.3846 19.7415C18.3846 19.8215 18.3939 19.9077 18.4123 20C18.5539 19.9938 18.8062 19.9908 19.1692 19.9908C19.5323 19.9908 19.8 19.9938 19.9723 20C19.9908 19.8954 20 19.8184 20 19.7692C20 19.7138 19.9939 19.6184 19.9815 19.4831L19.64 19.4554C18.76 17.0369 18.2462 15.2492 18.0985 14.0923C17.9139 14.0308 17.6892 14 17.4246 14C17.16 14 16.7569 14.0338 16.2154 14.1015C16.2092 14.1384 16.2062 14.2154 16.2062 14.3323ZM17.2862 17.72C16.8677 17.72 16.5539 17.7169 16.3446 17.7108C16.64 16.5538 16.9692 15.5354 17.3323 14.6554H17.3877C17.7077 15.5846 18.0123 16.5969 18.3015 17.6923C18.0431 17.7108 17.7046 17.72 17.2862 17.72Z", fill: "white" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.0875 15.2067C10.1248 15.2349 10.1702 15.2501 10.217 15.2501C10.2582 15.25 10.2985 15.2382 10.3334 15.2162L15.1001 12.1828C15.1308 12.1633 15.1562 12.1363 15.1737 12.1043C15.1913 12.0724 15.2005 12.0365 15.2005 12C15.2005 11.9636 15.1913 11.9277 15.1737 11.8957C15.1562 11.8638 15.1308 11.8368 15.1001 11.8172L10.3334 8.78383C10.2962 8.76021 10.2528 8.74845 10.2088 8.75009C10.1648 8.75174 10.1224 8.76672 10.0871 8.79305C10.0519 8.81938 10.0255 8.85581 10.0114 8.8975C9.99732 8.9392 9.99626 8.98419 10.0084 9.0265L10.8583 12L10.0085 14.9737C9.99651 15.016 9.99763 15.0609 10.0117 15.1025C10.0258 15.1441 10.0523 15.1805 10.0875 15.2067Z", fill: "white" }), /* @__PURE__ */ React__namespace.createElement("defs", null));
615
615
 
616
616
  const SvgEyeOpenIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.8985 6.29701C13.5046 8.80023 10.861 10.3552 8.00093 10.3552C5.13896 10.3552 2.49546 8.80023 1.10149 6.29701C0.994127 6.10264 0.994127 5.89717 1.10149 5.70297C2.49546 3.19978 5.13896 1.64494 8.00093 1.64494C10.861 1.64494 13.5045 3.19978 14.8985 5.70297C15.0078 5.89717 15.0078 6.10264 14.8985 6.29701ZM15.789 5.20666C14.2154 2.38043 11.2313 0.624939 8.00093 0.624939C4.76871 0.624939 1.78457 2.38043 0.211039 5.20666C-0.0703464 5.71093 -0.0703464 6.28905 0.211039 6.79295C1.78457 9.61918 4.76871 11.375 8.00093 11.375C11.2313 11.375 14.2154 9.61918 15.789 6.79295C16.0703 6.28909 16.0703 5.71093 15.789 5.20666ZM8.00093 8.09231C9.15424 8.09231 10.0928 7.15375 10.0928 5.99991C10.0928 4.84606 9.15424 3.9075 8.00093 3.9075C6.84576 3.9075 5.9072 4.84606 5.9072 5.99991C5.9072 7.15375 6.8458 8.09231 8.00093 8.09231ZM8.00093 2.88749C6.28299 2.88749 4.8872 4.28386 4.8872 5.99994C4.8872 7.71639 6.28303 9.11218 8.00093 9.11218C9.71701 9.11218 11.1128 7.71636 11.1128 5.99994C11.1128 4.28386 9.71701 2.88749 8.00093 2.88749Z", fill: "currentColor" }));
617
617
 
@@ -2536,6 +2536,8 @@ const ALPHA_NUM_EXTENDED_REGEX = /^[a-zA-Z0-9 _\-()]+$/;
2536
2536
  const ALPHANUMERIC_WITH_DOT_REGEX = /^[A-Za-z0-9.]+$/;
2537
2537
  // Alphanumeric string allowing only dot(.) as special character
2538
2538
  const EXCEL_SPACING_REGEX = /[\n\t"]/;
2539
+ //Alphabet validation along with spaces
2540
+ const ALPHABET_WITH_SPACES_ONLY_REGEX = /^[a-zA-Z ]*$/;
2539
2541
 
2540
2542
  const Dropdown$2 = /*#__PURE__*/React.forwardRef(({
2541
2543
  options,
@@ -4331,27 +4333,31 @@ const Select$1 = ({
4331
4333
  if (!element) return null;
4332
4334
  let parent = element.parentElement;
4333
4335
  while (parent) {
4334
- const overflowY = window.getComputedStyle(parent).overflowY;
4335
- if (overflowY === 'auto' || overflowY === 'scroll') {
4336
+ const tagName = parent.tagName.toLowerCase();
4337
+ // Skip tbody and similar non-scrollable semantic containers
4338
+ if (tagName === 'tbody') {
4339
+ parent = parent.parentElement;
4340
+ continue;
4341
+ }
4342
+ const style = window.getComputedStyle(parent);
4343
+ const overflowY = style.overflowY;
4344
+ const isScrollable = (overflowY === 'auto' || overflowY === 'scroll') && parent.scrollHeight > parent.clientHeight;
4345
+ if (isScrollable) {
4336
4346
  return parent;
4337
4347
  }
4338
4348
  parent = parent.parentElement;
4339
4349
  }
4340
4350
  return document.body;
4341
4351
  };
4342
- const hideShowScrollbar = () => {
4343
- if (disabled) return;
4344
- if (showDropdownOptions && optionsRequired) {
4345
- onSelectToggleScroll(!showDropdownOptions);
4352
+ React.useEffect(() => {
4353
+ if (!showDropdownOptions || disabled) return;
4354
+ if (optionsRequired) {
4355
+ onSelectToggleScroll(false);
4346
4356
  }
4347
4357
  onSelectUpdatePosition();
4348
4358
  const scrollableParent = getScrollParent(inputRef.current);
4349
4359
  window.addEventListener('resize', handleResizeOrScroll);
4350
4360
  scrollableParent?.addEventListener('scroll', onSelectBlur);
4351
- };
4352
- React.useEffect(() => {
4353
- hideShowScrollbar();
4354
- const scrollableParent = getScrollParent(inputRef.current);
4355
4361
  return () => {
4356
4362
  onSelectToggleScroll(true);
4357
4363
  window.removeEventListener('resize', handleResizeOrScroll);
@@ -17484,7 +17490,6 @@ const Toastify = () => {
17484
17490
  title = formatMessage(arg1);
17485
17491
  message = '';
17486
17492
  }
17487
- const formattedTitle = title.charAt(0).toUpperCase() + title.slice(1);
17488
17493
  // Close the existing toast if open, and then immediately show the new one
17489
17494
  setToastProps(prev => ({
17490
17495
  ...prev,
@@ -17497,7 +17502,7 @@ const Toastify = () => {
17497
17502
  setToastProps({
17498
17503
  isOpen: true,
17499
17504
  variant,
17500
- toastTitle: formattedTitle,
17505
+ toastTitle: title,
17501
17506
  toastMessage: message
17502
17507
  });
17503
17508
  timeoutRef.current = setTimeout(() => {
@@ -30314,7 +30319,7 @@ const AppHeader = ({
30314
30319
  }));
30315
30320
  return jsxRuntime.jsxs("div", {
30316
30321
  className: classNames('ff-app-header-quickmenu-container', subMenuItem.quickMenuItems?.length ? 'visible' : ''),
30317
- children: [jsxRuntime.jsx("div", {
30322
+ children: [!checkEmpty(quickMenuHiddenItemsArray) && jsxRuntime.jsx("div", {
30318
30323
  children: jsxRuntime.jsx(Icon, {
30319
30324
  name: "vertical_separator"
30320
30325
  })
@@ -34298,7 +34303,8 @@ const SequentialConnectingBranch = ({
34298
34303
  readOnly = false,
34299
34304
  zIndex = 99999,
34300
34305
  maxRunCount = 35,
34301
- environmentVariableMaps
34306
+ environmentVariableMaps,
34307
+ isRequired = false
34302
34308
  }) => {
34303
34309
  const [selectedMachineInstance, setSelectedMachineInstance] = React.useState({});
34304
34310
  const selectButtonRef = React.useRef(null);
@@ -34343,7 +34349,7 @@ const SequentialConnectingBranch = ({
34343
34349
  onChange: onHandleSelect,
34344
34350
  optionsList: machineOptionsList,
34345
34351
  label: placeholder,
34346
- required: false,
34352
+ required: isRequired,
34347
34353
  showLabel: true,
34348
34354
  className: "ff-sequential-select-branch",
34349
34355
  width: '240px',
@@ -40768,7 +40774,8 @@ const Spreadsheet = props => {
40768
40774
  contextOption,
40769
40775
  attachmentAction,
40770
40776
  workRef,
40771
- minimumColumnWidth
40777
+ minimumColumnWidth,
40778
+ setContextMenu
40772
40779
  } = props;
40773
40780
  const [sheetChange, setSheetChange] = React__namespace.useState(false);
40774
40781
  const [maxWidth, setMaxWidth] = React__namespace.useState(0);
@@ -41170,6 +41177,16 @@ const Spreadsheet = props => {
41170
41177
  onMouseMove: handleMouseMove,
41171
41178
  onScroll: e => {
41172
41179
  scrollOption && handleScroll(e);
41180
+ setContextMenu({
41181
+ open: false,
41182
+ options: [{
41183
+ label: '',
41184
+ value: '',
41185
+ iconName: '',
41186
+ action: () => {},
41187
+ disable: false
41188
+ }]
41189
+ });
41173
41190
  },
41174
41191
  children: [tableNode, activeCellNode, jsxRuntime.jsx(Selected, {}), jsxRuntime.jsx(Copied, {})]
41175
41192
  })]
@@ -58611,12 +58628,10 @@ const saveFileFromBlob = (blob, filename) => {
58611
58628
 
58612
58629
  const MentionUser = ({
58613
58630
  hasAtSymbol,
58614
- mentionPosition,
58615
58631
  usersObj,
58616
58632
  optionClicked,
58617
58633
  charsAfterAt
58618
58634
  }) => {
58619
- const selectSectionRef = React.useRef(null);
58620
58635
  const [hoveredIndex, setHoveredIndex] = React.useState(0);
58621
58636
  const itemRefs = React.useRef([]);
58622
58637
  if (!hasAtSymbol) return null;
@@ -58658,11 +58673,6 @@ const MentionUser = ({
58658
58673
  }, [handleKeyDown]);
58659
58674
  return jsxRuntime.jsx("div", {
58660
58675
  className: "select-section",
58661
- ref: selectSectionRef,
58662
- style: {
58663
- '--top': `${mentionPosition?.top}px`,
58664
- '--left': `${mentionPosition?.left + 5}px`
58665
- },
58666
58676
  onMouseDown: e => e.preventDefault(),
58667
58677
  children: jsxRuntime.jsx("div", {
58668
58678
  className: "select-group",
@@ -58732,6 +58742,7 @@ const ChildComment = ({
58732
58742
  const textAreaRef = React.useRef(null);
58733
58743
  const mentionRef = React.useRef(null);
58734
58744
  const mentionReplyRef = React.useRef(null);
58745
+ const inputRef = React.useRef(null);
58735
58746
  React.useEffect(() => {
58736
58747
  if (editMode && comment?.description) {
58737
58748
  setInput(comment?.description);
@@ -58831,24 +58842,24 @@ const ChildComment = ({
58831
58842
  left: spanRect.left
58832
58843
  };
58833
58844
  };
58834
- const updateMentionPosition = React.useCallback(() => {
58845
+ const updateMentionPosition = () => {
58835
58846
  if (!textAreaRef.current) return;
58847
+ const textareaEl = textAreaRef?.current;
58848
+ const dropdownEl = mentionRef?.current && mentionReplyRef?.current;
58849
+ const inputEl = inputRef?.current;
58836
58850
  const caretPosition = textAreaRef.current.selectionStart;
58837
- const caretCoords = getCaretCoordinates(textAreaRef.current, caretPosition);
58851
+ const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
58852
+ const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
58853
+ const inputRect = inputEl?.getBoundingClientRect();
58854
+ if (!inputRect) return;
58855
+ const spaceBelow = window.innerHeight - inputRect.bottom;
58856
+ const spaceAbove = inputRect.top;
58857
+ const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
58838
58858
  setMentionPosition({
58839
- top: caretCoords.top + window.scrollY - 625,
58840
- left: window.scrollX + caretCoords.left + 10
58859
+ top: showAbove ? caretCoords.top - dropdownHeight - 508 : caretCoords.top - 588,
58860
+ left: caretCoords.left + 10
58841
58861
  });
58842
- }, [input]);
58843
- React.useEffect(() => {
58844
- const handleScroll = () => {
58845
- updateMentionPosition();
58846
- };
58847
- window.addEventListener('scroll', handleScroll, true);
58848
- return () => {
58849
- window.removeEventListener('scroll', handleScroll, true);
58850
- };
58851
- }, [updateMentionPosition]);
58862
+ };
58852
58863
  const textAreaInputChange = e => {
58853
58864
  const textAreaValue = e.target.value;
58854
58865
  setInput(textAreaValue);
@@ -58949,6 +58960,7 @@ const ChildComment = ({
58949
58960
  }, index) : part)
58950
58961
  }), editMode && jsxRuntime.jsxs("div", {
58951
58962
  className: "inputContainer",
58963
+ ref: inputRef,
58952
58964
  children: [jsxRuntime.jsx("textarea", {
58953
58965
  rows: input.length < rowBreakCharCount ? 1 : 3,
58954
58966
  className: "inputContainer_input first_input",
@@ -58960,11 +58972,16 @@ const ChildComment = ({
58960
58972
  onKeyDown: handleKeyDown
58961
58973
  }), hasAtSymbol && jsxRuntime.jsx("div", {
58962
58974
  ref: mentionRef,
58975
+ id: "mention-user",
58976
+ style: {
58977
+ position: 'absolute',
58978
+ top: `${mentionPosition.top}px`,
58979
+ left: `${mentionPosition.left}px`
58980
+ },
58963
58981
  children: jsxRuntime.jsx(MentionUser, {
58964
58982
  hasAtSymbol: hasAtSymbol,
58965
58983
  usersObj: usersObj,
58966
58984
  optionClicked: optionClicked,
58967
- mentionPosition: mentionPosition,
58968
58985
  charsAfterAt: textAfterAt
58969
58986
  })
58970
58987
  }), jsxRuntime.jsxs("div", {
@@ -59068,6 +59085,7 @@ const ChildComment = ({
59068
59085
  className: "comment-reply-container",
59069
59086
  children: showInput && jsxRuntime.jsxs("div", {
59070
59087
  className: "inputContainer",
59088
+ ref: inputRef,
59071
59089
  children: [jsxRuntime.jsx("textarea", {
59072
59090
  rows: input.length < rowBreakCharCount ? 1 : 3,
59073
59091
  className: "inputContainer_input first_input",
@@ -59079,11 +59097,16 @@ const ChildComment = ({
59079
59097
  onKeyDown: handleKeyDown
59080
59098
  }), hasAtSymbol && jsxRuntime.jsx("div", {
59081
59099
  ref: mentionReplyRef,
59100
+ id: "mention-user",
59101
+ style: {
59102
+ position: 'absolute',
59103
+ top: `${mentionPosition.top}px`,
59104
+ left: `${mentionPosition.left}px`
59105
+ },
59082
59106
  children: jsxRuntime.jsx(MentionUser, {
59083
59107
  hasAtSymbol: hasAtSymbol,
59084
59108
  usersObj: usersObj,
59085
59109
  optionClicked: optionClicked,
59086
- mentionPosition: mentionPosition,
59087
59110
  charsAfterAt: textAfterAt
59088
59111
  })
59089
59112
  }), jsxRuntime.jsxs("div", {
@@ -59213,8 +59236,8 @@ const Comments = ({
59213
59236
  top: 0,
59214
59237
  left: 0
59215
59238
  });
59216
- const [scrollY, setScrollY] = React.useState(0);
59217
59239
  const [textAfterAt, setTextAfterAt] = React.useState('');
59240
+ const inputRef = React.useRef(null);
59218
59241
  const textareaRef = React.useRef(null);
59219
59242
  const selectSectionRef = React.useRef(null);
59220
59243
  React.useEffect(() => {
@@ -59353,28 +59376,24 @@ const Comments = ({
59353
59376
  left: spanRect.left
59354
59377
  };
59355
59378
  };
59356
- const updateMentionPosition = React.useCallback(() => {
59379
+ const updateMentionPosition = () => {
59357
59380
  if (!textareaRef.current) return;
59381
+ const textareaEl = textareaRef?.current;
59382
+ const dropdownEl = selectSectionRef?.current;
59383
+ const inputEl = inputRef?.current;
59358
59384
  const caretPosition = textareaRef.current.selectionStart;
59359
- const textBeforeCaret = input.slice(0, caretPosition);
59360
- const hasCaretSymbol = textBeforeCaret.match(DETECT_MENTIONED_USERNAME_AFTER_SPACE);
59361
- setHasAtSymbol(!!hasCaretSymbol);
59362
- const caretCoords = getCaretCoordinates(textareaRef.current, caretPosition);
59363
- const topAdjustment = scrollY > 10 ? 75 : 0;
59385
+ const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
59386
+ const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
59387
+ const inputRect = inputEl?.getBoundingClientRect();
59388
+ if (!inputRect) return;
59389
+ const spaceBelow = window.innerHeight - inputRect.bottom;
59390
+ const spaceAbove = inputRect.top;
59391
+ const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
59364
59392
  setMentionPosition({
59365
- top: caretCoords.top + window.scrollY - 625 - topAdjustment,
59366
- left: window.scrollX + caretCoords.left + 10
59393
+ top: showAbove ? caretCoords.top - dropdownHeight - 528 : caretCoords.top - 606,
59394
+ left: caretCoords.left + 10
59367
59395
  });
59368
- }, [input]);
59369
- React.useEffect(() => {
59370
- const handleScroll = () => {
59371
- updateMentionPosition();
59372
- };
59373
- window.addEventListener('scroll', handleScroll, true);
59374
- return () => {
59375
- window.removeEventListener('scroll', handleScroll, true);
59376
- };
59377
- }, [updateMentionPosition]);
59396
+ };
59378
59397
  const textAreaInputChange = e => {
59379
59398
  const textAreaValue = e.target.value;
59380
59399
  setInput(textAreaValue);
@@ -59429,11 +59448,6 @@ const Comments = ({
59429
59448
  }
59430
59449
  }
59431
59450
  };
59432
- const handleScroll = () => {
59433
- if (textareaRef.current) {
59434
- setScrollY(textareaRef.current.scrollTop);
59435
- }
59436
- };
59437
59451
  return jsxRuntime.jsxs("div", {
59438
59452
  className: "ff-comments-container-box",
59439
59453
  children: [!isVewMode && jsxRuntime.jsxs("div", {
@@ -59444,6 +59458,7 @@ const Comments = ({
59444
59458
  children: "Comments"
59445
59459
  }), !showTextarea && jsxRuntime.jsxs("div", {
59446
59460
  className: "input-wrapper",
59461
+ ref: inputRef,
59447
59462
  children: [jsxRuntime.jsx("textarea", {
59448
59463
  className: "inputContainer_input first_input",
59449
59464
  rows: input.length < rowBreakCharCount ? 1 : 3,
@@ -59453,16 +59468,19 @@ const Comments = ({
59453
59468
  placeholder: "Add a comment",
59454
59469
  disabled: isDisable,
59455
59470
  ref: textareaRef,
59456
- onKeyDown: handleKeyDown,
59457
- onScroll: handleScroll
59471
+ onKeyDown: handleKeyDown
59458
59472
  }), hasAtSymbol && jsxRuntime.jsx("div", {
59459
- ref: selectSectionRef,
59460
59473
  id: "mention-user",
59474
+ ref: selectSectionRef,
59475
+ style: {
59476
+ position: 'absolute',
59477
+ top: `${mentionPosition.top}px`,
59478
+ left: `${mentionPosition.left}px`
59479
+ },
59461
59480
  children: jsxRuntime.jsx(MentionUser, {
59462
59481
  hasAtSymbol: hasAtSymbol,
59463
59482
  usersObj: usersObj,
59464
59483
  optionClicked: optionClicked,
59465
- mentionPosition: mentionPosition,
59466
59484
  charsAfterAt: textAfterAt
59467
59485
  })
59468
59486
  }), jsxRuntime.jsx("span", {
@@ -74509,7 +74527,11 @@ const StepLandingTable = /*#__PURE__*/React.forwardRef(({
74509
74527
  return Object.values(rows).some(set => set.size > 0);
74510
74528
  };
74511
74529
  if (hasSelectedIds(selectedRows)) {
74512
- onSelectClick?.(selectedRows);
74530
+ const updatedSelection = {
74531
+ ...selectedRows,
74532
+ partialSelected: stepPartialSelect
74533
+ };
74534
+ onSelectClick?.(updatedSelection);
74513
74535
  } else {
74514
74536
  onSelectClick?.(null);
74515
74537
  }
@@ -103789,7 +103811,7 @@ const getNavigateToKey = (currentNode, treeData, action) => {
103789
103811
  const getRootChildren = (treeData, rootNode) => {
103790
103812
  return treeData.filter(node => node.parentId === rootNode.key && node.entityType !== 'POST' && node.entityType !== 'PRE');
103791
103813
  };
103792
- if (action === 'inside') {
103814
+ {
103793
103815
  // Handle root node case
103794
103816
  if (currentNode.path === '/Root') {
103795
103817
  const childrenOfRoot = getRootChildren(treeData, currentNode);
@@ -103830,27 +103852,43 @@ const getNavigateToKey = (currentNode, treeData, action) => {
103830
103852
  };
103831
103853
  }
103832
103854
  }
103833
- } else if (action === 'below') {
103834
- if (currentNode.expanded === false) {
103835
- return {
103836
- navigateTo: currentNode?.key
103837
- };
103838
- } else {
103839
- const lastChild = findLastChild(treeData, currentNode);
103840
- return {
103841
- navigateTo: lastChild
103842
- };
103843
- }
103844
- } else if (action === 'above') {
103845
- return {
103846
- navigateTo: currentNode?.key
103847
- };
103848
103855
  }
103849
103856
  return {
103850
103857
  navigateTo: currentNode?.key
103851
103858
  };
103852
103859
  };
103853
103860
 
103861
+ const checkMicrophoneAccess = async (handleMicToggle, {
103862
+ requestDeniedMsg,
103863
+ notSupportedMsg,
103864
+ micAccessDeniedMsg
103865
+ }) => {
103866
+ try {
103867
+ const permissionStatus = await navigator?.permissions.query({
103868
+ name: 'microphone'
103869
+ });
103870
+ if (permissionStatus?.state === 'granted') {
103871
+ handleMicToggle();
103872
+ } else if (permissionStatus?.state === 'prompt') {
103873
+ try {
103874
+ const stream = await navigator?.mediaDevices?.getUserMedia({
103875
+ audio: true
103876
+ });
103877
+ stream?.getTracks()?.forEach(track => track?.stop());
103878
+ handleMicToggle();
103879
+ } catch (err) {
103880
+ toast.error(requestDeniedMsg);
103881
+ console.error('getUserMedia error:', err);
103882
+ }
103883
+ } else if (permissionStatus?.state === 'denied') {
103884
+ toast.error(micAccessDeniedMsg);
103885
+ }
103886
+ } catch (err) {
103887
+ toast.error(notSupportedMsg);
103888
+ console.error('Permission query error:', err);
103889
+ }
103890
+ };
103891
+
103854
103892
  /*
103855
103893
  The MIT License (MIT)
103856
103894
 
@@ -110156,6 +110194,7 @@ const ScriptGenerationLoader = ({
110156
110194
 
110157
110195
  exports.AADHAAR_REGEX = AADHAAR_REGEX;
110158
110196
  exports.ALPHABET_ONLY_REGEX = ALPHABET_ONLY_REGEX;
110197
+ exports.ALPHABET_WITH_SPACES_ONLY_REGEX = ALPHABET_WITH_SPACES_ONLY_REGEX;
110159
110198
  exports.ALPHANUMERIC_PARENTHESIS_REGEX = ALPHANUMERIC_PARENTHESIS_REGEX;
110160
110199
  exports.ALPHANUMERIC_REGEX = ALPHANUMERIC_REGEX;
110161
110200
  exports.ALPHANUMERIC_WITH_DOT_REGEX = ALPHANUMERIC_WITH_DOT_REGEX;
@@ -110354,6 +110393,7 @@ exports.addStepGroup = addStepGroup;
110354
110393
  exports.autoScrollToTableLastRow = autoScrollToTableLastRow;
110355
110394
  exports.capitalize = capitalize;
110356
110395
  exports.checkEmpty = checkEmpty;
110396
+ exports.checkMicrophoneAccess = checkMicrophoneAccess;
110357
110397
  exports.clearStore = clearStore;
110358
110398
  exports.compareArrays = compareArrays;
110359
110399
  exports.compareObjects = compareObjects;