pixel-react-excel-sheet 1.1.23 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_virtual/index11.js +2 -2
- package/lib/_virtual/index9.js +2 -2
- package/lib/assets/icons/run_automation_scripts_icon.svg.js +1 -1
- package/lib/assets/icons/run_automation_scripts_icon.svg.js.map +1 -1
- package/lib/components/Comments/Comments.js +26 -31
- package/lib/components/Comments/Comments.js.map +1 -1
- package/lib/components/Comments/childComment/ChildComment.js +30 -17
- package/lib/components/Comments/childComment/ChildComment.js.map +1 -1
- package/lib/components/Comments/mentionUser/MentionUser.js +1 -8
- package/lib/components/Comments/mentionUser/MentionUser.js.map +1 -1
- package/lib/components/Comments/type.d.ts +0 -4
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +4 -6
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +12 -1
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
- package/lib/components/MenuOption/MenuOption.js +2 -1
- package/lib/components/MenuOption/MenuOption.js.map +1 -1
- package/lib/components/Select/Select.js +15 -11
- package/lib/components/Select/Select.js.map +1 -1
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js +3 -2
- package/lib/components/SequentialConnectingBranch/SequentialConnectingBranch.js.map +1 -1
- package/lib/components/SequentialConnectingBranch/types.d.ts +1 -0
- package/lib/components/StepsLandingTable/StepLandingTable.js +5 -1
- package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
- package/lib/components/Toastify/Toastify.js +1 -2
- package/lib/components/Toastify/Toastify.js.map +1 -1
- package/lib/index.cjs +130 -86
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.ts +9 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/index.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
- package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
- package/lib/styles.css +1 -1
- package/lib/styles.css.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/TreeNavigateUtils/getNavigateToKey.js +1 -10
- package/lib/utils/TreeNavigateUtils/getNavigateToKey.js.map +1 -1
- package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.d.ts +5 -0
- package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js +35 -0
- package/lib/utils/checkMicrophoneAccess/checkMicrophoneAccess.js.map +1 -0
- package/lib/validations/regex.d.ts +2 -1
- package/lib/validations/regex.js +3 -1
- package/lib/validations/regex.js.map +1 -1
- 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: "
|
|
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
|
|
4360
|
-
|
|
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
|
-
|
|
4368
|
-
if (disabled) return;
|
|
4369
|
-
if (
|
|
4370
|
-
onSelectToggleScroll(
|
|
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
|
|
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:
|
|
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:
|
|
35393
|
+
required: isRequired,
|
|
35388
35394
|
showLabel: true,
|
|
35389
35395
|
className: "ff-sequential-select-branch",
|
|
35390
35396
|
width: '240px',
|
|
@@ -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
|
-
|
|
40629
|
-
|
|
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
|
})]
|
|
@@ -59654,12 +59669,10 @@ const saveFileFromBlob = (blob, filename) => {
|
|
|
59654
59669
|
|
|
59655
59670
|
const MentionUser = ({
|
|
59656
59671
|
hasAtSymbol,
|
|
59657
|
-
mentionPosition,
|
|
59658
59672
|
usersObj,
|
|
59659
59673
|
optionClicked,
|
|
59660
59674
|
charsAfterAt
|
|
59661
59675
|
}) => {
|
|
59662
|
-
const selectSectionRef = React.useRef(null);
|
|
59663
59676
|
const [hoveredIndex, setHoveredIndex] = React.useState(0);
|
|
59664
59677
|
const itemRefs = React.useRef([]);
|
|
59665
59678
|
if (!hasAtSymbol) return null;
|
|
@@ -59701,11 +59714,6 @@ const MentionUser = ({
|
|
|
59701
59714
|
}, [handleKeyDown]);
|
|
59702
59715
|
return jsxRuntime.jsx("div", {
|
|
59703
59716
|
className: "select-section",
|
|
59704
|
-
ref: selectSectionRef,
|
|
59705
|
-
style: {
|
|
59706
|
-
'--top': `${mentionPosition?.top}px`,
|
|
59707
|
-
'--left': `${mentionPosition?.left + 5}px`
|
|
59708
|
-
},
|
|
59709
59717
|
onMouseDown: e => e.preventDefault(),
|
|
59710
59718
|
children: jsxRuntime.jsx("div", {
|
|
59711
59719
|
className: "select-group",
|
|
@@ -59775,6 +59783,7 @@ const ChildComment = ({
|
|
|
59775
59783
|
const textAreaRef = React.useRef(null);
|
|
59776
59784
|
const mentionRef = React.useRef(null);
|
|
59777
59785
|
const mentionReplyRef = React.useRef(null);
|
|
59786
|
+
const inputRef = React.useRef(null);
|
|
59778
59787
|
React.useEffect(() => {
|
|
59779
59788
|
if (editMode && comment?.description) {
|
|
59780
59789
|
setInput(comment?.description);
|
|
@@ -59874,24 +59883,24 @@ const ChildComment = ({
|
|
|
59874
59883
|
left: spanRect.left
|
|
59875
59884
|
};
|
|
59876
59885
|
};
|
|
59877
|
-
const updateMentionPosition =
|
|
59886
|
+
const updateMentionPosition = () => {
|
|
59878
59887
|
if (!textAreaRef.current) return;
|
|
59888
|
+
const textareaEl = textAreaRef?.current;
|
|
59889
|
+
const dropdownEl = mentionRef?.current && mentionReplyRef?.current;
|
|
59890
|
+
const inputEl = inputRef?.current;
|
|
59879
59891
|
const caretPosition = textAreaRef.current.selectionStart;
|
|
59880
|
-
const caretCoords = getCaretCoordinates(
|
|
59892
|
+
const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
|
|
59893
|
+
const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
|
|
59894
|
+
const inputRect = inputEl?.getBoundingClientRect();
|
|
59895
|
+
if (!inputRect) return;
|
|
59896
|
+
const spaceBelow = window.innerHeight - inputRect.bottom;
|
|
59897
|
+
const spaceAbove = inputRect.top;
|
|
59898
|
+
const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
|
|
59881
59899
|
setMentionPosition({
|
|
59882
|
-
top: caretCoords.top
|
|
59883
|
-
left:
|
|
59900
|
+
top: showAbove ? caretCoords.top - dropdownHeight - 508 : caretCoords.top - 588,
|
|
59901
|
+
left: caretCoords.left + 10
|
|
59884
59902
|
});
|
|
59885
|
-
}
|
|
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]);
|
|
59903
|
+
};
|
|
59895
59904
|
const textAreaInputChange = e => {
|
|
59896
59905
|
const textAreaValue = e.target.value;
|
|
59897
59906
|
setInput(textAreaValue);
|
|
@@ -59992,6 +60001,7 @@ const ChildComment = ({
|
|
|
59992
60001
|
}, index) : part)
|
|
59993
60002
|
}), editMode && jsxRuntime.jsxs("div", {
|
|
59994
60003
|
className: "inputContainer",
|
|
60004
|
+
ref: inputRef,
|
|
59995
60005
|
children: [jsxRuntime.jsx("textarea", {
|
|
59996
60006
|
rows: input.length < rowBreakCharCount ? 1 : 3,
|
|
59997
60007
|
className: "inputContainer_input first_input",
|
|
@@ -60003,11 +60013,16 @@ const ChildComment = ({
|
|
|
60003
60013
|
onKeyDown: handleKeyDown
|
|
60004
60014
|
}), hasAtSymbol && jsxRuntime.jsx("div", {
|
|
60005
60015
|
ref: mentionRef,
|
|
60016
|
+
id: "mention-user",
|
|
60017
|
+
style: {
|
|
60018
|
+
position: 'absolute',
|
|
60019
|
+
top: `${mentionPosition.top}px`,
|
|
60020
|
+
left: `${mentionPosition.left}px`
|
|
60021
|
+
},
|
|
60006
60022
|
children: jsxRuntime.jsx(MentionUser, {
|
|
60007
60023
|
hasAtSymbol: hasAtSymbol,
|
|
60008
60024
|
usersObj: usersObj,
|
|
60009
60025
|
optionClicked: optionClicked,
|
|
60010
|
-
mentionPosition: mentionPosition,
|
|
60011
60026
|
charsAfterAt: textAfterAt
|
|
60012
60027
|
})
|
|
60013
60028
|
}), jsxRuntime.jsxs("div", {
|
|
@@ -60111,6 +60126,7 @@ const ChildComment = ({
|
|
|
60111
60126
|
className: "comment-reply-container",
|
|
60112
60127
|
children: showInput && jsxRuntime.jsxs("div", {
|
|
60113
60128
|
className: "inputContainer",
|
|
60129
|
+
ref: inputRef,
|
|
60114
60130
|
children: [jsxRuntime.jsx("textarea", {
|
|
60115
60131
|
rows: input.length < rowBreakCharCount ? 1 : 3,
|
|
60116
60132
|
className: "inputContainer_input first_input",
|
|
@@ -60122,11 +60138,16 @@ const ChildComment = ({
|
|
|
60122
60138
|
onKeyDown: handleKeyDown
|
|
60123
60139
|
}), hasAtSymbol && jsxRuntime.jsx("div", {
|
|
60124
60140
|
ref: mentionReplyRef,
|
|
60141
|
+
id: "mention-user",
|
|
60142
|
+
style: {
|
|
60143
|
+
position: 'absolute',
|
|
60144
|
+
top: `${mentionPosition.top}px`,
|
|
60145
|
+
left: `${mentionPosition.left}px`
|
|
60146
|
+
},
|
|
60125
60147
|
children: jsxRuntime.jsx(MentionUser, {
|
|
60126
60148
|
hasAtSymbol: hasAtSymbol,
|
|
60127
60149
|
usersObj: usersObj,
|
|
60128
60150
|
optionClicked: optionClicked,
|
|
60129
|
-
mentionPosition: mentionPosition,
|
|
60130
60151
|
charsAfterAt: textAfterAt
|
|
60131
60152
|
})
|
|
60132
60153
|
}), jsxRuntime.jsxs("div", {
|
|
@@ -60256,8 +60277,8 @@ const Comments = ({
|
|
|
60256
60277
|
top: 0,
|
|
60257
60278
|
left: 0
|
|
60258
60279
|
});
|
|
60259
|
-
const [scrollY, setScrollY] = React.useState(0);
|
|
60260
60280
|
const [textAfterAt, setTextAfterAt] = React.useState('');
|
|
60281
|
+
const inputRef = React.useRef(null);
|
|
60261
60282
|
const textareaRef = React.useRef(null);
|
|
60262
60283
|
const selectSectionRef = React.useRef(null);
|
|
60263
60284
|
React.useEffect(() => {
|
|
@@ -60396,28 +60417,24 @@ const Comments = ({
|
|
|
60396
60417
|
left: spanRect.left
|
|
60397
60418
|
};
|
|
60398
60419
|
};
|
|
60399
|
-
const updateMentionPosition =
|
|
60420
|
+
const updateMentionPosition = () => {
|
|
60400
60421
|
if (!textareaRef.current) return;
|
|
60422
|
+
const textareaEl = textareaRef?.current;
|
|
60423
|
+
const dropdownEl = selectSectionRef?.current;
|
|
60424
|
+
const inputEl = inputRef?.current;
|
|
60401
60425
|
const caretPosition = textareaRef.current.selectionStart;
|
|
60402
|
-
const
|
|
60403
|
-
const
|
|
60404
|
-
|
|
60405
|
-
|
|
60406
|
-
const
|
|
60426
|
+
const caretCoords = getCaretCoordinates(textareaEl, caretPosition);
|
|
60427
|
+
const dropdownHeight = dropdownEl?.getBoundingClientRect().height || 370;
|
|
60428
|
+
const inputRect = inputEl?.getBoundingClientRect();
|
|
60429
|
+
if (!inputRect) return;
|
|
60430
|
+
const spaceBelow = window.innerHeight - inputRect.bottom;
|
|
60431
|
+
const spaceAbove = inputRect.top;
|
|
60432
|
+
const showAbove = spaceBelow < dropdownHeight && spaceAbove > dropdownHeight;
|
|
60407
60433
|
setMentionPosition({
|
|
60408
|
-
top: caretCoords.top
|
|
60409
|
-
left:
|
|
60434
|
+
top: showAbove ? caretCoords.top - dropdownHeight - 528 : caretCoords.top - 606,
|
|
60435
|
+
left: caretCoords.left + 10
|
|
60410
60436
|
});
|
|
60411
|
-
}
|
|
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]);
|
|
60437
|
+
};
|
|
60421
60438
|
const textAreaInputChange = e => {
|
|
60422
60439
|
const textAreaValue = e.target.value;
|
|
60423
60440
|
setInput(textAreaValue);
|
|
@@ -60472,11 +60489,6 @@ const Comments = ({
|
|
|
60472
60489
|
}
|
|
60473
60490
|
}
|
|
60474
60491
|
};
|
|
60475
|
-
const handleScroll = () => {
|
|
60476
|
-
if (textareaRef.current) {
|
|
60477
|
-
setScrollY(textareaRef.current.scrollTop);
|
|
60478
|
-
}
|
|
60479
|
-
};
|
|
60480
60492
|
return jsxRuntime.jsxs("div", {
|
|
60481
60493
|
className: "ff-comments-container-box",
|
|
60482
60494
|
children: [!isVewMode && jsxRuntime.jsxs("div", {
|
|
@@ -60487,6 +60499,7 @@ const Comments = ({
|
|
|
60487
60499
|
children: "Comments"
|
|
60488
60500
|
}), !showTextarea && jsxRuntime.jsxs("div", {
|
|
60489
60501
|
className: "input-wrapper",
|
|
60502
|
+
ref: inputRef,
|
|
60490
60503
|
children: [jsxRuntime.jsx("textarea", {
|
|
60491
60504
|
className: "inputContainer_input first_input",
|
|
60492
60505
|
rows: input.length < rowBreakCharCount ? 1 : 3,
|
|
@@ -60496,16 +60509,19 @@ const Comments = ({
|
|
|
60496
60509
|
placeholder: "Add a comment",
|
|
60497
60510
|
disabled: isDisable,
|
|
60498
60511
|
ref: textareaRef,
|
|
60499
|
-
onKeyDown: handleKeyDown
|
|
60500
|
-
onScroll: handleScroll
|
|
60512
|
+
onKeyDown: handleKeyDown
|
|
60501
60513
|
}), hasAtSymbol && jsxRuntime.jsx("div", {
|
|
60502
|
-
ref: selectSectionRef,
|
|
60503
60514
|
id: "mention-user",
|
|
60515
|
+
ref: selectSectionRef,
|
|
60516
|
+
style: {
|
|
60517
|
+
position: 'absolute',
|
|
60518
|
+
top: `${mentionPosition.top}px`,
|
|
60519
|
+
left: `${mentionPosition.left}px`
|
|
60520
|
+
},
|
|
60504
60521
|
children: jsxRuntime.jsx(MentionUser, {
|
|
60505
60522
|
hasAtSymbol: hasAtSymbol,
|
|
60506
60523
|
usersObj: usersObj,
|
|
60507
60524
|
optionClicked: optionClicked,
|
|
60508
|
-
mentionPosition: mentionPosition,
|
|
60509
60525
|
charsAfterAt: textAfterAt
|
|
60510
60526
|
})
|
|
60511
60527
|
}), jsxRuntime.jsx("span", {
|
|
@@ -75552,7 +75568,11 @@ const StepLandingTable = /*#__PURE__*/React.forwardRef(({
|
|
|
75552
75568
|
return Object.values(rows).some(set => set.size > 0);
|
|
75553
75569
|
};
|
|
75554
75570
|
if (hasSelectedIds(selectedRows)) {
|
|
75555
|
-
|
|
75571
|
+
const updatedSelection = {
|
|
75572
|
+
...selectedRows,
|
|
75573
|
+
partialSelected: stepPartialSelect
|
|
75574
|
+
};
|
|
75575
|
+
onSelectClick?.(updatedSelection);
|
|
75556
75576
|
} else {
|
|
75557
75577
|
onSelectClick?.(null);
|
|
75558
75578
|
}
|
|
@@ -109713,7 +109733,7 @@ const getNavigateToKey = (currentNode, treeData, action) => {
|
|
|
109713
109733
|
const getRootChildren = (treeData, rootNode) => {
|
|
109714
109734
|
return treeData.filter(node => node.parentId === rootNode.key && node.entityType !== 'POST' && node.entityType !== 'PRE');
|
|
109715
109735
|
};
|
|
109716
|
-
|
|
109736
|
+
{
|
|
109717
109737
|
// Handle root node case
|
|
109718
109738
|
if (currentNode.path === '/Root') {
|
|
109719
109739
|
const childrenOfRoot = getRootChildren(treeData, currentNode);
|
|
@@ -109754,21 +109774,43 @@ const getNavigateToKey = (currentNode, treeData, action) => {
|
|
|
109754
109774
|
};
|
|
109755
109775
|
}
|
|
109756
109776
|
}
|
|
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
109777
|
}
|
|
109767
109778
|
return {
|
|
109768
109779
|
navigateTo: currentNode?.key
|
|
109769
109780
|
};
|
|
109770
109781
|
};
|
|
109771
109782
|
|
|
109783
|
+
const checkMicrophoneAccess = async (handleMicToggle, {
|
|
109784
|
+
requestDeniedMsg,
|
|
109785
|
+
notSupportedMsg,
|
|
109786
|
+
micAccessDeniedMsg
|
|
109787
|
+
}) => {
|
|
109788
|
+
try {
|
|
109789
|
+
const permissionStatus = await navigator?.permissions.query({
|
|
109790
|
+
name: 'microphone'
|
|
109791
|
+
});
|
|
109792
|
+
if (permissionStatus?.state === 'granted') {
|
|
109793
|
+
handleMicToggle();
|
|
109794
|
+
} else if (permissionStatus?.state === 'prompt') {
|
|
109795
|
+
try {
|
|
109796
|
+
const stream = await navigator?.mediaDevices?.getUserMedia({
|
|
109797
|
+
audio: true
|
|
109798
|
+
});
|
|
109799
|
+
stream?.getTracks()?.forEach(track => track?.stop());
|
|
109800
|
+
handleMicToggle();
|
|
109801
|
+
} catch (err) {
|
|
109802
|
+
toast.error(requestDeniedMsg);
|
|
109803
|
+
console.error('getUserMedia error:', err);
|
|
109804
|
+
}
|
|
109805
|
+
} else if (permissionStatus?.state === 'denied') {
|
|
109806
|
+
toast.error(micAccessDeniedMsg);
|
|
109807
|
+
}
|
|
109808
|
+
} catch (err) {
|
|
109809
|
+
toast.error(notSupportedMsg);
|
|
109810
|
+
console.error('Permission query error:', err);
|
|
109811
|
+
}
|
|
109812
|
+
};
|
|
109813
|
+
|
|
109772
109814
|
/*
|
|
109773
109815
|
The MIT License (MIT)
|
|
109774
109816
|
|
|
@@ -116076,6 +116118,7 @@ const ScriptGenerationLoader = ({
|
|
|
116076
116118
|
|
|
116077
116119
|
exports.AADHAAR_REGEX = AADHAAR_REGEX;
|
|
116078
116120
|
exports.ALPHABET_ONLY_REGEX = ALPHABET_ONLY_REGEX;
|
|
116121
|
+
exports.ALPHABET_WITH_SPACES_ONLY_REGEX = ALPHABET_WITH_SPACES_ONLY_REGEX;
|
|
116079
116122
|
exports.ALPHANUMERIC_PARENTHESIS_REGEX = ALPHANUMERIC_PARENTHESIS_REGEX;
|
|
116080
116123
|
exports.ALPHANUMERIC_REGEX = ALPHANUMERIC_REGEX;
|
|
116081
116124
|
exports.ALPHANUMERIC_WITH_DOT_REGEX = ALPHANUMERIC_WITH_DOT_REGEX;
|
|
@@ -116274,6 +116317,7 @@ exports.addStepGroup = addStepGroup;
|
|
|
116274
116317
|
exports.autoScrollToTableLastRow = autoScrollToTableLastRow;
|
|
116275
116318
|
exports.capitalize = capitalize;
|
|
116276
116319
|
exports.checkEmpty = checkEmpty;
|
|
116320
|
+
exports.checkMicrophoneAccess = checkMicrophoneAccess;
|
|
116277
116321
|
exports.clearStore = clearStore;
|
|
116278
116322
|
exports.compareArrays = compareArrays;
|
|
116279
116323
|
exports.compareObjects = compareObjects;
|