pixel-react-excel-sheet 1.1.23 → 1.1.25

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 (55) hide show
  1. package/lib/_virtual/index10.js +2 -2
  2. package/lib/_virtual/index11.js +2 -2
  3. package/lib/assets/icons/run_automation_scripts_icon.svg.js +1 -1
  4. package/lib/assets/icons/run_automation_scripts_icon.svg.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/ExcelFile.js +8 -4
  13. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  14. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +4 -6
  15. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  16. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +12 -1
  17. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +1 -1
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  20. package/lib/components/MenuOption/MenuOption.js +2 -1
  21. package/lib/components/MenuOption/MenuOption.js.map +1 -1
  22. package/lib/components/Select/Select.js +15 -11
  23. package/lib/components/Select/Select.js.map +1 -1
  24. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +3 -2
  25. package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
  26. package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
  27. package/lib/components/StepsLandingTable/StepLandingTable.js +5 -1
  28. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  29. package/lib/components/Toastify/Toastify.js +1 -2
  30. package/lib/components/Toastify/Toastify.js.map +1 -1
  31. package/lib/index.cjs +139 -91
  32. package/lib/index.cjs.map +1 -1
  33. package/lib/index.d.ts +9 -1
  34. package/lib/index.js +2 -1
  35. package/lib/index.js.map +1 -1
  36. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  37. package/lib/node_modules/js-beautify/js/src/html/index.js +1 -1
  38. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  39. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  40. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  41. package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
  42. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  43. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  44. package/lib/styles.css +1 -1
  45. package/lib/styles.css.map +1 -1
  46. package/lib/tsconfig.tsbuildinfo +1 -1
  47. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js +1 -10
  48. package/lib/utils/TreeNavigateUtils/getNavigateToKey.js.map +1 -1
  49. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.d.ts +5 -0
  50. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js +35 -0
  51. package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js.map +1 -0
  52. package/lib/validations/regex.d.ts +2 -1
  53. package/lib/validations/regex.js +3 -1
  54. package/lib/validations/regex.js.map +1 -1
  55. package/package.json +6 -4
package/lib/index.cjs CHANGED
@@ -636,7 +636,7 @@ const SvgQuickRunSettingIcon = (props) => /* @__PURE__ */ React__namespace.creat
636
636
 
637
637
  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" }));
638
638
 
639
- 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" }))));
639
+ 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));
640
640
 
641
641
  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" }));
642
642
 
@@ -2561,6 +2561,8 @@ const ALPHA_NUM_EXTENDED_REGEX = /^[a-zA-Z0-9 _\-()]+$/;
2561
2561
  const ALPHANUMERIC_WITH_DOT_REGEX = /^[A-Za-z0-9.]+$/;
2562
2562
  // Alphanumeric string allowing only dot(.) as special character
2563
2563
  const EXCEL_SPACING_REGEX = /[\n\t"]/;
2564
+ //Alphabet validation along with spaces
2565
+ const ALPHABET_WITH_SPACES_ONLY_REGEX = /^[a-zA-Z ]*$/;
2564
2566
 
2565
2567
  const Dropdown$2 = /*#__PURE__*/React.forwardRef(({
2566
2568
  options,
@@ -4356,27 +4358,31 @@ const Select$1 = ({
4356
4358
  if (!element) return null;
4357
4359
  let parent = element.parentElement;
4358
4360
  while (parent) {
4359
- const overflowY = window.getComputedStyle(parent).overflowY;
4360
- if (overflowY === 'auto' || overflowY === 'scroll') {
4361
+ const tagName = parent.tagName.toLowerCase();
4362
+ // Skip tbody and similar non-scrollable semantic containers
4363
+ if (tagName === 'tbody') {
4364
+ parent = parent.parentElement;
4365
+ continue;
4366
+ }
4367
+ const style = window.getComputedStyle(parent);
4368
+ const overflowY = style.overflowY;
4369
+ const isScrollable = (overflowY === 'auto' || overflowY === 'scroll') && parent.scrollHeight > parent.clientHeight;
4370
+ if (isScrollable) {
4361
4371
  return parent;
4362
4372
  }
4363
4373
  parent = parent.parentElement;
4364
4374
  }
4365
4375
  return document.body;
4366
4376
  };
4367
- const hideShowScrollbar = () => {
4368
- if (disabled) return;
4369
- if (showDropdownOptions && optionsRequired) {
4370
- onSelectToggleScroll(!showDropdownOptions);
4377
+ React.useEffect(() => {
4378
+ if (!showDropdownOptions || disabled) return;
4379
+ if (optionsRequired) {
4380
+ onSelectToggleScroll(false);
4371
4381
  }
4372
4382
  onSelectUpdatePosition();
4373
4383
  const scrollableParent = getScrollParent(inputRef.current);
4374
4384
  window.addEventListener('resize', handleResizeOrScroll);
4375
4385
  scrollableParent?.addEventListener('scroll', onSelectBlur);
4376
- };
4377
- React.useEffect(() => {
4378
- hideShowScrollbar();
4379
- const scrollableParent = getScrollParent(inputRef.current);
4380
4386
  return () => {
4381
4387
  onSelectToggleScroll(true);
4382
4388
  window.removeEventListener('resize', handleResizeOrScroll);
@@ -4468,7 +4474,7 @@ const Select$1 = ({
4468
4474
  'ff-select-labels__active': searchedText
4469
4475
  }),
4470
4476
  fontSize: searchedText || showDropdownOptions ? 10 : 12,
4471
- lineHeight: searchedText || showDropdownOptions && '12px',
4477
+ lineHeight: searchedText || showDropdownOptions ? '10px' : '12px',
4472
4478
  required: required,
4473
4479
  style: {
4474
4480
  maxWidth: `calc(${selectWidth} - 40px)`
@@ -4960,7 +4966,7 @@ const MenuOption = ({
4960
4966
  children: labelName
4961
4967
  })]
4962
4968
  })
4963
- }), isClicked && displayCard && jsxRuntime.jsx(OptionCard, {
4969
+ }), isClicked && displayCard && !checkEmpty(options) && jsxRuntime.jsx(OptionCard, {
4964
4970
  options: options,
4965
4971
  onClick: handleOptionClick,
4966
4972
  menuPosition: menuPosition,
@@ -17561,7 +17567,6 @@ const Toastify = () => {
17561
17567
  title = formatMessage(arg1);
17562
17568
  message = '';
17563
17569
  }
17564
- const formattedTitle = title.charAt(0).toUpperCase() + title.slice(1);
17565
17570
  // Close the existing toast if open, and then immediately show the new one
17566
17571
  setToastProps(prev => ({
17567
17572
  ...prev,
@@ -17574,7 +17579,7 @@ const Toastify = () => {
17574
17579
  setToastProps({
17575
17580
  isOpen: true,
17576
17581
  variant,
17577
- toastTitle: formattedTitle,
17582
+ toastTitle: title,
17578
17583
  toastMessage: message
17579
17584
  });
17580
17585
  timeoutRef.current = setTimeout(() => {
@@ -35339,7 +35344,8 @@ const SequentialConnectingBranch = ({
35339
35344
  readOnly = false,
35340
35345
  zIndex = 99999,
35341
35346
  maxRunCount = 35,
35342
- environmentVariableMaps
35347
+ environmentVariableMaps,
35348
+ isRequired = false
35343
35349
  }) => {
35344
35350
  const [selectedMachineInstance, setSelectedMachineInstance] = React.useState({});
35345
35351
  const selectButtonRef = React.useRef(null);
@@ -35384,7 +35390,7 @@ const SequentialConnectingBranch = ({
35384
35390
  onChange: onHandleSelect,
35385
35391
  optionsList: machineOptionsList,
35386
35392
  label: placeholder,
35387
- required: false,
35393
+ required: isRequired,
35388
35394
  showLabel: true,
35389
35395
  className: "ff-sequential-select-branch",
35390
35396
  width: '240px',
@@ -39116,7 +39122,7 @@ function reducer(state, action) {
39116
39122
  if (state.formattedStyle.open) {
39117
39123
  updatedData = dragEndFormatePainter(state.model.data, selectedRange, state.formattedStyle);
39118
39124
  }
39119
- if (state.autoFill.open && state.editable) {
39125
+ if (state.autoFill.open && state.editable && selectedRange) {
39120
39126
  updatedData = dragEndAutoFill(state.model.data, selectedRange, state.autoFill.cellValue, activeCell);
39121
39127
  let {
39122
39128
  start,
@@ -40588,7 +40594,6 @@ const ColumnIndicator = ({
40588
40594
  const activate$1 = React__namespace.useCallback(point => dispatch(activate(point)), [dispatch]);
40589
40595
  const handleClick = React__namespace.useCallback(event => {
40590
40596
  onSelect(column, event.shiftKey);
40591
- console.log("Outer Div");
40592
40597
  }, [onSelect, column]);
40593
40598
  const contextClick = React__namespace.useCallback(event => {
40594
40599
  event.preventDefault();
@@ -40615,7 +40620,6 @@ const ColumnIndicator = ({
40615
40620
  },
40616
40621
  onClick: handleClick,
40617
40622
  onContextMenu: contextClick,
40618
- onMouseDown: e => onMouseDrag(e, false),
40619
40623
  tabIndex: 0,
40620
40624
  children: [jsxRuntime.jsx(Typography, {
40621
40625
  fontWeight: "medium",
@@ -40624,10 +40628,10 @@ const ColumnIndicator = ({
40624
40628
  className: "drag-column-selector drag-column-left",
40625
40629
  onMouseDown: e => onMouseDrag(e, false),
40626
40630
  onDoubleClick: () => dispatch(setColumnPosition(column, minColumnWidth)),
40627
- onClick: () => {
40628
- // console.log("Inner Div")
40629
- // activate({ row: -1, column })
40630
- }
40631
+ onClick: () => activate$1({
40632
+ row: -1,
40633
+ column
40634
+ })
40631
40635
  }), jsxRuntime.jsx("div", {
40632
40636
  className: "drag-column-selector drag-column-right",
40633
40637
  onMouseDown: e => onMouseDrag(e, true),
@@ -41811,7 +41815,8 @@ const Spreadsheet = props => {
41811
41815
  contextOption,
41812
41816
  attachmentAction,
41813
41817
  workRef,
41814
- minimumColumnWidth
41818
+ minimumColumnWidth,
41819
+ setContextMenu
41815
41820
  } = props;
41816
41821
  const [sheetChange, setSheetChange] = React__namespace.useState(false);
41817
41822
  const [maxWidth, setMaxWidth] = React__namespace.useState(0);
@@ -42213,6 +42218,16 @@ const Spreadsheet = props => {
42213
42218
  onMouseMove: handleMouseMove,
42214
42219
  onScroll: e => {
42215
42220
  scrollOption && handleScroll(e);
42221
+ setContextMenu({
42222
+ open: false,
42223
+ options: [{
42224
+ label: '',
42225
+ value: '',
42226
+ iconName: '',
42227
+ action: () => {},
42228
+ disable: false
42229
+ }]
42230
+ });
42216
42231
  },
42217
42232
  children: [tableNode, activeCellNode, jsxRuntime.jsx(Selected, {}), jsxRuntime.jsx(Copied, {})]
42218
42233
  })]
@@ -42684,8 +42699,12 @@ const ExcelFile = ({
42684
42699
  });
42685
42700
  return;
42686
42701
  }
42687
- const windowWidth = window.innerWidth;
42688
- const windowHeight = window.innerHeight;
42702
+ const windowWidth = window.innerWidth + contextWidthPositioning;
42703
+ const windowHeight = window.innerHeight + contextHeightPositioning;
42704
+ console.log(window.innerWidth);
42705
+ console.log(contextWidthPositioning);
42706
+ console.log(window.innerHeight);
42707
+ console.log(contextHeightPositioning);
42689
42708
  if (sheetRefX + menuWidth > windowWidth) {
42690
42709
  sheetRefX = windowWidth - menuWidth - 100;
42691
42710
  }
@@ -42693,8 +42712,8 @@ const ExcelFile = ({
42693
42712
  sheetRefY = windowHeight - menuHeight - 100;
42694
42713
  }
42695
42714
  setPosition({
42696
- x: sheetRefX + contextWidthPositioning,
42697
- y: sheetRefY + contextHeightPositioning
42715
+ x: sheetRefX,
42716
+ y: sheetRefY
42698
42717
  });
42699
42718
  };
42700
42719
  const unsetContextPosition = e => {
@@ -59654,12 +59673,10 @@ const saveFileFromBlob = (blob, filename) => {
59654
59673
 
59655
59674
  const MentionUser = ({
59656
59675
  hasAtSymbol,
59657
- mentionPosition,
59658
59676
  usersObj,
59659
59677
  optionClicked,
59660
59678
  charsAfterAt
59661
59679
  }) => {
59662
- const selectSectionRef = React.useRef(null);
59663
59680
  const [hoveredIndex, setHoveredIndex] = React.useState(0);
59664
59681
  const itemRefs = React.useRef([]);
59665
59682
  if (!hasAtSymbol) return null;
@@ -59701,11 +59718,6 @@ const MentionUser = ({
59701
59718
  }, [handleKeyDown]);
59702
59719
  return jsxRuntime.jsx("div", {
59703
59720
  className: "select-section",
59704
- ref: selectSectionRef,
59705
- style: {
59706
- '--top': `${mentionPosition?.top}px`,
59707
- '--left': `${mentionPosition?.left + 5}px`
59708
- },
59709
59721
  onMouseDown: e => e.preventDefault(),
59710
59722
  children: jsxRuntime.jsx("div", {
59711
59723
  className: "select-group",
@@ -59775,6 +59787,7 @@ const ChildComment = ({
59775
59787
  const textAreaRef = React.useRef(null);
59776
59788
  const mentionRef = React.useRef(null);
59777
59789
  const mentionReplyRef = React.useRef(null);
59790
+ const inputRef = React.useRef(null);
59778
59791
  React.useEffect(() => {
59779
59792
  if (editMode && comment?.description) {
59780
59793
  setInput(comment?.description);
@@ -59874,24 +59887,24 @@ const ChildComment = ({
59874
59887
  left: spanRect.left
59875
59888
  };
59876
59889
  };
59877
- const updateMentionPosition = React.useCallback(() => {
59890
+ const updateMentionPosition = () => {
59878
59891
  if (!textAreaRef.current) return;
59892
+ const textareaEl = textAreaRef?.current;
59893
+ const dropdownEl = mentionRef?.current && mentionReplyRef?.current;
59894
+ const inputEl = inputRef?.current;
59879
59895
  const caretPosition = textAreaRef.current.selectionStart;
59880
- const caretCoords = getCaretCoordinates(textAreaRef.current, caretPosition);
59896
+ const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
59897
+ const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
59898
+ const inputRect = inputEl?.getBoundingClientRect();
59899
+ if (!inputRect) return;
59900
+ const spaceBelow = window.innerHeight - inputRect.bottom;
59901
+ const spaceAbove = inputRect.top;
59902
+ const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
59881
59903
  setMentionPosition({
59882
- top: caretCoords.top + window.scrollY - 625,
59883
- left: window.scrollX + caretCoords.left + 10
59904
+ top: showAbove ? caretCoords.top - dropdownHeight - 508 : caretCoords.top - 588,
59905
+ left: caretCoords.left + 10
59884
59906
  });
59885
- }, [input]);
59886
- React.useEffect(() => {
59887
- const handleScroll = () => {
59888
- updateMentionPosition();
59889
- };
59890
- window.addEventListener('scroll', handleScroll, true);
59891
- return () => {
59892
- window.removeEventListener('scroll', handleScroll, true);
59893
- };
59894
- }, [updateMentionPosition]);
59907
+ };
59895
59908
  const textAreaInputChange = e => {
59896
59909
  const textAreaValue = e.target.value;
59897
59910
  setInput(textAreaValue);
@@ -59992,6 +60005,7 @@ const ChildComment = ({
59992
60005
  }, index) : part)
59993
60006
  }), editMode && jsxRuntime.jsxs("div", {
59994
60007
  className: "inputContainer",
60008
+ ref: inputRef,
59995
60009
  children: [jsxRuntime.jsx("textarea", {
59996
60010
  rows: input.length < rowBreakCharCount ? 1 : 3,
59997
60011
  className: "inputContainer_input first_input",
@@ -60003,11 +60017,16 @@ const ChildComment = ({
60003
60017
  onKeyDown: handleKeyDown
60004
60018
  }), hasAtSymbol && jsxRuntime.jsx("div", {
60005
60019
  ref: mentionRef,
60020
+ id: "mention-user",
60021
+ style: {
60022
+ position: 'absolute',
60023
+ top: `${mentionPosition.top}px`,
60024
+ left: `${mentionPosition.left}px`
60025
+ },
60006
60026
  children: jsxRuntime.jsx(MentionUser, {
60007
60027
  hasAtSymbol: hasAtSymbol,
60008
60028
  usersObj: usersObj,
60009
60029
  optionClicked: optionClicked,
60010
- mentionPosition: mentionPosition,
60011
60030
  charsAfterAt: textAfterAt
60012
60031
  })
60013
60032
  }), jsxRuntime.jsxs("div", {
@@ -60111,6 +60130,7 @@ const ChildComment = ({
60111
60130
  className: "comment-reply-container",
60112
60131
  children: showInput && jsxRuntime.jsxs("div", {
60113
60132
  className: "inputContainer",
60133
+ ref: inputRef,
60114
60134
  children: [jsxRuntime.jsx("textarea", {
60115
60135
  rows: input.length < rowBreakCharCount ? 1 : 3,
60116
60136
  className: "inputContainer_input first_input",
@@ -60122,11 +60142,16 @@ const ChildComment = ({
60122
60142
  onKeyDown: handleKeyDown
60123
60143
  }), hasAtSymbol && jsxRuntime.jsx("div", {
60124
60144
  ref: mentionReplyRef,
60145
+ id: "mention-user",
60146
+ style: {
60147
+ position: 'absolute',
60148
+ top: `${mentionPosition.top}px`,
60149
+ left: `${mentionPosition.left}px`
60150
+ },
60125
60151
  children: jsxRuntime.jsx(MentionUser, {
60126
60152
  hasAtSymbol: hasAtSymbol,
60127
60153
  usersObj: usersObj,
60128
60154
  optionClicked: optionClicked,
60129
- mentionPosition: mentionPosition,
60130
60155
  charsAfterAt: textAfterAt
60131
60156
  })
60132
60157
  }), jsxRuntime.jsxs("div", {
@@ -60256,8 +60281,8 @@ const Comments = ({
60256
60281
  top: 0,
60257
60282
  left: 0
60258
60283
  });
60259
- const [scrollY, setScrollY] = React.useState(0);
60260
60284
  const [textAfterAt, setTextAfterAt] = React.useState('');
60285
+ const inputRef = React.useRef(null);
60261
60286
  const textareaRef = React.useRef(null);
60262
60287
  const selectSectionRef = React.useRef(null);
60263
60288
  React.useEffect(() => {
@@ -60396,28 +60421,24 @@ const Comments = ({
60396
60421
  left: spanRect.left
60397
60422
  };
60398
60423
  };
60399
- const updateMentionPosition = React.useCallback(() => {
60424
+ const updateMentionPosition = () => {
60400
60425
  if (!textareaRef.current) return;
60426
+ const textareaEl = textareaRef?.current;
60427
+ const dropdownEl = selectSectionRef?.current;
60428
+ const inputEl = inputRef?.current;
60401
60429
  const caretPosition = textareaRef.current.selectionStart;
60402
- const textBeforeCaret = input.slice(0, caretPosition);
60403
- const hasCaretSymbol = textBeforeCaret.match(DETECT_MENTIONED_USERNAME_AFTER_SPACE);
60404
- setHasAtSymbol(!!hasCaretSymbol);
60405
- const caretCoords = getCaretCoordinates(textareaRef.current, caretPosition);
60406
- const topAdjustment = scrollY > 10 ? 75 : 0;
60430
+ const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
60431
+ const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
60432
+ const inputRect = inputEl?.getBoundingClientRect();
60433
+ if (!inputRect) return;
60434
+ const spaceBelow = window.innerHeight - inputRect.bottom;
60435
+ const spaceAbove = inputRect.top;
60436
+ const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
60407
60437
  setMentionPosition({
60408
- top: caretCoords.top + window.scrollY - 625 - topAdjustment,
60409
- left: window.scrollX + caretCoords.left + 10
60438
+ top: showAbove ? caretCoords.top - dropdownHeight - 528 : caretCoords.top - 606,
60439
+ left: caretCoords.left + 10
60410
60440
  });
60411
- }, [input]);
60412
- React.useEffect(() => {
60413
- const handleScroll = () => {
60414
- updateMentionPosition();
60415
- };
60416
- window.addEventListener('scroll', handleScroll, true);
60417
- return () => {
60418
- window.removeEventListener('scroll', handleScroll, true);
60419
- };
60420
- }, [updateMentionPosition]);
60441
+ };
60421
60442
  const textAreaInputChange = e => {
60422
60443
  const textAreaValue = e.target.value;
60423
60444
  setInput(textAreaValue);
@@ -60472,11 +60493,6 @@ const Comments = ({
60472
60493
  }
60473
60494
  }
60474
60495
  };
60475
- const handleScroll = () => {
60476
- if (textareaRef.current) {
60477
- setScrollY(textareaRef.current.scrollTop);
60478
- }
60479
- };
60480
60496
  return jsxRuntime.jsxs("div", {
60481
60497
  className: "ff-comments-container-box",
60482
60498
  children: [!isVewMode && jsxRuntime.jsxs("div", {
@@ -60487,6 +60503,7 @@ const Comments = ({
60487
60503
  children: "Comments"
60488
60504
  }), !showTextarea && jsxRuntime.jsxs("div", {
60489
60505
  className: "input-wrapper",
60506
+ ref: inputRef,
60490
60507
  children: [jsxRuntime.jsx("textarea", {
60491
60508
  className: "inputContainer_input first_input",
60492
60509
  rows: input.length < rowBreakCharCount ? 1 : 3,
@@ -60496,16 +60513,19 @@ const Comments = ({
60496
60513
  placeholder: "Add a comment",
60497
60514
  disabled: isDisable,
60498
60515
  ref: textareaRef,
60499
- onKeyDown: handleKeyDown,
60500
- onScroll: handleScroll
60516
+ onKeyDown: handleKeyDown
60501
60517
  }), hasAtSymbol && jsxRuntime.jsx("div", {
60502
- ref: selectSectionRef,
60503
60518
  id: "mention-user",
60519
+ ref: selectSectionRef,
60520
+ style: {
60521
+ position: 'absolute',
60522
+ top: `${mentionPosition.top}px`,
60523
+ left: `${mentionPosition.left}px`
60524
+ },
60504
60525
  children: jsxRuntime.jsx(MentionUser, {
60505
60526
  hasAtSymbol: hasAtSymbol,
60506
60527
  usersObj: usersObj,
60507
60528
  optionClicked: optionClicked,
60508
- mentionPosition: mentionPosition,
60509
60529
  charsAfterAt: textAfterAt
60510
60530
  })
60511
60531
  }), jsxRuntime.jsx("span", {
@@ -75552,7 +75572,11 @@ const StepLandingTable = /*#__PURE__*/React.forwardRef(({
75552
75572
  return Object.values(rows).some(set => set.size > 0);
75553
75573
  };
75554
75574
  if (hasSelectedIds(selectedRows)) {
75555
- onSelectClick?.(selectedRows);
75575
+ const updatedSelection = {
75576
+ ...selectedRows,
75577
+ partialSelected: stepPartialSelect
75578
+ };
75579
+ onSelectClick?.(updatedSelection);
75556
75580
  } else {
75557
75581
  onSelectClick?.(null);
75558
75582
  }
@@ -109713,7 +109737,7 @@ const getNavigateToKey = (currentNode, treeData, action) => {
109713
109737
  const getRootChildren = (treeData, rootNode) => {
109714
109738
  return treeData.filter(node => node.parentId === rootNode.key && node.entityType !== 'POST' && node.entityType !== 'PRE');
109715
109739
  };
109716
- if (action === 'inside') {
109740
+ {
109717
109741
  // Handle root node case
109718
109742
  if (currentNode.path === '/Root') {
109719
109743
  const childrenOfRoot = getRootChildren(treeData, currentNode);
@@ -109754,21 +109778,43 @@ const getNavigateToKey = (currentNode, treeData, action) => {
109754
109778
  };
109755
109779
  }
109756
109780
  }
109757
- } else if (action === 'below') {
109758
- const lastChild = findLastChild(treeData, currentNode);
109759
- return {
109760
- navigateTo: lastChild
109761
- };
109762
- } else if (action === 'above') {
109763
- return {
109764
- navigateTo: currentNode?.key
109765
- };
109766
109781
  }
109767
109782
  return {
109768
109783
  navigateTo: currentNode?.key
109769
109784
  };
109770
109785
  };
109771
109786
 
109787
+ const checkMicrophoneAccess = async (handleMicToggle, {
109788
+ requestDeniedMsg,
109789
+ notSupportedMsg,
109790
+ micAccessDeniedMsg
109791
+ }) => {
109792
+ try {
109793
+ const permissionStatus = await navigator?.permissions.query({
109794
+ name: 'microphone'
109795
+ });
109796
+ if (permissionStatus?.state === 'granted') {
109797
+ handleMicToggle();
109798
+ } else if (permissionStatus?.state === 'prompt') {
109799
+ try {
109800
+ const stream = await navigator?.mediaDevices?.getUserMedia({
109801
+ audio: true
109802
+ });
109803
+ stream?.getTracks()?.forEach(track => track?.stop());
109804
+ handleMicToggle();
109805
+ } catch (err) {
109806
+ toast.error(requestDeniedMsg);
109807
+ console.error('getUserMedia error:', err);
109808
+ }
109809
+ } else if (permissionStatus?.state === 'denied') {
109810
+ toast.error(micAccessDeniedMsg);
109811
+ }
109812
+ } catch (err) {
109813
+ toast.error(notSupportedMsg);
109814
+ console.error('Permission query error:', err);
109815
+ }
109816
+ };
109817
+
109772
109818
  /*
109773
109819
  The MIT License (MIT)
109774
109820
 
@@ -116076,6 +116122,7 @@ const ScriptGenerationLoader = ({
116076
116122
 
116077
116123
  exports.AADHAAR_REGEX = AADHAAR_REGEX;
116078
116124
  exports.ALPHABET_ONLY_REGEX = ALPHABET_ONLY_REGEX;
116125
+ exports.ALPHABET_WITH_SPACES_ONLY_REGEX = ALPHABET_WITH_SPACES_ONLY_REGEX;
116079
116126
  exports.ALPHANUMERIC_PARENTHESIS_REGEX = ALPHANUMERIC_PARENTHESIS_REGEX;
116080
116127
  exports.ALPHANUMERIC_REGEX = ALPHANUMERIC_REGEX;
116081
116128
  exports.ALPHANUMERIC_WITH_DOT_REGEX = ALPHANUMERIC_WITH_DOT_REGEX;
@@ -116274,6 +116321,7 @@ exports.addStepGroup = addStepGroup;
116274
116321
  exports.autoScrollToTableLastRow = autoScrollToTableLastRow;
116275
116322
  exports.capitalize = capitalize;
116276
116323
  exports.checkEmpty = checkEmpty;
116324
+ exports.checkMicrophoneAccess = checkMicrophoneAccess;
116277
116325
  exports.clearStore = clearStore;
116278
116326
  exports.compareArrays = compareArrays;
116279
116327
  exports.compareObjects = compareObjects;