pixel-react 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.yarn/install-state.gz +0 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.d.ts +5 -0
- package/lib/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.d.ts +7 -0
- package/lib/components/Charts/DashboardDonutChart/index.d.ts +1 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +21 -0
- package/lib/components/Charts/PieChart/PieChart.d.ts +5 -0
- package/lib/components/Charts/PieChart/PieChart.stories.d.ts +7 -0
- package/lib/components/Charts/PieChart/index.d.ts +1 -0
- package/lib/components/Charts/PieChart/types.d.ts +27 -0
- package/lib/components/MultiSelect/MultiSelect.d.ts +1 -1
- package/lib/components/MultiSelect/MultiSelectTypes.d.ts +1 -1
- package/lib/components/NLPInput/NlpInput.d.ts +4 -0
- package/lib/components/NLPInput/NlpInput.stories.d.ts +7 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropDownType.d.ts +19 -0
- package/lib/components/NLPInput/components/NlpDropDown/NlpDropdown.d.ts +4 -0
- package/lib/components/NLPInput/index.d.ts +1 -0
- package/lib/components/NLPInput/type.d.ts +70 -0
- package/lib/components/Table/Table.d.ts +1 -1
- package/lib/index.d.ts +73 -18
- package/lib/index.esm.js +1412 -774
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1414 -773
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/getEncryptedData/getEncryptedData.d.ts +2 -0
- package/lib/utils/getEncryptedData/getEncryptedData.stories.d.ts +6 -0
- package/package.json +2 -1
- package/src/StyleGuide/ColorPalette/ColorPalette.tsx +2 -4
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +95 -20
- package/src/assets/Themes/BaseTheme.scss +2 -3
- package/src/assets/Themes/DarkTheme.scss +9 -8
- package/src/assets/icons/wswb_delete_icon.svg +4 -0
- package/src/assets/icons/wswb_plus_icon.svg +5 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +145 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +52 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +335 -0
- package/src/components/Charts/DashboardDonutChart/index.ts +1 -0
- package/src/components/Charts/DashboardDonutChart/types.ts +33 -0
- package/src/components/Charts/PieChart/PieChart.scss +39 -0
- package/src/components/Charts/PieChart/PieChart.stories.tsx +46 -0
- package/src/components/Charts/PieChart/PieChart.tsx +193 -0
- package/src/components/Charts/PieChart/index.ts +1 -0
- package/src/components/Charts/PieChart/types.ts +28 -0
- package/src/components/Icon/iconList.ts +6 -0
- package/src/components/Modal/modal.scss +1 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +2 -3
- package/src/components/MultiSelect/MultiSelect.tsx +35 -23
- package/src/components/MultiSelect/MultiSelectTypes.ts +1 -1
- package/src/components/NLPInput/NLPInput.scss +246 -0
- package/src/components/NLPInput/NlpInput.stories.tsx +136 -0
- package/src/components/NLPInput/NlpInput.tsx +374 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropDownType.ts +60 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +83 -0
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.tsx +180 -0
- package/src/components/NLPInput/index.ts +1 -0
- package/src/components/NLPInput/type.tsx +124 -0
- package/src/components/Table/Table.scss +5 -0
- package/src/components/Table/Table.stories.tsx +12 -0
- package/src/components/Table/Table.tsx +25 -14
- package/src/components/TextArea/Textarea.scss +1 -1
- package/src/index.ts +6 -1
- package/src/utils/getEncryptedData/getEncryptedData.stories.tsx +55 -0
- package/src/utils/getEncryptedData/getEncryptedData.ts +10 -0
- package/lib/components/AddButton/AddButton.d.ts +0 -5
- package/lib/components/AddButton/AddButton.stories.d.ts +0 -6
- package/lib/components/AddButton/index.d.ts +0 -1
- package/lib/components/AddButton/types.d.ts +0 -4
package/lib/index.esm.js
CHANGED
@@ -28,11 +28,11 @@ function styleInject(css, ref) {
|
|
28
28
|
}
|
29
29
|
}
|
30
30
|
|
31
|
-
var css_248z$
|
32
|
-
styleInject(css_248z$
|
31
|
+
var css_248z$L = ":root {\n --tooltip-bg-color: #1e161f;\n --status-approved-text-color: #016102;\n --status-warning-text-color: #ff8b00;\n --status-rejected-text-color: #c60202;\n --status-skipped-text-color: #3c3838;\n --status-approved-bg-color: #c6efcd;\n --status-rejected-bg-color: #f7d9d9;\n --status-warning-bg-color: #fae2c6;\n --status-skipped-bg-color: #c4c3c3;\n --brand-color: #71347b;\n --icons-default-color: #71347b;\n --default-icon-color: #a3a3a3;\n --default-color: #747474;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --system-color--error: #c50303;\n --hover-color: #f7ebff;\n --brand2-color: #610b86;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --description-text-color:#d9d9d9;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --text-color: #1e161f;\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --error-light: #e42525;\n --tabs-label-default-color: tabs-label-default-color;\n --tabs-label-active-color: tabs-label-active-color;\n --tabs-border-color: tabs-border-color;\n --tabs-bg-color: tabs-bg-color;\n --tab-bg-color: tab-bg-color;\n --toggle-button-bg-color: #ffffff;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-strip-color: #cfd1e2;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --toggle-strip-color: #cfd1e2;\n --add-icon-hover-color: #431b4a;\n --arrows-button-border-color: #ded1e5;\n --arrow-button-bg-color: #ffffff;\n --text-bg-highlight:#f5fb00;\n --slider-table-color: #efe1f9;\n}\n\n@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-button, .ff-button--small, .ff-button--medium {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd, .ff-button--large {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-button {\n width: auto;\n background-color: #ffffff;\n border-radius: 4px;\n padding: 4px 8px;\n text-align: center;\n text-decoration: none;\n font-weight: 500;\n cursor: pointer;\n display: flex;\n gap: 4px;\n justify-content: center;\n align-items: center;\n border: 2px solid transparent;\n}\n.ff-button--transparent {\n background-color: transparent;\n}\n.ff-button--primary, .ff-button--delete, .ff-button--secondary {\n position: relative;\n cursor: pointer;\n border-radius: 4px;\n z-index: 1;\n border: none;\n overflow: hidden;\n}\n.ff-button--primary:before, .ff-button--delete:before, .ff-button--secondary:before {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 4px;\n padding: 0.6px;\n background: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);\n mask-composite: exclude;\n -webkit-mask: linear-gradient(#ffffff 0 0) content-box, linear-gradient(#ffffff 0 0);\n -webkit-mask-composite: destination-out;\n z-index: -1;\n}\n.ff-button--primary:hover, .ff-button--delete:hover, .ff-button--secondary:hover {\n background: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n}\n.ff-button--primary:disabled, .ff-button--delete:disabled, .ff-button--secondary:disabled {\n opacity: 50%;\n cursor: no-drop;\n}\n.ff-button--primary:disabled:before, .ff-button--delete:disabled:before, .ff-button--secondary:disabled:before {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 4px;\n padding: 0.6px;\n -webkit-mask-composite: destination-out;\n mask-composite: exclude;\n z-index: -1;\n}\n.ff-button--primary {\n background: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n}\n.ff-button--primary:before {\n background: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n}\n.ff-button--primary:hover {\n background: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n}\n.ff-button--delete {\n background: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n color: #ffffff;\n}\n.ff-button--delete:before {\n background: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n}\n.ff-button--delete:hover {\n background: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n}\n.ff-button--secondary:before {\n background: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n}\n.ff-button--secondary:hover {\n background: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n}\n.ff-button--tertiary {\n border: none;\n background: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n}\n.ff-button--tertiary:hover {\n background: linear-gradient(179.06deg, rgba(113, 52, 123, 0.1019607843) 3.49%, rgba(70, 22, 77, 0.1019607843) 99.22%);\n}\n.ff-button--tertiary:disabled {\n opacity: 0.5;\n cursor: no-drop;\n}\n.ff-button--small {\n font-weight: 500;\n padding: 4.5px 8px;\n}\n.ff-button--medium {\n font-weight: 500;\n padding: 6px 12px;\n}\n.ff-button--large {\n padding: 8px 16px;\n}\n.ff-button-primary--text {\n color: #ffffff;\n}\n.ff-button-secondary--text, .ff-button-tertiary--text {\n background: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n}";
|
32
|
+
styleInject(css_248z$L);
|
33
33
|
|
34
|
-
var css_248z$
|
35
|
-
styleInject(css_248z$
|
34
|
+
var css_248z$K = ":root {\n --tooltip-bg-color: #1e161f;\n --status-approved-text-color: #016102;\n --status-warning-text-color: #ff8b00;\n --status-rejected-text-color: #c60202;\n --status-skipped-text-color: #3c3838;\n --status-approved-bg-color: #c6efcd;\n --status-rejected-bg-color: #f7d9d9;\n --status-warning-bg-color: #fae2c6;\n --status-skipped-bg-color: #c4c3c3;\n --brand-color: #71347b;\n --icons-default-color: #71347b;\n --default-icon-color: #a3a3a3;\n --default-color: #747474;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --system-color--error: #c50303;\n --hover-color: #f7ebff;\n --brand2-color: #610b86;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --description-text-color:#d9d9d9;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --text-color: #1e161f;\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --error-light: #e42525;\n --tabs-label-default-color: tabs-label-default-color;\n --tabs-label-active-color: tabs-label-active-color;\n --tabs-border-color: tabs-border-color;\n --tabs-bg-color: tabs-bg-color;\n --tab-bg-color: tab-bg-color;\n --toggle-button-bg-color: #ffffff;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-strip-color: #cfd1e2;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --toggle-strip-color: #cfd1e2;\n --add-icon-hover-color: #431b4a;\n --arrows-button-border-color: #ded1e5;\n --arrow-button-bg-color: #ffffff;\n --text-bg-highlight:#f5fb00;\n --slider-table-color: #efe1f9;\n}";
|
35
|
+
styleInject(css_248z$K);
|
36
36
|
|
37
37
|
function getDefaultExportFromCjs (x) {
|
38
38
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
@@ -235,6 +235,10 @@ const SvgSwitchLicenseIcon = (props) => /* @__PURE__ */ React.createElement("svg
|
|
235
235
|
|
236
236
|
const SvgFireflinkLogo = (props) => /* @__PURE__ */ React.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 238 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M61.4537 17.8485V22.8928H71.6263V27.9317H61.4537V35.7966H54.8828V12.8096H72.9844V17.8485H61.4537Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M76.4541 12.8095H83.025V35.6658H76.4541V12.8095Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M97.9099 29.6458H94.3082V35.6685H87.7373V12.8095H98.2755C104.599 12.8095 108.566 16.0035 108.566 21.2876C108.631 22.7986 108.242 24.2947 107.447 25.5858C106.653 26.877 105.489 27.905 104.104 28.5394L109.053 35.6658H102.119L97.9099 29.6458ZM98.0336 17.8484H94.4319V24.4843H98.0281C100.755 24.4843 102.119 23.2552 102.119 21.165C101.995 19.2001 100.755 17.8484 98.0281 17.8484H98.0336Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M131.006 30.6296V35.6685H112.533V12.8095H130.635V17.8484H118.98V21.6637H129.271V26.4573H118.98V30.6351L131.006 30.6296Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M141.421 17.8484V22.8928H151.593V27.9317H141.421V35.7966H134.85V12.8095H152.951V17.8484H141.421Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M156.298 12.8095H162.869V30.507H173.894V35.6685H156.413V12.8095H156.298Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M176.752 12.8095H183.323V35.6658H176.752V12.8095Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M210.104 12.8095V35.6658H204.773L194.601 23.5005V35.6658H188.159V12.8095H193.49L203.663 24.9748V12.8095H210.104Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M223.866 27.4329L221.391 30.0137V35.7884H214.938V12.8095H221.386V22.2714L230.313 12.8095H237.502L228.08 22.8928L238 35.6739H230.436L223.866 27.4329Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M16.7502 4.88842C16.1316 5.25632 15.6341 5.50162 15.1392 5.74961C13.2807 6.7334 11.5431 7.59181 9.68453 8.5756C9.5558 8.64839 9.45159 8.75748 9.3855 8.88897C9.31942 9.02047 9.29442 9.16842 9.31335 9.31412V46.5486C9.31335 47.0391 9.18969 47.4097 8.69481 47.5323C7.77434 47.9098 6.7758 48.0623 5.78338 47.9769C4.79096 47.8916 3.83353 47.5709 2.99243 47.0418C2.37431 46.6111 1.84823 46.0636 1.44391 45.4309C1.0396 44.7982 0.765171 44.0926 0.636432 43.3546C0.327663 41.3625 0.203398 39.3465 0.265245 37.3319C0.141525 27.4994 0.0178993 17.547 0.0178993 7.7145C-0.0791099 6.15032 0.219297 4.58688 0.886463 3.16613C1.44789 1.9794 2.41841 1.03032 3.62304 0.489747C4.82768 -0.050828 6.18734 -0.147392 7.45741 0.217461C9.21628 0.744425 10.8848 1.5318 12.4063 2.55294C13.781 3.29147 15.1337 4.0273 16.3736 4.76583C16.5028 4.64047 16.6265 4.76306 16.7502 4.88842Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M16.9984 42.736V32.0423C16.9942 31.8984 17.026 31.7558 17.0907 31.6269C17.1555 31.4981 17.2512 31.3871 17.3696 31.3038C21.5843 28.9683 25.7989 26.6328 29.8926 24.3001C31.0089 23.6869 32.1253 23.071 33.3625 22.3324C32.6455 21.8761 31.8998 21.4656 31.13 21.1034C29.2715 19.997 27.41 19.0132 25.5515 17.9095C25.46 17.8474 25.3516 17.8141 25.2407 17.8141C25.1298 17.8141 25.0218 17.8474 24.9303 17.9095C22.5741 19.3838 20.3443 20.7354 17.9881 22.2098C17.8644 22.2098 17.8645 22.3324 17.7408 22.3324V14.4676C17.7361 14.3059 17.7667 14.1452 17.8307 13.9965C17.8948 13.8478 17.9909 13.7147 18.112 13.6064C20.2207 12.132 22.3267 10.7803 24.3117 9.306C24.4263 9.24517 24.5543 9.21335 24.6843 9.21335C24.8142 9.21335 24.9422 9.24517 25.0568 9.306C27.9079 10.903 30.8853 12.6253 33.7364 14.2113C35.7187 15.3177 37.7036 16.4242 39.8096 17.5279C41.3189 18.3064 42.568 19.502 43.4057 20.9698C43.934 21.9245 44.1462 23.0195 44.0125 24.1002C43.8788 25.1809 43.406 26.1927 42.6607 26.9925C41.681 28.0979 40.5036 29.0144 39.1881 29.6959C36.337 31.2929 33.6099 33.0152 30.7588 34.6013C27.1627 36.6915 23.6929 38.6563 20.0968 40.7466C18.9806 41.5069 17.9909 42.1255 16.9984 42.736Z", fill: "currentColor" }));
|
237
237
|
|
238
|
+
const SvgWswbDeleteIcon = (props) => /* @__PURE__ */ React.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M7.77783 17.4447C7.77783 17.8571 7.94168 18.2527 8.23333 18.5443C8.52498 18.836 8.92054 18.9998 9.333 18.9998H15.556C15.9685 18.9998 16.364 18.836 16.6557 18.5443C16.9473 18.2527 17.1112 17.8571 17.1112 17.4447V8.11133H7.77783V17.4447Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M15.1667 5.77817L14.3897 5H10.5L9.723 5.77817H7V7.33333H17.8885V5.77817H15.1667Z", fill: "currentColor" }));
|
239
|
+
|
240
|
+
const SvgWswbPlusIcon = (props) => /* @__PURE__ */ React.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("g", { opacity: 0.4 }, /* @__PURE__ */ React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.25 5.25C12.6796 5.25 13.0278 5.59822 13.0278 6.02778V11.4722H18.4722C18.9018 11.4722 19.25 11.8204 19.25 12.25C19.25 12.6796 18.9018 13.0278 18.4722 13.0278H13.0278V18.4722C13.0278 18.9018 12.6796 19.25 12.25 19.25C11.8204 19.25 11.4722 18.9018 11.4722 18.4722V13.0278H6.02778C5.59822 13.0278 5.25 12.6796 5.25 12.25C5.25 11.8204 5.59822 11.4722 6.02778 11.4722H11.4722V6.02778C11.4722 5.59822 11.8204 5.25 12.25 5.25Z", fill: "currentColor" })));
|
241
|
+
|
238
242
|
let Components = {};
|
239
243
|
//icons
|
240
244
|
Components['delete_info'] = SvgDeleteInfo;
|
@@ -300,9 +304,11 @@ Components['all_projects'] = SvgAllProjects;
|
|
300
304
|
Components['android_icon'] = SvgAndroidIcon;
|
301
305
|
Components['select_license'] = SvgSwitchLicenseIcon;
|
302
306
|
Components['fireflink-logo'] = SvgFireflinkLogo;
|
307
|
+
Components['wswb_delete_icon'] = SvgWswbDeleteIcon;
|
308
|
+
Components['wswb_plus_icon'] = SvgWswbPlusIcon;
|
303
309
|
|
304
|
-
var css_248z$
|
305
|
-
styleInject(css_248z$
|
310
|
+
var css_248z$J = ".ff-icon-container {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.ff-icon-click {\n cursor: pointer;\n padding: 5px;\n box-sizing: content-box;\n}\n.ff-icon-click:hover {\n border-radius: 50%;\n background-color: var(--drawer-footer-bg);\n box-shadow: 0px 0px 16px var(--toggle-strip-shadow);\n}\n.ff-icon-click:hover > svg {\n color: var(--brand-color);\n}\n\n.ff-icon-disabled {\n cursor: no-drop;\n}\n.ff-icon-disabled > svg {\n color: var(--toggle-strip-color);\n}\n.ff-icon-disabled:hover {\n box-shadow: none;\n}\n.ff-icon-disabled:hover > svg {\n color: var(--toggle-strip-color);\n}";
|
311
|
+
styleInject(css_248z$J);
|
306
312
|
|
307
313
|
const Icon = ({
|
308
314
|
name,
|
@@ -384,8 +390,8 @@ const Button$1 = /*#__PURE__*/forwardRef(({
|
|
384
390
|
});
|
385
391
|
});
|
386
392
|
|
387
|
-
var css_248z$
|
388
|
-
styleInject(css_248z$
|
393
|
+
var css_248z$I = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-title {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-drawer-container .ff-overlay {\n position: fixed;\n inset: 0;\n background-color: var(--drawer-title-color);\n opacity: 0.5;\n}\n.ff-drawer-container .ff-drawer {\n height: 100vh;\n position: fixed;\n right: 0;\n top: 0;\n bottom: 0;\n min-width: 450px;\n background-color: var(--primary-button-text-color);\n z-index: 999;\n transform: translateX(100%);\n opacity: 0;\n}\n.ff-drawer-container .ff-drawer--open {\n transform: translateX(0);\n opacity: 1;\n}\n.ff-drawer-container .ff-drawer--small {\n width: 444px;\n}\n.ff-drawer-container .ff-drawer--medium {\n width: 666px;\n}\n.ff-drawer-container .ff-drawer--large {\n width: 888px;\n}\n.ff-drawer-container .ff-drawer--x-large {\n width: calc(100vw - 10px);\n}\n.ff-drawer-container .ff-drawer--open, .ff-drawer-container .ff-drawer--medium, .ff-drawer-container .ff-drawer--large, .ff-drawer-container .ff-drawer--x-large {\n transition: all 0.4s ease-in-out;\n border-radius: 5px;\n border: 2px solid var(--border-color);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header {\n padding: 10px 8px 10px 8px;\n display: flex;\n gap: 10px;\n border-bottom: 2px solid var(--border-color);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-title {\n font-weight: 600;\n color: var(--drawer-title-color);\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 12px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button .ff-expand-collapse-button {\n cursor: pointer;\n background-color: var(--button-bg-color);\n outline: none;\n border: none;\n margin: 0;\n border: 1px solid transparent;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 6px;\n padding: 6px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-body {\n background-color: var(--drawer-footer-bg);\n height: calc(100vh - 76px);\n overflow: hidden auto;\n}\n.ff-drawer-container .ff-drawer .no-footer {\n height: 100vh;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 5px 16px 5px 16px;\n display: flex;\n justify-content: space-between;\n border-top: 2px solid var(--drawer-footer-border);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer .button-container {\n display: flex;\n justify-content: flex-end;\n gap: 16px;\n}";
|
394
|
+
styleInject(css_248z$I);
|
389
395
|
|
390
396
|
function useEscapeKey(key) {
|
391
397
|
return callBack => {
|
@@ -404,8 +410,8 @@ function useEscapeKey(key) {
|
|
404
410
|
};
|
405
411
|
}
|
406
412
|
|
407
|
-
var css_248z$D = ":root {\n --brand-color: #71347b;\n --text-color: #1e161f;\n --description-text: #7a7a7a;\n --click-able-text-color: #71347b;\n --icons-default-color: #71347b;\n --border-color: #f0e7f4;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(20, 4, 28, 0.1019607843);\n --slider-table-color: rgba(212, 176, 228, 0.1490196078);\n --drawer-footer-bg: #ffffff;\n --drawer-footer-border: #f0e7f4;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #1e161f;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(30, 22, 31, 0.1019607843);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --default-icon-color: #a3a3a3;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n --primary-button-disable: linear-gradient(180deg, #46164d 0%, #71347b 100%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-text-color: #46164d;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.1019607843) 3.49%, rgba(70, 22, 77, 0.1019607843) 99.22%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --error: #e42525;\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n}\n\n:root {\n --brand-color: #71347b;\n --text-color: #e8e0e9;\n --description-text: #d9d9d9;\n --click-able-text-color: #e8e0e9;\n --icons-default-color: #e8e0e9;\n --border-color: #333234;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(18, 18, 18, 0.6);\n --slider-table-color: #272428;\n --drawer-footer-bg: rgba(27, 24, 28, 0.6);\n --drawer-footer-border: #333234;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #2a2a2a;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active-color: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(18, 18, 18, 0.6);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(188.79deg, #7c4685 2.94%, #582d5f 93.09%);\n --primary-button-disable: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(360deg, #46164d 0%, #71347b 100%);\n --secondary-button-text-color: #71347b;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(180deg, rgba(70, 22, 77, 0.05) 0%, rgba(113, 52, 123, 0.05) 100%);\n --tertiary-button-hover: linear-gradient(180deg, rgba(70, 22, 77, 0.1) 0%, rgba(113, 52, 123, 0.1) 100%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --default-icon-color: #a3a3a3;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #F9F9F9;\n --license_expireSoon_color: #BA7422;\n --license_active_color: #268735;\n --license_expired_color: #E34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n}\n\n.ff-light-theme {\n --brand-color: #71347b;\n --text-color: #1e161f;\n --description-text: #7a7a7a;\n --click-able-text-color: #71347b;\n --icons-default-color: #71347b;\n --border-color: #f0e7f4;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(20, 4, 28, 0.1019607843);\n --slider-table-color: rgba(212, 176, 228, 0.1490196078);\n --drawer-footer-bg: #ffffff;\n --drawer-footer-border: #f0e7f4;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #1e161f;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(30, 22, 31, 0.1019607843);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --default-icon-color: #a3a3a3;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n --primary-button-disable: linear-gradient(180deg, #46164d 0%, #71347b 100%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-text-color: #46164d;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.1019607843) 3.49%, rgba(70, 22, 77, 0.1019607843) 99.22%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --error: #e42525;\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n}\n\n.ff-dark-theme {\n --brand-color: #71347b;\n --text-color: #e8e0e9;\n --description-text: #d9d9d9;\n --click-able-text-color: #e8e0e9;\n --icons-default-color: #e8e0e9;\n --border-color: #333234;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(18, 18, 18, 0.6);\n --slider-table-color: #272428;\n --drawer-footer-bg: rgba(27, 24, 28, 0.6);\n --drawer-footer-border: #333234;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #2a2a2a;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active-color: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(18, 18, 18, 0.6);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(188.79deg, #7c4685 2.94%, #582d5f 93.09%);\n --primary-button-disable: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(360deg, #46164d 0%, #71347b 100%);\n --secondary-button-text-color: #71347b;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(180deg, rgba(70, 22, 77, 0.05) 0%, rgba(113, 52, 123, 0.05) 100%);\n --tertiary-button-hover: linear-gradient(180deg, rgba(70, 22, 77, 0.1) 0%, rgba(113, 52, 123, 0.1) 100%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --default-icon-color: #a3a3a3;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #F9F9F9;\n --license_expireSoon_color: #BA7422;\n --license_active_color: #268735;\n --license_expired_color: #E34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n}";
|
408
|
-
styleInject(css_248z$
|
413
|
+
var css_248z$H = ":root {\n --brand-color: #71347b;\n --text-color: #1e161f;\n --description-text: #7a7a7a;\n --click-able-text-color: #71347b;\n --icons-default-color: #71347b;\n --border-color: #f0e7f4;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(20, 4, 28, 0.1019607843);\n --slider-table-color: rgba(212, 176, 228, 0.1490196078);\n --drawer-footer-bg: #ffffff;\n --drawer-footer-border: #f0e7f4;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #1e161f;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(30, 22, 31, 0.1019607843);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --default-icon-color: #a3a3a3;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n --primary-button-disable: linear-gradient(180deg, #46164d 0%, #71347b 100%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-text-color: #46164d;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.1019607843) 3.49%, rgba(70, 22, 77, 0.1019607843) 99.22%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --error: #e42525;\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --pie-chart-border-color: #b6b6b6;\n}\n\n:root {\n --brand-color: #71347b;\n --text-color: #e8e0e9;\n --description-text: #d9d9d9;\n --click-able-text-color: #e8e0e9;\n --icons-default-color: #e8e0e9;\n --border-color: #333234;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(18, 18, 18, 0.6);\n --slider-table-color: #272428;\n --drawer-footer-bg: rgba(27, 24, 28, 0.6);\n --drawer-footer-border: #333234;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #2a2a2a;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active-color: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(18, 18, 18, 0.6);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(188.79deg, #7c4685 2.94%, #582d5f 93.09%);\n --primary-button-disable: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(360deg, #46164d 0%, #71347b 100%);\n --secondary-button-text-color: #71347b;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(180deg, rgba(70, 22, 77, 0.05) 0%, rgba(113, 52, 123, 0.05) 100%);\n --tertiary-button-hover: linear-gradient(180deg, rgba(70, 22, 77, 0.1) 0%, rgba(113, 52, 123, 0.1) 100%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --default-icon-color: #a3a3a3;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --pie-chart-border-color: #b6b6b6;\n}\n\n.ff-light-theme {\n --brand-color: #71347b;\n --text-color: #1e161f;\n --description-text: #7a7a7a;\n --click-able-text-color: #71347b;\n --icons-default-color: #71347b;\n --border-color: #f0e7f4;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(20, 4, 28, 0.1019607843);\n --slider-table-color: rgba(212, 176, 228, 0.1490196078);\n --drawer-footer-bg: #ffffff;\n --drawer-footer-border: #f0e7f4;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #1e161f;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(30, 22, 31, 0.1019607843);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --default-icon-color: #a3a3a3;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(179.06deg, #8d3b9a 3.49%, #781f86 99.22%);\n --primary-button-disable: linear-gradient(180deg, #46164d 0%, #71347b 100%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-text-color: #46164d;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.1019607843) 3.49%, rgba(70, 22, 77, 0.1019607843) 99.22%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --error: #e42525;\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --pie-chart-border-color: #b6b6b6;\n}\n\n.ff-dark-theme {\n --brand-color: #71347b;\n --text-color: #e8e0e9;\n --description-text: #d9d9d9;\n --click-able-text-color: #e8e0e9;\n --icons-default-color: #e8e0e9;\n --border-color: #333234;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --hover-color: #f7ebff;\n --pop-up-background-blur: rgba(18, 18, 18, 0.6);\n --slider-table-color: #272428;\n --drawer-footer-bg: rgba(27, 24, 28, 0.6);\n --drawer-footer-border: #333234;\n --text-bg-highlight: #f5fb00;\n --tooltip-bg-color: #2a2a2a;\n --tooltip-text-color: #ffffff;\n --toggle-strip-color: #cfd1e2;\n --toggle-strip-active-color: #71347b;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-button-bg-color: #ffffff;\n --toggle-disable-icon-color: #767994;\n --text-area-default-color: #747474;\n --add-icon-hover-color: #431b4a;\n --arrow-button-bg-color: #ffffff;\n --arrows-button-border-color: #ded1e5;\n --overlay-bg: rgba(18, 18, 18, 0.6);\n --chip-fill-color: #f9d5ff;\n --chip-text-color: #1e161f;\n --file-drop-zone-default-fill-color: rgba(113, 52, 123, 0.1019607843);\n --file-drop-zone-default-text-color: #1e161f;\n --file-drop-zone-selected-fill-color: rgba(113, 52, 123, 0.2);\n --file-drop-zone-selected-text-color: #1e161f;\n --icon-color: #71347b;\n --tree-connecting-lines-color: #d7b5e3;\n --primary-button-color: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-hover: linear-gradient(188.79deg, #7c4685 2.94%, #582d5f 93.09%);\n --primary-button-disable: linear-gradient(188.79deg, #71347b 2.94%, #46164d 93.09%);\n --primary-button-text-color: #ffffff;\n --primary-button-border: linear-gradient(180deg, #46164d 3.04%, #71347b 100%);\n --secondary-button-color-text: linear-gradient(179.06deg, #71347b 3.49%, #46164d 99.22%);\n --secondary-button-border: linear-gradient(360deg, #46164d 0%, #71347b 100%);\n --secondary-button-text-color: #71347b;\n --secondary-button-hover: linear-gradient(179.06deg, rgba(113, 52, 123, 0.0509803922) 3.49%, rgba(70, 22, 77, 0.0509803922) 99.22%);\n --tertiary-button-color: linear-gradient(180deg, rgba(70, 22, 77, 0.05) 0%, rgba(113, 52, 123, 0.05) 100%);\n --tertiary-button-hover: linear-gradient(180deg, rgba(70, 22, 77, 0.1) 0%, rgba(113, 52, 123, 0.1) 100%);\n --delete-button-color: linear-gradient(179.06deg, #e42525 3.49%, #c90000 99.22%);\n --delete-button-border: linear-gradient(180deg, #a90707 3.04%, #e42525 100%);\n --delete-button-hover: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --delete-button-disable: linear-gradient(179.06deg, #e95151 3.49%, #d43434 99.22%);\n --drawer-title-color: #252c37;\n --toast-msg-icon-bg: linear-gradient(180deg, #079455 0%, #00693a 100%);\n --error_light: #e42525;\n --ff-success: #079455;\n --ff-warning: #f79009;\n --ff-header-text-color: #fdfaff;\n --ff-header-submenu-text-color: #666468;\n --ff-header-submenu-highlight-text-color: #170328;\n --default-icon-color: #a3a3a3;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --ff-mini-modal-border: #ffffff;\n --ff-mini-modal-box-shadow: rgba(55, 19, 85, 0.2392156863);\n --ff-mini-modal-footer-background: #aeb0c0;\n --input-default-border-color: #a3a3a3;\n --input-hover-border-color: #1e161f;\n --input-default-label-color: #747474;\n --input-label-bg-color: #ffffff;\n --input-active-text-color: #71347b;\n --input-error-text-color: #e42525;\n --tabs-label-default-color: #7a7a7a;\n --tabs-label-active-color: #71347b;\n --tabs-border-color: #f1ebf2;\n --tabs-bg-color: #ede6f2;\n --tab-bg-color: #ffffff;\n --toast-close-icon-wrapper-bg: #fafafa;\n --toaster-boxshadow: rgba(30, 22, 31, 0.2392156863);\n --toaster-success-border: linear-gradient(rgba(7, 148, 85, 0.4), rgba(0, 105, 58, 0.4));\n --toaster-warning-border: linear-gradient(rgba(247, 144, 9, 0.4), rgba(214, 122, 0, 0.4));\n --toaster-info-border: linear-gradient(rgba(37, 145, 228, 0.4), rgba(23, 105, 176, 0.4));\n --toaster-danger_confirm-border: linear-gradient(rgba(228, 37, 37, 0.4), rgba(201, 0, 0, 0.4));\n --option-card-border-color: #ded1e5;\n --option-card-bg-color: #ffffff;\n --checkbox-bg-color: #fbfdff;\n --checkbox-border-color: #b5b5b5;\n --checkbox-partial-color: #ffffff;\n --checkbox-hover-color: #f7edff;\n --multi-select-border: rgba(163, 163, 163, 0.5019607843);\n --multi-select-label-bg: #ffffff;\n --text-color-light: rgba(30, 22, 31, 0.5019607843);\n --radio-button-border: #b5b5b5;\n --radio-button-hover: #d3d3d3;\n --menu-option-icon-color: #ffffff;\n --menu-option-icon-clicked: #71347b;\n --delete-text-color: #c50303;\n --status-success-bg-color: #c6efcd;\n --status-success-text-color: #016102;\n --status-warning-bg-color: #ffe380;\n --status-warning-text-color: #ff8b00;\n --status-rejected-bg-color: #f7d9d9;\n --status-rejected-text-color: #c60202;\n --status-skipped-bg-color: #c4c3c3;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --status-button-bg-passed: #c6efcd;\n --status-button-bg-failed: #f7d9d9;\n --status-button-bg-running: #ecedf8;\n --status-button-bg-skipped: #c4c3c3;\n --status-button-bg-warning: #ffb803;\n --status-button-bg-terminated: #f7d9d9;\n --status-button-bg-partiallyExecuted: #dee7f1;\n --status-button-bg-aborted: #f7d9d9;\n --status-button-bg-notExecuted: #f7d9d9;\n --status-button-text-passed: #016102;\n --status-button-text-failed: #c50303;\n --status-button-text-running: #434db8;\n --status-button-text-skipped: #3c3838;\n --status-button-text-warning: #ffffff;\n --status-button-text-terminated: #c50303;\n --status-button-text-partiallyExecuted: #0d69d4;\n --status-button-text-aborted: #c50303;\n --status-button-text-notExecuted: #c50303;\n --ff-select-option-border-color: #ded1e5;\n --ff-select-option-wrapper-box-shadow: rgba(89, 47, 124, 0.2);\n --ff-select-background-color: #ffffff;\n --ff-select-scroll-thumb-color: #d9d9d9;\n --ff-select-scroll-track-bg: #f1f1f1;\n --ff-select-scroll-thumb-hover: #b8b8b8;\n --ff-select-text-color: #14041c;\n --ff-select-option-hover-color: #f7ebff;\n --ff-select-default-color: #747474;\n --ff-select-border-color: #a3a3a3;\n --ff-select-brand-color: #71347b;\n --ff-select-text-hover-color: #1e161f;\n --ff-search-filed-clear-text: #71347b;\n --ff-search-filed-placeholder-text: #a3a3a3;\n --ff-search-filed-close-Icon: #14041c;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --disabled-primary-color: #f9f9f9;\n --license_expireSoon_color: #ba7422;\n --license_active_color: #268735;\n --license_expired_color: #e34242;\n --license_header_text_color: #592f7c;\n --license_active_status_color: #518e18;\n --license_expired_status_color: #ab3425;\n --background-modal-color: rgba(17, 17, 17, 0.0666666667);\n --pie-chart-border-color: #b6b6b6;\n}";
|
414
|
+
styleInject(css_248z$H);
|
409
415
|
|
410
416
|
const ThemeContext = /*#__PURE__*/createContext(undefined);
|
411
417
|
const ThemeProvider = ({
|
@@ -565,14 +571,14 @@ const Drawer = ({
|
|
565
571
|
}), document.body);
|
566
572
|
};
|
567
573
|
|
568
|
-
var css_248z$
|
569
|
-
styleInject(css_248z$
|
574
|
+
var css_248z$G = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-accordion {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n min-width: fit-content;\n}\n.ff-accordion .accordion-header {\n display: flex;\n justify-content: space-between;\n min-height: 32px;\n}\n.ff-accordion .accordion-header .header-title {\n padding: 8px;\n}\n.ff-accordion .accordion-header .accordion-arrow {\n display: flex;\n padding: 8px;\n align-items: center;\n transition: transform 0.3s ease;\n}\n.ff-accordion .accordion-header .accordion-arrow.expanded {\n transform: rotate(180deg);\n}\n.ff-accordion .accordion-header .accordion-arrow:hover {\n color: var(--tooltip-bg-color);\n}\n.ff-accordion .accordion-header.expanded {\n background-color: var(--hover-color);\n border-bottom: 1px solid var(--hover-color);\n}\n.ff-accordion .accordion-header:hover {\n background-color: var(--hover-color);\n}\n.ff-accordion .accordion-content {\n padding: 4px;\n}";
|
575
|
+
styleInject(css_248z$G);
|
570
576
|
|
571
|
-
var css_248z$
|
572
|
-
styleInject(css_248z$
|
577
|
+
var css_248z$F = "";
|
578
|
+
styleInject(css_248z$F);
|
573
579
|
|
574
|
-
var css_248z$
|
575
|
-
styleInject(css_248z$
|
580
|
+
var css_248z$E = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-tooltip {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-tooltip-container {\n cursor: auto;\n display: inline-block;\n}\n\n.ff-tooltip {\n position: fixed;\n width: max-content;\n max-width: 60vw;\n word-wrap: break-word;\n background-color: var(--tooltip-bg-color);\n line-height: 18px;\n color: var(--tooltip-text-color);\n text-align: center;\n border-radius: 5px;\n padding: 6px 12px;\n opacity: 0;\n}\n.ff-tooltip--visible {\n opacity: 1;\n transition: opacity 0.3s;\n}";
|
581
|
+
styleInject(css_248z$E);
|
576
582
|
|
577
583
|
const checkEmpty = value => {
|
578
584
|
// Check for null or undefined
|
@@ -741,8 +747,8 @@ const Tooltip = ({
|
|
741
747
|
});
|
742
748
|
};
|
743
749
|
|
744
|
-
var css_248z$
|
745
|
-
styleInject(css_248z$
|
750
|
+
var css_248z$D = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.ff-text {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n.ff-text--regular {\n font-weight: 400;\n}\n.ff-text--medium {\n font-weight: 500;\n}\n.ff-text--semi-bold {\n font-weight: 600;\n}\n.ff-text--bold {\n font-weight: 700;\n}";
|
751
|
+
styleInject(css_248z$D);
|
746
752
|
|
747
753
|
const Typography = ({
|
748
754
|
fontWeight = 'regular',
|
@@ -827,8 +833,8 @@ const Accordion = ({
|
|
827
833
|
});
|
828
834
|
};
|
829
835
|
|
830
|
-
var css_248z$
|
831
|
-
styleInject(css_248z$
|
836
|
+
var css_248z$C = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-label, .ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-more-chip {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-multiselect-wrapper .ff-multiselect__main .default-label {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-multiselect-wrapper .ff-multiselect__main .active-default-label, .ff-multiselect-wrapper .error-text {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-multiselect-wrapper {\n box-sizing: border-box;\n transition: all 0.3s ease;\n cursor: pointer;\n position: relative;\n border: 1px solid var(--default-icon-color);\n border-radius: 8px;\n background: var(--drawer-footer-bg);\n min-width: 150px;\n width: 100%;\n height: 32px;\n}\n.ff-multiselect-wrapper .ff-multiselect {\n position: relative;\n padding: 6px;\n border: none;\n border-radius: 8px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.ff-multiselect-wrapper .ff-multiselect__main {\n display: flex;\n flex: 1;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .default-label {\n font-family: Poppins;\n font-weight: 400;\n letter-spacing: 0.5px;\n transition: all 0.3s ease;\n color: var(--default-icon-color);\n line-height: 18px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .active-default-label {\n font-family: Poppins;\n font-weight: 400;\n letter-spacing: 0.5px;\n transition: all 0.3s ease;\n background-color: var(--multi-select-label-bg);\n line-height: 12px;\n color: var(--default-icon-color);\n padding: 0 4px;\n position: absolute;\n left: 8px;\n top: -6px;\n pointer-events: none;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n gap: 5px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip {\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n border: 0.5px solid #f1ebf2;\n padding: 0 1px 0 4px;\n gap: 4px;\n border-radius: 15px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-label {\n line-height: 14px;\n color: var(--tooltip-bg-color);\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-close-icon {\n cursor: pointer;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-input-container {\n flex: 1;\n min-width: 20px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-input-container input {\n width: 100%;\n min-width: 30px;\n max-width: calc(100% - 0px);\n padding: 2px;\n box-sizing: border-box;\n border: none;\n font-size: 12px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-input-container input:focus {\n outline: none;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-more-chip {\n width: 1rem;\n font-weight: 600;\n line-height: 16px;\n color: var(--brand-color);\n}\n.ff-multiselect-wrapper .ff-multiselect__toggle {\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.ff-multiselect-wrapper .ff-multiselect__toggle .ff-select-arrow {\n transition: transform 0.3s ease;\n transform: rotate(360deg);\n}\n.ff-multiselect-wrapper .ff-multiselect__toggle .ff-select-arrow svg path {\n transition: all 0.3s ease;\n}\n.ff-multiselect-wrapper .ff-multiselect__toggle .ff-select-arrow--opened-dropdown {\n transform: rotate(180deg);\n transition: transform 0.3s ease;\n}\n.ff-multiselect-wrapper:hover {\n border: 1px solid var(--tooltip-bg-color);\n}\n.ff-multiselect-wrapper:hover .ff-multiselect .ff-multiselect__main .default-label,\n.ff-multiselect-wrapper:hover .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--tooltip-bg-color);\n}\n.ff-multiselect-wrapper:hover .ff-select-arrow svg path {\n fill: var(--tooltip-bg-color);\n transition: all 0.3s ease;\n}\n.ff-multiselect-wrapper--with-options {\n height: fit-content;\n}\n.ff-multiselect-wrapper--opened-dropdown {\n border: 1px solid var(--brand-color);\n height: fit-content;\n cursor: default;\n}\n.ff-multiselect-wrapper--opened-dropdown .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--brand-color);\n}\n.ff-multiselect-wrapper--opened-dropdown:hover {\n border: 1px solid var(--brand-color);\n}\n.ff-multiselect-wrapper--opened-dropdown:hover .ff-multiselect .ff-multiselect__main .default-label,\n.ff-multiselect-wrapper--opened-dropdown:hover .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--brand-color);\n}\n.ff-multiselect-wrapper--error {\n border: 1px solid var(--error-light);\n}\n.ff-multiselect-wrapper--error .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--error-light);\n}\n.ff-multiselect-wrapper--error:hover {\n border: 1px solid var(--error-light);\n}\n.ff-multiselect-wrapper--error:hover .ff-multiselect .ff-multiselect__main .default-label,\n.ff-multiselect-wrapper--error:hover .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--error-light);\n}\n.ff-multiselect-wrapper--disabled {\n pointer-events: none;\n border: 1px solid var(--multi-select-border);\n}\n.ff-multiselect-wrapper--disabled .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--multi-select-border);\n}\n.ff-multiselect-wrapper--disabled:hover {\n border: 1px solid var(--multi-select-border);\n}\n.ff-multiselect-wrapper--disabled:hover .ff-multiselect .ff-multiselect__main .default-label,\n.ff-multiselect-wrapper--disabled:hover .ff-multiselect .ff-multiselect__main .active-default-label {\n color: var(--multi-select-border);\n}\n.ff-multiselect-wrapper--disabled .ff-select-arrow svg path {\n fill: var(--multi-select-border);\n transition: all 0.3s ease;\n}\n.ff-multiselect-wrapper--disabled:hover .ff-select-arrow svg path {\n fill: var(--multi-select-border);\n transition: all 0.3s ease;\n}\n.ff-multiselect-wrapper--disabled .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-label {\n color: var(--text-color-light);\n}\n.ff-multiselect-wrapper .error-text {\n position: absolute;\n margin-top: 0.25rem;\n left: 12px;\n color: var(--error-light);\n letter-spacing: 0.5px;\n}";
|
837
|
+
styleInject(css_248z$C);
|
832
838
|
|
833
839
|
const dropdownDefaultCSSData$1 = {
|
834
840
|
verticalMargin: 4,
|
@@ -836,8 +842,8 @@ const dropdownDefaultCSSData$1 = {
|
|
836
842
|
maxDropdownHeight: 160
|
837
843
|
};
|
838
844
|
|
839
|
-
var css_248z$
|
840
|
-
styleInject(css_248z$
|
845
|
+
var css_248z$B = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd, .ff-multiselect-dropdown-container .no-options, .ff-multiselect-dropdown-container .dropdown-option-container .dropdown-option-label {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-multiselect-dropdown-container {\n position: absolute;\n background: var(--drawer-footer-bg);\n z-index: 1000;\n box-shadow: 0px 1px 4px 0px var(--ff-select-option-wrapper-box-shadow);\n border: 0.5px solid var(--ff-select-option-border-color);\n border-radius: 4px;\n box-sizing: border-box;\n margin-block: 4px;\n max-height: 160px;\n}\n.ff-multiselect-dropdown-container .ff-multiselect-options-wrapper {\n max-height: 128px;\n overflow-y: auto;\n}\n.ff-multiselect-dropdown-container .ff-multiselect-options-wrapper::-webkit-scrollbar {\n width: 4px;\n height: 40px;\n border-radius: 12px 0px 0px 0px;\n background: var(--description-text);\n}\n.ff-multiselect-dropdown-container .ff-multiselect-options-wrapper::-webkit-scrollbar-track {\n background: var(--ff-select-scroll-track-bg);\n}\n.ff-multiselect-dropdown-container .ff-multiselect-options-wrapper::-webkit-scrollbar-thumb {\n background: var(--ff-select-scroll-thumb-color);\n border-radius: 10px;\n}\n.ff-multiselect-dropdown-container .ff-multiselect-options-wrapper::-webkit-scrollbar-thumb:hover {\n background: var(--ff-select-scroll-thumb-hover);\n}\n.ff-multiselect-dropdown-container .no-options {\n color: var(--pop-up-background-blur);\n text-align: center;\n margin: 0;\n padding: 10px;\n line-height: 12px;\n}\n.ff-multiselect-dropdown-container .dropdown-option-container {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n height: 32px;\n padding: 4px 8px;\n gap: 4px;\n border-radius: 4px 0px 0px 0px;\n background-color: white;\n}\n.ff-multiselect-dropdown-container .dropdown-option-container .dropdown-option-label {\n color: var(--ff-select-text-color);\n}\n.ff-multiselect-dropdown-container .dropdown-option-container:hover {\n background-color: var(--hover-color);\n}\n.ff-multiselect-dropdown-container:focus {\n outline: none;\n}\n.ff-multiselect-dropdown-container .select-button-container {\n box-sizing: border-box;\n width: 100%;\n border-top: 1px solid var(--slider-table-color);\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n}";
|
846
|
+
styleInject(css_248z$B);
|
841
847
|
|
842
848
|
const Dropdown$2 = /*#__PURE__*/forwardRef(({
|
843
849
|
options,
|
@@ -933,8 +939,8 @@ const ChipElement = ({
|
|
933
939
|
return null;
|
934
940
|
};
|
935
941
|
const MultiSelect = ({
|
936
|
-
options,
|
937
|
-
type =
|
942
|
+
options = [],
|
943
|
+
type = 'text',
|
938
944
|
selectedOptions = [],
|
939
945
|
onChange = () => {},
|
940
946
|
acceptNewOption = false,
|
@@ -1000,13 +1006,13 @@ const MultiSelect = ({
|
|
1000
1006
|
handleOptionChange(option, false);
|
1001
1007
|
};
|
1002
1008
|
const handleKeyEnter = e => {
|
1003
|
-
if (acceptNewOption && e.key ===
|
1009
|
+
if (acceptNewOption && e.key === 'Enter') {
|
1004
1010
|
setInputError('');
|
1005
|
-
if (type ===
|
1011
|
+
if (type === 'email') {
|
1006
1012
|
const emailPattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
1007
1013
|
if (!emailPattern.test(searchedKeyword)) {
|
1008
1014
|
setIsOpen(false);
|
1009
|
-
setInputError(
|
1015
|
+
setInputError('Please enter a valid email address.');
|
1010
1016
|
return;
|
1011
1017
|
}
|
1012
1018
|
}
|
@@ -1038,6 +1044,15 @@ const MultiSelect = ({
|
|
1038
1044
|
});
|
1039
1045
|
}
|
1040
1046
|
};
|
1047
|
+
const handleSearch = e => {
|
1048
|
+
if (!isOpen) {
|
1049
|
+
setIsOpen(true);
|
1050
|
+
}
|
1051
|
+
const input = e.target.value;
|
1052
|
+
setSearchedKeyword(input);
|
1053
|
+
const filteredOptions = options.filter(option => option.value?.toLowerCase().includes(input.toLowerCase()));
|
1054
|
+
onSearch?.(input, filteredOptions.length);
|
1055
|
+
};
|
1041
1056
|
useEffect(() => {
|
1042
1057
|
if (isOpen) {
|
1043
1058
|
calculatePosition();
|
@@ -1121,13 +1136,7 @@ const MultiSelect = ({
|
|
1121
1136
|
autoComplete: "off",
|
1122
1137
|
placeholder: "search...",
|
1123
1138
|
ref: inputRef,
|
1124
|
-
onChange:
|
1125
|
-
if (!isOpen) {
|
1126
|
-
setIsOpen(true);
|
1127
|
-
}
|
1128
|
-
setSearchedKeyword(e.target.value);
|
1129
|
-
onSearch?.(e.target.value);
|
1130
|
-
},
|
1139
|
+
onChange: handleSearch,
|
1131
1140
|
onKeyDown: handleKeyEnter,
|
1132
1141
|
id: "input-ele",
|
1133
1142
|
className: "ff-select-input",
|
@@ -1173,8 +1182,8 @@ const MultiSelect = ({
|
|
1173
1182
|
});
|
1174
1183
|
};
|
1175
1184
|
|
1176
|
-
var css_248z$
|
1177
|
-
styleInject(css_248z$
|
1185
|
+
var css_248z$A = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-toaster-overlay {\n position: fixed;\n bottom: 0;\n right: 0;\n width: 100%;\n height: 100%;\n display: flex;\n pointer-events: none;\n justify-content: flex-end;\n align-items: flex-end;\n}\n.ff-toaster-overlay .ff-toaster {\n background-color: var(--drawer-footer-bg);\n display: flex;\n border-radius: 10px;\n margin: 16px;\n pointer-events: auto;\n min-width: 320px;\n max-width: 600px;\n gap: 8px;\n box-shadow: 0px 1px 4px 0px var(--toaster-boxshadow);\n animation: slideInToasterBottomRight 0.5s forwards;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container {\n padding: 8px;\n display: flex;\n border-radius: 10px;\n gap: 8px;\n width: 100%;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container::before {\n content: \"\";\n position: absolute;\n inset: 0;\n border-radius: 8px;\n padding: 1px;\n -webkit-mask: linear-gradient(var(--drawer-footer-bg) 0 0) content-box, linear-gradient(var(--drawer-footer-bg) 0 0);\n -webkit-mask-composite: xor;\n mask-composite: exclude;\n z-index: -1;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container .ff-toaster-content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n gap: 4px;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container .ff-toaster-content__title {\n max-width: 500px;\n word-wrap: break-word;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container .ff-toaster-content__message {\n max-width: 500px;\n word-wrap: break-word;\n}\n.ff-toaster-overlay .ff-toaster .ff-toaster-container .ff-toaster-content__prompt {\n margin-top: 4px;\n display: flex;\n gap: 10px;\n}\n.ff-toaster-overlay .ff-toaster--success::before {\n background: var(--toaster-success-border);\n}\n.ff-toaster-overlay .ff-toaster--warning::before {\n background: var(--toaster-warning-border);\n}\n.ff-toaster-overlay .ff-toaster--info::before {\n background: var(--toaster-info-border);\n}\n.ff-toaster-overlay .ff-toaster--danger::before, .ff-toaster-overlay .ff-toaster--confirm::before {\n background: var(--toaster-danger_confirm-border);\n}\n.ff-toaster-overlay .ff-toaster .ff-close-icon-wrapper {\n box-sizing: border-box;\n cursor: pointer;\n height: fit-content;\n width: fit-content;\n border-radius: 8px;\n padding: 8px;\n background: var(--toast-close-icon-wrapper-bg);\n margin-left: auto;\n}\n.ff-toaster-overlay.exiting {\n animation: slideOutToasterBottomRight 0.5s forwards;\n}\n\n@keyframes slideOutToasterBottomRight {\n from {\n transform: translateX(0%);\n }\n to {\n transform: translateX(100%);\n }\n}\n@keyframes slideInToasterBottomRight {\n from {\n transform: translateX(100%);\n }\n to {\n transform: translateX(0%);\n }\n}\n.fireflink-stories-toaster-container .fireflink-stories-toaster-container-row {\n display: flex;\n gap: 5px;\n margin: 15px;\n}";
|
1186
|
+
styleInject(css_248z$A);
|
1178
1187
|
|
1179
1188
|
const Toaster = ({
|
1180
1189
|
isOpen = false,
|
@@ -1282,8 +1291,8 @@ const Toaster = ({
|
|
1282
1291
|
}), document.body);
|
1283
1292
|
};
|
1284
1293
|
|
1285
|
-
var css_248z$
|
1286
|
-
styleInject(css_248z$
|
1294
|
+
var css_248z$z = "/* Container */\n.ff-container {\n margin-right: auto;\n margin-left: auto;\n width: 90%;\n display: grid;\n}\n\n.ff-container-fluid {\n width: 100%;\n margin-right: auto;\n margin-left: auto;\n display: grid;\n}\n\n/* Row */\n.ff-row {\n display: grid;\n grid-template-columns: repeat(12, 1fr);\n}\n\n/* Column sizes based on a 12-column layout */\n.ff-col {\n grid-column: span 12;\n}\n\n.ff-col-1 {\n grid-column: span 1;\n}\n\n.ff-col-2 {\n grid-column: span 2;\n}\n\n.ff-col-3 {\n grid-column: span 3;\n}\n\n.ff-col-4 {\n grid-column: span 4;\n}\n\n.ff-col-5 {\n grid-column: span 5;\n}\n\n.ff-col-6 {\n grid-column: span 6;\n}\n\n.ff-col-7 {\n grid-column: span 7;\n}\n\n.ff-col-8 {\n grid-column: span 8;\n}\n\n.ff-col-9 {\n grid-column: span 9;\n}\n\n.ff-col-10 {\n grid-column: span 10;\n}\n\n.ff-col-11 {\n grid-column: span 11;\n}\n\n.ff-col-12 {\n grid-column: span 12;\n}\n\n@media (max-width: 768px) {\n /* Stacking columns on small screens */\n .ff-col {\n grid-column: span 12;\n }\n}";
|
1295
|
+
styleInject(css_248z$z);
|
1287
1296
|
|
1288
1297
|
const Container = ({
|
1289
1298
|
children,
|
@@ -1325,8 +1334,8 @@ const Col = ({
|
|
1325
1334
|
});
|
1326
1335
|
};
|
1327
1336
|
|
1328
|
-
var css_248z$
|
1329
|
-
styleInject(css_248z$
|
1337
|
+
var css_248z$y = ".ff--switch-container {\n position: relative;\n display: flex;\n align-items: center;\n}\n.ff--switch-container .ff--switch-checkbox {\n height: 0;\n width: 0;\n display: none;\n}\n.ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button {\n right: -1px;\n border: 1px solid var(--brand-color);\n background: var(--toggle-button-bg-color);\n transition: all 0.3s;\n box-shadow: 0px 0px 2px 0px var(--toggle-strip-shadow);\n}\n.ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label .ff--switch-button .ff-checked-icon--primary svg path {\n fill: var(--brand-color);\n}\n.ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label--primary {\n background: var(--brand-color);\n transition: all 0.3s;\n}\n.ff--switch-container .ff--switch-checkbox:checked + .ff--switch-label:disabled {\n cursor: default;\n color: var(--disable-color);\n background: var(--disable-color);\n}\n.ff--switch-container .ff--switch-checkbox:disabled {\n cursor: no-drop;\n}\n.ff--switch-container .ff--switch-label {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n border-radius: 8px;\n position: relative;\n background: var(--toggle-strip-color);\n transition: all 0.3s;\n}\n.ff--switch-container .ff--switch-label--disabled {\n opacity: 0.5;\n cursor: no-drop;\n}\n.ff--switch-container .ff--switch-label .ff--switch-button {\n position: absolute;\n left: 0;\n border: 1px solid var(--toggle-strip-color);\n display: flex;\n background: var(--toggle-button-bg-color);\n border-radius: 50%;\n box-shadow: 0px 0px 2px 0px var(--toggle-strip-shadow);\n transition: all 0.3s;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n}\n.ff--switch-container .ff--switch-label .ff--switch-button .ff-unchecked-icon--primary svg path {\n fill: var(--toggle-disable-icon-color);\n}\n.ff--switch-container .default--small {\n width: 24px;\n height: 10px;\n}\n.ff--switch-container .default--small .ff--switch-button {\n width: 16px;\n height: 16px;\n transform: translateX(0);\n}\n.ff--switch-container .default--small .ff--switch-button.checked {\n transform: translateX(10px);\n}\n.ff--switch-container .default--medium {\n width: 32px;\n height: 14px;\n}\n.ff--switch-container .default--medium .ff--switch-button {\n width: 20px;\n height: 20px;\n transform: translateX(0);\n}\n.ff--switch-container .default--medium .ff--switch-button.checked {\n transform: translateX(14px);\n}\n.ff--switch-container .default--large {\n width: 40px;\n height: 16px;\n}\n.ff--switch-container .default--large .ff--switch-button {\n width: 24px;\n height: 24px;\n transform: translateX(0);\n}\n.ff--switch-container .default--large .ff--switch-button.checked {\n transform: translateX(16px);\n}";
|
1338
|
+
styleInject(css_248z$y);
|
1330
1339
|
|
1331
1340
|
const Toggle = ({
|
1332
1341
|
onChange,
|
@@ -1404,8 +1413,8 @@ const Toggle = ({
|
|
1404
1413
|
});
|
1405
1414
|
};
|
1406
1415
|
|
1407
|
-
var css_248z$
|
1408
|
-
styleInject(css_248z$
|
1416
|
+
var css_248z$x = ":root {\n --tooltip-bg-color: #1e161f;\n --status-approved-text-color: #016102;\n --status-warning-text-color: #ff8b00;\n --status-rejected-text-color: #c60202;\n --status-skipped-text-color: #3c3838;\n --status-approved-bg-color: #c6efcd;\n --status-rejected-bg-color: #f7d9d9;\n --status-warning-bg-color: #fae2c6;\n --status-skipped-bg-color: #c4c3c3;\n --brand-color: #71347b;\n --icons-default-color: #71347b;\n --default-icon-color: #a3a3a3;\n --default-color: #747474;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --system-color--error: #c50303;\n --hover-color: #f7ebff;\n --brand2-color: #610b86;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --description-text-color:#d9d9d9;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --text-color: #1e161f;\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --error-light: #e42525;\n --tabs-label-default-color: tabs-label-default-color;\n --tabs-label-active-color: tabs-label-active-color;\n --tabs-border-color: tabs-border-color;\n --tabs-bg-color: tabs-bg-color;\n --tab-bg-color: tab-bg-color;\n --toggle-button-bg-color: #ffffff;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-strip-color: #cfd1e2;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --toggle-strip-color: #cfd1e2;\n --add-icon-hover-color: #431b4a;\n --arrows-button-border-color: #ded1e5;\n --arrow-button-bg-color: #ffffff;\n --text-bg-highlight:#f5fb00;\n --slider-table-color: #efe1f9;\n}\n\n@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-chip-wrapper .ff-default-chip-style {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-chip-wrapper .ff-default-chip-style--custom {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-chip-wrapper {\n display: inline-flex;\n margin: 5px;\n justify-content: center;\n align-items: center;\n}\n.ff-chip-wrapper .ff-default-chip-style {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: fit-content;\n gap: 5px;\n height: 17px;\n border-radius: 25px;\n padding: 1px 6px;\n line-height: 15px;\n border: none;\n transition: transform 0.5s ease, box-shadow 0.5s ease, padding 1s ease;\n box-shadow: 1px 1px 3px 0px #575757 inset, -1px -1px 2px 0px #ffffff inset, 1px -1px 2px 0px #575757 inset, -1px -1px 2px 0px #575757, 1px 1px 2px 0px #ffffff;\n}\n.ff-chip-wrapper .ff-default-chip-style--fullText:hover {\n box-shadow: 1px 1px 6px 0px #575757 inset, -1px -1px 4px 0px #ffffff inset;\n padding-right: 12px;\n}\n.ff-chip-wrapper .ff-default-chip-style--primary {\n background-color: #f9d5ff;\n color: #ffffff;\n color: #1e161f;\n}\n.ff-chip-wrapper .ff-default-chip-style--success {\n background-color: #079455;\n color: #ffffff;\n}\n.ff-chip-wrapper .ff-default-chip-style--error {\n background-color: #e42525;\n color: #ffffff;\n}\n.ff-chip-wrapper .ff-default-chip-style--warning {\n background-color: #f79009;\n color: #ffffff;\n}\n.ff-chip-wrapper .ff-default-chip-style--custom {\n background: rgba(97, 11, 134, 0.1019607843);\n color: #610b86;\n padding: 2px 8px;\n border-radius: 12px;\n cursor: pointer;\n white-space: nowrap;\n box-shadow: none;\n transition: background-color 0.3s ease, color 0.3s ease;\n}\n.ff-chip-wrapper .ff-default-chip-style--custom:hover {\n background-color: #610b86;\n color: #fdfaff;\n}";
|
1417
|
+
styleInject(css_248z$x);
|
1409
1418
|
|
1410
1419
|
const Chip = ({
|
1411
1420
|
label = '',
|
@@ -1434,8 +1443,8 @@ const Chip = ({
|
|
1434
1443
|
});
|
1435
1444
|
};
|
1436
1445
|
|
1437
|
-
var css_248z$
|
1438
|
-
styleInject(css_248z$
|
1446
|
+
var css_248z$w = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-input-container .ff-input, .ff-input-container .ff-input-label-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-input-container:focus-within .ff-input-label-container, .ff-input-container:focus-within .ff-input::placeholder, .ff-input-container:focus-within .ff-input-label-container::placeholder, .ff-input-container .ff-input-message, .ff-input-container--float .ff-input-label-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-input-container {\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.ff-input-container .ff-input, .ff-input-container .ff-input-label-container {\n padding: 6px 8px;\n border: 1px solid var(--input-default-border-color);\n border-radius: 4px;\n outline: none;\n line-height: 18px;\n}\n.ff-input-container .ff-input:disabled, .ff-input-container .ff-input-label-container:disabled {\n cursor: not-allowed;\n}\n.ff-input-container .ff-input::placeholder, .ff-input-container .ff-input-label-container::placeholder {\n opacity: 0;\n line-height: 18px;\n}\n.ff-input-container .ff-input--disabled {\n background: transparent;\n border-color: var(--input-default-border-color);\n}\n.ff-input-container .ff-input--danger {\n border-color: var(--input-error-text-color);\n}\n.ff-input-container .ff-input--transparentBackground {\n background: transparent;\n}\n.ff-input-container .ff-input--no-border {\n border: none;\n}\n.ff-input-container .ff-input-label-container {\n display: flex;\n gap: 2px;\n position: absolute;\n border: none;\n outline: none;\n line-height: 18px;\n margin-top: 1px;\n transition: all 0.3s ease-in-out;\n}\n.ff-input-container .ff-input-label-container .ff-input-label {\n color: var(--input-default-label-color);\n}\n.ff-input-container .ff-input-label-container .ff-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-input-container .ff-input-label-container .ff-input-label--disabled {\n color: var(--input-default-border-color);\n background-color: var(--input-label-bg-color);\n}\n.ff-input-container .ff-input-label-container .required-asterisk {\n color: var(--input-error-text-color);\n}\n.ff-input-container:hover .ff-input-label {\n color: var(--input-hover-border-color);\n}\n.ff-input-container:hover .ff-input-label--no-hover {\n color: var(--input-default-label-color);\n}\n.ff-input-container:hover .ff-input-label--disabled {\n color: var(--input-default-border-color);\n}\n.ff-input-container:hover .ff-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-input-container:hover .ff-input, .ff-input-container:hover .ff-input-label-container {\n border-color: var(--input-hover-border-color);\n}\n.ff-input-container:hover .ff-input--no-hover {\n border-color: var(--input-default-border-color);\n}\n.ff-input-container:hover .ff-input--disabled {\n background: transparent;\n border-color: var(--input-default-border-color);\n}\n.ff-input-container:hover .ff-input--danger {\n border-color: var(--input-error-text-color);\n}\n.ff-input-container:focus-within .ff-input-label-container {\n top: -6px;\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.ff-input-container:focus-within .ff-input-label--primary {\n color: var(--brand-color);\n}\n.ff-input-container:focus-within .ff-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-input-container:focus-within .ff-input--primary {\n border-color: var(--brand-color);\n}\n.ff-input-container:focus-within .ff-input--danger {\n border-color: var(--input-error-text-color);\n}\n.ff-input-container:focus-within .ff-input::placeholder, .ff-input-container:focus-within .ff-input-label-container::placeholder {\n opacity: 1;\n margin-bottom: 1px;\n}\n.ff-input-container .ff-input-message {\n padding: 0px 4px;\n margin-left: 8px;\n line-height: 12px;\n}\n.ff-input-container .ff-input-message--danger {\n color: var(--input-error-text-color);\n}\n.ff-input-container--float .ff-input-label-container {\n top: -6px;\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0px 2px;\n margin-left: 10px;\n}\n.ff-input-container--float--disabled {\n cursor: not-allowed;\n}\n.ff-input-container--float--disabled .ff-input-label-container {\n cursor: not-allowed;\n}";
|
1447
|
+
styleInject(css_248z$w);
|
1439
1448
|
|
1440
1449
|
const Input = ({
|
1441
1450
|
type = 'text',
|
@@ -1512,8 +1521,8 @@ const Input = ({
|
|
1512
1521
|
});
|
1513
1522
|
};
|
1514
1523
|
|
1515
|
-
var css_248z$
|
1516
|
-
styleInject(css_248z$
|
1524
|
+
var css_248z$v = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-radial-chart-container svg text {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-radial-chart-container {\n cursor: pointer;\n}\n.ff-radial-chart-container svg text {\n font-size: var(--fontSize) !important;\n font-weight: 400;\n}";
|
1525
|
+
styleInject(css_248z$v);
|
1517
1526
|
|
1518
1527
|
const useColorMappings$1 = () => useMemo(() => {
|
1519
1528
|
return {
|
@@ -1532,7 +1541,7 @@ const useColorMappings$1 = () => useMemo(() => {
|
|
1532
1541
|
};
|
1533
1542
|
}, []);
|
1534
1543
|
// Function to generate SVG arc paths
|
1535
|
-
const calculateArc$
|
1544
|
+
const calculateArc$3 = ({
|
1536
1545
|
x,
|
1537
1546
|
y,
|
1538
1547
|
radius,
|
@@ -1547,9 +1556,9 @@ const calculateArc$1 = ({
|
|
1547
1556
|
return `M ${startX} ${startY} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${endX} ${endY}`;
|
1548
1557
|
};
|
1549
1558
|
// Function to calculate arc paths and angles
|
1550
|
-
const calculateArcAngles = (statusValue, total, currentAngle, radius) => {
|
1559
|
+
const calculateArcAngles$1 = (statusValue, total, currentAngle, radius) => {
|
1551
1560
|
if (total === 0) {
|
1552
|
-
const backgroundArcPath = calculateArc$
|
1561
|
+
const backgroundArcPath = calculateArc$3({
|
1553
1562
|
x: 0,
|
1554
1563
|
y: 0,
|
1555
1564
|
radius,
|
@@ -1572,14 +1581,14 @@ const calculateArcAngles = (statusValue, total, currentAngle, radius) => {
|
|
1572
1581
|
startAngle = 0;
|
1573
1582
|
endAngle = 2 * Math.PI;
|
1574
1583
|
}
|
1575
|
-
const backgroundArcPath = calculateArc$
|
1584
|
+
const backgroundArcPath = calculateArc$3({
|
1576
1585
|
x: 0,
|
1577
1586
|
y: 0,
|
1578
1587
|
radius,
|
1579
1588
|
startAngle: 0,
|
1580
1589
|
endAngle: 2 * Math.PI
|
1581
1590
|
});
|
1582
|
-
const foregroundArcPath = calculateArc$
|
1591
|
+
const foregroundArcPath = calculateArc$3({
|
1583
1592
|
x: 0,
|
1584
1593
|
y: 0,
|
1585
1594
|
radius,
|
@@ -1620,7 +1629,7 @@ const RadialChart = ({
|
|
1620
1629
|
backgroundArcPath,
|
1621
1630
|
foregroundArcPath,
|
1622
1631
|
percentage
|
1623
|
-
} = calculateArcAngles(status.value, total, currentAngle, radius);
|
1632
|
+
} = calculateArcAngles$1(status.value, total, currentAngle, radius);
|
1624
1633
|
currentAngle = endAngle;
|
1625
1634
|
return jsx("svg", {
|
1626
1635
|
width: svgSize,
|
@@ -1655,8 +1664,8 @@ const RadialChart = ({
|
|
1655
1664
|
});
|
1656
1665
|
};
|
1657
1666
|
|
1658
|
-
var css_248z$
|
1659
|
-
styleInject(css_248z$
|
1667
|
+
var css_248z$u = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-expandable-chip-menu--medium, .ff-expandable-chip-menu .ff-sub-chip--medium {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-expandable-chip-menu {\n display: inline-flex;\n gap: 16px;\n align-items: center;\n border-radius: 16px;\n cursor: pointer;\n overflow: hidden;\n width: auto;\n padding: 4px 8px;\n transition: all 0.3s ease;\n}\n.ff-expandable-chip-menu--primary {\n border: 0.5px solid var(--brand-color);\n background-color: var(--expandable-menu-default-bg);\n}\n.ff-expandable-chip-menu .ff-label-chip {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n white-space: nowrap;\n padding: 2px 0;\n}\n.ff-expandable-chip-menu .ff-label-chip .arrow-icon {\n height: 14px;\n width: 14px;\n display: grid;\n place-items: center;\n}\n.ff-expandable-chip-menu .ff-label-chip--primary {\n color: var(--brand-color);\n}\n.ff-expandable-chip-menu--disabled {\n opacity: 0.5;\n}\n.ff-expandable-chip-menu--disabled:disabled {\n pointer-events: none;\n}\n.ff-expandable-chip-menu--medium {\n line-height: 18px;\n}\n.ff-expandable-chip-menu .ff-sub-chips {\n display: flex;\n gap: 8px;\n max-width: 500px;\n overflow-x: auto;\n -ms-overflow-style: none;\n transform: scaleX(0);\n transform-origin: left;\n transition: transform 0.3s ease, opacity 0.3s ease;\n opacity: 0;\n}\n.ff-expandable-chip-menu .ff-sub-chips::-webkit-scrollbar {\n display: none;\n}\n.ff-expandable-chip-menu.expanded .ff-sub-chips {\n transform: scaleX(1);\n opacity: 1;\n}\n.ff-expandable-chip-menu .ff-sub-chip {\n padding: 2px 8px;\n border-radius: 12px;\n white-space: nowrap;\n transition: background-color 0.3s ease, color 0.3s ease;\n opacity: 0;\n transform: translateX(-10px);\n animation: fadeIn 0.5s ease forwards;\n}\n.ff-expandable-chip-menu .ff-sub-chip--primary {\n background: var(--expandable-menu-option-bg);\n color: var(--brand-color);\n}\n.ff-expandable-chip-menu .ff-sub-chip--primary:hover, .ff-expandable-chip-menu .ff-sub-chip--primary.selected {\n background-color: var(--brand-color);\n color: var(--expandable-menu-default-bg);\n}\n.ff-expandable-chip-menu .ff-sub-chip--medium {\n line-height: 18px;\n}\n@keyframes fadeIn {\n 0% {\n opacity: 0;\n transform: translateX(-10px);\n }\n 100% {\n opacity: 1;\n transform: translateX(0);\n }\n}\n.ff-expandable-chip-menu.expanded .ff-sub-chip {\n animation: fadeIn 0.5s ease forwards;\n}";
|
1668
|
+
styleInject(css_248z$u);
|
1660
1669
|
|
1661
1670
|
const ExpandableMenu = ({
|
1662
1671
|
label = '',
|
@@ -1745,8 +1754,8 @@ const useClickOutside = (ref, callback, ignoreRefs = []) => {
|
|
1745
1754
|
}, [ref, callback, ignoreRefs]);
|
1746
1755
|
};
|
1747
1756
|
|
1748
|
-
var css_248z$
|
1749
|
-
styleInject(css_248z$
|
1757
|
+
var css_248z$t = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-select-dropdown-wrapper .ff-select-options-wrapper {\n max-height: 160px;\n z-index: 100;\n position: absolute;\n min-width: 100px;\n border: 1px solid var(--ff-select-option-border-color);\n box-sizing: border-box;\n margin-top: 4px;\n border-radius: 4px;\n background-color: var(--ff-select-background-color);\n box-shadow: 0px 1px 4px 0px var(--ff-select-option-wrapper-box-shadow);\n overflow: hidden auto;\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper::-webkit-scrollbar {\n width: 4px;\n height: 12px;\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper::-webkit-scrollbar-thumb {\n background-color: var(--ff-select-scroll-thumb-color);\n border-radius: 4px;\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper::-webkit-scrollbar-track {\n background-color: transparent;\n border-radius: 4px;\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper .ff-select-option {\n width: calc(100% - 18px);\n border: 1px solid transparent;\n border-radius: 4px;\n padding: 0px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper .ff-select-option:hover {\n border-color: var(--ff-select-background-color);\n background-color: var(--ff-select-option-hover-color);\n}\n.ff-select-dropdown-wrapper .ff-select-options-wrapper .ff-select-no-option {\n width: calc(100% - 16px);\n margin: 0;\n overflow: hidden;\n padding: 0px 8px;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: not-allowed;\n}";
|
1758
|
+
styleInject(css_248z$t);
|
1750
1759
|
|
1751
1760
|
const ffid = () => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, char => ((char === 'x' ? Math.random() * 16 : Math.random() * 16 & 0x3 | 0x8) | 0).toString(16));
|
1752
1761
|
|
@@ -1824,8 +1833,8 @@ const Dropdown$1 = ({
|
|
1824
1833
|
});
|
1825
1834
|
};
|
1826
1835
|
|
1827
|
-
var css_248z$
|
1828
|
-
styleInject(css_248z$
|
1836
|
+
var css_248z$s = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-select-wrapper .ff-select, .ff-select-wrapper .ff-select-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-select-wrapper .ff-select-fieldset .ff-select-legend, .ff-select-wrapper .ff-select-label--active {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-select-wrapper {\n position: relative;\n}\n.ff-select-wrapper .ff-select {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n min-height: 32px;\n min-width: 100px;\n display: flex;\n align-items: end;\n position: relative;\n}\n.ff-select-wrapper .ff-select-fieldset {\n margin: 0;\n padding: 25px 0px 0px 8px;\n border: 1px solid transparent;\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n border-radius: 4px;\n display: block;\n}\n.ff-select-wrapper .ff-select-fieldset--border-radius {\n border-radius: 0px 4px 4px 0px;\n}\n.ff-select-wrapper .ff-select-fieldset--no-label {\n padding: 30px 0px 0px 8px;\n}\n.ff-select-wrapper .ff-select-fieldset--default {\n opacity: 0;\n border-color: var(--ff-select-border-color);\n}\n.ff-select-wrapper .ff-select-fieldset--active {\n opacity: 1;\n border-color: var(--ff-select-brand-color);\n}\n.ff-select-wrapper .ff-select-fieldset--option {\n opacity: 1;\n}\n.ff-select-wrapper .ff-select-fieldset--no-border {\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-fieldset--error {\n border-color: var(--error-light);\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend {\n padding: 0 2px;\n letter-spacing: 0.5px;\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend--default {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 0;\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend--active {\n transition: opacity 0.25s ease-out, transform 0.25s ease-out, font-size 0.25s ease-out, padding 0.25s ease-out;\n opacity: 1;\n color: var(--ff-select-brand-color);\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend--option {\n opacity: 1;\n color: var(--ff-select-default-color);\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend--error {\n color: var(--error-light);\n}\n.ff-select-wrapper .ff-select-fieldset .ff-select-legend--required {\n margin-right: 2px;\n}\n.ff-select-wrapper .ff-select-input {\n position: absolute;\n top: 6px;\n right: auto;\n bottom: auto;\n left: auto;\n width: calc(100% - 38px);\n min-height: calc(100% - 8px);\n padding: 0 28px 0 8px;\n border-radius: 4px;\n border: 1px solid transparent;\n z-index: 100;\n background: transparent;\n outline: none;\n color: var(--ff-select-text-color);\n}\n.ff-select-wrapper .ff-select-input:hover ~ .ff-select-label {\n color: var(--ff-select-text-hover-color);\n}\n.ff-select-wrapper .ff-select-input--border-radius {\n border-radius: 0px 4px 4px 0px;\n}\n.ff-select-wrapper .ff-select-input--default {\n opacity: 1;\n border-color: var(--ff-select-border-color);\n}\n.ff-select-wrapper .ff-select-input--default:hover {\n border-color: var(--ff-select-text-color);\n}\n.ff-select-wrapper .ff-select-input--default:hover ~ .ff-select-fieldset--option {\n border-color: var(--ff-select-text-color);\n}\n.ff-select-wrapper .ff-select-input--default:hover ~ .ff-select-fieldset--option .ff-select-legend--option {\n color: var(--ff-select-text-color);\n}\n.ff-select-wrapper .ff-select-input--no-label {\n min-height: calc(100% - 2px);\n margin-top: 0px;\n top: 0px;\n}\n.ff-select-wrapper .ff-select-input--active {\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-input--active:hover {\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-input--no-border {\n border: none;\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-input--no-border:hover {\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-input--no-border:hover ~ .ff-select-fieldset--no-border {\n border-color: transparent;\n}\n.ff-select-wrapper .ff-select-input--disable {\n border-color: var(--ff-select-border-color);\n}\n.ff-select-wrapper .ff-select-input--disable:hover {\n border-color: var(--ff-select-border-color);\n}\n.ff-select-wrapper .ff-select-input--disable:hover ~ .ff-select-label--default {\n color: var(--ff-select-default-color);\n}\n.ff-select-wrapper .ff-select-input--error {\n border-color: var(--error-light);\n}\n.ff-select-wrapper .ff-select-input--error:hover {\n border-color: var(--error-light);\n}\n.ff-select-wrapper .ff-select-label {\n position: absolute;\n top: 13px;\n right: auto;\n bottom: auto;\n left: 8px;\n z-index: 1;\n font-size: 12px;\n top: 60%;\n padding-left: 8px;\n}\n.ff-select-wrapper .ff-select-label--default {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 1;\n color: var(--ff-select-default-color);\n transform: translateY(-50%);\n}\n.ff-select-wrapper .ff-select-label--active {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 0;\n transform: translateY(-150%);\n padding: 0 6px;\n}\n.ff-select-wrapper .ff-select-label--required {\n margin-right: 2px;\n}\n.ff-select-wrapper .ff-select-arrow {\n position: absolute;\n top: 60%;\n height: 100%;\n right: 10px;\n transform: rotateX(180deg) translateY(50%);\n cursor: pointer;\n}\n.ff-select-wrapper .ff-select-arrow--no-label {\n top: 50%;\n}\n.ff-select-wrapper .ff-select-arrow--down {\n transform: rotateX(0deg) translateY(-50%);\n z-index: 101;\n}\n.ff-select-wrapper-error-text {\n position: absolute;\n top: auto;\n right: auto;\n bottom: -14px;\n left: 12px;\n white-space: nowrap;\n}";
|
1837
|
+
styleInject(css_248z$s);
|
1829
1838
|
|
1830
1839
|
const portalPosition = {
|
1831
1840
|
positionX: 0,
|
@@ -2186,8 +2195,8 @@ const Select$1 = ({
|
|
2186
2195
|
});
|
2187
2196
|
};
|
2188
2197
|
|
2189
|
-
var css_248z$
|
2190
|
-
styleInject(css_248z$
|
2198
|
+
var css_248z$r = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-textarea-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-textarea-container .msg-character-count, .ff-textarea-container:focus-within .ff-textarea-label-container, .ff-textarea-container:focus-within .ff-textarea::placeholder, .ff-textarea-container:focus-within .ff-textarea-label-container::placeholder, .ff-textarea-container .ff-textarea-message, .ff-textarea-container--float .ff-textarea-label-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-textarea-container {\n display: flex;\n flex-direction: column;\n position: relative;\n gap: 5px;\n}\n.ff-textarea-container .msg-character-count {\n display: flex;\n color: var(--text-area-default-color);\n justify-content: flex-end;\n}\n.ff-textarea-container .ff-textarea, .ff-textarea-container .ff-textarea-label-container {\n padding: 8px;\n width: 100%;\n min-height: 80px;\n gap: 0px;\n border: 1px solid var(--default-icon-color);\n border-radius: 4px;\n outline: none;\n line-height: 18px;\n font-weight: 400;\n}\n.ff-textarea-container .ff-textarea--resize {\n resize: none;\n}\n.ff-textarea-container .ff-textarea:disabled, .ff-textarea-container .ff-textarea-label-container:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.ff-textarea-container .ff-textarea:disabled:hover, .ff-textarea-container .ff-textarea-label-container:disabled:hover {\n border-color: var(--default-icon-color);\n color: inherit;\n}\n.ff-textarea-container .ff-textarea::placeholder, .ff-textarea-container .ff-textarea-label-container::placeholder {\n opacity: 0;\n}\n.ff-textarea-container .ff-textarea--danger {\n border-color: var(--error_light);\n}\n.ff-textarea-container .ff-textarea--transparentBackground {\n background: transparent;\n}\n.ff-textarea-container .ff-textarea-label-container {\n display: flex;\n position: absolute;\n border: none;\n outline: none;\n margin-top: 1px;\n transition: all 0.3s ease-in-out;\n}\n.ff-textarea-container .ff-textarea-label-container .ff-textarea-label {\n padding: 1px;\n height: 10px;\n width: auto;\n background-color: var(--drawer-footer-bg);\n color: var(--text-area-default-color);\n}\n.ff-textarea-container .ff-textarea-label-container .ff-textarea-label--danger {\n color: var(--error_light);\n}\n.ff-textarea-container .ff-textarea-label-container .required-asterisk {\n color: var(--error_light);\n}\n.ff-textarea-container:hover .ff-textarea-label {\n color: var(--text-color);\n}\n.ff-textarea-container:hover .ff-textarea, .ff-textarea-container:hover .ff-textarea-label-container {\n border-color: var(--text-color);\n}\n.ff-textarea-container:focus-within .ff-textarea-label-container {\n font-weight: 400;\n line-height: 12px;\n letter-spacing: 0.5px;\n text-align: left;\n top: -6px;\n background-color: transparent;\n padding: 0px 2px;\n margin-left: 7px;\n}\n.ff-textarea-container:focus-within .ff-textarea-label--primary {\n color: var(--brand-color);\n}\n.ff-textarea-container:focus-within .ff-textarea--primary {\n border-color: var(--brand-color);\n}\n.ff-textarea-container:focus-within .ff-textarea::placeholder, .ff-textarea-container:focus-within .ff-textarea-label-container::placeholder {\n opacity: 1;\n margin-bottom: 1px;\n}\n.ff-textarea-container .ff-textarea-message {\n padding: 0px 4px;\n margin-left: 8px;\n line-height: 12px;\n}\n.ff-textarea-container .ff-textarea-message--danger {\n color: var(--error_light);\n}\n.ff-textarea-container--float .ff-textarea-label-container {\n letter-spacing: 0.5px;\n top: -6px;\n background-color: transparent;\n line-height: 12px;\n padding: 0px 2px;\n margin-left: 7px;\n}\n.ff-textarea-container--disabled {\n cursor: not-allowed;\n}\n.ff-textarea-container--disabled:hover .ff-textarea-label {\n color: var(--text-area-default-color);\n}\n.ff-textarea-container--disabled:hover .ff-textarea, .ff-textarea-container--disabled:hover .ff-textarea-container .ff-textarea-label-container, .ff-textarea-container .ff-textarea-container--disabled:hover .ff-textarea-label-container {\n border-color: var(--default-icon-color);\n}\n.ff-textarea-container--disabled .ff-textarea-label-container {\n cursor: not-allowed;\n}";
|
2199
|
+
styleInject(css_248z$r);
|
2191
2200
|
|
2192
2201
|
const truncateText = (text, maxLength) => {
|
2193
2202
|
if (!text || maxLength <= 0) return '';
|
@@ -2262,8 +2271,8 @@ const Textarea = ({
|
|
2262
2271
|
});
|
2263
2272
|
};
|
2264
2273
|
|
2265
|
-
var css_248z$
|
2266
|
-
styleInject(css_248z$
|
2274
|
+
var css_248z$q = ".ff-status-button {\n border: none;\n border-radius: 4px;\n padding: 0 4px;\n cursor: pointer;\n width: 76px;\n height: 16px;\n}\n.ff-status-button__text {\n color: inherit;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 76px;\n text-transform: capitalize;\n}\n.ff-status-button--passed {\n background-color: var(--status-button-bg-passed);\n color: var(--status-button-text-passed);\n}\n.ff-status-button--failed {\n background-color: var(--status-button-bg-failed);\n color: var(--status-button-text-failed);\n}\n.ff-status-button--running {\n background-color: var(--status-button-bg-running);\n color: var(--status-button-text-running);\n}\n.ff-status-button--skipped {\n background-color: var(--status-button-bg-skipped);\n color: var(--status-button-text-skipped);\n}\n.ff-status-button--warning {\n background-color: var(--status-button-bg-warning);\n color: var(--status-button-text-warning);\n}\n.ff-status-button--terminated {\n background-color: var(--status-button-bg-terminated);\n color: var(--status-button-text-terminated);\n}\n.ff-status-button--partially-executed {\n background-color: var(--status-button-bg-partiallyExecuted);\n color: var(--status-button-text-partiallyExecuted);\n}\n.ff-status-button--aborted {\n background-color: var(--status-button-bg-aborted);\n color: var(--status-button-text-aborted);\n}\n.ff-status-button--not-executed {\n background-color: var(--status-button-bg-notExecuted);\n color: var(--status-button-text-notExecuted);\n}\n.ff-status-button:disabled {\n opacity: 50%;\n cursor: not-allowed;\n}";
|
2275
|
+
styleInject(css_248z$q);
|
2267
2276
|
|
2268
2277
|
const StatusButton = ({
|
2269
2278
|
status = 'passed',
|
@@ -2291,8 +2300,8 @@ const StatusButton = ({
|
|
2291
2300
|
});
|
2292
2301
|
};
|
2293
2302
|
|
2294
|
-
var css_248z$
|
2295
|
-
styleInject(css_248z$
|
2303
|
+
var css_248z$p = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-menu-option-container .ff-option-card .ff-options {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-menu-option-container {\n cursor: pointer;\n position: relative;\n}\n.ff-menu-option-container .ff-icon-label {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container {\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container:hover {\n background-color: var(--hover-color);\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container-clicked {\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: var(--brand-color);\n cursor: pointer;\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container-clicked:hover {\n background-color: var(--brand-color);\n}\n.ff-menu-option-container .ff-option-card {\n position: absolute;\n border: 1px solid var(--option-card-border-color);\n background: var(--option-card-bg-color);\n border-radius: 4px;\n margin: 2px;\n min-height: 32px;\n min-width: 111px;\n z-index: 100000;\n white-space: nowrap;\n}\n.ff-menu-option-container .ff-option-card .ff-options {\n cursor: pointer;\n border-radius: 4px;\n display: flex;\n align-items: center;\n padding: 8px;\n line-height: 16px;\n gap: 8px;\n}\n.ff-menu-option-container .ff-option-card .ff-options:hover {\n background-color: var(--hover-color);\n}\n.ff-menu-option-container .ff-option-card .ff-options label {\n cursor: pointer;\n}\n.ff-menu-option-container .ff-option-card .ff-disable-option {\n opacity: 0.5;\n cursor: no-drop;\n}\n.ff-menu-option-container .ff-option-card .ff-disable-option label {\n cursor: no-drop;\n}";
|
2304
|
+
styleInject(css_248z$p);
|
2296
2305
|
|
2297
2306
|
const Option$1 = ({
|
2298
2307
|
option,
|
@@ -2413,8 +2422,8 @@ const MenuOption = ({
|
|
2413
2422
|
});
|
2414
2423
|
};
|
2415
2424
|
|
2416
|
-
var css_248z$
|
2417
|
-
styleInject(css_248z$
|
2425
|
+
var css_248z$o = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-table tbody tr td {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd, .ff-table thead tr th {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-fixed-header-table {\n overflow-y: auto;\n}\n\n.ff-table th,\n.ff-table td {\n text-align: left;\n font-size: 12px;\n padding: 9px 8px;\n}\n.ff-table thead tr th {\n color: var(--text-color);\n border-bottom: 1px solid var(--slider-table-color);\n text-transform: uppercase;\n}\n.ff-table thead tr th:first-child div {\n display: flex;\n align-items: center;\n}\n.ff-table thead tr th:first-child div .ff-table-checkbox {\n padding-right: 8px;\n}\n.ff-table tbody tr .action-column {\n opacity: 0;\n}\n.ff-table tbody tr .icon-container {\n padding-left: 10px;\n opacity: 0;\n display: flex;\n justify-content: flex-end;\n transition: opacity 0.3s ease, transform 0.3s ease;\n transform: translateX(20px);\n}\n.ff-table tbody tr:hover {\n background-color: var(--hover-color);\n}\n.ff-table tbody tr:hover .icon-container {\n opacity: 1;\n transform: translateX(0);\n}\n.ff-table tbody tr td {\n position: relative;\n color: var(--text-color);\n}\n.ff-table tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.ff-table tbody tr td:first-child div {\n display: flex;\n align-items: center;\n}\n.ff-table tbody tr td:first-child div .ff-table-checkbox {\n padding-right: 8px;\n}\n.ff-table .primary-bg {\n background-color: var(--brand-color);\n}\n.ff-table .secondary-bg {\n background-color: var(--slider-table-color);\n}\n.ff-table .default-bg {\n background-color: transparent;\n}\n\n.border-borderRadius {\n border: 1px solid var(--slider-table-color);\n border-radius: 5px;\n border-collapse: none !important;\n}\n\n.ff-fixed-header {\n position: sticky !important;\n top: 0;\n z-index: 99;\n background-color: Var(--file-details-bg);\n}\n\n.no-data-content {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\ntbody tr.disabled-row {\n opacity: 0.5;\n cursor: not-allowed;\n}";
|
2426
|
+
styleInject(css_248z$o);
|
2418
2427
|
|
2419
2428
|
const isFunction$1 = functionToCheck => {
|
2420
2429
|
return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';
|
@@ -2462,18 +2471,68 @@ const prepareData = (dataObj, columnObj) => {
|
|
2462
2471
|
}
|
2463
2472
|
};
|
2464
2473
|
|
2474
|
+
var css_248z$n = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-checkbox--overlay {\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n cursor: pointer;\n position: relative;\n}\n.ff-checkbox--overlay .ff-checkbox-input {\n display: none;\n}\n.ff-checkbox--overlay .ff-checkbox-custom {\n width: 16px;\n height: 16px;\n border: 1px solid var(--checkbox-border-color);\n box-sizing: border-box;\n border-radius: 2px;\n margin-right: 8px;\n background-color: var(--checkbox-bg-color);\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n transition: border-color background-color;\n}\n.ff-checkbox--overlay .ff-checkbox-custom::before {\n content: \"\";\n width: 9px;\n height: 2px;\n background-color: var(--checkbox-partial-color);\n border-radius: 2px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) rotate(180deg);\n opacity: 0;\n transition: border-color background-color;\n}\n.ff-checkbox--overlay .ff-checkbox-custom::after {\n content: \"\";\n width: 16px;\n height: 16px;\n border: 4px solid var(--checkbox-hover-color);\n border-radius: 4px;\n position: absolute;\n opacity: 0;\n background-color: var(--checkbox-hover-color);\n z-index: -1;\n transition: border-color background-color;\n}\n.ff-checkbox--overlay .ff-checkbox-custom:hover {\n border-color: var(--brand-color);\n}\n.ff-checkbox--overlay .ff-checkbox-custom:hover::after {\n opacity: 1;\n}\n.ff-checkbox--overlay .ff-checkbox-input:checked + .ff-checkbox-custom {\n background: var(--brand-color);\n border-color: var(--brand-color);\n}\n.ff-checkbox--overlay .ff-checkbox-input:checked:hover + .ff-checkbox-custom {\n background: var(--brand-color);\n}\n.ff-checkbox--overlay .ff-checkbox-input:checked:hover + .ff-checkbox-custom::after {\n opacity: 1;\n}\n.ff-checkbox--overlay .ff-checkbox-input:disabled + .ff-checkbox-custom {\n opacity: 0.5;\n cursor: not-allowed;\n border: 1px solid var(--checkbox-border-color);\n}\n.ff-checkbox--overlay .ff-checkbox-input:disabled + .ff-checkbox-custom::after {\n opacity: 0;\n}\n.ff-checkbox--overlay .ff-storybook-checkbox--partial {\n background-color: var(--brand-color);\n border: none;\n}\n.ff-checkbox--overlay .ff-storybook-checkbox--partial::before {\n opacity: 1;\n}\n.ff-checkbox--overlay .ff-storybook-checkbox--partial:hover {\n background-color: var(--brand-color);\n}\n.ff-checkbox--overlay .ff-storybook-checkbox--partial:hover::after {\n opacity: 1;\n}";
|
2475
|
+
styleInject(css_248z$n);
|
2476
|
+
|
2477
|
+
const Checkbox = ({
|
2478
|
+
id,
|
2479
|
+
name,
|
2480
|
+
label,
|
2481
|
+
disabled = false,
|
2482
|
+
checked: initialChecked = false,
|
2483
|
+
partial = false,
|
2484
|
+
onChange
|
2485
|
+
}) => {
|
2486
|
+
const [checked, setChecked] = useState(initialChecked);
|
2487
|
+
useEffect(() => {
|
2488
|
+
setChecked(initialChecked);
|
2489
|
+
}, [initialChecked]);
|
2490
|
+
const handleCheckboxChange = event => {
|
2491
|
+
if (!disabled) {
|
2492
|
+
setChecked(prev => !prev), onChange?.(event);
|
2493
|
+
}
|
2494
|
+
};
|
2495
|
+
return jsxs("label", {
|
2496
|
+
className: "ff-checkbox--overlay",
|
2497
|
+
htmlFor: id,
|
2498
|
+
children: [jsx("input", {
|
2499
|
+
type: "checkbox",
|
2500
|
+
className: "ff-checkbox-input",
|
2501
|
+
id: id,
|
2502
|
+
name: name,
|
2503
|
+
checked: checked,
|
2504
|
+
onChange: handleCheckboxChange,
|
2505
|
+
disabled: disabled
|
2506
|
+
}), jsx("span", {
|
2507
|
+
className: classNames('ff-checkbox-custom', {
|
2508
|
+
'ff-checkbox-checked': checked,
|
2509
|
+
'ff-storybook-checkbox--partial': partial && !checked
|
2510
|
+
}),
|
2511
|
+
children: checked && jsx(Icon, {
|
2512
|
+
name: "tick",
|
2513
|
+
height: 6,
|
2514
|
+
width: 8,
|
2515
|
+
color: "var(--primary-icon-color)"
|
2516
|
+
})
|
2517
|
+
}), jsx(Typography, {
|
2518
|
+
as: "label",
|
2519
|
+
children: label
|
2520
|
+
})]
|
2521
|
+
});
|
2522
|
+
};
|
2523
|
+
|
2465
2524
|
// import NoData from '../NoData/NoData';
|
2466
2525
|
const Table = ({
|
2467
2526
|
data = [],
|
2468
2527
|
columns = [],
|
2469
2528
|
headerType,
|
2470
|
-
|
2471
|
-
|
2472
|
-
|
2473
|
-
|
2529
|
+
withCheckbox,
|
2530
|
+
onSelect,
|
2531
|
+
allSelected,
|
2532
|
+
partialSelected = false,
|
2474
2533
|
withFixedHeader = true,
|
2475
2534
|
borderWithRadius = false,
|
2476
|
-
|
2535
|
+
headerCheckboxDisabled = false,
|
2477
2536
|
// noDataContent,
|
2478
2537
|
// noDataImage,
|
2479
2538
|
// noDataImageSize,
|
@@ -2489,7 +2548,12 @@ const Table = ({
|
|
2489
2548
|
onClick(accessor, row);
|
2490
2549
|
}
|
2491
2550
|
};
|
2492
|
-
|
2551
|
+
const onSelectClick = (e, item) => {
|
2552
|
+
if (onSelect) {
|
2553
|
+
onSelect(e, item);
|
2554
|
+
}
|
2555
|
+
};
|
2556
|
+
if (checkEmpty(data)) return null;
|
2493
2557
|
return jsx("div", {
|
2494
2558
|
style: {
|
2495
2559
|
height: height
|
@@ -2506,26 +2570,50 @@ const Table = ({
|
|
2506
2570
|
'ff-fixed-header': withFixedHeader
|
2507
2571
|
}),
|
2508
2572
|
children: jsx("tr", {
|
2509
|
-
children: columns.map(column => jsx("th", {
|
2573
|
+
children: columns.map((column, index) => jsx("th", {
|
2510
2574
|
className: headerType && `${headerType}-bg`,
|
2511
2575
|
style: {
|
2512
2576
|
width: column?.width
|
2513
2577
|
},
|
2514
|
-
children:
|
2515
|
-
children:
|
2578
|
+
children: jsxs("div", {
|
2579
|
+
children: [index === 0 && withCheckbox && jsx("span", {
|
2580
|
+
className: "ff-table-checkbox",
|
2581
|
+
children: jsx(Checkbox, {
|
2582
|
+
onChange: e => {
|
2583
|
+
onSelectClick(e, {
|
2584
|
+
allSelected: e.target.checked
|
2585
|
+
});
|
2586
|
+
},
|
2587
|
+
checked: allSelected !== undefined ? allSelected : false,
|
2588
|
+
partial: !!partialSelected,
|
2589
|
+
disabled: headerCheckboxDisabled
|
2590
|
+
})
|
2591
|
+
}), column.header]
|
2516
2592
|
})
|
2517
2593
|
}, column.header))
|
2518
2594
|
})
|
2519
2595
|
}), jsx("tbody", {
|
2520
2596
|
children: data.length > 0 && data.map((row, index) => jsx("tr", {
|
2597
|
+
className: classNames(className, {
|
2598
|
+
'disabled-row': row.disabled
|
2599
|
+
}),
|
2521
2600
|
children: columns.map((column, i) => {
|
2522
2601
|
return jsx("td", {
|
2523
2602
|
onClick: () => hanleOnclick(column, row),
|
2524
2603
|
className: classNames(column.className, {
|
2525
2604
|
'clickable-cell': column.onClick
|
2526
2605
|
}),
|
2527
|
-
children:
|
2528
|
-
children:
|
2606
|
+
children: jsxs("div", {
|
2607
|
+
children: [i === 0 && withCheckbox && jsx("span", {
|
2608
|
+
className: "ff-table-checkbox",
|
2609
|
+
children: jsx(Checkbox, {
|
2610
|
+
onChange: e => {
|
2611
|
+
onSelectClick(e, row);
|
2612
|
+
},
|
2613
|
+
checked: row.checked,
|
2614
|
+
disabled: !!row.disabled
|
2615
|
+
})
|
2616
|
+
}), prepareData(row, column)]
|
2529
2617
|
})
|
2530
2618
|
}, column.accessor + i);
|
2531
2619
|
})
|
@@ -2535,11 +2623,11 @@ const Table = ({
|
|
2535
2623
|
});
|
2536
2624
|
};
|
2537
2625
|
|
2538
|
-
var css_248z$
|
2539
|
-
styleInject(css_248z$
|
2626
|
+
var css_248z$m = ".ff-add-button-container {\n position: relative;\n border: none;\n width: 24px;\n height: 24px;\n border-radius: 4px;\n background-color: transparent;\n}\n.ff-add-button-container.ff-hovered-add-button--primary {\n background-color: var(--hover-color);\n}\n.ff-add-button-container .ff-hovered-add-icon--primary svg path {\n fill: var(--add-icon-hover-color);\n}\n.ff-add-button-container .ff-add-icon--primary svg path {\n fill: var(--brand-color);\n}\n.ff-add-button-container .ff-add-button {\n position: absolute;\n border: none;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: 4px;\n background: none;\n}";
|
2627
|
+
styleInject(css_248z$m);
|
2540
2628
|
|
2541
|
-
var css_248z$
|
2542
|
-
styleInject(css_248z$
|
2629
|
+
var css_248z$l = ".ff-arrow-buttons-container {\n position: absolute;\n transition: opacity 0.3s ease;\n}\n.ff-arrow-buttons-container.ff-down-right-top, .ff-arrow-buttons-container.ff-down-top {\n height: 80px;\n width: 52px;\n transform: translateY(calc(-50% + 12px));\n}\n.ff-arrow-buttons-container.ff-down-right-top .ff-arrow-button--right, .ff-arrow-buttons-container.ff-down-top .ff-arrow-button--right {\n top: 28px;\n right: 2px;\n animation: slideRight 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-down-right-top .ff-arrow-button--top, .ff-arrow-buttons-container.ff-down-top .ff-arrow-button--top {\n top: 2px;\n animation: slideTop 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-down-right-top .ff-arrow-button--down, .ff-arrow-buttons-container.ff-down-top .ff-arrow-button--down {\n bottom: 2px;\n animation: slideDown 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-right-top {\n height: 52px;\n width: 52px;\n transform: translateY(-54%);\n}\n.ff-arrow-buttons-container.ff-right-top .ff-arrow-button--right {\n top: 28px;\n right: 2px;\n animation: slideRight 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-right-top .ff-arrow-button--top {\n top: 2px;\n animation: slideTop 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-down-right {\n height: 52px;\n width: 52px;\n}\n.ff-arrow-buttons-container.ff-down-right .ff-arrow-button--right {\n top: 0px;\n right: 2px;\n animation: slideRight 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-down-right .ff-arrow-button--down {\n bottom: 2px;\n animation: slideDown 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-top {\n height: 52px;\n width: 24px;\n transform: translateY(-54%);\n}\n.ff-arrow-buttons-container.ff-top .ff-arrow-button--top {\n top: 2px;\n animation: slideTop 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-right {\n height: 24px;\n width: 52px;\n}\n.ff-arrow-buttons-container.ff-right .ff-arrow-button--right {\n right: 2px;\n animation: slideRight 0.4s ease-out;\n}\n.ff-arrow-buttons-container.ff-down {\n height: 52px;\n width: 24px;\n}\n.ff-arrow-buttons-container.ff-down .ff-arrow-button--down {\n bottom: 2px;\n animation: slideDown 0.4s ease-out;\n}\n.ff-arrow-buttons-container .ff-arrow-button {\n background: var(--arrow-button-bg-color);\n border: 0.5px solid var(--arrows-button-border-color);\n padding: 0;\n cursor: pointer;\n width: 24px;\n height: 24px;\n display: flex;\n border-radius: 4px;\n justify-content: center;\n align-items: center;\n transition: all 0.3s ease;\n position: absolute;\n}\n.ff-arrow-buttons-container .ff-arrow-button--top {\n top: 0px;\n left: 0;\n}\n.ff-arrow-buttons-container .ff-arrow-button--down {\n bottom: 0px;\n left: 0;\n}\n@keyframes slideTop {\n from {\n transform: translateY(20px);\n opacity: 0;\n }\n 50% {\n transform: translateY(-10px);\n opacity: 0.5;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}\n@keyframes slideRight {\n from {\n transform: translateX(-20px);\n opacity: 0;\n }\n 50% {\n transform: translateX(10px);\n opacity: 0.5;\n }\n to {\n transform: translateX(0);\n opacity: 1;\n }\n}\n@keyframes slideDown {\n from {\n transform: translateY(-20px);\n opacity: 0;\n }\n 50% {\n transform: translateY(10px);\n opacity: 0.5;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}";
|
2630
|
+
styleInject(css_248z$l);
|
2543
2631
|
|
2544
2632
|
const ArrowsButton = ({
|
2545
2633
|
direction,
|
@@ -2676,10 +2764,10 @@ const AddButton = ({
|
|
2676
2764
|
});
|
2677
2765
|
};
|
2678
2766
|
|
2679
|
-
var css_248z$
|
2680
|
-
styleInject(css_248z$
|
2767
|
+
var css_248z$k = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-donut-chart-svg-container svg text:nth-of-type(1), .ff-status-item {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL, .ff-donut-chart-svg-container svg text:nth-of-type(2) {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-donut-chart-svg-container svg text:nth-of-type(3) {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-donut-chart-section {\n display: flex;\n align-items: center;\n padding: 8px;\n}\n\n.ff-donut-chart-svg-container {\n display: flex;\n}\n.ff-donut-chart-svg-container svg text:nth-of-type(1) {\n font-weight: 600;\n}\n.ff-donut-chart-svg-container svg text:nth-of-type(2) {\n font-weight: 600;\n}\n.ff-donut-chart-svg-container svg text:nth-of-type(3) {\n font-weight: 500;\n}\n\n.ff-status-container {\n display: flex;\n flex-direction: column;\n gap: 20px;\n}\n\n.ff-status-item {\n display: flex;\n gap: 40px;\n justify-content: space-between;\n opacity: 1;\n}\n.ff-status-item.ff-highlighted {\n opacity: 1;\n}\n.ff-status-item.ff-fade {\n opacity: 10%;\n}\n.ff-status-item .ff-status-text {\n font-weight: 500;\n color: var(--status-skipped-text-color);\n}\n.ff-status-item .ff-status-details-script-count {\n display: flex;\n gap: 4px;\n font-weight: 600;\n}\n.ff-status-item .ff-status-details-script-percentage {\n font-weight: 400;\n color: var(--brand2-color);\n}\n\n.ff-status-label {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n\n.ff-status-details {\n display: flex;\n gap: 4px;\n}\n\n.ff-status-color {\n width: 16px;\n height: 16px;\n border-radius: 4px;\n opacity: 80%;\n}";
|
2768
|
+
styleInject(css_248z$k);
|
2681
2769
|
|
2682
|
-
const calculateArc = (x, y, radius, startAngle, endAngle) => {
|
2770
|
+
const calculateArc$2 = (x, y, radius, startAngle, endAngle) => {
|
2683
2771
|
const startX = x + radius * Math.cos(startAngle);
|
2684
2772
|
const startY = y + radius * Math.sin(startAngle);
|
2685
2773
|
const endX = x + radius * Math.cos(endAngle);
|
@@ -2745,10 +2833,10 @@ const DonutChart = ({
|
|
2745
2833
|
const normalizedStatus = statusValue?.status?.toLowerCase();
|
2746
2834
|
const isFullCircle = nonZeroValues.length === 1;
|
2747
2835
|
// Full circle handling
|
2748
|
-
const foregroundArcPath = isFullCircle ? calculateArc(0, 0, radius, 0, 2 * Math.PI) : calculateArc(0, 0, radius, currentAngle, endAngle);
|
2836
|
+
const foregroundArcPath = isFullCircle ? calculateArc$2(0, 0, radius, 0, 2 * Math.PI) : calculateArc$2(0, 0, radius, currentAngle, endAngle);
|
2749
2837
|
// Outer arc for hover effect
|
2750
2838
|
const outerArcRadius = radius + lineWidth - 1;
|
2751
|
-
const outerArcPath = isFullCircle ? calculateArc(0, 0, outerArcRadius, 0, 2 * Math.PI) : calculateArc(0, 0, outerArcRadius, currentAngle, endAngle);
|
2839
|
+
const outerArcPath = isFullCircle ? calculateArc$2(0, 0, outerArcRadius, 0, 2 * Math.PI) : calculateArc$2(0, 0, outerArcRadius, currentAngle, endAngle);
|
2752
2840
|
currentAngle = endAngle + gapAngle;
|
2753
2841
|
return jsxs("g", {
|
2754
2842
|
children: [jsx("path", {
|
@@ -3029,8 +3117,8 @@ const useFileDropzone = options => {
|
|
3029
3117
|
};
|
3030
3118
|
};
|
3031
3119
|
|
3032
|
-
var css_248z$
|
3033
|
-
styleInject(css_248z$
|
3120
|
+
var css_248z$j = ".ff-file-dropzone-wrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n.ff-file-dropzone-wrapper .ff-file-dropzone {\n width: 640px;\n height: 188px;\n padding: 16px 0;\n border-radius: 8px;\n background: var(--file-dropzone-default-color);\n border: 1px dashed var(--brand-color);\n display: flex;\n align-items: center;\n flex-direction: column;\n text-align: center;\n gap: 8px;\n}\n.ff-file-dropzone-wrapper .ff-file-dropzone--active {\n background-color: var(--file-dropzone-selected-color);\n}\n.ff-file-dropzone-wrapper .ff-file-dropzone-content__icon {\n height: 80px;\n width: 80px;\n display: grid;\n place-items: center;\n}\n.ff-file-dropzone-wrapper .ff-file-dropzone-content__labels .choose-file-btn {\n margin: 0 auto;\n position: relative;\n font-weight: 600;\n line-height: 15px;\n}\n.ff-file-dropzone-wrapper .ff-file-dropzone-content__labels .choose-file-btn input {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper {\n display: flex;\n flex-direction: column;\n gap: 10px;\n width: 640px;\n max-height: 300px;\n overflow-y: auto;\n scroll-behavior: smooth;\n padding: 2px;\n -ms-overflow-style: none;\n scrollbar-width: thin;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper ::-webkit-scrollbar {\n width: 2px;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 4px;\n border-radius: 4px;\n background-color: var(--file-details-bg);\n box-shadow: 0px 0px 4px 0px var(--file-details-container-shadow);\n overflow: hidden;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-info {\n display: flex;\n align-items: center;\n gap: 4px;\n width: 60%;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-info .ff-file-info__icon {\n display: grid;\n place-items: center;\n height: 24px;\n width: 24px;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-info__name-wrapper {\n display: flex;\n flex-direction: column;\n gap: 2px;\n justify-content: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-info__name-wrapper__name {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n display: block;\n color: var(--text-color);\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-actions {\n display: flex;\n align-items: center;\n}\n.ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-actions__icon-replace, .ff-file-dropzone-wrapper .ff-file-details-wrapper .ff-file-details__item .ff-file-actions__icon-remove {\n height: 24px;\n width: 24px;\n display: grid;\n place-items: center;\n cursor: pointer;\n}";
|
3121
|
+
styleInject(css_248z$j);
|
3034
3122
|
|
3035
3123
|
const Dropzone = ({
|
3036
3124
|
icon,
|
@@ -5959,7 +6047,7 @@ function createFormControl(props = {}) {
|
|
5959
6047
|
timer = setTimeout(callback, wait);
|
5960
6048
|
};
|
5961
6049
|
const _updateValid = async (shouldUpdateValid) => {
|
5962
|
-
if (!
|
6050
|
+
if (!_options.disabled && (_proxyFormState.isValid || shouldUpdateValid)) {
|
5963
6051
|
const isValid = _options.resolver
|
5964
6052
|
? isEmptyObject((await _executeSchema()).errors)
|
5965
6053
|
: await executeBuiltInValidation(_fields, true);
|
@@ -5971,7 +6059,7 @@ function createFormControl(props = {}) {
|
|
5971
6059
|
}
|
5972
6060
|
};
|
5973
6061
|
const _updateIsValidating = (names, isValidating) => {
|
5974
|
-
if (!
|
6062
|
+
if (!_options.disabled &&
|
5975
6063
|
(_proxyFormState.isValidating || _proxyFormState.validatingFields)) {
|
5976
6064
|
(names || Array.from(_names.mount)).forEach((name) => {
|
5977
6065
|
if (name) {
|
@@ -5987,7 +6075,7 @@ function createFormControl(props = {}) {
|
|
5987
6075
|
}
|
5988
6076
|
};
|
5989
6077
|
const _updateFieldArray = (name, values = [], method, args, shouldSetValues = true, shouldUpdateFieldsAndState = true) => {
|
5990
|
-
if (args && method && !
|
6078
|
+
if (args && method && !_options.disabled) {
|
5991
6079
|
_state.action = true;
|
5992
6080
|
if (shouldUpdateFieldsAndState && Array.isArray(get(_fields, name))) {
|
5993
6081
|
const fieldValues = method(get(_fields, name), args.argA, args.argB);
|
@@ -6051,7 +6139,7 @@ function createFormControl(props = {}) {
|
|
6051
6139
|
const output = {
|
6052
6140
|
name,
|
6053
6141
|
};
|
6054
|
-
if (!
|
6142
|
+
if (!_options.disabled) {
|
6055
6143
|
const disabledField = !!(get(_fields, name) &&
|
6056
6144
|
get(_fields, name)._f &&
|
6057
6145
|
get(_fields, name)._f.disabled);
|
@@ -6187,7 +6275,7 @@ function createFormControl(props = {}) {
|
|
6187
6275
|
}
|
6188
6276
|
_names.unMount = new Set();
|
6189
6277
|
};
|
6190
|
-
const _getDirty = (name, data) => !
|
6278
|
+
const _getDirty = (name, data) => !_options.disabled &&
|
6191
6279
|
(name && data && set(_formValues, name, data),
|
6192
6280
|
!deepEqual(getValues(), _defaultValues));
|
6193
6281
|
const _getWatch = (names, defaultValue, isGlobal) => generateWatchOutput(names, _names, {
|
@@ -6503,7 +6591,7 @@ function createFormControl(props = {}) {
|
|
6503
6591
|
};
|
6504
6592
|
const register = (name, options = {}) => {
|
6505
6593
|
let field = get(_fields, name);
|
6506
|
-
const disabledIsDefined = isBoolean(options.disabled) || isBoolean(
|
6594
|
+
const disabledIsDefined = isBoolean(options.disabled) || isBoolean(_options.disabled);
|
6507
6595
|
set(_fields, name, {
|
6508
6596
|
...(field || {}),
|
6509
6597
|
_f: {
|
@@ -6519,7 +6607,7 @@ function createFormControl(props = {}) {
|
|
6519
6607
|
field,
|
6520
6608
|
disabled: isBoolean(options.disabled)
|
6521
6609
|
? options.disabled
|
6522
|
-
:
|
6610
|
+
: _options.disabled,
|
6523
6611
|
name,
|
6524
6612
|
value: options.value,
|
6525
6613
|
});
|
@@ -6529,7 +6617,7 @@ function createFormControl(props = {}) {
|
|
6529
6617
|
}
|
6530
6618
|
return {
|
6531
6619
|
...(disabledIsDefined
|
6532
|
-
? { disabled: options.disabled ||
|
6620
|
+
? { disabled: options.disabled || _options.disabled }
|
6533
6621
|
: {}),
|
6534
6622
|
...(_options.progressive
|
6535
6623
|
? {
|
@@ -6613,6 +6701,12 @@ function createFormControl(props = {}) {
|
|
6613
6701
|
e.preventDefault && e.preventDefault();
|
6614
6702
|
e.persist && e.persist();
|
6615
6703
|
}
|
6704
|
+
if (_options.disabled) {
|
6705
|
+
if (onInvalid) {
|
6706
|
+
await onInvalid({ ..._formState.errors }, e);
|
6707
|
+
}
|
6708
|
+
return;
|
6709
|
+
}
|
6616
6710
|
let fieldValues = cloneObject(_formValues);
|
6617
6711
|
_subjects.state.next({
|
6618
6712
|
isSubmitting: true,
|
@@ -6791,7 +6885,9 @@ function createFormControl(props = {}) {
|
|
6791
6885
|
: fieldReference.ref;
|
6792
6886
|
if (fieldRef.focus) {
|
6793
6887
|
fieldRef.focus();
|
6794
|
-
options.shouldSelect &&
|
6888
|
+
options.shouldSelect &&
|
6889
|
+
isFunction(fieldRef.select) &&
|
6890
|
+
fieldRef.select();
|
6795
6891
|
}
|
6796
6892
|
}
|
6797
6893
|
};
|
@@ -6992,17 +7088,12 @@ function useForm(props = {}) {
|
|
6992
7088
|
values: control._getWatch(),
|
6993
7089
|
});
|
6994
7090
|
}, [props.shouldUnregister, control]);
|
6995
|
-
React__default.useEffect(() => {
|
6996
|
-
if (_formControl.current) {
|
6997
|
-
_formControl.current.watch = _formControl.current.watch.bind({});
|
6998
|
-
}
|
6999
|
-
}, [formState]);
|
7000
7091
|
_formControl.current.formState = getProxyFormState(formState, control);
|
7001
7092
|
return _formControl.current;
|
7002
7093
|
}
|
7003
7094
|
|
7004
|
-
var css_248z$
|
7005
|
-
styleInject(css_248z$
|
7095
|
+
var css_248z$i = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-form-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-form-container {\n background-color: var(--hover-color);\n border: 1px solid var(--arrows-button-border-color);\n border-radius: 8px;\n padding: 20px;\n width: 400px;\n margin: 0 auto;\n}\n.ff-form-container .ff-form-group {\n margin-bottom: 16px;\n}\n.ff-form-container .ff-form-group .ff-label {\n display: block;\n margin-bottom: 4px;\n font-weight: bold;\n}\n.ff-form-container .ff-form-group input {\n width: 94%;\n padding: 10px;\n border: 1px solid var(--arrows-button-border-color);\n border-radius: 8px;\n}\n.ff-form-container .ff-form-group input:focus {\n border-color: var(--brand-color);\n}\n.ff-form-container .ff-form-group input.ff-error {\n border-color: var(--ff-error-light);\n}\n.ff-form-container .ff-form-group .ff-error {\n color: var(--error-light);\n margin-top: 4px;\n}\n.ff-form-container .ff-form-group {\n margin-bottom: 16px;\n}\n.ff-form-container .ff-form-group .ff-label {\n display: block;\n margin-bottom: 4px;\n font-weight: bold;\n}\n.ff-form-container .ff-form-group input,\n.ff-form-container .ff-form-group select {\n width: 94%;\n padding: 10px;\n border: 1px solid var(--arrows-button-border-color);\n border-radius: 8px;\n}\n.ff-form-container .ff-form-group input:focus,\n.ff-form-container .ff-form-group select:focus {\n border-color: var(--brand-color);\n}\n.ff-form-container .ff-form-group input.ff-error,\n.ff-form-container .ff-form-group select.ff-error {\n border-color: var(--ff-error-light);\n}\n.ff-form-container .ff-form-radio-group {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n margin-bottom: 16px;\n}\n.ff-form-container .ff-form-radio-group .ff-radio-group-wrapper {\n display: flex;\n}\n.ff-form-container .ff-form-radio-group .ff-radio-gender {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ff-form-container .ff-form-radio-group .ff-radio-gender input[type=radio] {\n margin-right: 0.5rem;\n}\n.ff-form-container .ff-form-radio-group .ff-error {\n padding-left: 12px;\n color: var(--error-light);\n margin-top: 4px;\n}\n.ff-form-container .ff-button-layout {\n width: 99%;\n display: flex;\n gap: 12px;\n margin-top: 24px;\n}\n.ff-form-container .ff-button-layout button {\n width: 50%;\n background-color: var(--brand-color);\n color: var(--primary-button-text-color);\n border: none;\n border-radius: 8px;\n padding: 10px;\n cursor: pointer;\n}";
|
7096
|
+
styleInject(css_248z$i);
|
7006
7097
|
|
7007
7098
|
const Form = ({
|
7008
7099
|
onSubmit,
|
@@ -7036,8 +7127,8 @@ const Form = ({
|
|
7036
7127
|
});
|
7037
7128
|
};
|
7038
7129
|
|
7039
|
-
var css_248z$
|
7040
|
-
styleInject(css_248z$
|
7130
|
+
var css_248z$h = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label, .ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-input-with-dropdown-container .ff-helper-text {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-input-with-dropdown-container {\n display: flex;\n flex-direction: column;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown {\n display: flex;\n border: 1px solid var(--input-default-border-color);\n border-radius: 4px;\n padding: 0;\n position: relative;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label {\n position: absolute;\n z-index: 9;\n color: var(--input-default-border-color);\n top: 7px;\n left: 7px;\n transition: all 0.3s ease-in-out;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label .ff-required-asterisk {\n color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label--filled {\n color: var(--input-active-text-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label--no-hover {\n color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label--error {\n color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input {\n position: relative;\n padding: 6px 7px;\n line-height: 18px;\n border: none;\n outline: none;\n border-right: 1px solid var(--input-default-border-color);\n border-radius: 4px 0 0 4px;\n top: 1px;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input::-webkit-outer-spin-button, .ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input::placeholder {\n opacity: 0;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input:disabled {\n cursor: not-allowed;\n background: transparent;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-input--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown--no-hover {\n border-color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown--disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-dropdown {\n min-width: 120px;\n border: none;\n outline: none;\n margin: 0;\n}\n.ff-input-with-dropdown-container .ff-input-with-dropdown .ff-floating-dropdown:disabled {\n cursor: not-allowed;\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown {\n border-color: var(--input-hover-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown--filled {\n border-color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown--disabled {\n border-color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-label {\n color: var(--input-hover-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-label--filled {\n color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-label--disabled {\n color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-label--error {\n color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-input {\n border-color: var(--input-hover-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-input--filled {\n border-color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-input--disabled {\n border-color: var(--input-default-border-color);\n}\n.ff-input-with-dropdown-container:hover .ff-input-with-dropdown .ff-floating-input--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown {\n border-color: var(--input-active-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown .ff-floating-label {\n top: -6.5px;\n background-color: var(--input-label-bg-color);\n padding: 0px 2px;\n color: var(--input-active-text-color);\n line-height: 12px;\n font-size: 8px !important;\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown .ff-floating-label--error {\n color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown .ff-floating-input {\n border-color: var(--input-active-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown .ff-floating-input--error {\n border-color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container:focus-within .ff-input-with-dropdown .ff-floating-input::placeholder {\n opacity: 1;\n}\n.ff-input-with-dropdown-container--filled .ff-input-with-dropdown .ff-floating-label-input-container {\n border-color: var(--input-active-text-color);\n}\n.ff-input-with-dropdown-container--filled .ff-input-with-dropdown .ff-floating-label-input-container .ff-floating-label {\n top: -6px;\n background-color: var(--input-label-bg-color);\n padding: 0px 2px;\n line-height: 12px;\n font-size: 8px !important;\n}\n.ff-input-with-dropdown-container--filled span {\n font-size: 8px;\n}\n.ff-input-with-dropdown-container--filled .required-asterisk {\n color: var(--input-error-text-color);\n}\n.ff-input-with-dropdown-container .ff-helper-text {\n color: var(--input-error-text-color);\n padding: 0 11px;\n}";
|
7131
|
+
styleInject(css_248z$h);
|
7041
7132
|
|
7042
7133
|
const InputWithDropdown = ({
|
7043
7134
|
name = '',
|
@@ -7117,8 +7208,8 @@ const InputWithDropdown = ({
|
|
7117
7208
|
});
|
7118
7209
|
};
|
7119
7210
|
|
7120
|
-
var css_248z$
|
7121
|
-
styleInject(css_248z$
|
7211
|
+
var css_248z$g = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-radio {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-radio {\n position: relative;\n color: var(--text-color);\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.ff-radio .ff-radio-input {\n display: none;\n}\n.ff-radio .ff-radio-custom {\n box-sizing: content-box;\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 1px solid var(--radio-button-border);\n position: relative;\n margin-right: 8px;\n transition: border-color background-color;\n}\n.ff-radio .ff-radio-custom::before {\n content: \"\";\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: #fbfdff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n transition: background-color 0.3s;\n}\n.ff-radio .ff-radio-custom::after {\n content: \"\";\n width: 16px;\n height: 16px;\n border-radius: 50%;\n border: 4px solid #f7edff;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n opacity: 0;\n transition: opacity 0.3s;\n}\n.ff-radio:hover .ff-radio-custom {\n border: 1px solid var(--brand-color);\n}\n.ff-radio:hover .ff-radio-custom::before {\n background-color: var(--drawer-footer-bg);\n}\n.ff-radio:hover .ff-radio-custom::after {\n opacity: 1;\n transition: opacity 0.3s;\n}\n.ff-radio .ff-radio-input:checked + .ff-radio-custom {\n border-color: var(--brand-color);\n}\n.ff-radio .ff-radio-input:checked + .ff-radio-custom::before {\n background: var(--brand-color);\n height: 12px;\n width: 12px;\n}\n.ff-radio .ff-radio-input:disabled + .ff-radio-custom {\n border: 1px solid var(--radio-button-border);\n}\n.ff-radio .ff-radio-input:disabled + .ff-radio-custom::before {\n background: var(--drawer-footer-bg);\n}\n.ff-radio .ff-radio-input:disabled + .ff-radio-custom::after {\n border: 4px solid var(--radio-button-hover);\n opacity: 0;\n transition: opacity 0.3s;\n}\n.ff-radio .ff-radio-input:checked:disabled + .ff-radio-custom {\n border-color: var(--brand-color);\n background-color: var(--drawer-footer-bg);\n}\n.ff-radio .ff-radio-input:checked:disabled + .ff-radio-custom::before {\n background: var(--brand-color);\n}\n.ff-radio--disabled {\n cursor: default;\n opacity: 0.5;\n}";
|
7212
|
+
styleInject(css_248z$g);
|
7122
7213
|
|
7123
7214
|
const RadioButton = ({
|
7124
7215
|
label,
|
@@ -7146,8 +7237,8 @@ const RadioButton = ({
|
|
7146
7237
|
});
|
7147
7238
|
};
|
7148
7239
|
|
7149
|
-
var css_248z$
|
7150
|
-
styleInject(css_248z$
|
7240
|
+
var css_248z$f = ".ff-radio-group {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}";
|
7241
|
+
styleInject(css_248z$f);
|
7151
7242
|
|
7152
7243
|
const RadioGroup = ({
|
7153
7244
|
options,
|
@@ -7169,8 +7260,8 @@ const RadioGroup = ({
|
|
7169
7260
|
});
|
7170
7261
|
};
|
7171
7262
|
|
7172
|
-
var css_248z$
|
7173
|
-
styleInject(css_248z$
|
7263
|
+
var css_248z$e = ".ff-mini-edit-modal-container {\n width: fit-content;\n padding: 0;\n position: absolute;\n visibility: hidden;\n}\n.ff-mini-edit-modal-container.modalVisible {\n visibility: visible;\n}\n.ff-mini-edit-modal-container.animatedModal {\n animation: slideDown 0.5s ease, opacity 0.5s ease;\n}\n.ff-mini-edit-modal-container .popover-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n z-index: 5;\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-top {\n bottom: 100%;\n left: 30px;\n border-width: 0 10px 10px 10px;\n border-color: transparent transparent var(--ff-mini-modal-border) transparent;\n filter: drop-shadow(0 -2px 1px var(--ff-mini-modal-box-shadow));\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-left {\n left: -15px;\n border-width: 10px 10px 10px 0;\n border-color: transparent var(--ff-mini-modal-border) transparent transparent;\n filter: drop-shadow(-2px 0 1px var(--ff-mini-modal-box-shadow));\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-bottom {\n top: 100%;\n left: 30px;\n border-width: 10px 10px 0 10px;\n border-color: var(--ff-mini-modal-border) transparent transparent transparent;\n filter: drop-shadow(0 2px 1px var(--ff-mini-modal-box-shadow));\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-right {\n right: -10px;\n top: 75px;\n border-width: 10px 0 10px 10px;\n border-color: transparent transparent transparent var(--ff-mini-modal-border);\n filter: drop-shadow(2px 0 1px var(--ff-mini-modal-box-shadow));\n}\n.ff-mini-edit-modal-container .popover-arrow.left-top-arrow {\n top: 10%;\n}\n.ff-mini-edit-modal-container .popover-arrow.left-middle-arrow {\n top: 50%;\n}\n.ff-mini-edit-modal-container .wrapped-div {\n width: 35px;\n height: 35px;\n background-color: transparent;\n outline: 8px solid var(--ff-mini-modal-border);\n outline-offset: -8px;\n position: absolute;\n top: -34px;\n z-index: 10;\n border-radius: 7px 7px 0 0;\n box-shadow: 0px -3px 4px 0px var(--ff-mini-modal-box-shadow);\n}\n.ff-mini-edit-modal-container .wrapped-div::before, .ff-mini-edit-modal-container .wrapped-div::after {\n position: absolute;\n content: \"\";\n width: 13px;\n height: 13px;\n background: transparent;\n border-radius: 50%;\n bottom: 0;\n box-shadow: 8px 4px 0 var(--ff-mini-modal-border);\n}\n.ff-mini-edit-modal-container .wrapped-div::before {\n left: -13px;\n clip-path: polygon(100% 100%, 110% 45%, 0% 70%, 0% 100%);\n}\n.ff-mini-edit-modal-container .wrapped-div::after {\n right: -13px;\n clip-path: polygon(-5% 100%, 0% 40%, 100% 70%, 100% 100%);\n box-shadow: -8px 4px 0 var(--ff-mini-modal-border);\n}\n.ff-mini-edit-modal-container .mini-edit-modal {\n background: var(--ff-mini-modal-border);\n position: relative;\n max-height: fit-content;\n z-index: 2;\n padding: 4px;\n width: 100%;\n border-radius: 7px;\n margin: 0 0 0 -5px;\n height: 100%;\n box-shadow: 0px 0px 4px 0px var(--ff-mini-modal-box-shadow);\n}\n.ff-mini-edit-modal-container .mini-edit-modal header {\n border-radius: 4px 4px 0 0;\n}\n.ff-mini-edit-modal-container .mini-edit-modal footer {\n border-radius: 0 0 4px 4px;\n}\n.ff-mini-edit-modal-container .modal-content {\n max-height: 250px;\n overflow-y: auto;\n}\n.ff-mini-edit-modal-container .modal-footer {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n gap: 5px;\n background-color: var(--ff-mini-modal-footer-background);\n height: 24px;\n padding: 0 10px 0 0;\n transition: transform 0.3s ease-in-out;\n}\n@keyframes slideDown {\n 0% {\n transform: translateY(-50px);\n opacity: 0;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n }\n}\n\n.ff-mini-modal-buttons-flex {\n display: flex;\n}\n\n.ff-mini-modal-gap-10 {\n gap: 10px;\n}";
|
7264
|
+
styleInject(css_248z$e);
|
7174
7265
|
|
7175
7266
|
const MiniModal = /*#__PURE__*/forwardRef(({
|
7176
7267
|
anchorRef,
|
@@ -7340,58 +7431,8 @@ const MiniModal = /*#__PURE__*/forwardRef(({
|
|
7340
7431
|
}), document.body);
|
7341
7432
|
});
|
7342
7433
|
|
7343
|
-
var css_248z$
|
7344
|
-
styleInject(css_248z$
|
7345
|
-
|
7346
|
-
const Checkbox = ({
|
7347
|
-
id,
|
7348
|
-
name,
|
7349
|
-
label,
|
7350
|
-
disabled = false,
|
7351
|
-
checked: initialChecked = false,
|
7352
|
-
partial = false,
|
7353
|
-
onChange
|
7354
|
-
}) => {
|
7355
|
-
const [checked, setChecked] = useState(initialChecked);
|
7356
|
-
useEffect(() => {
|
7357
|
-
setChecked(initialChecked);
|
7358
|
-
}, [initialChecked]);
|
7359
|
-
const handleCheckboxChange = event => {
|
7360
|
-
if (!disabled) {
|
7361
|
-
setChecked(prev => !prev), onChange?.(event);
|
7362
|
-
}
|
7363
|
-
};
|
7364
|
-
return jsxs("label", {
|
7365
|
-
className: "ff-checkbox--overlay",
|
7366
|
-
htmlFor: id,
|
7367
|
-
children: [jsx("input", {
|
7368
|
-
type: "checkbox",
|
7369
|
-
className: "ff-checkbox-input",
|
7370
|
-
id: id,
|
7371
|
-
name: name,
|
7372
|
-
checked: checked,
|
7373
|
-
onChange: handleCheckboxChange,
|
7374
|
-
disabled: disabled
|
7375
|
-
}), jsx("span", {
|
7376
|
-
className: classNames('ff-checkbox-custom', {
|
7377
|
-
'ff-checkbox-checked': checked,
|
7378
|
-
'ff-storybook-checkbox--partial': partial && !checked
|
7379
|
-
}),
|
7380
|
-
children: checked && jsx(Icon, {
|
7381
|
-
name: "tick",
|
7382
|
-
height: 6,
|
7383
|
-
width: 8,
|
7384
|
-
color: "var(--primary-icon-color)"
|
7385
|
-
})
|
7386
|
-
}), jsx(Typography, {
|
7387
|
-
as: "label",
|
7388
|
-
children: label
|
7389
|
-
})]
|
7390
|
-
});
|
7391
|
-
};
|
7392
|
-
|
7393
|
-
var css_248z$9 = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-tree-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-tree-container {\n width: 100%;\n font-size: 12px;\n color: var(--brand-color);\n transition: all 0.3s ease;\n}\n.ff-tree-container table {\n border-collapse: collapse;\n width: 100%;\n text-align: left;\n}\n.ff-tree-container .ff-toggle-arrow-icon {\n height: 12px;\n width: 12px;\n margin-left: 8px;\n display: grid;\n place-items: center;\n transform: rotate(0deg);\n}\n.ff-tree-container .ff-toggle-arrow-icon svg path {\n fill: var(--brand-color);\n}\n.ff-tree-container .ff-toggle-arrow-icon.ff-expanded {\n transform: rotate(0deg);\n}\n.ff-tree-container .ff-toggle-arrow-icon.ff-collapsed {\n transform: rotate(-90deg);\n}\n.ff-tree-container th,\n.ff-tree-container td {\n padding: 0 8px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ff-tree-container th {\n vertical-align: middle;\n height: 32px;\n background-color: var(--slider-table-color);\n color: var(--text-color);\n font-weight: 600;\n text-transform: uppercase;\n}\n.ff-tree-container tr .ff-action-section {\n display: none;\n}\n.ff-tree-container tr:hover {\n background-color: var(--hover-color);\n}\n.ff-tree-container tr:hover .ff-action-section {\n display: block;\n}\n.ff-tree-container .ff-title-container {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.ff-tree-container .ff-title-container .ff-toggle-folder {\n display: flex;\n cursor: pointer;\n}\n.ff-tree-container .ff-title-container.ff-folder {\n font-weight: 600;\n}\n.ff-tree-container .ff-title-container.ff-file {\n font-weight: 400;\n}\n.ff-tree-container .ff-title-container .ff-title {\n display: flex;\n gap: 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-weight: 400;\n cursor: pointer;\n}\n.ff-tree-container .ff-title-container .ff-title .ff-hover-icon {\n display: none;\n position: absolute;\n right: 10px;\n}\n.ff-tree-container .ff-node-li {\n position: relative;\n --indent-size: 16px;\n --total-children-height: var(--node-height);\n}\n.ff-tree-container .ff-node-li td:first-child {\n padding-left: calc(var(--level) * var(--indent-size));\n height: 32px;\n}\n.ff-tree-container .ff-node-li::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: calc(var(--level) * var(--indent-size) - 4px);\n width: 1px;\n height: calc(var(--total-children-height));\n background-color: var(--tree-connecting-lines-color);\n z-index: 1;\n}\n.ff-tree-container .ff-node-li::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: calc(var(--level) * var(--indent-size) - 4px);\n width: 12px;\n height: 1px;\n background-color: var(--tree-connecting-lines-color);\n z-index: 1;\n}\n.ff-tree-container .ff-node-li.ff-is-last::before {\n height: calc(var(--node-height) / 2);\n}\n.ff-tree-container .ff-node-li[style*=\"--level: 0\"]::before, .ff-tree-container .ff-node-li[style*=\"--level: 0\"]::after {\n content: none;\n}";
|
7394
|
-
styleInject(css_248z$9);
|
7434
|
+
var css_248z$d = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-tree-container {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-tree-container {\n width: 100%;\n font-size: 12px;\n color: var(--brand-color);\n transition: all 0.3s ease;\n}\n.ff-tree-container table {\n border-collapse: collapse;\n width: 100%;\n text-align: left;\n}\n.ff-tree-container .ff-toggle-arrow-icon {\n height: 12px;\n width: 12px;\n margin-left: 8px;\n display: grid;\n place-items: center;\n transform: rotate(0deg);\n}\n.ff-tree-container .ff-toggle-arrow-icon svg path {\n fill: var(--brand-color);\n}\n.ff-tree-container .ff-toggle-arrow-icon.ff-expanded {\n transform: rotate(0deg);\n}\n.ff-tree-container .ff-toggle-arrow-icon.ff-collapsed {\n transform: rotate(-90deg);\n}\n.ff-tree-container th,\n.ff-tree-container td {\n padding: 0 8px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ff-tree-container th {\n vertical-align: middle;\n height: 32px;\n background-color: var(--slider-table-color);\n color: var(--text-color);\n font-weight: 600;\n text-transform: uppercase;\n}\n.ff-tree-container tr .ff-action-section {\n display: none;\n}\n.ff-tree-container tr:hover {\n background-color: var(--hover-color);\n}\n.ff-tree-container tr:hover .ff-action-section {\n display: block;\n}\n.ff-tree-container .ff-title-container {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.ff-tree-container .ff-title-container .ff-toggle-folder {\n display: flex;\n cursor: pointer;\n}\n.ff-tree-container .ff-title-container.ff-folder {\n font-weight: 600;\n}\n.ff-tree-container .ff-title-container.ff-file {\n font-weight: 400;\n}\n.ff-tree-container .ff-title-container .ff-title {\n display: flex;\n gap: 4px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-weight: 400;\n cursor: pointer;\n}\n.ff-tree-container .ff-title-container .ff-title .ff-hover-icon {\n display: none;\n position: absolute;\n right: 10px;\n}\n.ff-tree-container .ff-node-li {\n position: relative;\n --indent-size: 16px;\n --total-children-height: var(--node-height);\n}\n.ff-tree-container .ff-node-li td:first-child {\n padding-left: calc(var(--level) * var(--indent-size));\n height: 32px;\n}\n.ff-tree-container .ff-node-li::before {\n content: \"\";\n position: absolute;\n top: 0;\n left: calc(var(--level) * var(--indent-size) - 4px);\n width: 1px;\n height: calc(var(--total-children-height));\n background-color: var(--tree-connecting-lines-color);\n z-index: 1;\n}\n.ff-tree-container .ff-node-li::after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: calc(var(--level) * var(--indent-size) - 4px);\n width: 12px;\n height: 1px;\n background-color: var(--tree-connecting-lines-color);\n z-index: 1;\n}\n.ff-tree-container .ff-node-li.ff-is-last::before {\n height: calc(var(--node-height) / 2);\n}\n.ff-tree-container .ff-node-li[style*=\"--level: 0\"]::before, .ff-tree-container .ff-node-li[style*=\"--level: 0\"]::after {\n content: none;\n}";
|
7435
|
+
styleInject(css_248z$d);
|
7395
7436
|
|
7396
7437
|
const TableTree = ({
|
7397
7438
|
columnsData,
|
@@ -7550,8 +7591,8 @@ const TableTree = ({
|
|
7550
7591
|
});
|
7551
7592
|
};
|
7552
7593
|
|
7553
|
-
var css_248z$
|
7554
|
-
styleInject(css_248z$
|
7594
|
+
var css_248z$c = ":root {\n --tooltip-bg-color: #1e161f;\n --status-approved-text-color: #016102;\n --status-warning-text-color: #ff8b00;\n --status-rejected-text-color: #c60202;\n --status-skipped-text-color: #3c3838;\n --status-approved-bg-color: #c6efcd;\n --status-rejected-bg-color: #f7d9d9;\n --status-warning-bg-color: #fae2c6;\n --status-skipped-bg-color: #c4c3c3;\n --brand-color: #71347b;\n --icons-default-color: #71347b;\n --default-icon-color: #a3a3a3;\n --default-color: #747474;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --system-color--error: #c50303;\n --hover-color: #f7ebff;\n --brand2-color: #610b86;\n --status-warning-hover-bg-color: #fcd8ac;\n --status-percentage-growth-bg-color: #ecedf8;\n --primary-icon-color: #ffffff;\n --secondary-icon-color: #71347b;\n --description-text-color:#d9d9d9;\n --expandable-menu-default-bg: #fdfaff;\n --expandable-menu-option-bg: rgba(97, 11, 134, 0.1019607843);\n --text-color: #1e161f;\n --file-dropzone-default-color: rgba(113, 52, 123, 0.1019607843);\n --file-dropzone-selected-color: rgba(113, 52, 123, 0.2);\n --file-details-container-shadow: rgba(30, 22, 31, 0.1607843137);\n --file-details-bg: #ffffff;\n --error-light: #e42525;\n --tabs-label-default-color: tabs-label-default-color;\n --tabs-label-active-color: tabs-label-active-color;\n --tabs-border-color: tabs-border-color;\n --tabs-bg-color: tabs-bg-color;\n --tab-bg-color: tab-bg-color;\n --toggle-button-bg-color: #ffffff;\n --toggle-strip-shadow: rgba(0, 0, 0, 0.2509803922);\n --toggle-strip-color: #cfd1e2;\n --disable-color: rgba(113, 52, 123, 0.5019607843);\n --toggle-strip-color: #cfd1e2;\n --add-icon-hover-color: #431b4a;\n --arrows-button-border-color: #ded1e5;\n --arrow-button-bg-color: #ffffff;\n --text-bg-highlight:#f5fb00;\n --slider-table-color: #efe1f9;\n}\n\n@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-tabs-container {\n box-sizing: border-box;\n}\n.ff-tabs-container .ff-tab-row--default {\n display: flex;\n gap: 8px;\n border: 1px solid var(--tabs-border-color);\n border-radius: 8px 8px 0 0;\n padding: 7px 8px 0;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default {\n border: none;\n background: none;\n padding: 0 4px;\n display: flex;\n flex-direction: column;\n cursor: pointer;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .ff-tab-label {\n padding-bottom: 4px;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .ff-tab-bar {\n width: 100%;\n border-radius: 2px 2px 0 0;\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default .ff-tab-bar--active {\n border-top: 2px solid var(--tabs-label-active-color);\n}\n.ff-tabs-container .ff-tab-row--default .ff-tab-button--default.disabled {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.ff-tabs-container .ff-tab-row--capsule {\n display: flex;\n gap: 8px;\n border: 1px solid var(--tabs-border-color);\n border-radius: 8px;\n padding: 3px 4px;\n background-color: var(--tabs-bg-color);\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule {\n background: transparent;\n border: none;\n padding: 3px 4px;\n border-radius: 4px;\n cursor: pointer;\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule.active {\n background-color: var(--tab-bg-color);\n}\n.ff-tabs-container .ff-tab-row--capsule .ff-tab-button--capsule .ff-tab-bar {\n display: none;\n}\n.ff-tabs-container .ff-tab-row--no-border {\n border: none;\n}\n.ff-tabs-container .ff-tab-content {\n width: inherit;\n}";
|
7595
|
+
styleInject(css_248z$c);
|
7555
7596
|
|
7556
7597
|
const Tabs = ({
|
7557
7598
|
variant = 'default',
|
@@ -7602,8 +7643,8 @@ const Tabs = ({
|
|
7602
7643
|
});
|
7603
7644
|
};
|
7604
7645
|
|
7605
|
-
var css_248z$
|
7606
|
-
styleInject(css_248z$
|
7646
|
+
var css_248z$b = ".ff-highlight-bg {\n background-color: var(--text-bg-highlight);\n}";
|
7647
|
+
styleInject(css_248z$b);
|
7607
7648
|
|
7608
7649
|
// Function to escape special characters in the search term
|
7609
7650
|
const escapeRegExp = text => {
|
@@ -7626,8 +7667,8 @@ const HighlightText = ({
|
|
7626
7667
|
});
|
7627
7668
|
};
|
7628
7669
|
|
7629
|
-
var css_248z$
|
7630
|
-
styleInject(css_248z$
|
7670
|
+
var css_248z$a = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-search-container .ff-search-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-search-container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.ff-search-container .ff-search-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n border: 1px solid var(--border-color);\n border-radius: 4px;\n padding: 4px;\n}\n.ff-search-container .ff-search-icon .ff-icon-container svg path {\n fill: var(--brand-color);\n}\n.ff-search-container .ff-search-input {\n border: none;\n color: var(--tooltip-bg-color);\n line-height: 12px;\n visibility: hidden;\n transition: width 0.4s ease;\n}\n.ff-search-container .ff-search-input:focus {\n outline: none;\n border: none;\n}\n.ff-search-container .ff-search-input:hover {\n border: none;\n}\n.ff-search-container.disabled {\n opacity: 0.5;\n}\n.ff-search-container.expanded {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n}\n.ff-search-container.expanded .ff-vertical-line {\n height: 8px;\n width: 1px;\n position: relative;\n right: 2px;\n border-radius: 1px;\n margin: 8px 0px;\n background-color: var(--border-color);\n}\n.ff-search-container.expanded .ff-search-input {\n visibility: visible;\n}\n.ff-search-container.expanded .ff-search-input::placeholder {\n color: var(--ff-search-filed-placeholder-text);\n}\n.ff-search-container.expanded .ff-search-icon {\n padding: 4px;\n border: none;\n cursor: default;\n}\n.ff-search-container.expanded .ff-search-clear-button {\n display: grid;\n place-items: center;\n cursor: pointer;\n width: 22px;\n}\n.ff-search-container.expanded .ff-search-close-icon {\n margin: 4px;\n cursor: pointer;\n}\n.ff-search-container.expanded .ff-search-close-icon .ff-icon-container svg path {\n fill: var(--ff-search-filed-close-Icon);\n}";
|
7671
|
+
styleInject(css_248z$a);
|
7631
7672
|
|
7632
7673
|
const Search = ({
|
7633
7674
|
placeholder = 'Search',
|
@@ -15631,8 +15672,8 @@ const TimePicker = ({
|
|
15631
15672
|
});
|
15632
15673
|
};
|
15633
15674
|
|
15634
|
-
var css_248z$5 = "@import 'react-day-picker/style.css';\n@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n/* Custom date picker styling */\n.ff-date-picker {\n position: relative;\n}\n.ff-date-picker .rdp-root {\n --rdp-accent-color: var(--brand-color);\n --rdp-day-height: 24px;\n --rdp-day-width: 36px;\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n --rdp-font-family: \"Poppins\", sans-serif;\n}\n.ff-date-picker .ff-cursor-pointer {\n cursor: pointer;\n}\n.ff-date-picker .ff-datepicker-input-container {\n display: flex;\n gap: 10px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input {\n padding: 4px 8px;\n padding-left: 2rem;\n height: 32px;\n border-radius: 5px;\n border: 1px solid var(--border-color);\n color: var(--status-skipped-text-color);\n line-height: 15px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input:focus,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input:focus {\n outline: none;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-calendar-icon,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-clock-icon {\n position: absolute;\n transform: translate(50%, 50%);\n display: flex;\n align-items: center;\n pointer-events: none;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field {\n flex: 1;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input {\n width: 100%;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message {\n padding: 0px 4px;\n margin-left: 8px;\n line-height: 12px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-datepicker-input-container .ff-time-input-field {\n flex: 0 0 120px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-time-input-field .ff-time-input {\n width: 100%;\n}\n.ff-date-picker .ff-date-picker-container {\n display: flex;\n flex-direction: column;\n position: absolute;\n border-radius: 8px;\n padding: 4px;\n box-sizing: border-box;\n background-color: var(--tab-bg-color);\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);\n gap: 8px;\n z-index: 10;\n}\n.ff-date-picker .ff-date-picker-container .ff-calendar-container {\n display: flex;\n align-items: flex-start;\n gap: 4px;\n height: 240px;\n}\n.ff-date-picker .ff-date-picker-container .ff-date-picker-controls {\n padding: 4px;\n display: flex;\n justify-content: end;\n gap: 8px;\n border-top: 1px solid var(--border-color);\n}\n.ff-date-picker .ff-date-picker-container .ff-date-picker-controls .ff-date-picker-button {\n font-weight: 600;\n line-height: 15px;\n}\n.ff-date-picker .ff-calendar .ff-calendar-nav-button {\n margin: 0 5px;\n border: 1px solid var(--border-color);\n background-color: var(--toggle-button-bg-color);\n box-shadow: 0 -2px 2px 0 var(--ff-mini-modal-box-shadow);\n padding: 4px;\n border-radius: 30%;\n cursor: pointer;\n}\n.ff-date-picker .ff-calendar .ff-calendar-nav-button:disabled {\n cursor: auto;\n opacity: 0.5;\n}\n.ff-date-picker .ff-calendar .ff-calendar-haeder {\n display: flex;\n align-items: center;\n gap: 5px;\n color: var(--text-color);\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid,\n.ff-date-picker .ff-calendar .ff-custom-month_grid {\n width: calc((var(--rdp-day-width) + 4px) * 7);\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 10px;\n padding: 5px;\n max-width: 100%;\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-year,\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-month,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-year,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-month {\n padding: 10px 0;\n text-align: center;\n cursor: pointer;\n border-radius: 8px;\n background-color: #f9f9f9;\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-year--selected,\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-month--selected,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-year--selected,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-month--selected {\n background-color: var(--brand-color);\n color: var(--primary-button-text-color);\n}\n.ff-date-picker .ff-calendar .rdp-weekdays th {\n color: #6f7c8e;\n font-weight: 400;\n}\n.ff-date-picker .ff-calendar .rdp-day {\n padding: 2px;\n font-weight: 500;\n}\n.ff-date-picker .ff-calendar .rdp-day_button {\n border-radius: 4px;\n padding: 3px 9px;\n}\n.ff-date-picker .ff-calendar .rdp-day_button:hover {\n background-color: var(--hover-color);\n}\n.ff-date-picker .ff-calendar .rdp-selected {\n font: inherit;\n}\n.ff-date-picker .ff-calendar .rdp-selected .rdp-day_button {\n background: var(--rdp-accent-color);\n color: var(--drawer-footer-bg);\n border: none;\n}\n.ff-date-picker .ff-calendar .rdp-today:not(.rdp-outside) .rdp-day_button {\n border: 2px solid var(--rdp-accent-color);\n}\n.ff-date-picker .ff-time-picker-container {\n position: relative;\n width: 150px;\n height: 100%;\n overflow-y: hidden;\n border-left: 1px solid #ccc;\n padding: 10px 5px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-time-picker-container::-webkit-scrollbar {\n display: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields {\n display: flex;\n height: 14%;\n width: 100%;\n margin-bottom: 5px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container {\n display: flex;\n border: 1px solid var(--border-color);\n border-right: 0;\n border-radius: 4px 0 0 4px;\n width: 55%;\n position: relative;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input {\n border: none;\n padding: 5px;\n width: 100%;\n text-align: center;\n border-radius: 4px 0 0 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input::placeholder {\n opacity: 0;\n line-height: 18px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input-label {\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n transition: 0.2s ease all;\n color: var(--input-default-label-color);\n pointer-events: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--float .ff-time-input-label {\n top: 0;\n left: 5px;\n color: var(--brand-color);\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0 2px;\n font-size: 8px !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--float .ff-time-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:hover {\n border-color: var(--input-hover-border-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within {\n border-color: var(--brand-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input-label {\n top: 0;\n left: 5px;\n color: var(--brand-color);\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0 2px;\n font-size: 8px !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input::placeholder {\n opacity: 1;\n margin-bottom: 1px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--danger {\n border-color: var(--input-error-text-color) !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input:focus {\n outline: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container {\n position: relative;\n width: 45%;\n display: flex;\n border: 1px solid var(--border-color);\n border-radius: 0 4px 4px 0;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-select {\n display: flex;\n align-items: center;\n padding: 0 5px;\n width: 100%;\n border-radius: 4px;\n background-color: white;\n cursor: pointer;\n border: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container--active {\n border-color: var(--brand-color) !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container:hover {\n border-color: var(--input-hover-border-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-icon {\n margin-left: auto;\n pointer-events: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-options {\n position: fixed;\n z-index: 100;\n min-width: 60px;\n margin: 4px 0 0;\n padding: 0;\n list-style: none;\n border: 1px solid var(--ff-select-background-color);\n border-radius: 4px;\n background-color: var(--primary-button-text-color);\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-option-item {\n padding: 8px;\n color: var(--text-color);\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.2s ease;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-option-item:hover {\n background-color: var(--ff-select-option-hover-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options {\n height: 86%;\n overflow-y: auto;\n padding-right: 5px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar {\n width: 4px;\n height: 12px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar-thumb {\n background-color: var(--ff-select-scroll-thumb-color);\n border-radius: 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar-track {\n background-color: var(--hover-color);\n border-radius: 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options .ff-time-option {\n padding: 10px 12px;\n cursor: pointer;\n text-align: center;\n border-radius: 8px;\n background-color: rgb(249, 249, 249);\n margin: 10px 0;\n}";
|
15635
|
-
styleInject(css_248z$
|
15675
|
+
var css_248z$9 = "@import 'react-day-picker/style.css';\n@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n/* Custom date picker styling */\n.ff-date-picker {\n position: relative;\n}\n.ff-date-picker .rdp-root {\n --rdp-accent-color: var(--brand-color);\n --rdp-day-height: 24px;\n --rdp-day-width: 36px;\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n --rdp-font-family: \"Poppins\", sans-serif;\n}\n.ff-date-picker .ff-cursor-pointer {\n cursor: pointer;\n}\n.ff-date-picker .ff-datepicker-input-container {\n display: flex;\n gap: 10px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input {\n padding: 4px 8px;\n padding-left: 2rem;\n height: 32px;\n border-radius: 5px;\n border: 1px solid var(--border-color);\n color: var(--status-skipped-text-color);\n line-height: 15px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-date-input:focus,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-time-input:focus {\n outline: none;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-calendar-icon,\n.ff-date-picker .ff-datepicker-input-container .ff-input-with-icon .ff-clock-icon {\n position: absolute;\n transform: translate(50%, 50%);\n display: flex;\n align-items: center;\n pointer-events: none;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field {\n flex: 1;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input {\n width: 100%;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message {\n padding: 0px 4px;\n margin-left: 8px;\n line-height: 12px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-date-input-field .ff-date-input-message--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-datepicker-input-container .ff-time-input-field {\n flex: 0 0 120px;\n}\n.ff-date-picker .ff-datepicker-input-container .ff-time-input-field .ff-time-input {\n width: 100%;\n}\n.ff-date-picker .ff-date-picker-container {\n display: flex;\n flex-direction: column;\n position: absolute;\n border-radius: 8px;\n padding: 4px;\n box-sizing: border-box;\n background-color: var(--tab-bg-color);\n box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);\n gap: 8px;\n z-index: 10;\n}\n.ff-date-picker .ff-date-picker-container .ff-calendar-container {\n display: flex;\n align-items: flex-start;\n gap: 4px;\n height: 240px;\n}\n.ff-date-picker .ff-date-picker-container .ff-date-picker-controls {\n padding: 4px;\n display: flex;\n justify-content: end;\n gap: 8px;\n border-top: 1px solid var(--border-color);\n}\n.ff-date-picker .ff-date-picker-container .ff-date-picker-controls .ff-date-picker-button {\n font-weight: 600;\n line-height: 15px;\n}\n.ff-date-picker .ff-calendar .ff-calendar-nav-button {\n margin: 0 5px;\n border: 1px solid var(--border-color);\n background-color: var(--toggle-button-bg-color);\n box-shadow: 0 -2px 2px 0 var(--ff-mini-modal-box-shadow);\n padding: 4px;\n border-radius: 30%;\n cursor: pointer;\n}\n.ff-date-picker .ff-calendar .ff-calendar-nav-button:disabled {\n cursor: auto;\n opacity: 0.5;\n}\n.ff-date-picker .ff-calendar .ff-calendar-haeder {\n display: flex;\n align-items: center;\n gap: 5px;\n color: var(--text-color);\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid,\n.ff-date-picker .ff-calendar .ff-custom-month_grid {\n width: calc((var(--rdp-day-width) + 4px) * 7);\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 10px;\n padding: 5px;\n max-width: 100%;\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-year,\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-month,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-year,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-month {\n padding: 10px 0;\n text-align: center;\n cursor: pointer;\n border-radius: 8px;\n background-color: #f9f9f9;\n}\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-year--selected,\n.ff-date-picker .ff-calendar .ff-custom-year_grid .ff-custom-month--selected,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-year--selected,\n.ff-date-picker .ff-calendar .ff-custom-month_grid .ff-custom-month--selected {\n background-color: var(--brand-color);\n color: var(--primary-button-text-color);\n}\n.ff-date-picker .ff-calendar .rdp-weekdays th {\n color: #6f7c8e;\n font-weight: 400;\n}\n.ff-date-picker .ff-calendar .rdp-day {\n padding: 2px;\n font-weight: 500;\n}\n.ff-date-picker .ff-calendar .rdp-day_button {\n border-radius: 4px;\n padding: 3px 9px;\n}\n.ff-date-picker .ff-calendar .rdp-day_button:hover {\n background-color: var(--hover-color);\n}\n.ff-date-picker .ff-calendar .rdp-selected {\n font: inherit;\n}\n.ff-date-picker .ff-calendar .rdp-selected .rdp-day_button {\n background: var(--rdp-accent-color);\n color: var(--drawer-footer-bg);\n border: none;\n}\n.ff-date-picker .ff-calendar .rdp-today:not(.rdp-outside) .rdp-day_button {\n border: 2px solid var(--rdp-accent-color);\n}\n.ff-date-picker .ff-time-picker-container {\n position: relative;\n width: 150px;\n height: 100%;\n overflow-y: hidden;\n border-left: 1px solid #ccc;\n padding: 10px 5px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-time-picker-container::-webkit-scrollbar {\n display: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields {\n display: flex;\n height: 14%;\n width: 100%;\n margin-bottom: 5px;\n box-sizing: border-box;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container {\n display: flex;\n border: 1px solid var(--border-color);\n border-right: 0;\n border-radius: 4px 0 0 4px;\n width: 55%;\n position: relative;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input {\n border: none;\n padding: 5px;\n width: 100%;\n text-align: center;\n border-radius: 4px 0 0 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input::placeholder {\n opacity: 0;\n line-height: 18px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input-label {\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n transition: 0.2s ease all;\n color: var(--input-default-label-color);\n pointer-events: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--float .ff-time-input-label {\n top: 0;\n left: 5px;\n color: var(--brand-color);\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0 2px;\n font-size: 8px !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--float .ff-time-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:hover {\n border-color: var(--input-hover-border-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within {\n border-color: var(--brand-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input-label {\n top: 0;\n left: 5px;\n color: var(--brand-color);\n background-color: var(--input-label-bg-color);\n line-height: 12px;\n padding: 0 2px;\n font-size: 8px !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input-label--danger {\n color: var(--input-error-text-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container:focus-within .ff-time-input::placeholder {\n opacity: 1;\n margin-bottom: 1px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container--danger {\n border-color: var(--input-error-text-color) !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-input-container .ff-time-input:focus {\n outline: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container {\n position: relative;\n width: 45%;\n display: flex;\n border: 1px solid var(--border-color);\n border-radius: 0 4px 4px 0;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-select {\n display: flex;\n align-items: center;\n padding: 0 5px;\n width: 100%;\n border-radius: 4px;\n background-color: white;\n cursor: pointer;\n border: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container--active {\n border-color: var(--brand-color) !important;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container:hover {\n border-color: var(--input-hover-border-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-icon {\n margin-left: auto;\n pointer-events: none;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-time-period-options {\n position: fixed;\n z-index: 100;\n min-width: 60px;\n margin: 4px 0 0;\n padding: 0;\n list-style: none;\n border: 1px solid var(--ff-select-background-color);\n border-radius: 4px;\n background-color: var(--primary-button-text-color);\n box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-option-item {\n padding: 8px;\n color: var(--text-color);\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.2s ease;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-fields .ff-time-period-container .ff-option-item:hover {\n background-color: var(--ff-select-option-hover-color);\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options {\n height: 86%;\n overflow-y: auto;\n padding-right: 5px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar {\n width: 4px;\n height: 12px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar-thumb {\n background-color: var(--ff-select-scroll-thumb-color);\n border-radius: 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options::-webkit-scrollbar-track {\n background-color: var(--hover-color);\n border-radius: 4px;\n}\n.ff-date-picker .ff-time-picker-container .ff-time-picker-options .ff-time-option {\n padding: 10px 12px;\n cursor: pointer;\n text-align: center;\n border-radius: 8px;\n background-color: rgb(249, 249, 249);\n margin: 10px 0;\n}";
|
15676
|
+
styleInject(css_248z$9);
|
15636
15677
|
|
15637
15678
|
const CustomDatePicker = ({
|
15638
15679
|
minDate,
|
@@ -16152,8 +16193,8 @@ const StateDropdown = ({
|
|
16152
16193
|
});
|
16153
16194
|
};
|
16154
16195
|
|
16155
|
-
var css_248z$
|
16156
|
-
styleInject(css_248z$
|
16196
|
+
var css_248z$8 = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-plus-icon {\n min-width: 71px;\n min-height: 24px;\n border-radius: 12px;\n border-style: none;\n text-align: center;\n text-decoration: none;\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n gap: 8px;\n background-color: var(--secondary-icon-color);\n padding: 2px 8px 2px 2px;\n border: 1px solid transparent;\n}\n.ff-plus-icon .ff-icon-color path {\n color: var(--primary-icon-color);\n}\n.ff-plus-icon .icon-name {\n min-width: 33px;\n color: var(--primary-icon-color);\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n}\n.ff-plus-icon:hover {\n border: 1px solid var(--secondary-icon-color);\n background-color: var(--hover-color);\n}\n.ff-plus-icon:hover .icon-name {\n min-width: 33px;\n min-height: 20px;\n font-weight: 600;\n color: var(--secondary-icon-color);\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n}\n.ff-plus-icon:hover .ff-icon-color path {\n color: var(--secondary-icon-color);\n}";
|
16197
|
+
styleInject(css_248z$8);
|
16157
16198
|
|
16158
16199
|
const IconButton = ({
|
16159
16200
|
label,
|
@@ -16177,8 +16218,8 @@ const IconButton = ({
|
|
16177
16218
|
});
|
16178
16219
|
};
|
16179
16220
|
|
16180
|
-
var css_248z$
|
16181
|
-
styleInject(css_248z$
|
16221
|
+
var css_248z$7 = ".ff-modal-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: var(--background-modal-color);\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n flex-direction: column;\n}\n\n.ff-modal-content {\n background: var(--ff-mini-modal-border);\n position: relative;\n max-width: 100%;\n border-radius: 12px;\n padding: 16px;\n}\n.ff-modal-content .ff-modal-header {\n height: 32px;\n width: 100%;\n}\n\n.ff-modal-footer {\n background-color: var(--expandable-menu-option-bg);\n max-width: 100%;\n width: 100%;\n height: 32px;\n border-radius: 0 0 12px 12px;\n display: flex;\n flex-direction: row;\n justify-content: end;\n align-items: center;\n gap: 8px;\n padding: 4px 16px;\n}";
|
16222
|
+
styleInject(css_248z$7);
|
16182
16223
|
|
16183
16224
|
const Modal = ({
|
16184
16225
|
isOpen,
|
@@ -20857,8 +20898,8 @@ const DragAndDrop = {
|
|
20857
20898
|
DNDUtilities
|
20858
20899
|
};
|
20859
20900
|
|
20860
|
-
var css_248z$
|
20861
|
-
styleInject(css_248z$
|
20901
|
+
var css_248z$6 = ".ff-all-project {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n}\n.ff-all-project .ff-all-project-dropdown {\n background-color: var(--secondary-icon-color);\n color: var(--expandable-menu-default-bg);\n height: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n gap: 10px;\n padding: 4px;\n}\n.ff-all-project .ff-all-project-dropdown .label-icon {\n height: 16px;\n width: 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n}\n.ff-all-project .ff-dropdown {\n position: absolute;\n top: 50px;\n padding: 1px;\n border: 0.5px solid var(--expandable-menu-default-bg);\n border-radius: 4px;\n background-color: var(--secondary-icon-color);\n color: var(--primary-icon-color);\n}\n.ff-all-project .ff-dropdown .ff-search {\n margin-bottom: 1px;\n}\n.ff-all-project .ff-dropdown .ff-search input {\n height: 30px;\n width: inherit;\n border-radius: 4px;\n border-style: none;\n}\n.ff-all-project .ff-dropdown .ff-search input::placeholder {\n padding-left: 32px;\n font-size: 8px;\n line-height: 12px;\n}\n.ff-all-project .ff-dropdown .ff-search span {\n position: absolute;\n top: 15px;\n left: 20px;\n}\n.ff-all-project .ff-dropdown .scroll {\n max-height: 124px;\n overflow-y: scroll;\n}\n.ff-all-project .ff-dropdown .option-card .projects-options {\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n justify-content: flex-start;\n gap: 4px;\n}\n.ff-all-project .ff-dropdown .option-card .projects-options .projects-icons {\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n height: 24px;\n width: 24px;\n}\n.ff-all-project .ff-dropdown .option-card .all-projects-option {\n background-color: var(--primary-icon-color);\n color: var(--secondary-icon-color);\n border-radius: 4px;\n}";
|
20902
|
+
styleInject(css_248z$6);
|
20862
20903
|
|
20863
20904
|
const AllProjectsDropdown = () => {
|
20864
20905
|
const [showOptions, setShowOptions] = useState(false);
|
@@ -20965,56 +21006,212 @@ const AllProjectsDropdown = () => {
|
|
20965
21006
|
});
|
20966
21007
|
};
|
20967
21008
|
|
20968
|
-
var css_248z$
|
20969
|
-
styleInject(css_248z$
|
21009
|
+
var css_248z$5 = ".ff-pie-chart-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n font-size: var(--fontSize);\n}\n.ff-pie-chart-container .ff-pie-chart-border {\n display: inline-block;\n border: 2px solid var(--pie-chart-border-color);\n border-radius: 50%;\n}\n.ff-pie-chart-container .ff-pie-chart-tooltip {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -100%);\n padding: 8px;\n border-radius: 4px;\n background-color: var(--tooltip-bg-color);\n color: var(--primary-icon-color);\n border: 10px solid;\n font-size: 14px;\n font-weight: 400;\n pointer-events: none;\n opacity: 0.8;\n}\n.ff-pie-chart-container .ff-pie-chart-legend {\n display: grid;\n grid-template-columns: repeat(3, 1fr);\n gap: 16px;\n}\n.ff-pie-chart-container .ff-pie-chart-legend .ff-pie-chart-legend-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n text-align: center;\n}";
|
21010
|
+
styleInject(css_248z$5);
|
20970
21011
|
|
20971
|
-
const
|
20972
|
-
|
20973
|
-
|
20974
|
-
|
20975
|
-
|
20976
|
-
|
20977
|
-
selectedQuickMenu,
|
20978
|
-
onMenuClick = () => {},
|
20979
|
-
onSubMenuClick = () => {},
|
20980
|
-
onQuickMenuClick = () => {}
|
21012
|
+
const calculateArc$1 = ({
|
21013
|
+
x,
|
21014
|
+
y,
|
21015
|
+
radius,
|
21016
|
+
startAngle,
|
21017
|
+
endAngle
|
20981
21018
|
}) => {
|
20982
|
-
|
20983
|
-
|
20984
|
-
|
20985
|
-
|
20986
|
-
|
20987
|
-
|
20988
|
-
|
20989
|
-
|
20990
|
-
|
20991
|
-
|
20992
|
-
|
20993
|
-
|
20994
|
-
|
20995
|
-
|
20996
|
-
|
20997
|
-
|
20998
|
-
|
20999
|
-
|
21000
|
-
|
21001
|
-
|
21002
|
-
|
21003
|
-
|
21004
|
-
|
21005
|
-
|
21006
|
-
|
21007
|
-
|
21008
|
-
|
21009
|
-
|
21010
|
-
|
21011
|
-
|
21012
|
-
|
21013
|
-
|
21014
|
-
|
21015
|
-
|
21016
|
-
|
21017
|
-
|
21019
|
+
const startX = x + radius * Math.cos(startAngle);
|
21020
|
+
const startY = y + radius * Math.sin(startAngle);
|
21021
|
+
const endX = x + radius * Math.cos(endAngle);
|
21022
|
+
const endY = y + radius * Math.sin(endAngle);
|
21023
|
+
const largeArcFlag = endAngle - startAngle > Math.PI ? 1 : 0;
|
21024
|
+
return `M ${startX} ${startY} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${endX} ${endY} L ${x} ${y} Z`;
|
21025
|
+
};
|
21026
|
+
const calculateArcAngles = (value, total, currentAngle, radius) => {
|
21027
|
+
if (total === 0) {
|
21028
|
+
return {
|
21029
|
+
endAngle: currentAngle,
|
21030
|
+
backgroundArcPath: '',
|
21031
|
+
foregroundArcPath: '',
|
21032
|
+
percentage: 0
|
21033
|
+
};
|
21034
|
+
}
|
21035
|
+
const percentage = value / total;
|
21036
|
+
const angleIncrement = percentage * 2 * Math.PI;
|
21037
|
+
const startAngle = currentAngle;
|
21038
|
+
const endAngle = startAngle + angleIncrement;
|
21039
|
+
const path = calculateArc$1({
|
21040
|
+
x: 0,
|
21041
|
+
y: 0,
|
21042
|
+
radius,
|
21043
|
+
startAngle,
|
21044
|
+
endAngle
|
21045
|
+
});
|
21046
|
+
return {
|
21047
|
+
endAngle,
|
21048
|
+
backgroundArcPath: path,
|
21049
|
+
foregroundArcPath: path,
|
21050
|
+
percentage
|
21051
|
+
};
|
21052
|
+
};
|
21053
|
+
const PieChart = ({
|
21054
|
+
radius = 15,
|
21055
|
+
colors = [],
|
21056
|
+
data = [],
|
21057
|
+
chartBorder = false
|
21058
|
+
}) => {
|
21059
|
+
const [tooltip, setTooltip] = useState(null);
|
21060
|
+
const [tooltipPosition, setTooltipPosition] = useState({
|
21061
|
+
x: 0,
|
21062
|
+
y: 0
|
21063
|
+
});
|
21064
|
+
const total = data.reduce((acc, item) => acc + item.value, 0);
|
21065
|
+
let currentAngle = -Math.PI / 2;
|
21066
|
+
const svgSize = 2 * (radius + 5);
|
21067
|
+
const chartData = chartBorder && data.length > 0 ? [{
|
21068
|
+
label: data[0]?.label || '',
|
21069
|
+
value: data.slice(1).reduce((acc, item) => acc + item.value, 0)
|
21070
|
+
}, ...data.slice(1)] : data;
|
21071
|
+
const handleMouseMove = e => {
|
21072
|
+
const {
|
21073
|
+
clientX: x,
|
21074
|
+
clientY: y
|
21075
|
+
} = e;
|
21076
|
+
setTooltipPosition({
|
21077
|
+
x,
|
21078
|
+
y
|
21079
|
+
});
|
21080
|
+
};
|
21081
|
+
const handleMouseEnter = (item, color) => {
|
21082
|
+
setTooltip({
|
21083
|
+
label: item.label,
|
21084
|
+
value: item.value,
|
21085
|
+
color
|
21086
|
+
});
|
21087
|
+
};
|
21088
|
+
const handleMouseLeave = () => {
|
21089
|
+
setTooltip(null);
|
21090
|
+
};
|
21091
|
+
const legendItems = chartData.map((item, index) => jsxs("div", {
|
21092
|
+
className: "ff-pie-chart-legend-item",
|
21093
|
+
children: [jsx(Typography, {
|
21094
|
+
as: "div",
|
21095
|
+
fontSize: 24,
|
21096
|
+
fontWeight: "semi-bold",
|
21097
|
+
lineHeight: "36px",
|
21098
|
+
color: colors[index % colors.length] || '',
|
21099
|
+
children: item.value
|
21100
|
+
}), jsx(Typography, {
|
21101
|
+
as: "div",
|
21102
|
+
fontSize: 10,
|
21103
|
+
fontWeight: "regular",
|
21104
|
+
lineHeight: "18px",
|
21105
|
+
className: "ff-Pie-chart-legend-value",
|
21106
|
+
children: item.label
|
21107
|
+
})]
|
21108
|
+
}, item.label));
|
21109
|
+
return jsxs("div", {
|
21110
|
+
className: "ff-pie-chart-container",
|
21111
|
+
onMouseMove: handleMouseMove,
|
21112
|
+
children: [jsx("div", {
|
21113
|
+
className: ` ${chartBorder ? 'ff-pie-chart-border' : ''}`,
|
21114
|
+
style: {
|
21115
|
+
width: svgSize,
|
21116
|
+
height: svgSize
|
21117
|
+
},
|
21118
|
+
children: jsx("svg", {
|
21119
|
+
width: svgSize,
|
21120
|
+
height: svgSize,
|
21121
|
+
viewBox: `0 0 ${svgSize} ${svgSize}`,
|
21122
|
+
children: jsx("g", {
|
21123
|
+
transform: `translate(${radius + 5}, ${radius + 5})`,
|
21124
|
+
children: chartData.map((item, index) => {
|
21125
|
+
const {
|
21126
|
+
endAngle,
|
21127
|
+
backgroundArcPath
|
21128
|
+
} = calculateArcAngles(item.value, total, currentAngle, radius);
|
21129
|
+
currentAngle = endAngle;
|
21130
|
+
const color = colors[index % colors.length] || '';
|
21131
|
+
return jsxs("g", {
|
21132
|
+
children: [jsx("path", {
|
21133
|
+
d: backgroundArcPath,
|
21134
|
+
fill: color,
|
21135
|
+
stroke: "white",
|
21136
|
+
strokeWidth: 0.5,
|
21137
|
+
onMouseEnter: () => handleMouseEnter(item, color),
|
21138
|
+
onMouseLeave: handleMouseLeave
|
21139
|
+
}), jsx("text", {
|
21140
|
+
x: radius / 2 * Math.cos((currentAngle + endAngle) / 2),
|
21141
|
+
y: radius / 2 * Math.sin((currentAngle + endAngle) / 2),
|
21142
|
+
fill: "white",
|
21143
|
+
textAnchor: "middle",
|
21144
|
+
dominantBaseline: "central"
|
21145
|
+
})]
|
21146
|
+
}, item.label);
|
21147
|
+
})
|
21148
|
+
})
|
21149
|
+
})
|
21150
|
+
}), tooltip && jsxs("div", {
|
21151
|
+
className: "ff-pie-chart-tooltip",
|
21152
|
+
style: {
|
21153
|
+
top: tooltipPosition.y,
|
21154
|
+
left: tooltipPosition.x,
|
21155
|
+
border: `2px solid ${tooltip.color}`
|
21156
|
+
},
|
21157
|
+
children: [tooltip.label, " : ", tooltip.value]
|
21158
|
+
}), jsx("div", {
|
21159
|
+
className: "ff-pie-chart-legend",
|
21160
|
+
children: legendItems
|
21161
|
+
})]
|
21162
|
+
});
|
21163
|
+
};
|
21164
|
+
|
21165
|
+
var css_248z$4 = ".ff-app-header {\n display: flex;\n justify-content: space-between;\n background-color: var(--brand-color);\n padding-left: 8px;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n}\n.ff-app-header .ff-app-header-logo-icon {\n padding: 8px;\n height: 24px;\n}\n.ff-app-header .ff-app-header-nav-bar {\n display: flex;\n align-items: center;\n background-color: var(--brand-color);\n transform: translateY(12px);\n border-radius: 20px;\n padding: 5px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items {\n display: flex;\n align-items: center;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item {\n margin-left: 8px;\n color: var(--ff-header-text-color);\n cursor: pointer;\n display: flex;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item--selected {\n padding: 3px;\n background-color: var(--primary-icon-color);\n border-radius: 20px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item--selected .ff-app-header-nav-bar-item-label {\n background-color: var(--brand-color);\n border-radius: 20px;\n padding: 4px 8px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container {\n display: flex;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-nav-bar-submenu-item {\n color: var(--ff-header-submenu-text-color);\n align-content: center;\n padding-left: 8px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-nav-bar-submenu-item--selected {\n color: var(--ff-header-submenu-highlight-text-color);\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item .ff-app-header-submenu-container .ff-app-header-quickmenu-container {\n display: flex;\n align-items: center;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-more-icon svg {\n cursor: pointer;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-more-icon svg path {\n fill: var(--primary-icon-color);\n}\n.ff-app-header .ff-app-header-right-content {\n height: 24px;\n padding: 8px;\n}";
|
21166
|
+
styleInject(css_248z$4);
|
21167
|
+
|
21168
|
+
const AppHeader = ({
|
21169
|
+
logoIconName = 'fireflink_icon',
|
21170
|
+
rightContent,
|
21171
|
+
appHeaderMenuItems,
|
21172
|
+
selectedMenu,
|
21173
|
+
selectedSubMenu,
|
21174
|
+
selectedQuickMenu,
|
21175
|
+
onMenuClick = () => {},
|
21176
|
+
onSubMenuClick = () => {},
|
21177
|
+
onQuickMenuClick = () => {}
|
21178
|
+
}) => {
|
21179
|
+
return jsx(Fragment, {
|
21180
|
+
children: jsxs("div", {
|
21181
|
+
className: "ff-app-header",
|
21182
|
+
children: [jsx("div", {
|
21183
|
+
className: "ff-app-header-logo-icon",
|
21184
|
+
children: jsx(Icon, {
|
21185
|
+
color: "",
|
21186
|
+
name: logoIconName,
|
21187
|
+
height: 24,
|
21188
|
+
width: 21
|
21189
|
+
})
|
21190
|
+
}), jsxs("div", {
|
21191
|
+
className: "ff-app-header-nav-bar",
|
21192
|
+
children: [jsx("div", {
|
21193
|
+
children: "All projects"
|
21194
|
+
}), jsx("div", {
|
21195
|
+
className: "ff-app-header-nav-bar-items fontSm",
|
21196
|
+
children: appHeaderMenuItems.map(menuItem => {
|
21197
|
+
return jsxs("div", {
|
21198
|
+
className: classNames('ff-app-header-nav-bar-item', {
|
21199
|
+
['ff-app-header-nav-bar-item--selected']: menuItem.menuName === selectedMenu
|
21200
|
+
}),
|
21201
|
+
onClick: () => onMenuClick(menuItem.menuName),
|
21202
|
+
children: [jsx(Typography, {
|
21203
|
+
as: "div",
|
21204
|
+
className: "ff-app-header-nav-bar-item-label",
|
21205
|
+
lineHeight: "18px",
|
21206
|
+
children: menuItem.menuName
|
21207
|
+
}), menuItem.menuName === selectedMenu && menuItem?.subMenuItems && menuItem.subMenuItems.map(subMenuItem => {
|
21208
|
+
return jsxs("div", {
|
21209
|
+
onClick: () => onSubMenuClick(subMenuItem.subMenuName),
|
21210
|
+
className: "ff-app-header-submenu-container",
|
21211
|
+
children: [jsx(Typography, {
|
21212
|
+
as: "div",
|
21213
|
+
className: classNames('ff-app-header-nav-bar-submenu-item', {
|
21214
|
+
['ff-app-header-nav-bar-submenu-item--selected']: subMenuItem.subMenuName === selectedSubMenu
|
21018
21215
|
}),
|
21019
21216
|
lineHeight: "18px",
|
21020
21217
|
children: subMenuItem.subMenuName
|
@@ -21058,11 +21255,278 @@ const AppHeader = ({
|
|
21058
21255
|
});
|
21059
21256
|
};
|
21060
21257
|
|
21258
|
+
var css_248z$3 = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs, .ff-dashboard-donut-chart-section .ff-legend-table .ff-table-header, .ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-name,\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-percentage,\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-count {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd, .ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container svg text:nth-of-type(2) {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl, .ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container svg text:nth-of-type(1) {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-dashboard-donut-chart-section {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ff-dashboard-donut-chart-section-table-legend {\n flex-direction: row;\n}\n.ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container {\n text-align: center;\n}\n.ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container svg text:nth-of-type(1) {\n font-weight: 600;\n}\n.ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container svg text:nth-of-type(2) {\n font-weight: 500;\n}\n.ff-dashboard-donut-chart-section .ff-dashboard-donut-chart-svg-container .ff-donut-chart-tooltip {\n position: fixed;\n padding: 5px;\n border-radius: 4px;\n pointer-events: none;\n background-color: var(--tooltip-bg-color);\n color: var(--tooltip-text-color);\n}\n.ff-dashboard-donut-chart-section .ff-legend-container {\n display: grid;\n gap: 10px;\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.numberLegend {\n grid-template-columns: repeat(3, 1fr);\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.numberLegend .ff-legend-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.pillLegend {\n grid-template-columns: repeat(2, 1fr);\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.pillLegend .ff-legend-item {\n display: flex;\n align-items: center;\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.pillLegend .ff-legend-item .ff-legend-capsule {\n background-color: var(--status-success-text-color);\n color: var(--tooltip-text-color);\n border-radius: 15px;\n min-width: 25px;\n height: 18px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.pillLegend .ff-legend-item .ff-legend-key {\n margin-left: 8px;\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.memoryLegend {\n grid-template-columns: repeat(2, 1fr);\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.memoryLegend .ff-legend-item {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 100%;\n padding-right: 10px;\n border-right: 1px solid var(--border-color);\n}\n.ff-dashboard-donut-chart-section .ff-legend-container.memoryLegend .ff-legend-item:nth-child(2n) {\n border-right: none;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table-wrapper {\n overflow: hidden;\n border: 1px solid var(--border-color);\n border-radius: 4px;\n margin-left: 1rem;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table {\n width: 100%;\n min-width: 300px;\n border-collapse: collapse;\n text-align: left;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-table-header {\n font-weight: bold;\n background-color: var(--tabs-bg-color);\n color: var(--input-hover-border-color);\n padding: 0.5rem;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-table-header:last-child {\n text-align: right;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-capsule {\n background-color: var(--status-success-text-color);\n color: var(--tooltip-text-color);\n border-radius: 1rem;\n min-width: 22px;\n height: 16px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-name,\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-percentage,\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-count {\n padding: 0.5rem;\n color: var(--input-hover-border-color);\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-name {\n display: flex;\n align-items: baseline;\n gap: 5px;\n color: var(--input-hover-border-color);\n}\n.ff-dashboard-donut-chart-section .ff-legend-table .ff-legend-item .ff-legend-count {\n text-align: right;\n}";
|
21259
|
+
styleInject(css_248z$3);
|
21260
|
+
|
21261
|
+
const calculateArc = (x, y, radius, startAngle, endAngle) => {
|
21262
|
+
const startX = x + radius * Math.cos(startAngle);
|
21263
|
+
const startY = y + radius * Math.sin(startAngle);
|
21264
|
+
const endX = x + radius * Math.cos(endAngle);
|
21265
|
+
const endY = y + radius * Math.sin(endAngle);
|
21266
|
+
const largeArcFlag = endAngle - startAngle > Math.PI ? 1 : 0;
|
21267
|
+
return `M ${startX} ${startY} A ${radius} ${radius} 0 ${largeArcFlag} 1 ${endX} ${endY}`;
|
21268
|
+
};
|
21269
|
+
const colorMapping = ['var(--status-success-text-color)', 'var(--status-rejected-text-color)', 'var(--status-warning-text-color)', 'var(--status-skipped-text-color)', 'var(--brand-color)'];
|
21270
|
+
const DashboardDonutChart = ({
|
21271
|
+
radius = 60,
|
21272
|
+
lineWidth = 15,
|
21273
|
+
statusValues = [],
|
21274
|
+
gapAngle = 0,
|
21275
|
+
legendDetailsType = '',
|
21276
|
+
isLegendDetails = true,
|
21277
|
+
legendType = 'numberLegend',
|
21278
|
+
showOnlyLabel = false
|
21279
|
+
}) => {
|
21280
|
+
const [hoveredItemIndex, setHoveredItemIndex] = useState(null);
|
21281
|
+
const [tooltipPosition, setTooltipPosition] = useState({
|
21282
|
+
x: 0,
|
21283
|
+
y: 0
|
21284
|
+
});
|
21285
|
+
const [showTooltip, setShowTooltip] = useState(false);
|
21286
|
+
const total = statusValues?.reduce((acc, {
|
21287
|
+
value
|
21288
|
+
}) => acc + value, 0);
|
21289
|
+
const nonZeroValues = statusValues?.filter(({
|
21290
|
+
value
|
21291
|
+
}) => value > 0);
|
21292
|
+
// Calculate angles and gaps
|
21293
|
+
const TOTAL_GAP_ANGLE = gapAngle * nonZeroValues.length;
|
21294
|
+
let remainingAngle = 2 * Math.PI - TOTAL_GAP_ANGLE;
|
21295
|
+
let currentAngle = Math.PI / 2;
|
21296
|
+
const MIN_PERCENTAGE = 1;
|
21297
|
+
const MIN_ANGLE = MIN_PERCENTAGE / 100 * (2 * Math.PI);
|
21298
|
+
// Adjust for small angles
|
21299
|
+
nonZeroValues.forEach(({
|
21300
|
+
value
|
21301
|
+
}) => {
|
21302
|
+
const valuePercentage = value / total;
|
21303
|
+
const angle = Math.max(valuePercentage * (2 * Math.PI), MIN_ANGLE);
|
21304
|
+
remainingAngle -= angle;
|
21305
|
+
});
|
21306
|
+
const handleMouseEnter = itemIndex => {
|
21307
|
+
setHoveredItemIndex(itemIndex);
|
21308
|
+
setShowTooltip(true);
|
21309
|
+
};
|
21310
|
+
const handleMouseLeave = () => {
|
21311
|
+
setTooltipPosition({
|
21312
|
+
x: 0,
|
21313
|
+
y: 0
|
21314
|
+
});
|
21315
|
+
setHoveredItemIndex(null);
|
21316
|
+
setShowTooltip(false);
|
21317
|
+
};
|
21318
|
+
const handleMouseMove = event => {
|
21319
|
+
setTooltipPosition({
|
21320
|
+
x: event.clientX + 10,
|
21321
|
+
y: event.clientY + 10
|
21322
|
+
});
|
21323
|
+
};
|
21324
|
+
const SVG_PADDING = 4;
|
21325
|
+
const DONUT_SVG_SIZE = (radius + lineWidth) * 2 + SVG_PADDING * 2;
|
21326
|
+
const renderArc = (chartItem, endAngle, i) => {
|
21327
|
+
const isFullCircle = nonZeroValues.length === 1;
|
21328
|
+
// Full circle handling
|
21329
|
+
const foregroundArcPath = isFullCircle ? calculateArc(0, 0, radius, 0, 2 * Math.PI) : calculateArc(0, 0, radius, currentAngle, endAngle);
|
21330
|
+
currentAngle = endAngle + gapAngle;
|
21331
|
+
return jsx("g", {
|
21332
|
+
children: jsx("path", {
|
21333
|
+
d: foregroundArcPath,
|
21334
|
+
fill: "none",
|
21335
|
+
stroke: chartItem?.color ? chartItem.color : colorMapping[i % colorMapping.length],
|
21336
|
+
strokeWidth: lineWidth,
|
21337
|
+
onMouseEnter: () => handleMouseEnter(i),
|
21338
|
+
onMouseLeave: handleMouseLeave,
|
21339
|
+
strokeOpacity: 0.8,
|
21340
|
+
onMouseMove: handleMouseMove
|
21341
|
+
})
|
21342
|
+
}, i);
|
21343
|
+
};
|
21344
|
+
const renderTooltip = () => {
|
21345
|
+
return jsxs("div", {
|
21346
|
+
className: "ff-donut-chart-tooltip",
|
21347
|
+
style: {
|
21348
|
+
left: tooltipPosition.x,
|
21349
|
+
top: tooltipPosition.y
|
21350
|
+
},
|
21351
|
+
children: [jsx(Typography, {
|
21352
|
+
fontSize: 12,
|
21353
|
+
children: hoveredItemIndex !== null && `${nonZeroValues[hoveredItemIndex]?.key} : `
|
21354
|
+
}), jsx(Typography, {
|
21355
|
+
fontSize: 12,
|
21356
|
+
children: hoveredItemIndex !== null && nonZeroValues[hoveredItemIndex]?.value
|
21357
|
+
})]
|
21358
|
+
});
|
21359
|
+
};
|
21360
|
+
const renderLegend = (legendData, legendType) => {
|
21361
|
+
switch (legendType) {
|
21362
|
+
case 'numberLegend':
|
21363
|
+
return jsx("div", {
|
21364
|
+
className: "ff-legend-container numberLegend",
|
21365
|
+
children: legendData.map((item, index) => jsxs("div", {
|
21366
|
+
className: "ff-legend-item",
|
21367
|
+
children: [jsx(Typography, {
|
21368
|
+
fontSize: 22,
|
21369
|
+
fontWeight: "semi-bold",
|
21370
|
+
className: "ff-legend-value",
|
21371
|
+
color: item.color ? item.color : colorMapping[index % colorMapping.length],
|
21372
|
+
children: item.value
|
21373
|
+
}), jsx(Typography, {
|
21374
|
+
fontSize: 12,
|
21375
|
+
className: "ff-legend-key",
|
21376
|
+
children: item.key
|
21377
|
+
})]
|
21378
|
+
}, index))
|
21379
|
+
});
|
21380
|
+
case 'pillLegend':
|
21381
|
+
return jsx("div", {
|
21382
|
+
className: "ff-legend-container pillLegend",
|
21383
|
+
children: legendData.map((item, index) => jsxs("div", {
|
21384
|
+
className: "ff-legend-item",
|
21385
|
+
children: [jsx("span", {
|
21386
|
+
className: "ff-legend-capsule",
|
21387
|
+
style: {
|
21388
|
+
backgroundColor: item.color ? item.color : colorMapping[index % colorMapping.length]
|
21389
|
+
},
|
21390
|
+
children: jsx(Typography, {
|
21391
|
+
fontSize: 10,
|
21392
|
+
children: item.value
|
21393
|
+
})
|
21394
|
+
}), jsx(Typography, {
|
21395
|
+
className: "ff-legend-key",
|
21396
|
+
children: item.key
|
21397
|
+
})]
|
21398
|
+
}, index))
|
21399
|
+
});
|
21400
|
+
case 'memoryLegend':
|
21401
|
+
return jsx("div", {
|
21402
|
+
className: "ff-legend-container memoryLegend",
|
21403
|
+
children: legendData.map((item, index) => jsx(React__default.Fragment, {
|
21404
|
+
children: jsxs("div", {
|
21405
|
+
className: "ff-legend-item",
|
21406
|
+
children: [jsx(Typography, {
|
21407
|
+
fontSize: 22,
|
21408
|
+
fontWeight: "medium",
|
21409
|
+
className: "ff-legend-value",
|
21410
|
+
color: item.color ? item.color : colorMapping[index % colorMapping.length],
|
21411
|
+
children: item.value
|
21412
|
+
}), jsx(Typography, {
|
21413
|
+
className: "ff-legend-key",
|
21414
|
+
children: item.key
|
21415
|
+
})]
|
21416
|
+
})
|
21417
|
+
}, index))
|
21418
|
+
});
|
21419
|
+
case 'tableLegend':
|
21420
|
+
return jsx("div", {
|
21421
|
+
className: "ff-legend-table-wrapper",
|
21422
|
+
children: jsxs("table", {
|
21423
|
+
className: "ff-legend-table tableLegend",
|
21424
|
+
children: [jsx("thead", {
|
21425
|
+
children: jsxs("tr", {
|
21426
|
+
children: [jsx("th", {
|
21427
|
+
className: "ff-table-header",
|
21428
|
+
children: "Name"
|
21429
|
+
}), jsx("th", {
|
21430
|
+
className: "ff-table-header",
|
21431
|
+
children: "%"
|
21432
|
+
}), jsx("th", {
|
21433
|
+
className: "ff-table-header",
|
21434
|
+
children: "Count"
|
21435
|
+
})]
|
21436
|
+
})
|
21437
|
+
}), jsx("tbody", {
|
21438
|
+
children: legendData.map((item, index) => jsxs("tr", {
|
21439
|
+
className: "ff-legend-item",
|
21440
|
+
onMouseEnter: () => setHoveredItemIndex(index),
|
21441
|
+
onMouseLeave: () => setHoveredItemIndex(null),
|
21442
|
+
children: [jsxs("td", {
|
21443
|
+
className: "ff-legend-name",
|
21444
|
+
children: [jsx("span", {
|
21445
|
+
className: "ff-legend-capsule",
|
21446
|
+
style: {
|
21447
|
+
backgroundColor: item.color ? item.color : colorMapping[index % colorMapping.length]
|
21448
|
+
},
|
21449
|
+
children: jsx(Typography, {
|
21450
|
+
fontSize: 10,
|
21451
|
+
children: item.value
|
21452
|
+
})
|
21453
|
+
}), jsx(Typography, {
|
21454
|
+
fontSize: 10,
|
21455
|
+
children: item.key
|
21456
|
+
})]
|
21457
|
+
}), jsx("td", {
|
21458
|
+
className: "ff-legend-percentage",
|
21459
|
+
children: (item.value / total * 100).toFixed(1)
|
21460
|
+
}), jsx("td", {
|
21461
|
+
className: "ff-legend-count",
|
21462
|
+
children: item.value
|
21463
|
+
})]
|
21464
|
+
}, index))
|
21465
|
+
})]
|
21466
|
+
})
|
21467
|
+
});
|
21468
|
+
default:
|
21469
|
+
return null;
|
21470
|
+
}
|
21471
|
+
};
|
21472
|
+
return jsxs("div", {
|
21473
|
+
className: classNames('ff-dashboard-donut-chart-section', {
|
21474
|
+
'ff-dashboard-donut-chart-section-table-legend': legendType === 'tableLegend'
|
21475
|
+
}),
|
21476
|
+
children: [jsxs("div", {
|
21477
|
+
className: "ff-dashboard-donut-chart-svg-container",
|
21478
|
+
children: [jsx("svg", {
|
21479
|
+
width: DONUT_SVG_SIZE,
|
21480
|
+
height: DONUT_SVG_SIZE,
|
21481
|
+
viewBox: `0 0 ${DONUT_SVG_SIZE} ${DONUT_SVG_SIZE}`,
|
21482
|
+
children: jsxs("g", {
|
21483
|
+
transform: `translate(${radius + lineWidth + SVG_PADDING}, ${radius + lineWidth + SVG_PADDING})`,
|
21484
|
+
children: [nonZeroValues?.map((status, i) => {
|
21485
|
+
const valuePercentage = status.value / total;
|
21486
|
+
let angle = Math.max(valuePercentage * (2 * Math.PI), MIN_ANGLE);
|
21487
|
+
angle += remainingAngle * (valuePercentage / total);
|
21488
|
+
const endAngle = currentAngle + angle;
|
21489
|
+
return renderArc(status, endAngle, i);
|
21490
|
+
}), showOnlyLabel ? jsx("text", {
|
21491
|
+
x: "0",
|
21492
|
+
y: "5",
|
21493
|
+
className: "ff-svg-label-text",
|
21494
|
+
textAnchor: "middle",
|
21495
|
+
fill: colorMapping[3],
|
21496
|
+
children: legendDetailsType
|
21497
|
+
}) : (legendType !== 'tableLegend' || hoveredItemIndex !== null) && jsxs(Fragment, {
|
21498
|
+
children: [jsx("text", {
|
21499
|
+
x: "0",
|
21500
|
+
y: "5",
|
21501
|
+
textAnchor: "middle",
|
21502
|
+
fill: colorMapping[3],
|
21503
|
+
children: legendType === 'tableLegend' && hoveredItemIndex !== null && nonZeroValues[hoveredItemIndex] ? `${(nonZeroValues[hoveredItemIndex].value / total * 100).toFixed(1)}%` : total
|
21504
|
+
}), jsx("text", {
|
21505
|
+
x: "0",
|
21506
|
+
y: "26",
|
21507
|
+
textAnchor: "middle",
|
21508
|
+
fill: "var(--text-color)",
|
21509
|
+
children: legendType === 'tableLegend' && hoveredItemIndex !== null && nonZeroValues[hoveredItemIndex] ? nonZeroValues[hoveredItemIndex].key : legendDetailsType
|
21510
|
+
})]
|
21511
|
+
})]
|
21512
|
+
})
|
21513
|
+
}), legendType === 'tableLegend' && jsxs("div", {
|
21514
|
+
children: [jsxs(Typography, {
|
21515
|
+
fontWeight: "semi-bold",
|
21516
|
+
children: [legendDetailsType, " "]
|
21517
|
+
}), jsxs(Typography, {
|
21518
|
+
children: [" ", `Total ${legendDetailsType} - ${total}`, " "]
|
21519
|
+
})]
|
21520
|
+
}), showTooltip && renderTooltip()]
|
21521
|
+
}), isLegendDetails && renderLegend(nonZeroValues, legendType)]
|
21522
|
+
});
|
21523
|
+
};
|
21524
|
+
|
21061
21525
|
var propTypes = {exports: {}};
|
21062
21526
|
|
21063
|
-
var reactIs
|
21527
|
+
var reactIs = {exports: {}};
|
21064
21528
|
|
21065
|
-
var reactIs_production_min
|
21529
|
+
var reactIs_production_min = {};
|
21066
21530
|
|
21067
21531
|
/** @license React v16.13.1
|
21068
21532
|
* react-is.production.min.js
|
@@ -21072,10 +21536,10 @@ var reactIs_production_min$1 = {};
|
|
21072
21536
|
* This source code is licensed under the MIT license found in the
|
21073
21537
|
* LICENSE file in the root directory of this source tree.
|
21074
21538
|
*/
|
21075
|
-
var hasRequiredReactIs_production_min
|
21076
|
-
function requireReactIs_production_min
|
21077
|
-
if (hasRequiredReactIs_production_min
|
21078
|
-
hasRequiredReactIs_production_min
|
21539
|
+
var hasRequiredReactIs_production_min;
|
21540
|
+
function requireReactIs_production_min() {
|
21541
|
+
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
21542
|
+
hasRequiredReactIs_production_min = 1;
|
21079
21543
|
var b = "function" === typeof Symbol && Symbol.for,
|
21080
21544
|
c = b ? Symbol.for("react.element") : 60103,
|
21081
21545
|
d = b ? Symbol.for("react.portal") : 60106,
|
@@ -21128,64 +21592,64 @@ function requireReactIs_production_min$1() {
|
|
21128
21592
|
function A(a) {
|
21129
21593
|
return z(a) === m;
|
21130
21594
|
}
|
21131
|
-
reactIs_production_min
|
21132
|
-
reactIs_production_min
|
21133
|
-
reactIs_production_min
|
21134
|
-
reactIs_production_min
|
21135
|
-
reactIs_production_min
|
21136
|
-
reactIs_production_min
|
21137
|
-
reactIs_production_min
|
21138
|
-
reactIs_production_min
|
21139
|
-
reactIs_production_min
|
21140
|
-
reactIs_production_min
|
21141
|
-
reactIs_production_min
|
21142
|
-
reactIs_production_min
|
21143
|
-
reactIs_production_min
|
21144
|
-
reactIs_production_min
|
21595
|
+
reactIs_production_min.AsyncMode = l;
|
21596
|
+
reactIs_production_min.ConcurrentMode = m;
|
21597
|
+
reactIs_production_min.ContextConsumer = k;
|
21598
|
+
reactIs_production_min.ContextProvider = h;
|
21599
|
+
reactIs_production_min.Element = c;
|
21600
|
+
reactIs_production_min.ForwardRef = n;
|
21601
|
+
reactIs_production_min.Fragment = e;
|
21602
|
+
reactIs_production_min.Lazy = t;
|
21603
|
+
reactIs_production_min.Memo = r;
|
21604
|
+
reactIs_production_min.Portal = d;
|
21605
|
+
reactIs_production_min.Profiler = g;
|
21606
|
+
reactIs_production_min.StrictMode = f;
|
21607
|
+
reactIs_production_min.Suspense = p;
|
21608
|
+
reactIs_production_min.isAsyncMode = function (a) {
|
21145
21609
|
return A(a) || z(a) === l;
|
21146
21610
|
};
|
21147
|
-
reactIs_production_min
|
21148
|
-
reactIs_production_min
|
21611
|
+
reactIs_production_min.isConcurrentMode = A;
|
21612
|
+
reactIs_production_min.isContextConsumer = function (a) {
|
21149
21613
|
return z(a) === k;
|
21150
21614
|
};
|
21151
|
-
reactIs_production_min
|
21615
|
+
reactIs_production_min.isContextProvider = function (a) {
|
21152
21616
|
return z(a) === h;
|
21153
21617
|
};
|
21154
|
-
reactIs_production_min
|
21618
|
+
reactIs_production_min.isElement = function (a) {
|
21155
21619
|
return "object" === typeof a && null !== a && a.$$typeof === c;
|
21156
21620
|
};
|
21157
|
-
reactIs_production_min
|
21621
|
+
reactIs_production_min.isForwardRef = function (a) {
|
21158
21622
|
return z(a) === n;
|
21159
21623
|
};
|
21160
|
-
reactIs_production_min
|
21624
|
+
reactIs_production_min.isFragment = function (a) {
|
21161
21625
|
return z(a) === e;
|
21162
21626
|
};
|
21163
|
-
reactIs_production_min
|
21627
|
+
reactIs_production_min.isLazy = function (a) {
|
21164
21628
|
return z(a) === t;
|
21165
21629
|
};
|
21166
|
-
reactIs_production_min
|
21630
|
+
reactIs_production_min.isMemo = function (a) {
|
21167
21631
|
return z(a) === r;
|
21168
21632
|
};
|
21169
|
-
reactIs_production_min
|
21633
|
+
reactIs_production_min.isPortal = function (a) {
|
21170
21634
|
return z(a) === d;
|
21171
21635
|
};
|
21172
|
-
reactIs_production_min
|
21636
|
+
reactIs_production_min.isProfiler = function (a) {
|
21173
21637
|
return z(a) === g;
|
21174
21638
|
};
|
21175
|
-
reactIs_production_min
|
21639
|
+
reactIs_production_min.isStrictMode = function (a) {
|
21176
21640
|
return z(a) === f;
|
21177
21641
|
};
|
21178
|
-
reactIs_production_min
|
21642
|
+
reactIs_production_min.isSuspense = function (a) {
|
21179
21643
|
return z(a) === p;
|
21180
21644
|
};
|
21181
|
-
reactIs_production_min
|
21645
|
+
reactIs_production_min.isValidElementType = function (a) {
|
21182
21646
|
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
|
21183
21647
|
};
|
21184
|
-
reactIs_production_min
|
21185
|
-
return reactIs_production_min
|
21648
|
+
reactIs_production_min.typeOf = z;
|
21649
|
+
return reactIs_production_min;
|
21186
21650
|
}
|
21187
21651
|
|
21188
|
-
var reactIs_development
|
21652
|
+
var reactIs_development = {};
|
21189
21653
|
|
21190
21654
|
/** @license React v16.13.1
|
21191
21655
|
* react-is.development.js
|
@@ -21195,10 +21659,10 @@ var reactIs_development$1 = {};
|
|
21195
21659
|
* This source code is licensed under the MIT license found in the
|
21196
21660
|
* LICENSE file in the root directory of this source tree.
|
21197
21661
|
*/
|
21198
|
-
var hasRequiredReactIs_development
|
21199
|
-
function requireReactIs_development
|
21200
|
-
if (hasRequiredReactIs_development
|
21201
|
-
hasRequiredReactIs_development
|
21662
|
+
var hasRequiredReactIs_development;
|
21663
|
+
function requireReactIs_development() {
|
21664
|
+
if (hasRequiredReactIs_development) return reactIs_development;
|
21665
|
+
hasRequiredReactIs_development = 1;
|
21202
21666
|
if (process.env.NODE_ENV !== "production") {
|
21203
21667
|
(function () {
|
21204
21668
|
|
@@ -21325,49 +21789,49 @@ function requireReactIs_development$1() {
|
|
21325
21789
|
function isSuspense(object) {
|
21326
21790
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
21327
21791
|
}
|
21328
|
-
reactIs_development
|
21329
|
-
reactIs_development
|
21330
|
-
reactIs_development
|
21331
|
-
reactIs_development
|
21332
|
-
reactIs_development
|
21333
|
-
reactIs_development
|
21334
|
-
reactIs_development
|
21335
|
-
reactIs_development
|
21336
|
-
reactIs_development
|
21337
|
-
reactIs_development
|
21338
|
-
reactIs_development
|
21339
|
-
reactIs_development
|
21340
|
-
reactIs_development
|
21341
|
-
reactIs_development
|
21342
|
-
reactIs_development
|
21343
|
-
reactIs_development
|
21344
|
-
reactIs_development
|
21345
|
-
reactIs_development
|
21346
|
-
reactIs_development
|
21347
|
-
reactIs_development
|
21348
|
-
reactIs_development
|
21349
|
-
reactIs_development
|
21350
|
-
reactIs_development
|
21351
|
-
reactIs_development
|
21352
|
-
reactIs_development
|
21353
|
-
reactIs_development
|
21354
|
-
reactIs_development
|
21355
|
-
reactIs_development
|
21792
|
+
reactIs_development.AsyncMode = AsyncMode;
|
21793
|
+
reactIs_development.ConcurrentMode = ConcurrentMode;
|
21794
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
21795
|
+
reactIs_development.ContextProvider = ContextProvider;
|
21796
|
+
reactIs_development.Element = Element;
|
21797
|
+
reactIs_development.ForwardRef = ForwardRef;
|
21798
|
+
reactIs_development.Fragment = Fragment;
|
21799
|
+
reactIs_development.Lazy = Lazy;
|
21800
|
+
reactIs_development.Memo = Memo;
|
21801
|
+
reactIs_development.Portal = Portal;
|
21802
|
+
reactIs_development.Profiler = Profiler;
|
21803
|
+
reactIs_development.StrictMode = StrictMode;
|
21804
|
+
reactIs_development.Suspense = Suspense;
|
21805
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
21806
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
21807
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
21808
|
+
reactIs_development.isContextProvider = isContextProvider;
|
21809
|
+
reactIs_development.isElement = isElement;
|
21810
|
+
reactIs_development.isForwardRef = isForwardRef;
|
21811
|
+
reactIs_development.isFragment = isFragment;
|
21812
|
+
reactIs_development.isLazy = isLazy;
|
21813
|
+
reactIs_development.isMemo = isMemo;
|
21814
|
+
reactIs_development.isPortal = isPortal;
|
21815
|
+
reactIs_development.isProfiler = isProfiler;
|
21816
|
+
reactIs_development.isStrictMode = isStrictMode;
|
21817
|
+
reactIs_development.isSuspense = isSuspense;
|
21818
|
+
reactIs_development.isValidElementType = isValidElementType;
|
21819
|
+
reactIs_development.typeOf = typeOf;
|
21356
21820
|
})();
|
21357
21821
|
}
|
21358
|
-
return reactIs_development
|
21822
|
+
return reactIs_development;
|
21359
21823
|
}
|
21360
21824
|
|
21361
|
-
var hasRequiredReactIs
|
21362
|
-
function requireReactIs
|
21363
|
-
if (hasRequiredReactIs
|
21364
|
-
hasRequiredReactIs
|
21825
|
+
var hasRequiredReactIs;
|
21826
|
+
function requireReactIs() {
|
21827
|
+
if (hasRequiredReactIs) return reactIs.exports;
|
21828
|
+
hasRequiredReactIs = 1;
|
21365
21829
|
if (process.env.NODE_ENV === 'production') {
|
21366
|
-
reactIs
|
21830
|
+
reactIs.exports = requireReactIs_production_min();
|
21367
21831
|
} else {
|
21368
|
-
reactIs
|
21832
|
+
reactIs.exports = requireReactIs_development();
|
21369
21833
|
}
|
21370
|
-
return reactIs
|
21834
|
+
return reactIs.exports;
|
21371
21835
|
}
|
21372
21836
|
|
21373
21837
|
/*
|
@@ -21582,7 +22046,7 @@ var hasRequiredFactoryWithTypeCheckers;
|
|
21582
22046
|
function requireFactoryWithTypeCheckers() {
|
21583
22047
|
if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
|
21584
22048
|
hasRequiredFactoryWithTypeCheckers = 1;
|
21585
|
-
var ReactIs = requireReactIs
|
22049
|
+
var ReactIs = requireReactIs();
|
21586
22050
|
var assign = requireObjectAssign();
|
21587
22051
|
var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret();
|
21588
22052
|
var has = /*@__PURE__*/requireHas();
|
@@ -22195,7 +22659,7 @@ function requirePropTypes() {
|
|
22195
22659
|
if (hasRequiredPropTypes) return propTypes.exports;
|
22196
22660
|
hasRequiredPropTypes = 1;
|
22197
22661
|
if (process.env.NODE_ENV !== 'production') {
|
22198
|
-
var ReactIs = requireReactIs
|
22662
|
+
var ReactIs = requireReactIs();
|
22199
22663
|
|
22200
22664
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
22201
22665
|
// http://fb.me/prop-types-in-prod
|
@@ -22430,411 +22894,101 @@ ReCAPTCHA.defaultProps = {
|
|
22430
22894
|
badge: "bottomright"
|
22431
22895
|
};
|
22432
22896
|
|
22433
|
-
var
|
22434
|
-
|
22435
|
-
|
22897
|
+
var hoistNonReactStatics_cjs;
|
22898
|
+
var hasRequiredHoistNonReactStatics_cjs;
|
22899
|
+
function requireHoistNonReactStatics_cjs() {
|
22900
|
+
if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
|
22901
|
+
hasRequiredHoistNonReactStatics_cjs = 1;
|
22902
|
+
var reactIs = requireReactIs();
|
22436
22903
|
|
22437
|
-
/**
|
22438
|
-
|
22439
|
-
|
22440
|
-
|
22441
|
-
|
22442
|
-
|
22443
|
-
|
22444
|
-
|
22445
|
-
|
22446
|
-
|
22447
|
-
|
22448
|
-
|
22449
|
-
|
22450
|
-
|
22451
|
-
|
22452
|
-
|
22453
|
-
f = b ? Symbol.for("react.strict_mode") : 60108,
|
22454
|
-
g = b ? Symbol.for("react.profiler") : 60114,
|
22455
|
-
h = b ? Symbol.for("react.provider") : 60109,
|
22456
|
-
k = b ? Symbol.for("react.context") : 60110,
|
22457
|
-
l = b ? Symbol.for("react.async_mode") : 60111,
|
22458
|
-
m = b ? Symbol.for("react.concurrent_mode") : 60111,
|
22459
|
-
n = b ? Symbol.for("react.forward_ref") : 60112,
|
22460
|
-
p = b ? Symbol.for("react.suspense") : 60113,
|
22461
|
-
q = b ? Symbol.for("react.suspense_list") : 60120,
|
22462
|
-
r = b ? Symbol.for("react.memo") : 60115,
|
22463
|
-
t = b ? Symbol.for("react.lazy") : 60116,
|
22464
|
-
v = b ? Symbol.for("react.block") : 60121,
|
22465
|
-
w = b ? Symbol.for("react.fundamental") : 60117,
|
22466
|
-
x = b ? Symbol.for("react.responder") : 60118,
|
22467
|
-
y = b ? Symbol.for("react.scope") : 60119;
|
22468
|
-
function z(a) {
|
22469
|
-
if ("object" === typeof a && null !== a) {
|
22470
|
-
var u = a.$$typeof;
|
22471
|
-
switch (u) {
|
22472
|
-
case c:
|
22473
|
-
switch (a = a.type, a) {
|
22474
|
-
case l:
|
22475
|
-
case m:
|
22476
|
-
case e:
|
22477
|
-
case g:
|
22478
|
-
case f:
|
22479
|
-
case p:
|
22480
|
-
return a;
|
22481
|
-
default:
|
22482
|
-
switch (a = a && a.$$typeof, a) {
|
22483
|
-
case k:
|
22484
|
-
case n:
|
22485
|
-
case t:
|
22486
|
-
case r:
|
22487
|
-
case h:
|
22488
|
-
return a;
|
22489
|
-
default:
|
22490
|
-
return u;
|
22491
|
-
}
|
22492
|
-
}
|
22493
|
-
case d:
|
22494
|
-
return u;
|
22495
|
-
}
|
22496
|
-
}
|
22497
|
-
}
|
22498
|
-
function A(a) {
|
22499
|
-
return z(a) === m;
|
22500
|
-
}
|
22501
|
-
reactIs_production_min.AsyncMode = l;
|
22502
|
-
reactIs_production_min.ConcurrentMode = m;
|
22503
|
-
reactIs_production_min.ContextConsumer = k;
|
22504
|
-
reactIs_production_min.ContextProvider = h;
|
22505
|
-
reactIs_production_min.Element = c;
|
22506
|
-
reactIs_production_min.ForwardRef = n;
|
22507
|
-
reactIs_production_min.Fragment = e;
|
22508
|
-
reactIs_production_min.Lazy = t;
|
22509
|
-
reactIs_production_min.Memo = r;
|
22510
|
-
reactIs_production_min.Portal = d;
|
22511
|
-
reactIs_production_min.Profiler = g;
|
22512
|
-
reactIs_production_min.StrictMode = f;
|
22513
|
-
reactIs_production_min.Suspense = p;
|
22514
|
-
reactIs_production_min.isAsyncMode = function (a) {
|
22515
|
-
return A(a) || z(a) === l;
|
22516
|
-
};
|
22517
|
-
reactIs_production_min.isConcurrentMode = A;
|
22518
|
-
reactIs_production_min.isContextConsumer = function (a) {
|
22519
|
-
return z(a) === k;
|
22520
|
-
};
|
22521
|
-
reactIs_production_min.isContextProvider = function (a) {
|
22522
|
-
return z(a) === h;
|
22523
|
-
};
|
22524
|
-
reactIs_production_min.isElement = function (a) {
|
22525
|
-
return "object" === typeof a && null !== a && a.$$typeof === c;
|
22526
|
-
};
|
22527
|
-
reactIs_production_min.isForwardRef = function (a) {
|
22528
|
-
return z(a) === n;
|
22529
|
-
};
|
22530
|
-
reactIs_production_min.isFragment = function (a) {
|
22531
|
-
return z(a) === e;
|
22532
|
-
};
|
22533
|
-
reactIs_production_min.isLazy = function (a) {
|
22534
|
-
return z(a) === t;
|
22535
|
-
};
|
22536
|
-
reactIs_production_min.isMemo = function (a) {
|
22537
|
-
return z(a) === r;
|
22538
|
-
};
|
22539
|
-
reactIs_production_min.isPortal = function (a) {
|
22540
|
-
return z(a) === d;
|
22541
|
-
};
|
22542
|
-
reactIs_production_min.isProfiler = function (a) {
|
22543
|
-
return z(a) === g;
|
22904
|
+
/**
|
22905
|
+
* Copyright 2015, Yahoo! Inc.
|
22906
|
+
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
22907
|
+
*/
|
22908
|
+
var REACT_STATICS = {
|
22909
|
+
childContextTypes: true,
|
22910
|
+
contextType: true,
|
22911
|
+
contextTypes: true,
|
22912
|
+
defaultProps: true,
|
22913
|
+
displayName: true,
|
22914
|
+
getDefaultProps: true,
|
22915
|
+
getDerivedStateFromError: true,
|
22916
|
+
getDerivedStateFromProps: true,
|
22917
|
+
mixins: true,
|
22918
|
+
propTypes: true,
|
22919
|
+
type: true
|
22544
22920
|
};
|
22545
|
-
|
22546
|
-
|
22921
|
+
var KNOWN_STATICS = {
|
22922
|
+
name: true,
|
22923
|
+
length: true,
|
22924
|
+
prototype: true,
|
22925
|
+
caller: true,
|
22926
|
+
callee: true,
|
22927
|
+
arguments: true,
|
22928
|
+
arity: true
|
22547
22929
|
};
|
22548
|
-
|
22549
|
-
|
22930
|
+
var FORWARD_REF_STATICS = {
|
22931
|
+
'$$typeof': true,
|
22932
|
+
render: true,
|
22933
|
+
defaultProps: true,
|
22934
|
+
displayName: true,
|
22935
|
+
propTypes: true
|
22550
22936
|
};
|
22551
|
-
|
22552
|
-
|
22937
|
+
var MEMO_STATICS = {
|
22938
|
+
'$$typeof': true,
|
22939
|
+
compare: true,
|
22940
|
+
defaultProps: true,
|
22941
|
+
displayName: true,
|
22942
|
+
propTypes: true,
|
22943
|
+
type: true
|
22553
22944
|
};
|
22554
|
-
|
22555
|
-
|
22556
|
-
|
22557
|
-
|
22558
|
-
|
22559
|
-
|
22560
|
-
|
22561
|
-
|
22562
|
-
|
22563
|
-
|
22564
|
-
|
22565
|
-
|
22566
|
-
|
22567
|
-
|
22568
|
-
var
|
22569
|
-
|
22570
|
-
|
22571
|
-
|
22572
|
-
|
22573
|
-
|
22574
|
-
|
22575
|
-
|
22576
|
-
|
22577
|
-
|
22578
|
-
|
22579
|
-
|
22580
|
-
var
|
22581
|
-
|
22582
|
-
|
22583
|
-
|
22584
|
-
var
|
22585
|
-
|
22586
|
-
|
22587
|
-
|
22588
|
-
|
22589
|
-
|
22590
|
-
|
22591
|
-
|
22592
|
-
|
22593
|
-
|
22594
|
-
|
22595
|
-
|
22596
|
-
|
22597
|
-
|
22598
|
-
|
22599
|
-
|
22600
|
-
|
22601
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
22602
|
-
}
|
22603
|
-
function typeOf(object) {
|
22604
|
-
if (typeof object === 'object' && object !== null) {
|
22605
|
-
var $$typeof = object.$$typeof;
|
22606
|
-
switch ($$typeof) {
|
22607
|
-
case REACT_ELEMENT_TYPE:
|
22608
|
-
var type = object.type;
|
22609
|
-
switch (type) {
|
22610
|
-
case REACT_ASYNC_MODE_TYPE:
|
22611
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
22612
|
-
case REACT_FRAGMENT_TYPE:
|
22613
|
-
case REACT_PROFILER_TYPE:
|
22614
|
-
case REACT_STRICT_MODE_TYPE:
|
22615
|
-
case REACT_SUSPENSE_TYPE:
|
22616
|
-
return type;
|
22617
|
-
default:
|
22618
|
-
var $$typeofType = type && type.$$typeof;
|
22619
|
-
switch ($$typeofType) {
|
22620
|
-
case REACT_CONTEXT_TYPE:
|
22621
|
-
case REACT_FORWARD_REF_TYPE:
|
22622
|
-
case REACT_LAZY_TYPE:
|
22623
|
-
case REACT_MEMO_TYPE:
|
22624
|
-
case REACT_PROVIDER_TYPE:
|
22625
|
-
return $$typeofType;
|
22626
|
-
default:
|
22627
|
-
return $$typeof;
|
22628
|
-
}
|
22629
|
-
}
|
22630
|
-
case REACT_PORTAL_TYPE:
|
22631
|
-
return $$typeof;
|
22632
|
-
}
|
22633
|
-
}
|
22634
|
-
return undefined;
|
22635
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
22636
|
-
|
22637
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
22638
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
22639
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
22640
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
22641
|
-
var Element = REACT_ELEMENT_TYPE;
|
22642
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
22643
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
22644
|
-
var Lazy = REACT_LAZY_TYPE;
|
22645
|
-
var Memo = REACT_MEMO_TYPE;
|
22646
|
-
var Portal = REACT_PORTAL_TYPE;
|
22647
|
-
var Profiler = REACT_PROFILER_TYPE;
|
22648
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
22649
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
22650
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
22651
|
-
|
22652
|
-
function isAsyncMode(object) {
|
22653
|
-
{
|
22654
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
22655
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
22656
|
-
|
22657
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
22658
|
-
}
|
22659
|
-
}
|
22660
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
22661
|
-
}
|
22662
|
-
function isConcurrentMode(object) {
|
22663
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
22664
|
-
}
|
22665
|
-
function isContextConsumer(object) {
|
22666
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
22667
|
-
}
|
22668
|
-
function isContextProvider(object) {
|
22669
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
22670
|
-
}
|
22671
|
-
function isElement(object) {
|
22672
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
22673
|
-
}
|
22674
|
-
function isForwardRef(object) {
|
22675
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
22676
|
-
}
|
22677
|
-
function isFragment(object) {
|
22678
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
22679
|
-
}
|
22680
|
-
function isLazy(object) {
|
22681
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
22682
|
-
}
|
22683
|
-
function isMemo(object) {
|
22684
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
22685
|
-
}
|
22686
|
-
function isPortal(object) {
|
22687
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
22688
|
-
}
|
22689
|
-
function isProfiler(object) {
|
22690
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
22691
|
-
}
|
22692
|
-
function isStrictMode(object) {
|
22693
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
22694
|
-
}
|
22695
|
-
function isSuspense(object) {
|
22696
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
22697
|
-
}
|
22698
|
-
reactIs_development.AsyncMode = AsyncMode;
|
22699
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
22700
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
22701
|
-
reactIs_development.ContextProvider = ContextProvider;
|
22702
|
-
reactIs_development.Element = Element;
|
22703
|
-
reactIs_development.ForwardRef = ForwardRef;
|
22704
|
-
reactIs_development.Fragment = Fragment;
|
22705
|
-
reactIs_development.Lazy = Lazy;
|
22706
|
-
reactIs_development.Memo = Memo;
|
22707
|
-
reactIs_development.Portal = Portal;
|
22708
|
-
reactIs_development.Profiler = Profiler;
|
22709
|
-
reactIs_development.StrictMode = StrictMode;
|
22710
|
-
reactIs_development.Suspense = Suspense;
|
22711
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
22712
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
22713
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
22714
|
-
reactIs_development.isContextProvider = isContextProvider;
|
22715
|
-
reactIs_development.isElement = isElement;
|
22716
|
-
reactIs_development.isForwardRef = isForwardRef;
|
22717
|
-
reactIs_development.isFragment = isFragment;
|
22718
|
-
reactIs_development.isLazy = isLazy;
|
22719
|
-
reactIs_development.isMemo = isMemo;
|
22720
|
-
reactIs_development.isPortal = isPortal;
|
22721
|
-
reactIs_development.isProfiler = isProfiler;
|
22722
|
-
reactIs_development.isStrictMode = isStrictMode;
|
22723
|
-
reactIs_development.isSuspense = isSuspense;
|
22724
|
-
reactIs_development.isValidElementType = isValidElementType;
|
22725
|
-
reactIs_development.typeOf = typeOf;
|
22726
|
-
})();
|
22727
|
-
}
|
22728
|
-
return reactIs_development;
|
22729
|
-
}
|
22730
|
-
|
22731
|
-
var hasRequiredReactIs;
|
22732
|
-
function requireReactIs() {
|
22733
|
-
if (hasRequiredReactIs) return reactIs.exports;
|
22734
|
-
hasRequiredReactIs = 1;
|
22735
|
-
if (process.env.NODE_ENV === 'production') {
|
22736
|
-
reactIs.exports = requireReactIs_production_min();
|
22737
|
-
} else {
|
22738
|
-
reactIs.exports = requireReactIs_development();
|
22739
|
-
}
|
22740
|
-
return reactIs.exports;
|
22741
|
-
}
|
22742
|
-
|
22743
|
-
var hoistNonReactStatics_cjs;
|
22744
|
-
var hasRequiredHoistNonReactStatics_cjs;
|
22745
|
-
function requireHoistNonReactStatics_cjs() {
|
22746
|
-
if (hasRequiredHoistNonReactStatics_cjs) return hoistNonReactStatics_cjs;
|
22747
|
-
hasRequiredHoistNonReactStatics_cjs = 1;
|
22748
|
-
var reactIs = requireReactIs();
|
22749
|
-
|
22750
|
-
/**
|
22751
|
-
* Copyright 2015, Yahoo! Inc.
|
22752
|
-
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
22753
|
-
*/
|
22754
|
-
var REACT_STATICS = {
|
22755
|
-
childContextTypes: true,
|
22756
|
-
contextType: true,
|
22757
|
-
contextTypes: true,
|
22758
|
-
defaultProps: true,
|
22759
|
-
displayName: true,
|
22760
|
-
getDefaultProps: true,
|
22761
|
-
getDerivedStateFromError: true,
|
22762
|
-
getDerivedStateFromProps: true,
|
22763
|
-
mixins: true,
|
22764
|
-
propTypes: true,
|
22765
|
-
type: true
|
22766
|
-
};
|
22767
|
-
var KNOWN_STATICS = {
|
22768
|
-
name: true,
|
22769
|
-
length: true,
|
22770
|
-
prototype: true,
|
22771
|
-
caller: true,
|
22772
|
-
callee: true,
|
22773
|
-
arguments: true,
|
22774
|
-
arity: true
|
22775
|
-
};
|
22776
|
-
var FORWARD_REF_STATICS = {
|
22777
|
-
'$$typeof': true,
|
22778
|
-
render: true,
|
22779
|
-
defaultProps: true,
|
22780
|
-
displayName: true,
|
22781
|
-
propTypes: true
|
22782
|
-
};
|
22783
|
-
var MEMO_STATICS = {
|
22784
|
-
'$$typeof': true,
|
22785
|
-
compare: true,
|
22786
|
-
defaultProps: true,
|
22787
|
-
displayName: true,
|
22788
|
-
propTypes: true,
|
22789
|
-
type: true
|
22790
|
-
};
|
22791
|
-
var TYPE_STATICS = {};
|
22792
|
-
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
22793
|
-
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
22794
|
-
function getStatics(component) {
|
22795
|
-
// React v16.11 and below
|
22796
|
-
if (reactIs.isMemo(component)) {
|
22797
|
-
return MEMO_STATICS;
|
22798
|
-
} // React v16.12 and above
|
22799
|
-
|
22800
|
-
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
22801
|
-
}
|
22802
|
-
var defineProperty = Object.defineProperty;
|
22803
|
-
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
22804
|
-
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
22805
|
-
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
22806
|
-
var getPrototypeOf = Object.getPrototypeOf;
|
22807
|
-
var objectPrototype = Object.prototype;
|
22808
|
-
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
22809
|
-
if (typeof sourceComponent !== 'string') {
|
22810
|
-
// don't hoist over string (html) components
|
22811
|
-
if (objectPrototype) {
|
22812
|
-
var inheritedComponent = getPrototypeOf(sourceComponent);
|
22813
|
-
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
22814
|
-
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
22815
|
-
}
|
22816
|
-
}
|
22817
|
-
var keys = getOwnPropertyNames(sourceComponent);
|
22818
|
-
if (getOwnPropertySymbols) {
|
22819
|
-
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
22820
|
-
}
|
22821
|
-
var targetStatics = getStatics(targetComponent);
|
22822
|
-
var sourceStatics = getStatics(sourceComponent);
|
22823
|
-
for (var i = 0; i < keys.length; ++i) {
|
22824
|
-
var key = keys[i];
|
22825
|
-
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
22826
|
-
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
22827
|
-
try {
|
22828
|
-
// Avoid failures from read-only properties
|
22829
|
-
defineProperty(targetComponent, key, descriptor);
|
22830
|
-
} catch (e) {}
|
22831
|
-
}
|
22832
|
-
}
|
22833
|
-
}
|
22834
|
-
return targetComponent;
|
22835
|
-
}
|
22836
|
-
hoistNonReactStatics_cjs = hoistNonReactStatics;
|
22837
|
-
return hoistNonReactStatics_cjs;
|
22945
|
+
var TYPE_STATICS = {};
|
22946
|
+
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
22947
|
+
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
22948
|
+
function getStatics(component) {
|
22949
|
+
// React v16.11 and below
|
22950
|
+
if (reactIs.isMemo(component)) {
|
22951
|
+
return MEMO_STATICS;
|
22952
|
+
} // React v16.12 and above
|
22953
|
+
|
22954
|
+
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
22955
|
+
}
|
22956
|
+
var defineProperty = Object.defineProperty;
|
22957
|
+
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
22958
|
+
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
22959
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
22960
|
+
var getPrototypeOf = Object.getPrototypeOf;
|
22961
|
+
var objectPrototype = Object.prototype;
|
22962
|
+
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
22963
|
+
if (typeof sourceComponent !== 'string') {
|
22964
|
+
// don't hoist over string (html) components
|
22965
|
+
if (objectPrototype) {
|
22966
|
+
var inheritedComponent = getPrototypeOf(sourceComponent);
|
22967
|
+
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
22968
|
+
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
22969
|
+
}
|
22970
|
+
}
|
22971
|
+
var keys = getOwnPropertyNames(sourceComponent);
|
22972
|
+
if (getOwnPropertySymbols) {
|
22973
|
+
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
22974
|
+
}
|
22975
|
+
var targetStatics = getStatics(targetComponent);
|
22976
|
+
var sourceStatics = getStatics(sourceComponent);
|
22977
|
+
for (var i = 0; i < keys.length; ++i) {
|
22978
|
+
var key = keys[i];
|
22979
|
+
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
22980
|
+
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
22981
|
+
try {
|
22982
|
+
// Avoid failures from read-only properties
|
22983
|
+
defineProperty(targetComponent, key, descriptor);
|
22984
|
+
} catch (e) {}
|
22985
|
+
}
|
22986
|
+
}
|
22987
|
+
}
|
22988
|
+
return targetComponent;
|
22989
|
+
}
|
22990
|
+
hoistNonReactStatics_cjs = hoistNonReactStatics;
|
22991
|
+
return hoistNonReactStatics_cjs;
|
22838
22992
|
}
|
22839
22993
|
|
22840
22994
|
var hoistNonReactStatics_cjsExports = requireHoistNonReactStatics_cjs();
|
@@ -23043,84 +23197,568 @@ function makeAsyncScript(getScriptURL, options) {
|
|
23043
23197
|
if (globalName && typeof window !== "undefined") {
|
23044
23198
|
childProps[globalName] = typeof window[globalName] !== "undefined" ? window[globalName] : undefined;
|
23045
23199
|
}
|
23046
|
-
childProps.ref = forwardedRef;
|
23047
|
-
return /*#__PURE__*/createElement(WrappedComponent, childProps);
|
23200
|
+
childProps.ref = forwardedRef;
|
23201
|
+
return /*#__PURE__*/createElement(WrappedComponent, childProps);
|
23202
|
+
};
|
23203
|
+
return AsyncScriptLoader;
|
23204
|
+
}(Component); // Note the second param "ref" provided by React.forwardRef.
|
23205
|
+
// We can pass it along to AsyncScriptLoader as a regular prop, e.g. "forwardedRef"
|
23206
|
+
// And it can then be attached to the Component.
|
23207
|
+
|
23208
|
+
var ForwardedComponent = /*#__PURE__*/forwardRef(function (props, ref) {
|
23209
|
+
return /*#__PURE__*/createElement(AsyncScriptLoader, _extends({}, props, {
|
23210
|
+
forwardedRef: ref
|
23211
|
+
}));
|
23212
|
+
});
|
23213
|
+
ForwardedComponent.displayName = "AsyncScriptLoader(" + wrappedComponentName + ")";
|
23214
|
+
ForwardedComponent.propTypes = {
|
23215
|
+
asyncScriptOnLoad: PropTypes.func
|
23216
|
+
};
|
23217
|
+
return hoistStatics(ForwardedComponent, WrappedComponent);
|
23218
|
+
};
|
23219
|
+
}
|
23220
|
+
|
23221
|
+
var callbackName = "onloadcallback";
|
23222
|
+
var globalName = "grecaptcha";
|
23223
|
+
function getOptions() {
|
23224
|
+
return typeof window !== "undefined" && window.recaptchaOptions || {};
|
23225
|
+
}
|
23226
|
+
function getURL() {
|
23227
|
+
var dynamicOptions = getOptions();
|
23228
|
+
var hostname = dynamicOptions.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
23229
|
+
if (dynamicOptions.enterprise) {
|
23230
|
+
return "https://" + hostname + "/recaptcha/enterprise.js?onload=" + callbackName + "&render=explicit";
|
23231
|
+
}
|
23232
|
+
return "https://" + hostname + "/recaptcha/api.js?onload=" + callbackName + "&render=explicit";
|
23233
|
+
}
|
23234
|
+
var RecaptchaWrapper = makeAsyncScript(getURL, {
|
23235
|
+
callbackName: callbackName,
|
23236
|
+
globalName: globalName,
|
23237
|
+
attributes: getOptions().nonce ? {
|
23238
|
+
nonce: getOptions().nonce
|
23239
|
+
} : {}
|
23240
|
+
})(ReCAPTCHA);
|
23241
|
+
|
23242
|
+
var css_248z$2 = ".ff-recaptcha-wrapper {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.ff-recaptcha-wrapper .ff-recaptcha-error {\n color: var(--input-error-text-color);\n font-size: 12px;\n margin-top: 4px;\n}";
|
23243
|
+
styleInject(css_248z$2);
|
23244
|
+
|
23245
|
+
const Recaptcha = /*#__PURE__*/forwardRef(({
|
23246
|
+
onVerify,
|
23247
|
+
className = '',
|
23248
|
+
error: externalError,
|
23249
|
+
sitekey,
|
23250
|
+
...props
|
23251
|
+
}, ref) => {
|
23252
|
+
const [internalError, setInternalError] = useState(null);
|
23253
|
+
const handleChange = token => {
|
23254
|
+
if (token) {
|
23255
|
+
setInternalError(null);
|
23256
|
+
onVerify(token);
|
23257
|
+
} else {
|
23258
|
+
setInternalError('Please complete the CAPTCHA');
|
23259
|
+
}
|
23260
|
+
};
|
23261
|
+
const error = externalError || internalError;
|
23262
|
+
return jsxs("div", {
|
23263
|
+
className: classNames('ff-recaptcha-wrapper', className),
|
23264
|
+
children: [jsx(RecaptchaWrapper, {
|
23265
|
+
ref: ref,
|
23266
|
+
sitekey: sitekey,
|
23267
|
+
onChange: handleChange,
|
23268
|
+
...props
|
23269
|
+
}), error && jsx("div", {
|
23270
|
+
className: "ff-recaptcha-error",
|
23271
|
+
children: jsx(Typography, {
|
23272
|
+
fontSize: 12,
|
23273
|
+
children: error
|
23274
|
+
})
|
23275
|
+
})]
|
23276
|
+
});
|
23277
|
+
});
|
23278
|
+
|
23279
|
+
const nlpDropdownDefaultCSSData = {
|
23280
|
+
margin: 6,
|
23281
|
+
optionHeight: 32,
|
23282
|
+
selectInputHeight: 38,
|
23283
|
+
dropDownWrapperPadding: 0
|
23284
|
+
};
|
23285
|
+
|
23286
|
+
var css_248z$1 = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper {\n max-height: 160px;\n z-index: 100;\n position: absolute;\n min-width: 100px;\n border: 1px solid var(--ff-select-option-border-color);\n box-sizing: border-box;\n margin-top: 4px;\n border-radius: 4px;\n background-color: var(--ff-select-background-color);\n box-shadow: 0px 1px 4px 0px var(--ff-select-option-wrapper-box-shadow);\n overflow: hidden auto;\n display: flex;\n justify-content: space-between;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper .ff-nlp-options-wrapper1 {\n max-height: 160px;\n z-index: 100;\n min-width: auto;\n box-sizing: border-box;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper::-webkit-scrollbar {\n width: 4px;\n height: 12px;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper::-webkit-scrollbar-thumb {\n background-color: var(--ff-select-scroll-thumb-color);\n border-radius: 4px;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper::-webkit-scrollbar-track {\n background-color: transparent;\n border-radius: 4px;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper .ff-nlp-option {\n width: calc(100% - 18px);\n border: 1px solid transparent;\n border-radius: 4px;\n padding: 0px 8px;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper .ff-nlp-option:hover {\n border-color: var(--ff-select-background-color);\n background-color: var(--ff-select-option-hover-color);\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-options-wrapper .ff-nlp-no-option {\n width: calc(100% - 16px);\n margin: 0;\n overflow: hidden;\n padding: 0px 8px;\n white-space: nowrap;\n text-overflow: ellipsis;\n cursor: not-allowed;\n}\n.ff-nlp-dropdown-wrapper .ff-nlp-data {\n width: 200px;\n height: 134px;\n border: 1px solid transparent;\n border-radius: 5px;\n box-shadow: 0px 1px 4px 0px var(--ff-select-option-wrapper-box-shadow);\n overflow: scroll;\n}";
|
23287
|
+
styleInject(css_248z$1);
|
23288
|
+
|
23289
|
+
const NlpDropdown = ({
|
23290
|
+
onSelectBlur,
|
23291
|
+
onSelectOptionSelector,
|
23292
|
+
dropdownPosition,
|
23293
|
+
options = [],
|
23294
|
+
optionZIndex = 100,
|
23295
|
+
inputRef
|
23296
|
+
}) => {
|
23297
|
+
// const [nlpData, setNlpData] = useState<OptionType | null>(null); need to add setNlpData
|
23298
|
+
const [nlpData] = useState(null);
|
23299
|
+
const themeContext = useContext(ThemeContext);
|
23300
|
+
const currentTheme = themeContext?.currentTheme;
|
23301
|
+
const optionsWrapperRef = useRef(null);
|
23302
|
+
useClickOutside(optionsWrapperRef, onSelectBlur, [inputRef]);
|
23303
|
+
const {
|
23304
|
+
positionX,
|
23305
|
+
positionY,
|
23306
|
+
width,
|
23307
|
+
fromBottom
|
23308
|
+
} = dropdownPosition;
|
23309
|
+
const {
|
23310
|
+
margin,
|
23311
|
+
optionHeight,
|
23312
|
+
selectInputHeight,
|
23313
|
+
dropDownWrapperPadding
|
23314
|
+
} = nlpDropdownDefaultCSSData;
|
23315
|
+
const updateDropdownPosition = () => {
|
23316
|
+
let dropdownContainerHeight;
|
23317
|
+
if (checkEmpty(options)) {
|
23318
|
+
dropdownContainerHeight = optionHeight + 2 * dropDownWrapperPadding;
|
23319
|
+
} else if (options.length > 5) {
|
23320
|
+
dropdownContainerHeight = 5 * optionHeight + 2 * dropDownWrapperPadding;
|
23321
|
+
} else {
|
23322
|
+
dropdownContainerHeight = options.length * optionHeight + 2 * dropDownWrapperPadding;
|
23323
|
+
}
|
23324
|
+
if (fromBottom > dropdownContainerHeight + margin) {
|
23325
|
+
return {
|
23326
|
+
left: positionX,
|
23327
|
+
top: positionY,
|
23328
|
+
width: width,
|
23329
|
+
zIndex: optionZIndex
|
23330
|
+
};
|
23331
|
+
}
|
23332
|
+
return {
|
23333
|
+
zIndex: optionZIndex,
|
23334
|
+
left: positionX,
|
23335
|
+
width: width,
|
23336
|
+
top: positionY - selectInputHeight - dropdownContainerHeight - margin
|
23337
|
+
};
|
23338
|
+
};
|
23339
|
+
return jsx("div", {
|
23340
|
+
className: "ff-nlp-dropdown-wrapper",
|
23341
|
+
children: jsxs("div", {
|
23342
|
+
ref: optionsWrapperRef,
|
23343
|
+
style: updateDropdownPosition(),
|
23344
|
+
className: classNames('ff-nlp-options-wrapper', currentTheme),
|
23345
|
+
children: [jsxs("div", {
|
23346
|
+
className: "ff-nlp-options-wrapper1",
|
23347
|
+
children: [!checkEmpty(options) ? options.map(option =>
|
23348
|
+
// <div key={ffid()} onMouseEnter={() => setNlpData(option)}> need to add onMouseEnter
|
23349
|
+
jsx("div", {
|
23350
|
+
children: jsxs(Typography, {
|
23351
|
+
as: "div",
|
23352
|
+
lineHeight: "30px",
|
23353
|
+
className: classNames('ff-nlp-option', currentTheme),
|
23354
|
+
color: "var(--ff-nlp-text-color)",
|
23355
|
+
onClick: () => onSelectOptionSelector(option),
|
23356
|
+
children: [jsx("span", {
|
23357
|
+
className: "mr-2 fontPoppinsRegularMd",
|
23358
|
+
children: option?.nlpType === 'NLP' ? jsx("b", {
|
23359
|
+
className: "nlp-type-NLP",
|
23360
|
+
children: "NLP"
|
23361
|
+
}) : option?.nlpType === 'STEP_GROUP' ? jsx("b", {
|
23362
|
+
className: "nlp-type-step-group",
|
23363
|
+
children: "SG"
|
23364
|
+
}) : option?.nlpType === 'PROGRAM_ELEMENTS' ? jsx("b", {
|
23365
|
+
className: "nlp-type-program-elements",
|
23366
|
+
children: "PE"
|
23367
|
+
}) : '--'
|
23368
|
+
}), jsx("span", {
|
23369
|
+
className: "mr-2 fontPoppinsRegularMd",
|
23370
|
+
children: option?.platform === 'web' ? jsx("b", {
|
23371
|
+
className: "platform-web",
|
23372
|
+
children: "Web"
|
23373
|
+
}) : option?.platform === 'android' ? jsx("b", {
|
23374
|
+
className: "platform-android",
|
23375
|
+
children: "Android"
|
23376
|
+
}) : option?.platform === 'ios' ? jsx("b", {
|
23377
|
+
className: "platform-ios",
|
23378
|
+
children: "iOS"
|
23379
|
+
}) : option?.platform === 'Generic' ? jsx("b", {
|
23380
|
+
className: "platform-ios",
|
23381
|
+
children: "Generic"
|
23382
|
+
}) : '--'
|
23383
|
+
}), option?.displayName]
|
23384
|
+
})
|
23385
|
+
}, ffid())) : jsx(Typography, {
|
23386
|
+
textAlign: "center",
|
23387
|
+
lineHeight: "32px",
|
23388
|
+
as: "p",
|
23389
|
+
color: "var(--ff-nlp-text-color)",
|
23390
|
+
className: "ff-nlp-no-option",
|
23391
|
+
children: "No Results Found"
|
23392
|
+
}), jsx("button", {
|
23393
|
+
children: "+ Web Services"
|
23394
|
+
})]
|
23395
|
+
}), jsx("div", {
|
23396
|
+
className: "ff-nlp-data",
|
23397
|
+
children: jsxs("div", {
|
23398
|
+
children: [jsx("div", {
|
23399
|
+
className: "nlp-details-header mt-4",
|
23400
|
+
children: "Name:"
|
23401
|
+
}), jsx("div", {
|
23402
|
+
className: "nlp-details nlpdiv-check",
|
23403
|
+
children: nlpData?.displayName || '--'
|
23404
|
+
}), jsx("div", {
|
23405
|
+
className: "nlp-details-header mt-4",
|
23406
|
+
children: "Description:"
|
23407
|
+
}), jsx("div", {
|
23408
|
+
className: "nlp-details nlpdiv-check",
|
23409
|
+
children: nlpData?.description || '--'
|
23410
|
+
}), nlpData?.nlpType === 'STEP_GROUP' && jsxs(Fragment, {
|
23411
|
+
children: [jsx("div", {
|
23412
|
+
className: "nlp-details-header mt-4",
|
23413
|
+
children: "Path:"
|
23414
|
+
}), jsx("div", {
|
23415
|
+
className: "nlp-details nlpdiv-check",
|
23416
|
+
children: nlpData?.path ? nlpData?.path.slice(6) : '--'
|
23417
|
+
})]
|
23418
|
+
}), jsx("div", {
|
23419
|
+
className: "nlp-details-header mt-4",
|
23420
|
+
children: "Inputs:"
|
23421
|
+
}), nlpData?.stepInputs?.length ? nlpData.stepInputs.map((stepInput, index) => {
|
23422
|
+
const stepInputType = stepInput.type ? stepInput.type.split('.').pop() : '--';
|
23423
|
+
return jsxs("div", {
|
23424
|
+
children: [jsxs("div", {
|
23425
|
+
className: "nlp-details-header",
|
23426
|
+
children: ["Input", index + 1, ":"]
|
23427
|
+
}), jsxs("div", {
|
23428
|
+
className: "nlp-details",
|
23429
|
+
children: ["type: ", stepInputType]
|
23430
|
+
}), jsxs("div", {
|
23431
|
+
className: "nlp-details mb-4",
|
23432
|
+
children: ["name: ", stepInput.name || '--']
|
23433
|
+
})]
|
23434
|
+
}, index);
|
23435
|
+
}) : jsx("div", {
|
23436
|
+
className: "nlp-details mb-4",
|
23437
|
+
children: "--"
|
23438
|
+
}), jsx("div", {
|
23439
|
+
className: "nlp-details-header",
|
23440
|
+
children: "Output:"
|
23441
|
+
}), jsx("div", {
|
23442
|
+
className: "nlp-details mb-4",
|
23443
|
+
children: nlpData?.returnType || '--'
|
23444
|
+
})]
|
23445
|
+
})
|
23446
|
+
})]
|
23447
|
+
})
|
23448
|
+
});
|
23449
|
+
};
|
23450
|
+
|
23451
|
+
var css_248z = "@font-face {\n font-family: \"Poppins\";\n font-weight: 400;\n src: local(\"Poppins-Regular\"), url(../../fonts/Poppins/Poppins-Regular.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 500;\n src: local(\"Poppins-Medium\"), url(../../fonts/Poppins/Poppins-Medium.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 600;\n src: local(\"Poppins-SemiBold\"), url(../../fonts/Poppins/Poppins-SemiBold.ttf) format(\"truetype\");\n}\n@font-face {\n font-family: \"Poppins\";\n font-weight: 700;\n src: local(\"Poppins-Bold\"), url(../../fonts/Poppins/Poppins-Bold.ttf) format(\"truetype\");\n}\n.fontXs {\n font-family: \"Poppins\", sans-serif;\n font-size: 10px;\n}\n\n.fontSm, .ff-nlp-input-wrapper .ff-nlp-input, .ff-nlp-input-wrapper .ff-nlp-input-input {\n font-family: \"Poppins\", sans-serif;\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\", sans-serif;\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\", sans-serif;\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\", sans-serif;\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\", sans-serif;\n font-size: 24px;\n}\n\n.font-size-8, .ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend, .ff-nlp-input-wrapper .ff-nlp-input-label--active {\n font-family: \"Poppins\", sans-serif;\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\", sans-serif;\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\", sans-serif;\n font-size: 80px;\n}\n\n.ff-nlp-input-wrapper {\n position: relative;\n}\n.ff-nlp-input-wrapper .ff-nlp-input {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n min-height: 32px;\n min-width: 489px;\n display: flex;\n align-items: end;\n position: relative;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset {\n margin: 0;\n padding: 25px 0px 0px 8px;\n border: 1px solid transparent;\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n border-radius: 4px;\n display: block;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--border-radius {\n border-radius: 0px 4px 4px 0px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--no-label {\n padding: 30px 0px 0px 8px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--default {\n opacity: 0;\n border-color: var(--ff-nlp-input-border-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--active {\n opacity: 1;\n border-color: var(--ff-nlp-input-brand-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--option {\n opacity: 1;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--no-border {\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset--error {\n border-color: var(--error-light);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend {\n padding: 0 2px;\n letter-spacing: 0.5px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend--default {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 0;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend--active {\n transition: opacity 0.25s ease-out, transform 0.25s ease-out, font-size 0.25s ease-out, padding 0.25s ease-out;\n opacity: 1;\n color: var(--ff-nlp-input-brand-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend--option {\n opacity: 1;\n color: var(--ff-nlp-input-default-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend--error {\n color: var(--error-light);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-fieldset .ff-nlp-input-legend--required {\n margin-right: 2px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input {\n position: absolute;\n top: 6px;\n right: auto;\n bottom: auto;\n left: auto;\n width: calc(100% - 38px);\n min-height: calc(100% - 8px);\n padding: 0 28px 0 8px;\n border-radius: 4px;\n border: 1px solid transparent;\n z-index: 100;\n background: transparent;\n outline: none;\n color: var(--ff-nlp-input-text-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input:hover ~ .ff-nlp-input-label {\n color: var(--ff-nlp-input-text-hover-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--border-radius {\n border-radius: 0px 4px 4px 0px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--default {\n opacity: 1;\n border-color: var(--ff-nlp-input-border-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--default:hover {\n border-color: var(--ff-nlp-input-text-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--default:hover ~ .ff-nlp-input-fieldset--option {\n border-color: var(--ff-nlp-input-text-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--default:hover ~ .ff-nlp-input-fieldset--option .ff-nlp-input-legend--option {\n color: var(--ff-nlp-input-text-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--no-label {\n min-height: calc(100% - 2px);\n margin-top: 0px;\n top: 0px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--active {\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--active:hover {\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--no-border {\n border: none;\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--no-border:hover {\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--no-border:hover ~ .ff-nlp-input-fieldset--no-border {\n border-color: transparent;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--disable {\n border-color: var(--ff-nlp-input-border-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--disable:hover {\n border-color: var(--ff-nlp-input-border-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--disable:hover ~ .ff-nlp-input-label--default {\n color: var(--ff-nlp-input-default-color);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--error {\n border-color: var(--error-light);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-input--error:hover {\n border-color: var(--error-light);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-label {\n position: absolute;\n top: 13px;\n right: auto;\n bottom: auto;\n left: 8px;\n z-index: 1;\n font-size: 12px;\n top: 60%;\n padding-left: 8px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-label--default {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 1;\n color: var(--ff-nlp-input-default-color);\n transform: translateY(-50%);\n}\n.ff-nlp-input-wrapper .ff-nlp-input-label--active {\n transition: opacity 0.3s ease-out, transform 0.3s ease-out, font-size 0.3s ease-out, padding 0.3s ease-out;\n opacity: 0;\n transform: translateY(-150%);\n padding: 0 6px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-label--required {\n margin-right: 2px;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-arrow {\n position: absolute;\n top: 60%;\n height: 100%;\n right: 10px;\n transform: rotateX(180deg) translateY(50%);\n cursor: pointer;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-arrow--no-label {\n top: 50%;\n}\n.ff-nlp-input-wrapper .ff-nlp-input-arrow--down {\n transform: rotateX(0deg) translateY(-50%);\n z-index: 101;\n}\n.ff-nlp-input-wrapper-error-text {\n position: absolute;\n top: auto;\n right: auto;\n bottom: -14px;\n left: 12px;\n white-space: nowrap;\n}";
|
23452
|
+
styleInject(css_248z);
|
23453
|
+
|
23454
|
+
const nlpInputReducer = (state, action) => {
|
23455
|
+
switch (action.type) {
|
23456
|
+
case 'FOCUS_INPUT':
|
23457
|
+
return {
|
23458
|
+
...state,
|
23459
|
+
isInputFocused: true,
|
23460
|
+
iconColor: 'var(--ff-nlp-input-brand-color)',
|
23461
|
+
isIconClick: true,
|
23462
|
+
showOptions: true
|
23463
|
+
};
|
23464
|
+
case 'BLUR_INPUT':
|
23465
|
+
return {
|
23466
|
+
...state,
|
23467
|
+
isInputFocused: false,
|
23468
|
+
options: action.payload.optionsList,
|
23469
|
+
option: action.payload.option,
|
23470
|
+
// todo color need to be add in style guide
|
23471
|
+
iconColor: 'var(--ff-nlp-input-default-color)',
|
23472
|
+
isIconClick: false,
|
23473
|
+
showOptions: false,
|
23474
|
+
dropdownPosition: {
|
23475
|
+
positionX: 0,
|
23476
|
+
positionY: 0,
|
23477
|
+
width: 0,
|
23478
|
+
fromBottom: 0
|
23479
|
+
}
|
23480
|
+
};
|
23481
|
+
case 'MOUSE_ENTER':
|
23482
|
+
return state.isInputFocused ? state : {
|
23483
|
+
...state,
|
23484
|
+
iconColor: 'var(--ff-nlp-input-text-hover-color)'
|
23485
|
+
};
|
23486
|
+
case 'MOUSE_LEAVE':
|
23487
|
+
return state.isInputFocused ? state :
|
23488
|
+
// todo color need to be add in style guide
|
23489
|
+
{
|
23490
|
+
...state,
|
23491
|
+
iconColor: 'var(--ff-nlp-input-default-color)',
|
23492
|
+
isIconClick: false
|
23493
|
+
};
|
23494
|
+
case 'UPDATE_DROPDOWN_POSITION':
|
23495
|
+
const {
|
23496
|
+
positionX,
|
23497
|
+
positionY,
|
23498
|
+
width,
|
23499
|
+
fromBottom
|
23500
|
+
} = action.payload || {};
|
23501
|
+
return {
|
23502
|
+
...state,
|
23503
|
+
dropdownPosition: {
|
23504
|
+
positionX,
|
23505
|
+
positionY,
|
23506
|
+
width,
|
23507
|
+
fromBottom
|
23508
|
+
}
|
23509
|
+
};
|
23510
|
+
case 'UPDATE_OPTION':
|
23511
|
+
return {
|
23512
|
+
...state,
|
23513
|
+
option: action.payload
|
23514
|
+
};
|
23515
|
+
case 'UPDATE_OPTION_LIST':
|
23516
|
+
return {
|
23517
|
+
...state,
|
23518
|
+
options: action.payload
|
23519
|
+
};
|
23520
|
+
case 'SHOW_ERROR':
|
23521
|
+
return {
|
23522
|
+
...state,
|
23523
|
+
isInputFocused: true,
|
23524
|
+
isIconClick: false,
|
23525
|
+
showOptions: false,
|
23526
|
+
options: action.payload.optionsList,
|
23527
|
+
option: action.payload.option,
|
23528
|
+
iconColor: 'var(--ff-nlp-input-default-color)',
|
23529
|
+
dropdownPosition: {
|
23530
|
+
positionX: 0,
|
23531
|
+
positionY: 0,
|
23532
|
+
width: 0,
|
23533
|
+
fromBottom: 0
|
23534
|
+
}
|
23048
23535
|
};
|
23049
|
-
|
23050
|
-
|
23051
|
-
// We can pass it along to AsyncScriptLoader as a regular prop, e.g. "forwardedRef"
|
23052
|
-
// And it can then be attached to the Component.
|
23053
|
-
|
23054
|
-
var ForwardedComponent = /*#__PURE__*/forwardRef(function (props, ref) {
|
23055
|
-
return /*#__PURE__*/createElement(AsyncScriptLoader, _extends({}, props, {
|
23056
|
-
forwardedRef: ref
|
23057
|
-
}));
|
23058
|
-
});
|
23059
|
-
ForwardedComponent.displayName = "AsyncScriptLoader(" + wrappedComponentName + ")";
|
23060
|
-
ForwardedComponent.propTypes = {
|
23061
|
-
asyncScriptOnLoad: PropTypes.func
|
23062
|
-
};
|
23063
|
-
return hoistStatics(ForwardedComponent, WrappedComponent);
|
23064
|
-
};
|
23065
|
-
}
|
23066
|
-
|
23067
|
-
var callbackName = "onloadcallback";
|
23068
|
-
var globalName = "grecaptcha";
|
23069
|
-
function getOptions() {
|
23070
|
-
return typeof window !== "undefined" && window.recaptchaOptions || {};
|
23071
|
-
}
|
23072
|
-
function getURL() {
|
23073
|
-
var dynamicOptions = getOptions();
|
23074
|
-
var hostname = dynamicOptions.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
23075
|
-
if (dynamicOptions.enterprise) {
|
23076
|
-
return "https://" + hostname + "/recaptcha/enterprise.js?onload=" + callbackName + "&render=explicit";
|
23536
|
+
default:
|
23537
|
+
return state;
|
23077
23538
|
}
|
23078
|
-
|
23079
|
-
|
23080
|
-
|
23081
|
-
|
23082
|
-
|
23083
|
-
|
23084
|
-
|
23085
|
-
|
23086
|
-
|
23087
|
-
|
23088
|
-
|
23089
|
-
|
23090
|
-
|
23091
|
-
const Recaptcha = /*#__PURE__*/forwardRef(({
|
23092
|
-
onVerify,
|
23539
|
+
};
|
23540
|
+
const NlpInput = ({
|
23541
|
+
label = '',
|
23542
|
+
showLabel = true,
|
23543
|
+
optionsList = [],
|
23544
|
+
selectedOption = {
|
23545
|
+
displayName: '',
|
23546
|
+
projectId: '',
|
23547
|
+
nlpType: '',
|
23548
|
+
platform: ''
|
23549
|
+
},
|
23550
|
+
onChange = () => {},
|
23551
|
+
errorMsg = '',
|
23093
23552
|
className = '',
|
23094
|
-
|
23095
|
-
|
23096
|
-
|
23097
|
-
|
23098
|
-
|
23099
|
-
|
23100
|
-
|
23101
|
-
|
23102
|
-
|
23553
|
+
optionZIndex = 100,
|
23554
|
+
disabled = false,
|
23555
|
+
borderRadius = true,
|
23556
|
+
showBorder = true,
|
23557
|
+
required = false
|
23558
|
+
}) => {
|
23559
|
+
const initialState = useMemo(() => ({
|
23560
|
+
isInputFocused: false,
|
23561
|
+
// todo color need to be added in style guide
|
23562
|
+
iconColor: 'var(--ff-nlp-input-default-color)',
|
23563
|
+
isIconClick: false,
|
23564
|
+
showOptions: false,
|
23565
|
+
options: optionsList,
|
23566
|
+
option: checkEmpty(selectedOption) ? '' : selectedOption?.projectId,
|
23567
|
+
dropdownPosition: {
|
23568
|
+
positionX: 0,
|
23569
|
+
positionY: 0,
|
23570
|
+
width: 0,
|
23571
|
+
fromBottom: 0
|
23572
|
+
}
|
23573
|
+
}), [optionsList, selectedOption]);
|
23574
|
+
const [selectControlState, dispatch] = useReducer(nlpInputReducer, initialState);
|
23575
|
+
const DropDownRef = useRef(null);
|
23576
|
+
const InputRef = useRef(null);
|
23577
|
+
const {
|
23578
|
+
isInputFocused,
|
23579
|
+
iconColor,
|
23580
|
+
isIconClick,
|
23581
|
+
showOptions,
|
23582
|
+
dropdownPosition,
|
23583
|
+
options,
|
23584
|
+
option
|
23585
|
+
} = selectControlState;
|
23586
|
+
const calculatePosition = usePortalPosition(DropDownRef, showOptions);
|
23587
|
+
const handleSelectAction = actionType => {
|
23588
|
+
if (!disabled) {
|
23589
|
+
if (actionType === 'SHOW_ERROR' || actionType === 'BLUR_INPUT') {
|
23590
|
+
dispatch({
|
23591
|
+
type: actionType,
|
23592
|
+
payload: {
|
23593
|
+
optionsList,
|
23594
|
+
option: selectedOption.projectId
|
23595
|
+
}
|
23596
|
+
});
|
23597
|
+
} else {
|
23598
|
+
dispatch({
|
23599
|
+
type: actionType
|
23600
|
+
});
|
23601
|
+
}
|
23602
|
+
}
|
23603
|
+
};
|
23604
|
+
const onSelectInputChange = e => {
|
23605
|
+
if (disabled) return;
|
23606
|
+
const {
|
23607
|
+
value
|
23608
|
+
} = e.target;
|
23609
|
+
const filteredOptions = optionsList.filter(option => {
|
23610
|
+
return option.displayName.toLowerCase().includes(value.toLowerCase().trim());
|
23611
|
+
});
|
23612
|
+
dispatch({
|
23613
|
+
type: 'UPDATE_OPTION_LIST',
|
23614
|
+
payload: filteredOptions
|
23615
|
+
});
|
23616
|
+
dispatch({
|
23617
|
+
type: 'UPDATE_OPTION',
|
23618
|
+
payload: value
|
23619
|
+
});
|
23620
|
+
};
|
23621
|
+
const onSelectBlur = () => {
|
23622
|
+
if (disabled) return;
|
23623
|
+
if (errorMsg) {
|
23624
|
+
handleSelectAction('SHOW_ERROR');
|
23103
23625
|
} else {
|
23104
|
-
|
23626
|
+
handleSelectAction('BLUR_INPUT');
|
23105
23627
|
}
|
23106
23628
|
};
|
23107
|
-
const
|
23629
|
+
const onSelectOptionSelector = option => {
|
23630
|
+
if (!disabled) {
|
23631
|
+
onSelectBlur();
|
23632
|
+
dispatch({
|
23633
|
+
type: 'UPDATE_OPTION',
|
23634
|
+
payload: option.projectId
|
23635
|
+
});
|
23636
|
+
if (onChange) {
|
23637
|
+
onChange(option);
|
23638
|
+
}
|
23639
|
+
}
|
23640
|
+
};
|
23641
|
+
const onSelectUpdatePosition = () => {
|
23642
|
+
if (!showOptions || !DropDownRef?.current || disabled) return;
|
23643
|
+
const {
|
23644
|
+
positionX,
|
23645
|
+
positionY,
|
23646
|
+
width,
|
23647
|
+
fromBottom
|
23648
|
+
} = calculatePosition(DropDownRef);
|
23649
|
+
dispatch({
|
23650
|
+
type: 'UPDATE_DROPDOWN_POSITION',
|
23651
|
+
payload: {
|
23652
|
+
positionX,
|
23653
|
+
positionY,
|
23654
|
+
width,
|
23655
|
+
fromBottom
|
23656
|
+
}
|
23657
|
+
});
|
23658
|
+
};
|
23659
|
+
const onSelectToggleScroll = isEnabled => {
|
23660
|
+
const bodyScrollWidth = window.innerWidth - document.body.clientWidth;
|
23661
|
+
document.body.style.paddingRight = isEnabled ? '' : `${bodyScrollWidth}px`;
|
23662
|
+
document.body.style.overflow = isEnabled ? '' : 'hidden';
|
23663
|
+
};
|
23664
|
+
useEffect(() => {
|
23665
|
+
if (disabled) return;
|
23666
|
+
if (showOptions) {
|
23667
|
+
onSelectToggleScroll(!showOptions);
|
23668
|
+
}
|
23669
|
+
onSelectUpdatePosition();
|
23670
|
+
const handleResizeOrScroll = () => onSelectUpdatePosition();
|
23671
|
+
window.addEventListener('resize', handleResizeOrScroll);
|
23672
|
+
window.addEventListener('scroll', handleResizeOrScroll);
|
23673
|
+
return () => {
|
23674
|
+
onSelectToggleScroll(true);
|
23675
|
+
window.removeEventListener('resize', handleResizeOrScroll);
|
23676
|
+
window.removeEventListener('scroll', handleResizeOrScroll);
|
23677
|
+
};
|
23678
|
+
}, [showOptions]);
|
23679
|
+
useEffect(() => {
|
23680
|
+
if (errorMsg) {
|
23681
|
+
handleSelectAction('SHOW_ERROR');
|
23682
|
+
}
|
23683
|
+
}, []);
|
23684
|
+
const applyActiveOptionClasses = !isInputFocused && Boolean(option);
|
23108
23685
|
return jsxs("div", {
|
23109
|
-
className: classNames(
|
23110
|
-
children: [
|
23111
|
-
|
23112
|
-
|
23113
|
-
|
23114
|
-
|
23115
|
-
|
23116
|
-
|
23117
|
-
|
23118
|
-
|
23119
|
-
|
23120
|
-
|
23686
|
+
className: classNames(`ff-nlp-input-wrapper ${className}`),
|
23687
|
+
children: [jsxs("div", {
|
23688
|
+
className: "ff-nlp-input",
|
23689
|
+
children: [jsx("input", {
|
23690
|
+
type: "text",
|
23691
|
+
className: classNames('ff-nlp-input-input', {
|
23692
|
+
'ff-nlp-input-input--default': !isInputFocused,
|
23693
|
+
'ff-nlp-input-input--active': applyActiveOptionClasses,
|
23694
|
+
'ff-nlp-input-input--no-label': !showLabel,
|
23695
|
+
'ff-nlp-input-input--error': errorMsg && !isInputFocused && !Boolean(option),
|
23696
|
+
'ff-nlp-input-input--border-radius': !borderRadius,
|
23697
|
+
'ff-nlp-input-input--disable': disabled,
|
23698
|
+
'ff-nlp-input-input--no-border': !showBorder
|
23699
|
+
}),
|
23700
|
+
// inline css required due to multiple overlay scenarios are present
|
23701
|
+
style: {
|
23702
|
+
zIndex: optionZIndex
|
23703
|
+
},
|
23704
|
+
onFocus: () => handleSelectAction('FOCUS_INPUT'),
|
23705
|
+
onMouseEnter: () => handleSelectAction('MOUSE_ENTER'),
|
23706
|
+
onMouseLeave: () => handleSelectAction('MOUSE_LEAVE'),
|
23707
|
+
onChange: onSelectInputChange,
|
23708
|
+
value: option,
|
23709
|
+
disabled: disabled,
|
23710
|
+
autoComplete: "off",
|
23711
|
+
spellCheck: "false",
|
23712
|
+
ref: InputRef
|
23713
|
+
}), showLabel && jsxs("div", {
|
23714
|
+
className: classNames('ff-nlp-input-label', {
|
23715
|
+
'ff-nlp-input-label--default': !isInputFocused,
|
23716
|
+
'ff-nlp-input-label--active': isInputFocused || Boolean(option),
|
23717
|
+
'ff-nlp-input-label--error': errorMsg
|
23718
|
+
}),
|
23719
|
+
children: [required && jsx(Typography, {
|
23720
|
+
color: "var(--$error-light)",
|
23721
|
+
className: "ff-nlp-input-label--required",
|
23722
|
+
children: "*"
|
23723
|
+
}), label]
|
23724
|
+
}), jsx(Icon, {
|
23725
|
+
name: "arrow_up",
|
23726
|
+
height: 7,
|
23727
|
+
width: 12,
|
23728
|
+
className: classNames('ff-nlp-input-arrow', {
|
23729
|
+
'ff-nlp-input-arrow--down': isIconClick,
|
23730
|
+
'ff-nlp-input-arrow--no-label': !showLabel
|
23731
|
+
}),
|
23732
|
+
color: iconColor
|
23733
|
+
}), jsx("fieldset", {
|
23734
|
+
className: classNames('ff-nlp-input-fieldset', {
|
23735
|
+
'ff-nlp-input-fieldset--no-label': !showLabel,
|
23736
|
+
'ff-nlp-input-fieldset--default': !isInputFocused,
|
23737
|
+
'ff-nlp-input-fieldset--active': isInputFocused,
|
23738
|
+
'ff-nlp-input-fieldset--option': applyActiveOptionClasses,
|
23739
|
+
'ff-nlp-input-fieldset--error': errorMsg,
|
23740
|
+
'ff-nlp-input-fieldset--border-radius': !borderRadius,
|
23741
|
+
'ff-nlp-input-fieldset--no-border': !showBorder
|
23742
|
+
})
|
23743
|
+
})]
|
23744
|
+
}), errorMsg && jsx(Typography, {
|
23745
|
+
className: "ff-nlp-input-wrapper-error-text",
|
23746
|
+
fontSize: 8,
|
23747
|
+
color: 'var(--error-light)',
|
23748
|
+
children: errorMsg
|
23749
|
+
}), jsx("div", {
|
23750
|
+
ref: DropDownRef,
|
23751
|
+
children: showOptions && /*#__PURE__*/createPortal(jsx(NlpDropdown, {
|
23752
|
+
onSelectBlur: onSelectBlur,
|
23753
|
+
onSelectOptionSelector: onSelectOptionSelector,
|
23754
|
+
dropdownPosition: dropdownPosition,
|
23755
|
+
options: options,
|
23756
|
+
optionZIndex: optionZIndex,
|
23757
|
+
inputRef: InputRef
|
23758
|
+
}), document.body)
|
23121
23759
|
})]
|
23122
23760
|
});
|
23123
|
-
}
|
23761
|
+
};
|
23124
23762
|
|
23125
|
-
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button$1 as Button, Checkbox, Chip, Col, Container, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, LazyLoad, MenuOption, MiniModal, Modal, MultiSelect, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select$1 as Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|
23763
|
+
export { Accordion, AddButton as AddResourceButton, AllProjectsDropdown, AppHeader, Button$1 as Button, Checkbox, Chip, Col, Container, DashboardDonutChart, CustomDatePicker as DatePicker, DonutChart, DragAndDrop, Drawer, ExpandableMenu, FileDropzone, Form, HighlightText, Icon, IconButton, Input, InputWithDropdown, LazyLoad, MenuOption, MiniModal, Modal, MultiSelect, NlpInput as NLPInput, PieChart, RadialChart, RadioButton, RadioGroup, Recaptcha, Row, Search, Select$1 as Select, StateDropdown, StatusButton, Table, TableTree, Tabs, Textarea as TextArea, ThemeProvider, Toaster, Toggle, Tooltip, Typography, checkEmpty, getExtension, getExtensionWithPeriod, useTheme };
|
23126
23764
|
//# sourceMappingURL=index.esm.js.map
|