pixel-react 1.13.79 → 1.13.81

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 (53) hide show
  1. package/lib/StyleGuide/ColorPalette/colorPaletteList.js +21 -1
  2. package/lib/StyleGuide/ColorPalette/colorPaletteList.js.map +1 -1
  3. package/lib/assets/icons/cloud_clock.svg.js +6 -0
  4. package/lib/assets/icons/cloud_clock.svg.js.map +1 -0
  5. package/lib/assets/icons/fill_filter.svg.js +1 -1
  6. package/lib/assets/icons/fill_filter.svg.js.map +1 -1
  7. package/lib/assets/icons/filter_active.svg.js +1 -1
  8. package/lib/assets/icons/filter_active.svg.js.map +1 -1
  9. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js +28 -3
  10. package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.js.map +1 -1
  11. package/lib/components/ConditionalDropdown/ConditionalDropdown.js +2 -1
  12. package/lib/components/ConditionalDropdown/ConditionalDropdown.js.map +1 -1
  13. package/lib/components/Drawer/Drawer.js +1 -1
  14. package/lib/components/Drawer/Drawer.js.map +1 -1
  15. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +2 -2
  16. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  17. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js +25 -13
  19. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.js.map +1 -1
  20. package/lib/components/Icon/iconList.js +3 -1
  21. package/lib/components/Icon/iconList.js.map +1 -1
  22. package/lib/components/Input/Input.js +13 -4
  23. package/lib/components/Input/Input.js.map +1 -1
  24. package/lib/components/Input/types.d.ts +4 -0
  25. package/lib/components/MachineInputField/MachineInputField.js +1 -1
  26. package/lib/components/MachineInputField/MachineInputField.js.map +1 -1
  27. package/lib/components/MachineInputField/types.d.ts +1 -1
  28. package/lib/components/PrePostTable/PrePostTable.d.ts +1 -1
  29. package/lib/components/PrePostTable/PrePostTable.js +14 -4
  30. package/lib/components/PrePostTable/PrePostTable.js.map +1 -1
  31. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js +2 -2
  32. package/lib/components/SequentialConnectingBranch/components/Branches/Branches.js.map +1 -1
  33. package/lib/components/StepsLandingTable/StepLandingTable.js +3 -0
  34. package/lib/components/StepsLandingTable/StepLandingTable.js.map +1 -1
  35. package/lib/components/TableTree/Components/TableHead.d.ts +1 -1
  36. package/lib/components/TableTree/Components/TableHead.js +8 -10
  37. package/lib/components/TableTree/Components/TableHead.js.map +1 -1
  38. package/lib/components/TableTree/TableTree.js +2 -1
  39. package/lib/components/TableTree/TableTree.js.map +1 -1
  40. package/lib/components/TableTree/types.d.ts +1 -0
  41. package/lib/index.cjs +115 -55
  42. package/lib/index.cjs.map +1 -1
  43. package/lib/index.d.ts +6 -2
  44. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  45. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  46. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  47. package/lib/node_modules/js-beautify/js/src/html/tokenizer.js +1 -1
  48. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  49. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  50. package/lib/node_modules/js-beautify/js/src/javascript/tokenizer.js +1 -1
  51. package/lib/styles.css +1 -1
  52. package/lib/styles.css.map +1 -1
  53. package/package.json +1 -1
package/lib/index.cjs CHANGED
@@ -871,7 +871,7 @@ const SvgScenariosIcon = (props) => /* @__PURE__ */ React__namespace.createEleme
871
871
 
872
872
  const SvgRequestIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.62939 11.963H3.07383C1.92716 11.963 0.999756 11.0356 0.999756 9.88889C0.999756 8.74222 1.92716 7.81481 3.07383 7.81481C3.12124 7.81481 3.16864 7.81778 3.21309 7.82341C3.12124 7.54222 3.07383 7.2403 3.07383 6.92592C3.07383 5.29037 4.40124 3.96296 6.03679 3.96296C6.59087 3.96296 7.10939 4.11407 7.55087 4.38074C7.77902 2.63822 9.26939 1.2963 11.0738 1.2963C13.0383 1.2963 14.6294 2.88741 14.6294 4.85185C14.6294 5.09215 14.6057 5.32592 14.5612 5.55081C15.9627 5.91259 16.9998 7.18667 16.9998 8.7037C16.9998 10.5052 15.539 11.963 13.7405 11.963H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M7.51829 10.1852V6.03706C6.37281 6.03706 5.44421 6.96565 5.44421 8.11113V10.1852", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M5.44421 8.40732H7.51829", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.7776 7.22224C10.7776 7.87676 10.2469 8.40743 9.59238 8.40743H8.70349V6.03706H9.59238C10.2469 6.03706 10.7776 6.56772 10.7776 7.22224Z", stroke: "currentColor", strokeMiterlimit: 10, strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8.70337 8.40736V10.1851", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.6664 6.03709H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.6664 10.1852H12.8516", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.2589 6.03709V10.1852", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.92566 13.4445L8.40714 11.963L9.88862 13.4445", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M8.4071 11.963V16.7037", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12.8515 15.2222L11.37 16.7036L9.88855 15.2222", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.3701 16.7037V11.963", stroke: "currentColor", strokeMiterlimit: 10, strokeLinecap: "round", strokeLinejoin: "round" }));
873
873
 
874
- const SvgFillFilter = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_2947_13043)" }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.14282 6.30732C5.14282 5.03869 6.08816 4 7.32222 4H16.6777C17.8878 4 18.8571 5.01358 18.8571 6.23432V7.8404C18.8571 8.27652 18.7291 8.71582 18.5689 9.07888C18.4079 9.44375 18.1838 9.80062 17.9288 10.0632C17.9178 10.0746 17.9065 10.0856 17.8948 10.0962L14.8472 12.8703C14.8417 12.8753 14.8361 12.8803 14.8305 12.8851C14.736 12.9662 14.6204 13.1252 14.5278 13.35C14.4367 13.5711 14.392 13.7981 14.392 13.9727V17.1119C14.392 17.4828 14.2776 17.8595 14.1219 18.1679C13.9707 18.4675 13.7324 18.7973 13.4 19.0071L12.4159 19.6587L12.4032 19.6669C10.9977 20.5578 9.04094 19.5725 9.04094 17.7689V13.8997C9.04094 13.7747 9.0025 13.5829 8.91694 13.3626C8.8383 13.1601 8.73932 12.9835 8.65486 12.8689L5.99269 9.98245C5.73901 9.71868 5.53517 9.38141 5.39397 9.05698C5.25415 8.73569 5.14282 8.35128 5.14282 7.98641V6.30732Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("circle", { cx: 17, cy: 4.36511, r: 3, fill: "#FD9C35" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_2947_13043" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "white" }))));
874
+ const SvgFillFilter = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 14 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.142822 2.30732C0.142822 1.03869 1.08816 0 2.32222 0H11.6777C12.8878 0 13.8571 1.01358 13.8571 2.23432V3.8404C13.8571 4.27652 13.7291 4.71582 13.5689 5.07888C13.4079 5.44375 13.1838 5.80062 12.9288 6.06324C12.9178 6.07458 12.9065 6.08557 12.8948 6.09619L9.84719 8.87034C9.84169 8.87534 9.83612 8.88027 9.83048 8.88511C9.73599 8.96621 9.62041 9.12516 9.52782 9.34997C9.43674 9.5711 9.39199 9.79813 9.39199 9.97272V13.1119C9.39199 13.4828 9.27765 13.8595 9.12194 14.1679C8.97074 14.4675 8.73245 14.7973 8.39996 15.0071L7.41592 15.6587L7.4032 15.6669C5.99766 16.5578 4.04094 15.5725 4.04094 13.7689V9.89972C4.04094 9.77465 4.0025 9.58294 3.91694 9.36263C3.8383 9.16011 3.73932 8.98353 3.65486 8.86891L0.992695 5.98245C0.739011 5.71868 0.535167 5.38141 0.39397 5.05698C0.254146 4.73569 0.142822 4.35128 0.142822 3.98641V2.30732Z", fill: "#71347B" }));
875
875
 
876
876
  const SvgStatusFillFilterIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.142822 2.30732C0.142822 1.03869 1.08816 0 2.32222 0H11.6777C12.8878 0 13.8571 1.01358 13.8571 2.23432V3.8404C13.8571 4.27652 13.7291 4.71582 13.5689 5.07888C13.4079 5.44375 13.1838 5.80062 12.9288 6.06324C12.9178 6.07458 12.9065 6.08557 12.8948 6.09619L9.84719 8.87034C9.84169 8.87534 9.83612 8.88027 9.83048 8.88511C9.73599 8.96621 9.62041 9.12516 9.52782 9.34997C9.43674 9.5711 9.39199 9.79813 9.39199 9.97272V13.1119C9.39199 13.4828 9.27765 13.8595 9.12194 14.1679C8.97074 14.4675 8.73245 14.7973 8.39996 15.0071L7.41592 15.6587L7.4032 15.6669C5.99766 16.5578 4.04094 15.5725 4.04094 13.7689V9.89972C4.04094 9.77465 4.0025 9.58294 3.91694 9.36263C3.8383 9.16011 3.73932 8.98353 3.65486 8.86891L0.992695 5.98245C0.739011 5.71868 0.535167 5.38141 0.39397 5.05698C0.254146 4.73569 0.142822 4.35128 0.142822 3.98641V2.30732Z", fill: "currentColor" }));
877
877
 
@@ -1017,6 +1017,8 @@ const SvgEclipsePlugin = (props) => /* @__PURE__ */ React__namespace.createEleme
1017
1017
 
1018
1018
  const SvgAiToken = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M12 1.5C6.21 1.5 1.5 6.21 1.5 12C1.5 17.79 6.21 22.5 12 22.5C17.79 22.5 22.5 17.79 22.5 12C22.5 6.21 17.79 1.5 12 1.5ZM12 19.5C7.8645 19.5 4.5 16.1355 4.5 12C4.5 7.8645 7.8645 4.5 12 4.5C16.1355 4.5 19.5 7.8645 19.5 12C19.5 16.1355 16.1355 19.5 12 19.5Z", fill: "#FBC34E" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M12 4.5C7.8645 4.5 4.5 7.8645 4.5 12C4.5 16.1355 7.8645 19.5 12 19.5C16.1355 19.5 19.5 16.1355 19.5 12C19.5 7.8645 16.1355 4.5 12 4.5ZM15.183 12.954L14.3205 13.4235C13.9425 13.6298 13.6327 13.9387 13.4257 14.316L12.9525 15.1755C12.7613 15.5235 12.3967 15.7388 12 15.7388C11.6033 15.7388 11.2387 15.5227 11.0475 15.1755L10.575 14.3153C10.3673 13.9373 10.0575 13.6283 9.67875 13.422L8.81775 12.9532C8.46675 12.7642 8.25 12.3983 8.25 12C8.25 11.6017 8.46675 11.2357 8.817 11.046L9.6795 10.5765C10.0575 10.3703 10.3672 10.0612 10.5743 9.684L11.0475 8.8245C11.2387 8.4765 11.6033 8.26125 12 8.26125C12.3967 8.26125 12.7613 8.47725 12.9525 8.8245L13.425 9.68475C13.6327 10.062 13.9425 10.371 14.3205 10.5772L15.1823 11.046C15.5332 11.2357 15.75 11.6017 15.75 12C15.75 12.3983 15.5332 12.7642 15.183 12.954Z", fill: "#E5A533" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M15.1823 11.0452L14.3205 10.5765C13.9425 10.3702 13.6327 10.0612 13.425 9.684L12.9525 8.82375C12.7613 8.4765 12.3967 8.2605 12 8.2605C11.6033 8.2605 11.2387 8.4765 11.0475 8.82375L10.575 9.68325C10.368 10.0612 10.0582 10.3702 9.68025 10.5757L8.81775 11.0452C8.46675 11.2357 8.25 11.6017 8.25 12C8.25 12.3982 8.46675 12.7642 8.81775 12.9547L9.67875 13.4235C10.0575 13.6297 10.3673 13.9387 10.575 14.3167L11.0475 15.177C11.2387 15.5242 11.6033 15.7402 12 15.7402C12.3967 15.7402 12.7613 15.5242 12.9525 15.177L13.4257 14.3175C13.6327 13.9395 13.9425 13.6305 14.3205 13.425L15.183 12.9555C15.5332 12.7642 15.75 12.3982 15.75 12C15.75 11.6017 15.5332 11.2357 15.1823 11.0452Z", fill: "#E4EDF2" }));
1019
1019
 
1020
+ const SvgCloudClock = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M6.00244 0.669189C2.9708 0.669189 0.498535 3.14145 0.498535 6.1731C0.498535 9.20474 2.9708 11.6721 6.00244 11.6721C9.03408 11.6721 11.5015 9.20474 11.5015 6.1731C11.5019 6.10702 11.4891 6.04153 11.4641 5.9804C11.439 5.91927 11.402 5.86372 11.3554 5.81695C11.3087 5.77019 11.2532 5.73313 11.1921 5.70794C11.1311 5.68274 11.0656 5.66991 10.9995 5.67017C10.9338 5.67042 10.8687 5.68364 10.8081 5.70907C10.7475 5.73449 10.6924 5.77162 10.6462 5.81834C10.5999 5.86505 10.5633 5.92043 10.5385 5.98131C10.5137 6.04218 10.5011 6.10735 10.5015 6.1731C10.5015 8.6643 8.49364 10.6721 6.00244 10.6721C3.51124 10.6721 1.49854 8.6643 1.49854 6.1731C1.49854 3.68189 3.51124 1.66919 6.00244 1.66919C6.13437 1.66868 6.26076 1.61604 6.35405 1.52275C6.44734 1.42946 6.49997 1.30307 6.50049 1.17114C6.50075 1.10548 6.48807 1.04041 6.46318 0.979652C6.43829 0.918891 6.40167 0.863627 6.35542 0.817016C6.30918 0.770405 6.2542 0.73336 6.19364 0.707996C6.13307 0.682632 6.0681 0.669445 6.00244 0.669189ZM7.8999 1.04517C7.70472 1.04706 7.52041 1.16362 7.44189 1.35571C7.3365 1.61154 7.45815 1.90435 7.71436 2.00903C7.72021 2.01149 7.72399 2.0147 7.72891 2.01678C7.98473 2.12507 8.28001 2.00393 8.38613 1.74725C8.49196 1.49244 8.3712 1.20006 8.1166 1.09393C8.10942 1.09091 8.10148 1.0858 8.09512 1.08316C8.03117 1.05681 7.96497 1.0445 7.8999 1.04517ZM9.52686 2.1272C9.39508 2.12828 9.26913 2.18117 9.17627 2.27466C8.97997 2.47009 8.97997 2.7882 9.17627 2.98364C9.18043 2.9878 9.18288 2.99025 9.18704 2.99441C9.38146 3.19173 9.69957 3.19361 9.89603 2.99838C10.0923 2.80294 10.0923 2.48483 9.89603 2.2894C9.89092 2.28429 9.88658 2.27976 9.88148 2.27484C9.78772 2.18045 9.65991 2.12731 9.52686 2.1272ZM6.00244 2.67017C5.93637 2.66978 5.87088 2.68249 5.80975 2.70757C5.74862 2.73264 5.69306 2.76958 5.6463 2.81626C5.59953 2.86294 5.56248 2.91842 5.53729 2.9795C5.51209 3.04058 5.49925 3.10605 5.49951 3.17212V6.1731C5.49978 6.26589 5.52586 6.35679 5.57484 6.4356C5.62382 6.51442 5.69377 6.57806 5.77686 6.61938L7.77686 7.61938C7.8357 7.64888 7.89978 7.66646 7.96543 7.67113C8.03108 7.6758 8.09701 7.66746 8.15943 7.6466C8.22186 7.62573 8.27954 7.59274 8.32919 7.54953C8.37883 7.50631 8.41946 7.45372 8.44873 7.39478C8.47822 7.33594 8.49581 7.27185 8.50048 7.2062C8.50515 7.14055 8.49681 7.07462 8.47594 7.0122C8.45508 6.94977 8.42209 6.89209 8.37887 6.84244C8.33566 6.7928 8.28307 6.75217 8.22412 6.7229L6.50049 5.86255V3.17212C6.50075 3.10646 6.48807 3.04139 6.46318 2.98063C6.43829 2.91987 6.40167 2.8646 6.35542 2.81799C6.30918 2.77138 6.2542 2.73434 6.19364 2.70897C6.13307 2.68361 6.0681 2.67042 6.00244 2.67017ZM10.6196 3.74536C10.5542 3.74498 10.4876 3.75746 10.4233 3.78442C10.1666 3.89055 10.0455 4.18583 10.1538 4.44165C10.1563 4.4477 10.1595 4.4511 10.1616 4.4562C10.2662 4.71232 10.5591 4.83503 10.8149 4.72964C11.071 4.62496 11.1937 4.33214 11.0883 4.07632C11.0855 4.06951 11.083 4.06385 11.0806 4.0578C11.0021 3.86418 10.816 3.7465 10.6196 3.74536Z", fill: "#5B5B5B" }));
1021
+
1020
1022
  let Components = {};
1021
1023
  Components['success'] = SvgSuccess;
1022
1024
  Components['setting_icon'] = SvgSettingIcon;
@@ -1458,6 +1460,7 @@ Components['video_live_icon'] = SvgVideoRecording;
1458
1460
  Components['screen_capture_icon'] = SvgCaptureImage;
1459
1461
  Components['eclipse_plugin'] = SvgEclipsePlugin;
1460
1462
  Components['ai_token'] = SvgAiToken;
1463
+ Components['cloud_clock'] = SvgCloudClock;
1461
1464
 
1462
1465
  const Icon = /*#__PURE__*/React.forwardRef(({
1463
1466
  name,
@@ -1963,7 +1966,7 @@ const Drawer = ({
1963
1966
  const handleKeyDown = e => {
1964
1967
  if (e.key === 'Enter' && isOpen && primaryButtonProps?.onClick && !primaryButtonProps.disabled) {
1965
1968
  const activeElement = document.activeElement;
1966
- if (activeElement && activeElement.tagName === 'INPUT') {
1969
+ if (activeElement && activeElement.tagName === 'INPUT' && ['ff-add-module-input', 'ff-search-input'].includes(activeElement.className)) {
1967
1970
  return;
1968
1971
  }
1969
1972
  primaryButtonProps.onClick();
@@ -3534,6 +3537,7 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3534
3537
  placeholder = 'Enter input',
3535
3538
  value = type === 'number' ? 0 : '',
3536
3539
  helperText = '',
3540
+ isHelperTextRequired = false,
3537
3541
  error,
3538
3542
  noBorder,
3539
3543
  className = '',
@@ -3746,14 +3750,20 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3746
3750
  height: 7,
3747
3751
  width: 12,
3748
3752
  color: value == maxValue ? 'var(--private-chip-bg-color)' : 'var(--text-area-default-color)',
3749
- onClick: () => handleIncrementDecrement('increment'),
3753
+ onClick: () => {
3754
+ if (disabled) return;
3755
+ handleIncrementDecrement('increment');
3756
+ },
3750
3757
  disabled: disabled
3751
3758
  }), jsxRuntime.jsx(Icon, {
3752
3759
  name: "arrow_down",
3753
3760
  height: 7,
3754
3761
  width: 12,
3755
3762
  color: value == minValue ? 'var(--private-chip-bg-color)' : 'var(--text-area-default-color)',
3756
- onClick: () => handleIncrementDecrement('decrement'),
3763
+ onClick: () => {
3764
+ if (disabled) return;
3765
+ handleIncrementDecrement('decrement');
3766
+ },
3757
3767
  disabled: disabled
3758
3768
  })]
3759
3769
  }), showSearchIcon && !(type === 'number') && jsxRuntime.jsx("div", {
@@ -3779,11 +3789,13 @@ const Input$1 = /*#__PURE__*/React.forwardRef(({
3779
3789
  }), reserveHelperTextSpace && jsxRuntime.jsx("span", {
3780
3790
  className: classNames('ff-input-message', {
3781
3791
  'ff-input-message--space': !!reserveHelperTextSpace,
3792
+ 'ff-input-message--showHelperText': !!isHelperTextRequired,
3782
3793
  'ff-input-message--danger': (displayErrorImmediately || touched) && !!error
3783
3794
  }),
3784
- children: (displayErrorImmediately || touched) && error ? helperText : ''
3785
- }), !reserveHelperTextSpace && (displayErrorImmediately || touched) && helperText && error && jsxRuntime.jsx("span", {
3795
+ children: (displayErrorImmediately || touched) && (error || isHelperTextRequired) ? helperText : ''
3796
+ }), !reserveHelperTextSpace && (displayErrorImmediately || touched) && helperText && (error || isHelperTextRequired) && jsxRuntime.jsx("span", {
3786
3797
  className: classNames('ff-input-message', {
3798
+ 'ff-input-message--showHelperText': !!isHelperTextRequired,
3787
3799
  'ff-input-message--danger': !!error
3788
3800
  }),
3789
3801
  children: helperText
@@ -16345,6 +16357,19 @@ const OverviewModal = ({
16345
16357
  return /*#__PURE__*/ReactDOM.createPortal(modalContent, document.body);
16346
16358
  };
16347
16359
 
16360
+ const formatCellData = (content, maxLength) => {
16361
+ if (typeof content === 'string') {
16362
+ return truncateText(content, maxLength);
16363
+ }
16364
+ if (/*#__PURE__*/React.isValidElement(content)) {
16365
+ return /*#__PURE__*/React.cloneElement(content, {}, formatCellData(content.props.children, maxLength));
16366
+ }
16367
+ if (Array.isArray(content)) {
16368
+ return content.map(child => formatCellData(child, maxLength));
16369
+ }
16370
+ return content;
16371
+ };
16372
+
16348
16373
  const TableHead = /*#__PURE__*/React.memo(({
16349
16374
  columnsData,
16350
16375
  rootNode,
@@ -16353,7 +16378,8 @@ const TableHead = /*#__PURE__*/React.memo(({
16353
16378
  selectedNode,
16354
16379
  tableHeaderBgColor,
16355
16380
  hideOnDisable,
16356
- transparentHeader
16381
+ transparentHeader,
16382
+ scriptLengthTruncate = 25
16357
16383
  }) => {
16358
16384
  // const hasDefaultValues = useMemo(
16359
16385
  // () => columnsData.some(({ defaultValue }) => !!defaultValue),
@@ -16397,16 +16423,11 @@ const TableHead = /*#__PURE__*/React.memo(({
16397
16423
  value: rootNode.node.key,
16398
16424
  onChange: e => onCheckBoxChange(e, rootNode.node),
16399
16425
  disabled: rootNode.node.isDisabled
16400
- }), jsxRuntime.jsxs("span", {
16426
+ }), jsxRuntime.jsx("span", {
16401
16427
  className: "tree-table-td-content-text",
16402
- children: [jsxRuntime.jsx("span", {
16403
- children: rootNode.node[col.accessor]
16404
- }), rootNode.cell && index === 0 && jsxRuntime.jsx("span", {
16405
- className: "table-tree-root-cell",
16406
- children: (() => {
16407
- return rootNode.cell(rootNode.node);
16408
- })()
16409
- })]
16428
+ children: jsxRuntime.jsx("span", {
16429
+ children: formatCellData(prepareData(rootNode.node, col), scriptLengthTruncate)
16430
+ })
16410
16431
  }), rootNode.actions && index === 0 && isMounted && rootNodeRowRef.current && jsxRuntime.jsx("div", {
16411
16432
  className: "table-tree-row-action",
16412
16433
  children: (() => {
@@ -16856,19 +16877,6 @@ const EditLabel = ({
16856
16877
 
16857
16878
  const SvgSpinner = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("style", null, "\r\n .spinner_DupU {\r\n animation: spinner_sM3D 1.2s infinite;\r\n fill: #71347b;\r\n }\r\n .spinner_GWtZ { animation-delay: .1s; }\r\n .spinner_dwN6 { animation-delay: .2s; }\r\n .spinner_46QP { animation-delay: .3s; }\r\n .spinner_PD82 { animation-delay: .4s; }\r\n .spinner_eUgh { animation-delay: .5s; }\r\n .spinner_eUaP { animation-delay: .6s; }\r\n .spinner_j38H { animation-delay: .7s; }\r\n .spinner_tVmX { animation-delay: .8s; }\r\n .spinner_DQhX { animation-delay: .9s; }\r\n .spinner_GIL4 { animation-delay: 1s; }\r\n .spinner_n0Yb { animation-delay: 1.1s; }\r\n\r\n @keyframes spinner_sM3D {\r\n 0%, 50% {\r\n animation-timing-function: cubic-bezier(0, 1, 0, 1);\r\n r: 0;\r\n }\r\n 10% {\r\n animation-timing-function: cubic-bezier(.53, 0, .61, .73);\r\n r: 2px;\r\n }\r\n }\r\n "), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU", cx: 12, cy: 3, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_GWtZ", cx: 16.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_n0Yb", cx: 7.5, cy: 4.21, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_dwN6", cx: 19.79, cy: 7.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_GIL4", cx: 4.21, cy: 7.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_46QP", cx: 21, cy: 12, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_DQhX", cx: 3, cy: 12, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_PD82", cx: 19.79, cy: 16.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_tVmX", cx: 4.21, cy: 16.5, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_eUgh", cx: 16.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_j38H", cx: 7.5, cy: 19.79, r: 0 }), /* @__PURE__ */ React__namespace.createElement("circle", { className: "spinner_DupU spinner_eUaP", cx: 12, cy: 21, r: 0 }));
16858
16879
 
16859
- const formatCellData = (content, maxLength) => {
16860
- if (typeof content === 'string') {
16861
- return truncateText(content, maxLength);
16862
- }
16863
- if (/*#__PURE__*/React.isValidElement(content)) {
16864
- return /*#__PURE__*/React.cloneElement(content, {}, formatCellData(content.props.children, maxLength));
16865
- }
16866
- if (Array.isArray(content)) {
16867
- return content.map(child => formatCellData(child, maxLength));
16868
- }
16869
- return content;
16870
- };
16871
-
16872
16880
  const renderSpaces = (level, parentSiblings = [], isLast, isContainer) => {
16873
16881
  let siblingsArray = parentSiblings;
16874
16882
  let isLastNode = isLast;
@@ -17315,7 +17323,8 @@ const TreeTable = /*#__PURE__*/React.forwardRef(({
17315
17323
  selectedNode: selectedNode,
17316
17324
  tableHeaderBgColor: tableHeaderBgColor,
17317
17325
  hideOnDisable: hideOnDisable,
17318
- transparentHeader: transparentHeader
17326
+ transparentHeader: transparentHeader,
17327
+ scriptLengthTruncate: scriptLengthTruncate
17319
17328
  }), jsxRuntime.jsx(TableBody, {
17320
17329
  flattenedTreeData: addLastChild(treeData),
17321
17330
  rootNode: rootNode?.node,
@@ -31232,6 +31241,31 @@ const DashboardDonutChart = ({
31232
31241
  document.body.removeChild(svgContainer);
31233
31242
  return `${truncatedText}...`;
31234
31243
  };
31244
+ const getCenterText = () => {
31245
+ if (legendType === 'tableLegend' && hoveredItemIndex !== null) {
31246
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31247
+ return total === 0 ? '0%' : `${Math.round((hoveredItem?.value || 0) / total * 100)}%`;
31248
+ }
31249
+ if (legendType === 'memoryLegend') {
31250
+ return `${totalMemory}`;
31251
+ }
31252
+ if (isOnClick && hoveredItemIndex !== null) {
31253
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31254
+ return `${hoveredItem?.value}`;
31255
+ }
31256
+ return `${legendType === 'tableLegend' ? `${chartValues.length}` : Number.isInteger(total) ? total : total?.toFixed(2)} ${showUnit && unit ? unit.toUpperCase() : ''}`;
31257
+ };
31258
+ const getSubLabelText = () => {
31259
+ if (legendType === 'tableLegend' && hoveredItemIndex !== null) {
31260
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31261
+ return truncateChartText(hoveredItem?.key || '');
31262
+ }
31263
+ if (isOnClick && hoveredItemIndex !== null) {
31264
+ const hoveredItem = chartValues.find(item => item.originalIndex === hoveredItemIndex);
31265
+ return truncateChartText(hoveredItem?.key || '');
31266
+ }
31267
+ return truncateChartText(legendDetailsType);
31268
+ };
31235
31269
  return jsxRuntime.jsxs("div", {
31236
31270
  className: classNames('ff-dashboard-donut-chart-section', {
31237
31271
  'ff-dashboard-donut-chart-section-table-legend': legendType === 'tableLegend',
@@ -31283,7 +31317,7 @@ const DashboardDonutChart = ({
31283
31317
  style: {
31284
31318
  fontSize: `${labelFontSize}px`
31285
31319
  },
31286
- children: wrapText(legendType === 'tableLegend' && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex) ? total === 0 ? '0%' : `${Math.round((chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value || 0) / total * 100)}%` : legendType === 'memoryLegend' ? `${totalMemory}` : isOnClick && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value ? `${chartValues.find(item => item.originalIndex === hoveredItemIndex)?.value}` : `${legendType === 'tableLegend' ? `${chartValues.length}` : Number.isInteger(total) ? total : total?.toFixed(2)} ${showUnit && unit ? unit.toUpperCase() : ''}`, LABEL_MAX_WIDTH, labelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31320
+ children: wrapText(getCenterText(), LABEL_MAX_WIDTH, labelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31287
31321
  x: "0",
31288
31322
  dy: index === 0 ? 0 : labelFontSize,
31289
31323
  children: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex) ? index === 0 ? chartValues.find(item => item.originalIndex === selectedItemIndex)?.value : null : apiDataLabel ? apiDataLabel : line
@@ -31296,11 +31330,11 @@ const DashboardDonutChart = ({
31296
31330
  style: {
31297
31331
  fontSize: `${subLabelFontSize}px`
31298
31332
  },
31299
- children: wrapText(legendType === 'tableLegend' && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex) ? chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key || '' : isOnClick && hoveredItemIndex !== null && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key ? `${chartValues.find(item => item.originalIndex === hoveredItemIndex)?.key}` : legendDetailsType, LABEL_MAX_WIDTH, subLabelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31333
+ children: wrapText(getSubLabelText(), LABEL_MAX_WIDTH, subLabelFontSize).map((line, index) => jsxRuntime.jsx("tspan", {
31300
31334
  x: "0",
31301
31335
  dy: index === 0 ? 0 : subLabelFontSize,
31302
31336
  fill: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex)?.color || hoveredItemIndex !== null && isOnClick && chartValues.find(item => item.originalIndex === hoveredItemIndex)?.color || '',
31303
- children: selectedItemIndex !== null && chartValues.find(item => item.originalIndex === selectedItemIndex) ? index === 0 ? truncateChartText(chartValues.find(item => item.originalIndex === selectedItemIndex)?.key || '') : null : truncateChartText(line)
31337
+ children: line
31304
31338
  }, index))
31305
31339
  })]
31306
31340
  })]
@@ -33912,7 +33946,7 @@ const IconRadioGroup = ({
33912
33946
  };
33913
33947
 
33914
33948
  const MachineInputField = ({
33915
- width = '',
33949
+ width = '100%',
33916
33950
  options = [],
33917
33951
  runCount = 0,
33918
33952
  className = '',
@@ -34070,9 +34104,9 @@ const Branches = ({
34070
34104
  const showMiddleArrow = index => machineInstances.length - 1 !== index && machineColumnCount > 1;
34071
34105
  const getGridTemplateColumnStyle = () => {
34072
34106
  if (machineColumnCount === 1) {
34073
- return `24px ${machineColumnWidth}px 24px`;
34107
+ return `24px auto 24px`;
34074
34108
  }
34075
- return `24px ${machineColumnWidth}px repeat(${machineColumnCount - 1}, 40px ${machineColumnWidth}px) 24px`;
34109
+ return `24px minmax(180px, auto) repeat(${machineColumnCount - 1}, 40px minmax(180px, auto)) 24px`;
34076
34110
  };
34077
34111
  const getMachineLabelOptionList = (type = '', machineInstance) => {
34078
34112
  const {
@@ -37164,6 +37198,16 @@ const clearCell = cell => {
37164
37198
  style: cell?.style
37165
37199
  };
37166
37200
  };
37201
+ const clearEditCell = cell => {
37202
+ if (!canClearCell(cell) || cell?.inputType?.type === 'file') {
37203
+ return cell;
37204
+ }
37205
+ return {
37206
+ ...cell,
37207
+ value: typeof cell?.value === 'string' ? cell.value.slice(0, -1) : cell?.value,
37208
+ style: cell?.style
37209
+ };
37210
+ };
37167
37211
  const nextLine = cell => {
37168
37212
  if (!cell) return undefined;
37169
37213
  return {
@@ -37198,24 +37242,26 @@ function clearEditMode(state) {
37198
37242
  if (!state.active) {
37199
37243
  return state;
37200
37244
  }
37201
- const selectedRange = state.selected.toRange(state.model.data);
37202
- const changes = [];
37203
- let newData = state.model.data;
37204
- for (const point of selectedRange || []) {
37205
- const cell = get(point, state.model.data);
37206
- const clearedCell = clearCell(cell);
37245
+ if (state.mode === 'view') {
37246
+ const resultState = clear(state);
37247
+ return resultState;
37248
+ } else {
37249
+ const changes = [];
37250
+ let newData = state.model.data;
37251
+ const cell = get(state.active, state.model.data);
37252
+ const clearedCell = clearEditCell(cell);
37207
37253
  changes.push({
37208
37254
  prevCell: cell || null,
37209
37255
  nextCell: clearedCell || null
37210
37256
  });
37211
- newData = set(point, clearedCell, newData);
37257
+ newData = set(state.active, clearedCell, newData);
37258
+ return {
37259
+ ...state,
37260
+ mode: 'edit',
37261
+ model: new Model(createFormulaParser, newData),
37262
+ ...commit(changes)
37263
+ };
37212
37264
  }
37213
- return {
37214
- ...state,
37215
- mode: 'edit',
37216
- model: new Model(createFormulaParser, newData),
37217
- ...commit(changes)
37218
- };
37219
37265
  }
37220
37266
  function enterFunctionality(state) {
37221
37267
  if (!state.active) {
@@ -40282,7 +40328,6 @@ const ActiveCell = props => {
40282
40328
  selectedFiles: selectedFiles,
40283
40329
  onFilesChange: handleFilesChange,
40284
40330
  disabled: false,
40285
- maxFileSizeMB: 5,
40286
40331
  maxFiles: 5,
40287
40332
  buttonLabel: "+ Attachments",
40288
40333
  buttonVariant: "tertiary",
@@ -40299,7 +40344,8 @@ const ActiveCell = props => {
40299
40344
  }) : jsxRuntime.jsx("textarea", {
40300
40345
  className: "ff-spreadsheet-cell-textarea",
40301
40346
  style: {
40302
- ...cell?.style
40347
+ ...cell?.style,
40348
+ textDecoration: 'normal'
40303
40349
  },
40304
40350
  value: cell?.value,
40305
40351
  disabled: false
@@ -60056,7 +60102,8 @@ const ConditionalDropdown = /*#__PURE__*/React.forwardRef(({
60056
60102
  position: "absolute",
60057
60103
  width: dropdownWidth,
60058
60104
  optionsList: variableList.filter(file => file.name.toLowerCase().includes(result?.searchString)),
60059
- onSelectVariable: handleDropdownClick
60105
+ onSelectVariable: handleDropdownClick,
60106
+ height: "230px"
60060
60107
  }), showDropdown && (isHash || onlyDropdown) && jsxRuntime.jsx(OptionsDropdown, {
60061
60108
  position: "relative",
60062
60109
  width: dropdownWidth,
@@ -73457,7 +73504,7 @@ const scrollToView = id => {
73457
73504
  }
73458
73505
  };
73459
73506
 
73460
- const PrePostTable = ({
73507
+ const PrePostTable = /*#__PURE__*/React.forwardRef(({
73461
73508
  data = [],
73462
73509
  columns = [],
73463
73510
  headerType,
@@ -73487,7 +73534,7 @@ const PrePostTable = ({
73487
73534
  handleAccordion,
73488
73535
  loading,
73489
73536
  scriptType = false
73490
- }) => {
73537
+ }, ref) => {
73491
73538
  const observerRef = React.useRef(null);
73492
73539
  const [ViewComponent, setViewComponent] = React.useState(null);
73493
73540
  const [viewModeId, setViewModeId] = React.useState(null);
@@ -73522,6 +73569,9 @@ const PrePostTable = ({
73522
73569
  });
73523
73570
  }
73524
73571
  };
73572
+ // const resetStepGroupAccordion = () => {
73573
+ // setExpandStepGroup(new Map());
73574
+ // };
73525
73575
  React.useEffect(() => {
73526
73576
  const scrollContainer = document.getElementById('ff-table-scroll-container');
73527
73577
  const firstNode = document.getElementById('ff-table-first-node');
@@ -73576,6 +73626,13 @@ const PrePostTable = ({
73576
73626
  React.useEffect(() => {
73577
73627
  scrollToView('getInFocus');
73578
73628
  }, [AddNlp, viewModeId]);
73629
+ if (ref) {
73630
+ React.useImperativeHandle(ref, () => ({
73631
+ resetStepGroupAccordion: () => {
73632
+ setExpandStepGroup(new Map());
73633
+ }
73634
+ }));
73635
+ }
73579
73636
  return jsxRuntime.jsx(DndContext, {
73580
73637
  collisionDetection: closestCorners,
73581
73638
  onDragStart: () => {
@@ -73688,7 +73745,7 @@ const PrePostTable = ({
73688
73745
  })
73689
73746
  })
73690
73747
  });
73691
- };
73748
+ });
73692
73749
 
73693
73750
  const StepGroupAccordions = /*#__PURE__*/React.memo(({
73694
73751
  data = [],
@@ -74794,6 +74851,9 @@ const StepLandingTable = /*#__PURE__*/React.forwardRef(({
74794
74851
  },
74795
74852
  deleteRow: rowData => {
74796
74853
  setSelectedRows(prev => Object.fromEntries(Object.entries(prev)?.map(([key, ids]) => [key, new Set([...ids].filter(id => id !== rowData?.stepId))])));
74854
+ },
74855
+ resetStepGroupAccordion: () => {
74856
+ setExpandStepGroup(new Map());
74797
74857
  }
74798
74858
  }));
74799
74859
  React.useEffect(() => {