pixel-react 1.2.7 → 1.2.8
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/Drawer/Types.d.ts +23 -12
- package/lib/components/{ExcelFile → Excel}/ExcelFile/ExcelFile.d.ts +1 -0
- package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/actions.d.ts +39 -10
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.d.ts +4 -0
- package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.d.ts +40 -0
- package/lib/components/{ExcelFile → Excel}/ExcelToolBar/ExcelToolBar.d.ts +7 -3
- package/lib/components/MenuOption/MenuOption.d.ts +1 -1
- package/lib/components/MenuOption/types.d.ts +4 -0
- package/lib/components/Select/Select.stories.d.ts +1 -0
- package/lib/components/Toastify/Toastify.d.ts +5 -4
- package/lib/components/Toastify/types.d.ts +1 -0
- package/lib/index.d.ts +68 -18
- package/lib/index.esm.js +1512 -1089
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +1513 -1089
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/utils/getSequentialPayload/getSequentialPayload.d.ts +2 -0
- package/lib/utils/getSequentialPayload/getSequentialPayload.stories.d.ts +10 -0
- package/lib/utils/getSequentialPayload/types.d.ts +30 -0
- package/package.json +3 -3
- package/src/assets/Themes/BaseTheme.scss +4 -0
- package/src/assets/icons/maximize_icon.svg +5 -0
- package/src/assets/styles/_fonts.scss +1 -1
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.scss +15 -6
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.stories.tsx +0 -5
- package/src/components/AllProjectsDropdown/AllProjectsDropdown.tsx +20 -10
- package/src/components/Drawer/Drawer.scss +1 -0
- package/src/components/Drawer/Types.ts +24 -13
- package/src/components/Excel/ExcelFile/ExcelFile.scss +62 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +312 -0
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/ActiveCell.tsx +2 -2
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Cell.tsx +3 -3
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/ColumnIndicator.tsx +4 -4
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/CornerIndicator.tsx +2 -2
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/DataEditor.tsx +1 -1
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/DataViewer.tsx +3 -3
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/FloatingRect.tsx +4 -4
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/RowIndicator.tsx +4 -4
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Spreadsheet.scss +26 -24
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Spreadsheet.tsx +13 -45
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Table.tsx +1 -1
- package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/actions.ts +88 -20
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducer.ts +495 -0
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +758 -0
- package/src/components/{ExcelFile → Excel}/ExcelFile.stories.tsx +45 -0
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.scss +36 -0
- package/src/components/Excel/ExcelToolBar/ExcelToolBar.tsx +346 -0
- package/src/components/Form/Form.scss +54 -35
- package/src/components/Form/Form.stories.tsx +264 -225
- package/src/components/Icon/iconList.ts +2 -1
- package/src/components/Input/Input.tsx +0 -1
- package/src/components/MenuOption/MenuOption.scss +0 -1
- package/src/components/MenuOption/MenuOption.stories.tsx +3 -0
- package/src/components/MenuOption/MenuOption.tsx +5 -4
- package/src/components/MenuOption/types.ts +4 -0
- package/src/components/MultiSelect/MultiSelect.scss +5 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +17 -13
- package/src/components/MultiSelect/MultiSelect.tsx +27 -14
- package/src/components/Select/Select.stories.tsx +161 -18
- package/src/components/Select/Select.tsx +41 -33
- package/src/components/Table/Table.scss +6 -5
- package/src/components/Table/Table.stories.tsx +0 -9
- package/src/components/Table/Table.tsx +2 -2
- package/src/components/TableTree/TableTree.scss +1 -1
- package/src/components/TableTree/TableTree.tsx +3 -1
- package/src/components/Toastify/Toastify.stories.tsx +29 -10
- package/src/components/Toastify/Toastify.tsx +42 -16
- package/src/components/Toastify/types.ts +2 -0
- package/src/index.ts +4 -2
- package/src/utils/getSequentialPayload/getSequentialPayload.stories.tsx +75 -0
- package/src/utils/getSequentialPayload/getSequentialPayload.ts +29 -0
- package/src/utils/getSequentialPayload/types.ts +35 -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/components/ExcelFile/ChangeExcelStyles.d.ts +0 -14
- package/lib/components/ExcelFile/ExcelFile/Excel/reducer.d.ts +0 -27
- package/lib/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.d.ts +0 -12
- package/lib/components/ExcelFile/ImportExcelStyles.d.ts +0 -24
- package/lib/utils/find/findAndInsert.d.ts +0 -7
- package/lib/utils/find/findAndInsert.stories.d.ts +0 -7
- package/src/components/ExcelFile/ExcelFile/Excel/reducer.ts +0 -952
- package/src/components/ExcelFile/ExcelFile/ExcelFile.scss +0 -24
- package/src/components/ExcelFile/ExcelFile/ExcelFile.tsx +0 -162
- package/src/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.scss +0 -16
- package/src/components/ExcelFile/ExcelSheetBar/ExcelSheetBar.tsx +0 -68
- package/src/components/ExcelFile/ExcelToolBar/ExcelToolBar.scss +0 -19
- package/src/components/ExcelFile/ExcelToolBar/ExcelToolBar.tsx +0 -291
- package/src/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/src/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Black.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BlackItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-BoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBold.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLight.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ExtraLightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Italic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Light.ttf +0 -0
- package/src/fonts/Poppins/Poppins-LightItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-MediumItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-SemiBoldItalic.ttf +0 -0
- package/src/fonts/Poppins/Poppins-Thin.ttf +0 -0
- package/src/fonts/Poppins/Poppins-ThinItalic.ttf +0 -0
- /package/lib/components/{ExcelFile → Excel}/ColorBarSelector/ColorBarSelector.d.ts +0 -0
- /package/lib/components/{ExcelFile → Excel}/ContextMenu/ContextMenu.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/ActiveCell.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Cell.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/ColumnIndicator.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Copied.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/CornerIndicator.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/DataEditor.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/DataViewer.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/FloatingRect.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/HeaderRow.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Row.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/RowIndicator.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Selected.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Spreadsheet.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Table.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/areModelsEqual.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/context.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/engine.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/formula.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/index.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-graph.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-hash.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-set.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/index.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/matrix.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/point-range.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/point.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/selection.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/types.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/use-dispatch.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/use-selector.d.ts +0 -0
- /package/lib/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/util.d.ts +0 -0
- /package/lib/components/{ExcelFile → Excel}/ExcelFile.stories.d.ts +0 -0
- /package/lib/components/{ExcelFile → Excel}/Types.d.ts +0 -0
- /package/lib/components/{ExcelFile → Excel}/index.d.ts +0 -0
- /package/src/components/{ExcelFile/ColorBarselector → Excel/ColorBarSelector}/ColorBarSelector.scss +0 -0
- /package/src/components/{ExcelFile/ColorBarselector → Excel/ColorBarSelector}/ColorBarSelector.tsx +0 -0
- /package/src/components/{ExcelFile → Excel}/ContextMenu/ContextMenu.scss +0 -0
- /package/src/components/{ExcelFile → Excel}/ContextMenu/ContextMenu.tsx +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Copied.tsx +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/HeaderRow.tsx +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Row.tsx +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/Selected.tsx +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/areModelsEqual.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/context.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/engine.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/formula.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/index.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-graph.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-hash.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/engine/point-set.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/index.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/matrix.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/point-range.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/point.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/selection.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/types.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/typings/fast-formula-parser.d.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/use-dispatch.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/use-selector.ts +0 -0
- /package/src/components/{ExcelFile/ExcelFile/Excel → Excel/ExcelFile/ExcelFileComponents}/util.ts +0 -0
- /package/src/components/{ExcelFile → Excel}/Types.ts +0 -0
- /package/src/components/{ExcelFile → Excel}/index.ts +0 -0
package/lib/index.js
CHANGED
@@ -48,11 +48,11 @@ function styleInject(css, ref) {
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
|
51
|
-
var css_248z$
|
52
|
-
styleInject(css_248z$
|
51
|
+
var css_248z$_ = ":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 --button-close-color: button-close-color;\n --button-bg-color: button-bg-color;\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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd, .ff-button--large {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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--warning {\n background: var(--warning-button-color);\n border: var(--warning-button-border);\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 line-height: 15px;\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}";
|
52
|
+
styleInject(css_248z$_);
|
53
53
|
|
54
|
-
var css_248z$
|
55
|
-
styleInject(css_248z$
|
54
|
+
var css_248z$Z = ":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 --button-close-color: button-close-color;\n --button-bg-color: button-bg-color;\n}";
|
55
|
+
styleInject(css_248z$Z);
|
56
56
|
|
57
57
|
function getDefaultExportFromCjs (x) {
|
58
58
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
@@ -430,6 +430,8 @@ const SvgSafariIcon = (props) => /* @__PURE__ */ React__namespace.createElement(
|
|
430
430
|
|
431
431
|
const SvgMaximizeScript = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("g", { clipPath: "url(#clip0_2947_11413)" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M5.5 4H18.5C19.3271 4 20 4.67285 20 5.5V11.6748C20 11.9512 19.7761 12.1748 19.5 12.1748C19.2239 12.1748 19 11.9512 19 11.6748V5.5C19 5.22412 18.7756 5 18.5 5H5.5C5.22437 5 5 5.22412 5 5.5V18.5C5 18.7759 5.22437 19 5.5 19H11.675C11.9512 19 12.175 19.2236 12.175 19.5C12.175 19.7764 11.9512 20 11.675 20H5.5C4.67285 20 4 19.3272 4 18.5V5.5C4 4.67285 4.67285 4 5.5 4Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M14.5 13H18.5C19.3271 13 20 13.6729 20 14.5V18.5C20 19.3271 19.3271 20 18.5 20H14.5C13.6729 20 13 19.3271 13 18.5V14.5C13 13.6729 13.6729 13 14.5 13Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M11.6465 12.3535L8.5 9.20703V10C8.5 10.2764 8.27612 10.5 8 10.5C7.72388 10.5 7.5 10.2764 7.5 10V8C7.5 7.73216 7.72802 7.5 8 7.5H10C10.2761 7.5 10.5 7.72363 10.5 8C10.5 8.27637 10.2761 8.5 10 8.5H9.20703L12.3535 11.6465C12.5488 11.8418 12.5488 12.1582 12.3535 12.3535C12.1647 12.5423 11.8414 12.5484 11.6465 12.3535Z", fill: "currentColor" })), /* @__PURE__ */ React__namespace.createElement("defs", null, /* @__PURE__ */ React__namespace.createElement("clipPath", { id: "clip0_2947_11413" }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z", fill: "currentColor" }))));
|
432
432
|
|
433
|
+
const SvgMaximizeIcon = (props) => /* @__PURE__ */ React__namespace.createElement("svg", { width: "1em", height: "1em", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React__namespace.createElement("path", { d: "M1.5 0H14.5C15.3271 0 16 0.67285 16 1.5V7.67481C16 7.95117 15.7761 8.1748 15.5 8.1748C15.2239 8.1748 15 7.95117 15 7.67481V1.5C15 1.22412 14.7756 1 14.5 1H1.5C1.22437 1 1 1.22412 1 1.5V14.5C1 14.7759 1.22437 15 1.5 15H7.67505C7.95117 15 8.17505 15.2236 8.17505 15.5C8.17505 15.7764 7.95117 16 7.67505 16H1.5C0.67285 16 0 15.3272 0 14.5V1.5C0 0.67285 0.67285 0 1.5 0Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M10.5 9H14.5C15.3271 9 16 9.67285 16 10.5V14.5C16 15.3271 15.3271 16 14.5 16H10.5C9.67285 16 9 15.3271 9 14.5V10.5C9 9.67285 9.67285 9 10.5 9Z", fill: "currentColor" }), /* @__PURE__ */ React__namespace.createElement("path", { d: "M7.64649 8.35351L4.5 5.20703V6C4.5 6.27637 4.27612 6.5 4 6.5C3.72388 6.5 3.5 6.27637 3.5 6V4C3.5 3.73216 3.72802 3.5 4 3.5H6C6.27612 3.5 6.5 3.72363 6.5 4C6.5 4.27637 6.27612 4.5 6 4.5H5.20703L8.35352 7.64648C8.54883 7.84179 8.54883 8.1582 8.35352 8.35351C8.16474 8.54229 7.84137 8.54839 7.64649 8.35351Z", fill: "currentColor" }));
|
434
|
+
|
433
435
|
let Components = {};
|
434
436
|
Components['delete_info'] = SvgDeleteInfo;
|
435
437
|
Components['success'] = SvgSuccess;
|
@@ -570,9 +572,10 @@ Components['linux'] = SvgLinux;
|
|
570
572
|
Components['opera'] = SvgOpera;
|
571
573
|
Components['safari_icon'] = SvgSafariIcon;
|
572
574
|
Components['maximize_script'] = SvgMaximizeScript;
|
575
|
+
Components['maximize_icon'] = SvgMaximizeIcon;
|
573
576
|
|
574
|
-
var css_248z$
|
575
|
-
styleInject(css_248z$
|
577
|
+
var css_248z$Y = ".ff-icon-container {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 4px;\n box-sizing: content-box;\n}\n.ff-icon-container.ff-icon-dark {\n background-color: var(--brand-color);\n}\n.ff-icon-container.ff-icon-dark.ff-icon-click:hover {\n border-radius: 4px;\n background-color: white;\n}\n.ff-icon-container.ff-icon-dark.ff-icon-click:hover svg path {\n fill: var(--brand-color);\n}\n\n.ff-icon-click {\n cursor: pointer;\n box-sizing: content-box;\n}\n.ff-icon-click:hover {\n border-radius: 4px;\n background-color: var(--ff-icon-hover-fill-color);\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}";
|
578
|
+
styleInject(css_248z$Y);
|
576
579
|
|
577
580
|
const Icon = /*#__PURE__*/React.forwardRef(({
|
578
581
|
name,
|
@@ -659,8 +662,8 @@ const Button$1 = /*#__PURE__*/React.forwardRef(({
|
|
659
662
|
});
|
660
663
|
});
|
661
664
|
|
662
|
-
var css_248z$
|
663
|
-
styleInject(css_248z$
|
665
|
+
var css_248z$X = "@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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-title {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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 margin-bottom: 4px;\n position: fixed;\n right: 0;\n bottom: 0;\n top: 80px;\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: 1px solid var(--border-color);\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header {\n padding: 4px 8px 4px 8px;\n display: flex;\n gap: 10px;\n border-bottom: 1px 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-close-icon {\n height: 16px;\n width: 16px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\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 height: 24px;\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: 5px;\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 height: 24px;\n width: 24px;\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: 8px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-header .ff-drawer-action-section .ff-action-button .ff-custom-header {\n background-color: var(--drawer-footer-bg);\n padding: 4px 8px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-body {\n background-color: var(--drawer-footer-bg);\n overflow-y: auto;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 4px 8px 4px 8px;\n display: flex;\n justify-content: space-between;\n border-top: 1px solid var(--drawer-footer-border);\n z-index: 1000;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer .button-container {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n}\n.ff-drawer-container .ff-drawer .ff-drawer-footer .ff-custom-footer {\n background-color: var(--drawer-footer-bg);\n padding: 4px 8px;\n}";
|
666
|
+
styleInject(css_248z$X);
|
664
667
|
|
665
668
|
function useEscapeKey(key) {
|
666
669
|
return callBack => {
|
@@ -679,8 +682,8 @@ function useEscapeKey(key) {
|
|
679
682
|
};
|
680
683
|
}
|
681
684
|
|
682
|
-
var css_248z$V = ":root {\n --button-bg-color: #f6ebff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-machine-input-field-border-color: #f1ebf2;\n --ff-machine-input-field-text-color: #1e161f;\n --ff-connecting-branch-color: #71347b;\n --ff-connecting-branch-modal-header: #71347b;\n --ff-connecting-branch-modal-border: #e0e0e0;\n --ff-connecting-branch-scope-color: #079455;\n --ff-connecting-branch-delete-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-icon-hover-fill-color: #f7ebff;\n --ff-icon-color-dark-variant: #ffffff;\n --ff-avatar-background-color: #71347B;\n --ff-avatar-icon-color: #ffffff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --button-bg-color: #f6ebff;\n --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --ff-icon-hover-fill-color: #f7ecf8;\n --ff-icon-color-dark-variant: #ffffff;\n --avatar-background-color: #71347B;\n --avatar-icon-color: #ffffff;\n}\n\n.ff-light-theme {\n --button-bg-color: #f6ebff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-machine-input-field-border-color: #f1ebf2;\n --ff-machine-input-field-text-color: #1e161f;\n --ff-connecting-branch-color: #71347b;\n --ff-connecting-branch-modal-header: #71347b;\n --ff-connecting-branch-modal-border: #e0e0e0;\n --ff-connecting-branch-scope-color: #079455;\n --ff-connecting-branch-delete-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-icon-hover-fill-color: #f7ebff;\n --ff-icon-color-dark-variant: #ffffff;\n --ff-avatar-background-color: #71347B;\n --ff-avatar-icon-color: #ffffff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --button-bg-color: #f6ebff;\n --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --ff-icon-hover-fill-color: #f7ecf8;\n --ff-icon-color-dark-variant: #ffffff;\n --avatar-background-color: #71347B;\n --avatar-icon-color: #ffffff;\n}";
|
683
|
-
styleInject(css_248z$
|
685
|
+
var css_248z$W = ":root {\n --button-bg-color: #f6ebff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-machine-input-field-border-color: #f1ebf2;\n --ff-machine-input-field-text-color: #1e161f;\n --ff-connecting-branch-color: #71347b;\n --ff-connecting-branch-modal-header: #71347b;\n --ff-connecting-branch-modal-border: #e0e0e0;\n --ff-connecting-branch-scope-color: #079455;\n --ff-connecting-branch-delete-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-icon-hover-fill-color: #f7ebff;\n --ff-icon-color-dark-variant: #ffffff;\n --ff-avatar-background-color: #71347B;\n --ff-avatar-icon-color: #ffffff;\n --excel-sheet-button-color: #e9b5ff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --button-bg-color: #f6ebff;\n --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --ff-icon-hover-fill-color: #f7ecf8;\n --ff-icon-color-dark-variant: #ffffff;\n --avatar-background-color: #71347B;\n --avatar-icon-color: #ffffff;\n}\n\n.ff-light-theme {\n --button-bg-color: #f6ebff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-machine-input-field-border-color: #f1ebf2;\n --ff-machine-input-field-text-color: #1e161f;\n --ff-connecting-branch-color: #71347b;\n --ff-connecting-branch-modal-header: #71347b;\n --ff-connecting-branch-modal-border: #e0e0e0;\n --ff-connecting-branch-scope-color: #079455;\n --ff-connecting-branch-delete-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-icon-hover-fill-color: #f7ebff;\n --ff-icon-color-dark-variant: #ffffff;\n --ff-avatar-background-color: #71347B;\n --ff-avatar-icon-color: #ffffff;\n --excel-sheet-button-color: #e9b5ff;\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 --warning-button-color: linear-gradient(179.06deg, #ffc600 3.49%, #ffc600 99.22%);\n --warning-button-border: linear-gradient(180deg, #eeba08 3.04%, #f1bc04 100%);\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-arrow-shadow: rgba(0, 0, 0, 0.2509803922);\n --ff-error-light: #e42525;\n --ff-chips-fill-color: #f9d5ff;\n --ff-chips-blur-color: #575757;\n --ff-chip-bg: #ffffff;\n --ff-chip-text-color: #1e161f;\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-variant-dark-icon-color: #ffffff;\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 --ff-paper-background-color: #f5f5f5;\n --ff-paper-dark-background-color: #d1c4e9;\n --sub-header-primary: #301349;\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 --button-bg-color: #f6ebff;\n --modal-header-text-color: #ffc600;\n --switch-license-text-color: #61296a;\n --switch-license-header-text-color: #610b86;\n --dotted-border-color: #000000;\n --select-license-header-text-color: #5f2868;\n --in-active-button-color: #808080;\n --button-background-gradient-color: #9c1ebb;\n --details-page-value-color: #808080;\n --label-edit-text-label-color: #71347b;\n --label-edit-text-background-color: #ffffff;\n --label-edit-error-text: #e42525;\n --label-edit-confirm-icon: #0dad66;\n --label-edit-cancel-icon: #e42525;\n --delete-icon-color: #e42525;\n --ff-app-header-menu-border-bottom-color: #ffffff;\n --ff-app-header-submenu-border-bottom-color: linear-gradient(90deg, #592f7c 0%, #741ebb 100%);\n --table-header-text-color: #252c37;\n --table-column-text-color: #200624;\n --ff-delete-button-attachment: #a91224;\n --email-table-border-color: #959595;\n --ff-icon-hover-fill-color: #f7ecf8;\n --ff-icon-color-dark-variant: #ffffff;\n --avatar-background-color: #71347B;\n --avatar-icon-color: #ffffff;\n}";
|
686
|
+
styleInject(css_248z$W);
|
684
687
|
|
685
688
|
const ThemeContext = /*#__PURE__*/React.createContext(undefined);
|
686
689
|
const ThemeProvider = ({
|
@@ -874,15 +877,15 @@ const Drawer = ({
|
|
874
877
|
}), document.body);
|
875
878
|
};
|
876
879
|
|
877
|
-
var css_248z$
|
880
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
881
|
+
styleInject(css_248z$V);
|
882
|
+
|
883
|
+
var css_248z$U = "";
|
878
884
|
styleInject(css_248z$U);
|
879
885
|
|
880
|
-
var css_248z$T = "";
|
886
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-tooltip {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-tooltip-container {\n cursor: pointer;\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}";
|
881
887
|
styleInject(css_248z$T);
|
882
888
|
|
883
|
-
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-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: pointer;\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}";
|
884
|
-
styleInject(css_248z$S);
|
885
|
-
|
886
889
|
const checkEmpty = value => {
|
887
890
|
// Check for null or undefined
|
888
891
|
if (value == null) return true;
|
@@ -1054,8 +1057,8 @@ const Tooltip = ({
|
|
1054
1057
|
});
|
1055
1058
|
};
|
1056
1059
|
|
1057
|
-
var css_248z$
|
1058
|
-
styleInject(css_248z$
|
1060
|
+
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.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}\n.ff-text .required-asterisk {\n color: var(--input-error-text-color);\n padding-right: 4px;\n}";
|
1061
|
+
styleInject(css_248z$S);
|
1059
1062
|
|
1060
1063
|
const Typography = ({
|
1061
1064
|
fontWeight = 'regular',
|
@@ -1144,8 +1147,8 @@ const Accordion = ({
|
|
1144
1147
|
});
|
1145
1148
|
};
|
1146
1149
|
|
1147
|
-
var css_248z$
|
1148
|
-
styleInject(css_248z$
|
1150
|
+
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, .ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-label {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm, .ff-multiselect-wrapper .ff-multiselect__main .default-label, .ff-multiselect-wrapper .ff-multiselect .ff-multiselect-more-chip {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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: 4px;\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: 3px;\n border: none;\n border-radius: 4px;\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 .ff-required-asterisk {\n color: var(--error-light);\n}\n.ff-multiselect-wrapper .ff-multiselect__main .active-default-label {\n font-size: 8px !important;\n height: 8px;\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-label.label-padding {\n padding: 5px 2px;\n}\n.ff-multiselect-wrapper .ff-multiselect__main .ff-multiselect-chip-container .ff-multiselect-chip .ff-multiselect-chip-close-icon {\n color: var(--brand-color);\n cursor: pointer;\n padding-right: 0px;\n padding-left: 0px;\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 .ff-multiselect-more-chip {\n display: flex;\n align-items: center;\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}";
|
1151
|
+
styleInject(css_248z$R);
|
1149
1152
|
|
1150
1153
|
const dropdownDefaultCSSData$1 = {
|
1151
1154
|
verticalMargin: 4,
|
@@ -1153,11 +1156,11 @@ const dropdownDefaultCSSData$1 = {
|
|
1153
1156
|
maxDropdownHeight: 160
|
1154
1157
|
};
|
1155
1158
|
|
1156
|
-
var css_248z$
|
1157
|
-
styleInject(css_248z$
|
1159
|
+
var css_248z$Q = "@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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\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\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
1160
|
+
styleInject(css_248z$Q);
|
1158
1161
|
|
1159
|
-
var css_248z$
|
1160
|
-
styleInject(css_248z$
|
1162
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
1163
|
+
styleInject(css_248z$P);
|
1161
1164
|
|
1162
1165
|
const Checkbox = ({
|
1163
1166
|
id,
|
@@ -1323,9 +1326,6 @@ const MultiSelect = ({
|
|
1323
1326
|
}) => {
|
1324
1327
|
const [isOpen, setIsOpen] = React.useState(false);
|
1325
1328
|
const [allOptions, setAllOptions] = React.useState(options);
|
1326
|
-
React.useEffect(() => {
|
1327
|
-
setAllOptions(options);
|
1328
|
-
}, [options]);
|
1329
1329
|
const [searchedKeyword, setSearchedKeyword] = React.useState('');
|
1330
1330
|
const [isSelectFocusedOnce, setIsSelectFocusedOnce] = React.useState(false);
|
1331
1331
|
const [inputError, setInputError] = React.useState('');
|
@@ -1428,8 +1428,17 @@ const MultiSelect = ({
|
|
1428
1428
|
calculatePosition();
|
1429
1429
|
}
|
1430
1430
|
}, [isOpen, allOptions]);
|
1431
|
+
function getScrollbarWidth() {
|
1432
|
+
const div = document.createElement('div');
|
1433
|
+
div.style.visibility = 'hidden';
|
1434
|
+
div.style.overflow = 'scroll';
|
1435
|
+
document.body.appendChild(div);
|
1436
|
+
const scrollbarWidth = div.offsetWidth - div.clientWidth;
|
1437
|
+
document.body.removeChild(div);
|
1438
|
+
return scrollbarWidth;
|
1439
|
+
}
|
1431
1440
|
const onSelectToggleScroll = isEnabled => {
|
1432
|
-
const bodyScrollWidth =
|
1441
|
+
const bodyScrollWidth = getScrollbarWidth();
|
1433
1442
|
document.body.style.paddingRight = isEnabled ? '' : `${bodyScrollWidth}px`;
|
1434
1443
|
document.body.style.overflow = isEnabled ? '' : 'hidden';
|
1435
1444
|
};
|
@@ -1452,6 +1461,8 @@ const MultiSelect = ({
|
|
1452
1461
|
}));
|
1453
1462
|
setAllOptions(initializeOptions);
|
1454
1463
|
}
|
1464
|
+
}, [options]);
|
1465
|
+
React.useEffect(() => {
|
1455
1466
|
const handleClickAnywhere = event => {
|
1456
1467
|
if (dropdownWrapper.current && inputRef.current && selectWrapper.current && dropdownRef.current && !inputRef.current.contains(event?.target) && !dropdownRef.current.contains(event?.target) && !selectWrapper.current.contains(event?.target)) {
|
1457
1468
|
setInputError('');
|
@@ -1482,13 +1493,16 @@ const MultiSelect = ({
|
|
1482
1493
|
onClick: handleClick,
|
1483
1494
|
children: [jsxRuntime.jsxs("div", {
|
1484
1495
|
className: "ff-multiselect__main",
|
1485
|
-
children: [jsxRuntime.
|
1496
|
+
children: [jsxRuntime.jsxs(Typography, {
|
1486
1497
|
as: "span",
|
1487
1498
|
className: classNames({
|
1488
1499
|
'active-default-label': isOpen || selectedOptions?.length || isFieldSkipped && required,
|
1489
1500
|
'default-label': !isOpen && !selectedOptions?.length
|
1490
1501
|
}),
|
1491
|
-
children:
|
1502
|
+
children: [required && jsxRuntime.jsx("span", {
|
1503
|
+
className: "ff-required-asterisk",
|
1504
|
+
children: "*"
|
1505
|
+
}), label]
|
1492
1506
|
}), jsxRuntime.jsxs("div", {
|
1493
1507
|
className: "ff-multiselect-chip-container",
|
1494
1508
|
children: [displayCount ? jsxRuntime.jsx(jsxRuntime.Fragment, {
|
@@ -1555,8 +1569,8 @@ const MultiSelect = ({
|
|
1555
1569
|
});
|
1556
1570
|
};
|
1557
1571
|
|
1558
|
-
var css_248z$
|
1559
|
-
styleInject(css_248z$
|
1572
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
1573
|
+
styleInject(css_248z$O);
|
1560
1574
|
|
1561
1575
|
const Toaster = ({
|
1562
1576
|
isOpen = false,
|
@@ -1664,8 +1678,8 @@ const Toaster = ({
|
|
1664
1678
|
}), document.body);
|
1665
1679
|
};
|
1666
1680
|
|
1667
|
-
var css_248z$
|
1668
|
-
styleInject(css_248z$
|
1681
|
+
var css_248z$N = "/* 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}";
|
1682
|
+
styleInject(css_248z$N);
|
1669
1683
|
|
1670
1684
|
const Container = ({
|
1671
1685
|
children,
|
@@ -1707,8 +1721,8 @@ const Col = ({
|
|
1707
1721
|
});
|
1708
1722
|
};
|
1709
1723
|
|
1710
|
-
var css_248z$
|
1711
|
-
styleInject(css_248z$
|
1724
|
+
var css_248z$M = ".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}";
|
1725
|
+
styleInject(css_248z$M);
|
1712
1726
|
|
1713
1727
|
const Toggle = ({
|
1714
1728
|
onChange,
|
@@ -1786,8 +1800,8 @@ const Toggle = ({
|
|
1786
1800
|
});
|
1787
1801
|
};
|
1788
1802
|
|
1789
|
-
var css_248z$
|
1790
|
-
styleInject(css_248z$
|
1803
|
+
var css_248z$L = "@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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-chip-wrapper .ff-default-chip-style--custom {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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 6px 0px var(--ff-chips-blur-color) inset, -1px -1px 2px 0px var(--ff-chip-bg) inset, 1px -1px 2px 0px var(--ff-chips-blur-color) inset, 1px 1px 2px 0px var(--ff-chip-bg);\n}\n.ff-chip-wrapper .ff-default-chip-style--fullText:hover {\n box-shadow: 1px 1px 6px 0px var(--ff-chips-blur-color) inset, -1px -1px 2px 0px var(--ff-chip-bg) inset, 1px -1px 2px 0px var(--ff-chips-blur-color) inset, 1px 1px 2px 0px var(--ff-chip-bg);\n padding-right: 12px;\n}\n.ff-chip-wrapper .ff-default-chip-style--primary {\n background-color: var(--ff-chips-fill-color);\n color: var(--ff-chip-bg);\n color: var(--ff-chip-text-color);\n}\n.ff-chip-wrapper .ff-default-chip-style--success {\n background-color: var(--ff-success);\n color: var(--ff-chip-bg);\n}\n.ff-chip-wrapper .ff-default-chip-style--error {\n background-color: var(--ff-error-light);\n color: var(--ff-chip-bg);\n}\n.ff-chip-wrapper .ff-default-chip-style--warning {\n background-color: var(--ff-warning);\n color: var(--ff-chip-bg);\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}";
|
1804
|
+
styleInject(css_248z$L);
|
1791
1805
|
|
1792
1806
|
const Chip = ({
|
1793
1807
|
label = '',
|
@@ -1816,8 +1830,8 @@ const Chip = ({
|
|
1816
1830
|
});
|
1817
1831
|
};
|
1818
1832
|
|
1819
|
-
var css_248z$
|
1820
|
-
styleInject(css_248z$
|
1833
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-input-container .ff-input, .ff-input-container .ff-input-label-container {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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--medium {\n padding: 10px 9px;\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--medium {\n line-height: 25px;\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(--brand-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}";
|
1834
|
+
styleInject(css_248z$K);
|
1821
1835
|
|
1822
1836
|
const Input = ({
|
1823
1837
|
type = 'text',
|
@@ -1881,7 +1895,6 @@ const Input = ({
|
|
1881
1895
|
onChange: onChange,
|
1882
1896
|
onFocus: onFocus,
|
1883
1897
|
onBlur: onBlur,
|
1884
|
-
required: required,
|
1885
1898
|
autoComplete: autoComplete,
|
1886
1899
|
min: minValue,
|
1887
1900
|
max: maxValue,
|
@@ -1895,8 +1908,8 @@ const Input = ({
|
|
1895
1908
|
});
|
1896
1909
|
};
|
1897
1910
|
|
1898
|
-
var css_248z$
|
1899
|
-
styleInject(css_248z$
|
1911
|
+
var css_248z$J = "@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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8, .ff-radial-chart-container svg text {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
1912
|
+
styleInject(css_248z$J);
|
1900
1913
|
|
1901
1914
|
const useColorMappings$1 = () => React.useMemo(() => {
|
1902
1915
|
return {
|
@@ -2038,8 +2051,8 @@ const RadialChart = ({
|
|
2038
2051
|
});
|
2039
2052
|
};
|
2040
2053
|
|
2041
|
-
var css_248z$
|
2042
|
-
styleInject(css_248z$
|
2054
|
+
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\";\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\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
2055
|
+
styleInject(css_248z$I);
|
2043
2056
|
|
2044
2057
|
const ExpandableMenu = ({
|
2045
2058
|
label = '',
|
@@ -2128,8 +2141,8 @@ const useClickOutside = (ref, callback, ignoreRefs = []) => {
|
|
2128
2141
|
}, [ref, callback, ignoreRefs]);
|
2129
2142
|
};
|
2130
2143
|
|
2131
|
-
var css_248z$
|
2132
|
-
styleInject(css_248z$
|
2144
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
2145
|
+
styleInject(css_248z$H);
|
2133
2146
|
|
2134
2147
|
const ffid = () => 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, char => ((char === 'x' ? Math.random() * 16 : Math.random() * 16 & 0x3 | 0x8) | 0).toString(16));
|
2135
2148
|
|
@@ -2225,8 +2238,8 @@ const Dropdown$1 = ({
|
|
2225
2238
|
});
|
2226
2239
|
};
|
2227
2240
|
|
2228
|
-
var css_248z$
|
2229
|
-
styleInject(css_248z$
|
2241
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-select-wrapper .ff-select, .ff-select-wrapper .ff-select-input {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-select-wrapper {\n position: relative;\n}\n.ff-select-wrapper .ff-select-input {\n cursor: pointer;\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: 100%;\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}\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}";
|
2242
|
+
styleInject(css_248z$G);
|
2230
2243
|
|
2231
2244
|
const portalPosition = {
|
2232
2245
|
positionX: 0,
|
@@ -2498,6 +2511,11 @@ const Select$1 = ({
|
|
2498
2511
|
handleSelectAction('SHOW_ERROR');
|
2499
2512
|
}
|
2500
2513
|
}, []);
|
2514
|
+
React.useEffect(() => {
|
2515
|
+
if (!checkEmpty(selectedOption.label)) {
|
2516
|
+
onSelectOptionSelector(selectedOption);
|
2517
|
+
}
|
2518
|
+
}, [selectedOption]);
|
2501
2519
|
const applyActiveOptionClasses = !isInputFocused && Boolean(option);
|
2502
2520
|
return jsxRuntime.jsxs("div", {
|
2503
2521
|
className: classNames(`ff-select-wrapper`),
|
@@ -2548,7 +2566,7 @@ const Select$1 = ({
|
|
2548
2566
|
'ff-select-arrow--no-label': !showLabel
|
2549
2567
|
}),
|
2550
2568
|
color: iconColor
|
2551
|
-
}), jsxRuntime.jsx("fieldset", {
|
2569
|
+
}), (!checkEmpty(option) || showOptions) && jsxRuntime.jsx("fieldset", {
|
2552
2570
|
className: classNames('ff-select-fieldset', {
|
2553
2571
|
'ff-select-fieldset--no-label': !showLabel,
|
2554
2572
|
'ff-select-fieldset--default': !isInputFocused,
|
@@ -2593,8 +2611,8 @@ const Select$1 = ({
|
|
2593
2611
|
});
|
2594
2612
|
};
|
2595
2613
|
|
2596
|
-
var css_248z$
|
2597
|
-
styleInject(css_248z$
|
2614
|
+
var css_248z$F = "@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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-textarea-container {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
2615
|
+
styleInject(css_248z$F);
|
2598
2616
|
|
2599
2617
|
const truncateText = (text, maxLength) => {
|
2600
2618
|
if (!text || maxLength <= 0) return '';
|
@@ -2669,8 +2687,8 @@ const Textarea = ({
|
|
2669
2687
|
});
|
2670
2688
|
};
|
2671
2689
|
|
2672
|
-
var css_248z$
|
2673
|
-
styleInject(css_248z$
|
2690
|
+
var css_248z$E = ".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}";
|
2691
|
+
styleInject(css_248z$E);
|
2674
2692
|
|
2675
2693
|
const StatusButton = ({
|
2676
2694
|
status = 'passed',
|
@@ -2698,8 +2716,8 @@ const StatusButton = ({
|
|
2698
2716
|
});
|
2699
2717
|
};
|
2700
2718
|
|
2701
|
-
var css_248z$
|
2702
|
-
styleInject(css_248z$
|
2719
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-menu-option-container .ff-option-card .ff-options {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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.dark {\n background-color: var(--brand-color);\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container.dark:hover {\n background-color: var(--menu-variant-dark-icon-color);\n}\n.ff-menu-option-container .ff-icon-label .ff-menuicon-container.dark:hover svg path {\n fill: var(--brand-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-icon-label .ff-menuicon-container-clicked.dark {\n background-color: var(--menu-variant-dark-icon-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 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}";
|
2720
|
+
styleInject(css_248z$D);
|
2703
2721
|
|
2704
2722
|
const Option$2 = ({
|
2705
2723
|
option,
|
@@ -2745,7 +2763,8 @@ const MenuOption = ({
|
|
2745
2763
|
iconButtonSize = 20,
|
2746
2764
|
iconButtonBorderRadius = 7,
|
2747
2765
|
iconSize = 16,
|
2748
|
-
variant = 'light'
|
2766
|
+
variant = 'light',
|
2767
|
+
zIndex = 1000
|
2749
2768
|
}) => {
|
2750
2769
|
const [isClicked, setIsClicked] = React.useState(false);
|
2751
2770
|
const menuRef = React.useRef(null);
|
@@ -2763,23 +2782,27 @@ const MenuOption = ({
|
|
2763
2782
|
case 'top':
|
2764
2783
|
return {
|
2765
2784
|
bottom: '100%',
|
2766
|
-
left: -2
|
2785
|
+
left: -2,
|
2786
|
+
zIndex
|
2767
2787
|
};
|
2768
2788
|
case 'left':
|
2769
2789
|
return {
|
2770
2790
|
top: -2,
|
2771
|
-
right: '100%'
|
2791
|
+
right: '100%',
|
2792
|
+
zIndex
|
2772
2793
|
};
|
2773
2794
|
case 'right':
|
2774
2795
|
return {
|
2775
2796
|
top: -2,
|
2776
|
-
left: '100%'
|
2797
|
+
left: '100%',
|
2798
|
+
zIndex
|
2777
2799
|
};
|
2778
2800
|
case 'down':
|
2779
2801
|
default:
|
2780
2802
|
return {
|
2781
2803
|
top: '100%',
|
2782
|
-
left: -2
|
2804
|
+
left: -2,
|
2805
|
+
zIndex
|
2783
2806
|
};
|
2784
2807
|
}
|
2785
2808
|
};
|
@@ -2824,8 +2847,8 @@ const MenuOption = ({
|
|
2824
2847
|
});
|
2825
2848
|
};
|
2826
2849
|
|
2827
|
-
var css_248z$
|
2828
|
-
styleInject(css_248z$
|
2850
|
+
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 {\n font-family: \"Poppins\";\n font-size: 10px;\n}\n\n.fontSm, .ff-table tbody tr td {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd, .ff-table thead tr th {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-fixed-header-table {\n overflow-y: auto;\n}\n\n.ff-table-icon {\n position: absolute;\n top: 10px;\n right: 0;\n margin-right: 10px;\n z-index: 100;\n cursor: pointer;\n}\n\n.ff-table {\n width: 100%;\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 border-bottom: 1px solid var(--slider-table-color);\n}\n.ff-table thead tr th .ff-label-checkbox-container {\n display: flex;\n align-items: center;\n}\n.ff-table thead tr th .ff-label-checkbox-container .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(--table-column-text-color);\n}\n.ff-table tbody tr td.clickable-cell {\n cursor: pointer;\n}\n.ff-table tbody tr td .ff-data-checkbox-container {\n display: flex;\n align-items: center;\n}\n.ff-table tbody tr td .ff-data-checkbox-container .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.ff-table .default-color {\n color: var(--table-header-text-color);\n}\n.ff-table .primary-color {\n color: var(--brand-color);\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}";
|
2851
|
+
styleInject(css_248z$C);
|
2829
2852
|
|
2830
2853
|
const isFunction$2 = functionToCheck => {
|
2831
2854
|
return functionToCheck && {}.toString.call(functionToCheck) === '[object Function]';
|
@@ -2943,6 +2966,7 @@ const Table$1 = ({
|
|
2943
2966
|
width: column?.width
|
2944
2967
|
},
|
2945
2968
|
children: jsxRuntime.jsxs("div", {
|
2969
|
+
className: 'ff-label-checkbox-container',
|
2946
2970
|
children: [index === 0 && withCheckbox && jsxRuntime.jsx("span", {
|
2947
2971
|
className: "ff-table-checkbox",
|
2948
2972
|
children: jsxRuntime.jsx(Checkbox, {
|
@@ -2973,6 +2997,7 @@ const Table$1 = ({
|
|
2973
2997
|
children: jsxRuntime.jsxs(Typography, {
|
2974
2998
|
as: "div",
|
2975
2999
|
color: tableDataTextColor,
|
3000
|
+
className: 'ff-data-checkbox-container',
|
2976
3001
|
children: [i === 0 && withCheckbox && jsxRuntime.jsx("span", {
|
2977
3002
|
className: "ff-table-checkbox",
|
2978
3003
|
children: jsxRuntime.jsx(Checkbox, {
|
@@ -2998,11 +3023,11 @@ const Table$1 = ({
|
|
2998
3023
|
});
|
2999
3024
|
};
|
3000
3025
|
|
3001
|
-
var css_248z$
|
3002
|
-
styleInject(css_248z$
|
3026
|
+
var css_248z$B = ".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}";
|
3027
|
+
styleInject(css_248z$B);
|
3003
3028
|
|
3004
|
-
var css_248z$
|
3005
|
-
styleInject(css_248z$
|
3029
|
+
var css_248z$A = ".ff-arrow-buttons-container {\n position: absolute;\n transition: opacity 0.3s ease;\n pointer-events: none;\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}";
|
3030
|
+
styleInject(css_248z$A);
|
3006
3031
|
|
3007
3032
|
const ArrowsButton = ({
|
3008
3033
|
direction,
|
@@ -3139,8 +3164,8 @@ const AddButton = ({
|
|
3139
3164
|
});
|
3140
3165
|
};
|
3141
3166
|
|
3142
|
-
var css_248z$
|
3143
|
-
styleInject(css_248z$
|
3167
|
+
var css_248z$z = "@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\";\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\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL, .ff-donut-chart-svg-container svg text:nth-of-type(2) {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
3168
|
+
styleInject(css_248z$z);
|
3144
3169
|
|
3145
3170
|
const calculateArc$2 = (x, y, radius, startAngle, endAngle) => {
|
3146
3171
|
const startX = x + radius * Math.cos(startAngle);
|
@@ -3492,8 +3517,8 @@ const useFileDropzone = options => {
|
|
3492
3517
|
};
|
3493
3518
|
};
|
3494
3519
|
|
3495
|
-
var css_248z$
|
3496
|
-
styleInject(css_248z$
|
3520
|
+
var css_248z$y = ".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}";
|
3521
|
+
styleInject(css_248z$y);
|
3497
3522
|
|
3498
3523
|
const Dropzone = ({
|
3499
3524
|
icon,
|
@@ -8271,8 +8296,8 @@ const Forms = ({
|
|
8271
8296
|
});
|
8272
8297
|
};
|
8273
8298
|
|
8274
|
-
var css_248z$
|
8275
|
-
styleInject(css_248z$
|
8299
|
+
var css_248z$x = "@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\";\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\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8, .ff-input-with-dropdown-container .ff-helper-text {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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: -6px;\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}";
|
8300
|
+
styleInject(css_248z$x);
|
8276
8301
|
|
8277
8302
|
const InputWithDropdown = ({
|
8278
8303
|
name = '',
|
@@ -8352,8 +8377,8 @@ const InputWithDropdown = ({
|
|
8352
8377
|
});
|
8353
8378
|
};
|
8354
8379
|
|
8355
|
-
var css_248z$
|
8356
|
-
styleInject(css_248z$
|
8380
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-radio-wrapper .ff-radio {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-radio-wrapper {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.ff-radio-wrapper .ff-radio {\n position: relative;\n color: var(--text-color);\n display: flex;\n align-items: center;\n cursor: pointer;\n}\n.ff-radio-wrapper .ff-radio .ff-radio-input {\n display: none;\n}\n.ff-radio-wrapper .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-wrapper .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-wrapper .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-wrapper .ff-radio:hover .ff-radio-custom {\n border: 1px solid var(--brand-color);\n}\n.ff-radio-wrapper .ff-radio:hover .ff-radio-custom::before {\n background-color: var(--drawer-footer-bg);\n}\n.ff-radio-wrapper .ff-radio:hover .ff-radio-custom::after {\n opacity: 1;\n transition: opacity 0.3s;\n}\n.ff-radio-wrapper .ff-radio .ff-radio-input:checked + .ff-radio-custom {\n border-color: var(--brand-color);\n}\n.ff-radio-wrapper .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-wrapper .ff-radio .ff-radio-input:disabled + .ff-radio-custom {\n border: 1px solid var(--radio-button-border);\n}\n.ff-radio-wrapper .ff-radio .ff-radio-input:disabled + .ff-radio-custom::before {\n background: var(--drawer-footer-bg);\n}\n.ff-radio-wrapper .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-wrapper .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-wrapper .ff-radio .ff-radio-input:checked:disabled + .ff-radio-custom::before {\n background: var(--brand-color);\n}\n.ff-radio-wrapper .ff-radio--disabled {\n cursor: default;\n opacity: 0.5;\n}";
|
8381
|
+
styleInject(css_248z$w);
|
8357
8382
|
|
8358
8383
|
const RadioButton = ({
|
8359
8384
|
label,
|
@@ -8390,8 +8415,8 @@ const RadioButton = ({
|
|
8390
8415
|
});
|
8391
8416
|
};
|
8392
8417
|
|
8393
|
-
var css_248z$
|
8394
|
-
styleInject(css_248z$
|
8418
|
+
var css_248z$v = ".ff-radio-group {\n display: flex;\n flex-direction: row;\n gap: 12px;\n}";
|
8419
|
+
styleInject(css_248z$v);
|
8395
8420
|
|
8396
8421
|
const RadioGroup = ({
|
8397
8422
|
options,
|
@@ -8416,8 +8441,8 @@ const RadioGroup = ({
|
|
8416
8441
|
});
|
8417
8442
|
};
|
8418
8443
|
|
8419
|
-
var css_248z$
|
8420
|
-
styleInject(css_248z$
|
8444
|
+
var css_248z$u = ".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 padding: 0 3px 0 0;\n border-color: transparent transparent var(--ff-mini-modal-border) transparent;\n filter: drop-shadow(0 -1px 1px var(--ff-mini-modal-arrow-shadow));\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-top::before {\n content: \"\";\n position: absolute;\n width: 3px;\n height: 4px;\n border-radius: 50px;\n background-color: var(--ff-mini-modal-border);\n top: -0.5px;\n left: 0;\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(-1px 0 1px var(--ff-mini-modal-arrow-shadow));\n padding: 3px 1px 0 0;\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-left::before {\n content: \"\";\n position: absolute;\n width: 4px;\n height: 3px;\n border-radius: 50px;\n background-color: var(--ff-mini-modal-border);\n top: 0;\n left: 0;\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-arrow-shadow));\n padding: 0 3px 0 0;\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-bottom::before {\n content: \"\";\n position: absolute;\n width: 3px;\n height: 3px;\n border-radius: 50px;\n background-color: var(--ff-mini-modal-border);\n top: -2px;\n left: 0;\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-right {\n right: -10px;\n top: 66px;\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-arrow-shadow));\n padding: 3px 1px 0 0;\n}\n.ff-mini-edit-modal-container .popover-arrow.popover-arrow-right::before {\n content: \"\";\n position: absolute;\n width: 3px;\n height: 3px;\n border-radius: 50px;\n background-color: var(--ff-mini-modal-border);\n top: 0;\n left: -2px;\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: 45%;\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 4px 8px var(--ff-mini-modal-arrow-shadow);\n}\n.ff-mini-edit-modal-container .mini-edit-modal.mini-edit-modal-wrapper-shadow {\n box-shadow: 0px 0px 4px 0px var(--ff-mini-modal-box-shadow);\n}\n.ff-mini-edit-modal-container .mini-edit-modal.mini-edit-modal-arrow-shadow {\n box-shadow: 0px 0px 16px 0px var(--ff-mini-modal-arrow-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}\n\n.ff-mini-edit-model-icon {\n color: var(--ff-mini-modal-box-shadow);\n border: 2px solid var(--ff-mini-modal-box-shadow);\n border-radius: 4px;\n}";
|
8445
|
+
styleInject(css_248z$u);
|
8421
8446
|
|
8422
8447
|
const MiniModal = /*#__PURE__*/React.forwardRef(({
|
8423
8448
|
anchorRef,
|
@@ -8634,8 +8659,8 @@ const MiniModal = /*#__PURE__*/React.forwardRef(({
|
|
8634
8659
|
}), document.body);
|
8635
8660
|
});
|
8636
8661
|
|
8637
|
-
var css_248z$
|
8638
|
-
styleInject(css_248z$
|
8662
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-tree-container {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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-title-action-container {\n display: flex;\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-title-label {\n display: flex;\n align-items: center;\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: 18px;\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}\n\n.ff-title-action-container {\n display: none;\n align-items: center;\n}";
|
8663
|
+
styleInject(css_248z$t);
|
8639
8664
|
|
8640
8665
|
const TableTree = ({
|
8641
8666
|
columnsData,
|
@@ -8732,11 +8757,7 @@ const TableTree = ({
|
|
8732
8757
|
onClick: handleToggleExpand,
|
8733
8758
|
children: node.folder && jsxRuntime.jsx("span", {
|
8734
8759
|
className: `ff-toggle-arrow-icon ${isExpanded ? 'ff-expanded' : 'ff-collapsed'}`,
|
8735
|
-
children: jsxRuntime.jsx(
|
8736
|
-
name: "arrows_down_icon",
|
8737
|
-
height: 12,
|
8738
|
-
width: 12
|
8739
|
-
})
|
8760
|
+
children: jsxRuntime.jsx(SvgArrowsDownIcon, {})
|
8740
8761
|
})
|
8741
8762
|
}), jsxRuntime.jsxs("div", {
|
8742
8763
|
className: "ff-title",
|
@@ -8818,8 +8839,8 @@ const TableTree = ({
|
|
8818
8839
|
});
|
8819
8840
|
};
|
8820
8841
|
|
8821
|
-
var css_248z$
|
8822
|
-
styleInject(css_248z$
|
8842
|
+
var css_248z$s = ":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 --button-close-color: button-close-color;\n --button-bg-color: button-bg-color;\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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
8843
|
+
styleInject(css_248z$s);
|
8823
8844
|
|
8824
8845
|
const Tabs = ({
|
8825
8846
|
variant = 'default',
|
@@ -8864,8 +8885,8 @@ const Tabs = ({
|
|
8864
8885
|
});
|
8865
8886
|
};
|
8866
8887
|
|
8867
|
-
var css_248z$
|
8868
|
-
styleInject(css_248z$
|
8888
|
+
var css_248z$r = ".ff-highlight-bg {\n background-color: var(--text-bg-highlight);\n}";
|
8889
|
+
styleInject(css_248z$r);
|
8869
8890
|
|
8870
8891
|
// Function to escape special characters in the search term
|
8871
8892
|
const escapeRegExp = text => {
|
@@ -8888,8 +8909,8 @@ const HighlightText = ({
|
|
8888
8909
|
});
|
8889
8910
|
};
|
8890
8911
|
|
8891
|
-
var css_248z$
|
8892
|
-
styleInject(css_248z$
|
8912
|
+
var css_248z$q = "@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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
8913
|
+
styleInject(css_248z$q);
|
8893
8914
|
|
8894
8915
|
const Search = ({
|
8895
8916
|
placeholder = 'Search',
|
@@ -16897,8 +16918,8 @@ const TimePicker = ({
|
|
16897
16918
|
});
|
16898
16919
|
};
|
16899
16920
|
|
16900
|
-
var css_248z$o = "@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}";
|
16901
|
-
styleInject(css_248z$
|
16921
|
+
var css_248z$p = "@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\";\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\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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\";\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}";
|
16922
|
+
styleInject(css_248z$p);
|
16902
16923
|
|
16903
16924
|
const CustomDatePicker = ({
|
16904
16925
|
minDate,
|
@@ -17418,8 +17439,8 @@ const StateDropdown = ({
|
|
17418
17439
|
});
|
17419
17440
|
};
|
17420
17441
|
|
17421
|
-
var css_248z$
|
17422
|
-
styleInject(css_248z$
|
17442
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-plus-icon {\n border-radius: 16px;\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 .button-icon {\n width: 20px;\n height: 20px;\n border: 1px solid transparent;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n background-color: var(--hover-color);\n}\n.ff-plus-icon .button-icon .ff-icon-color path {\n color: var(--secondary-icon-color);\n}\n.ff-plus-icon .icon-name {\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 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 .button-icon {\n width: 20px;\n height: 20px;\n border: 1px solid transparent;\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n background-color: var(--secondary-icon-color);\n}\n.ff-plus-icon:hover .button-icon .ff-icon-color path {\n color: var(--primary-icon-color);\n}";
|
17443
|
+
styleInject(css_248z$o);
|
17423
17444
|
|
17424
17445
|
const IconButton = ({
|
17425
17446
|
label,
|
@@ -17447,8 +17468,8 @@ const IconButton = ({
|
|
17447
17468
|
});
|
17448
17469
|
};
|
17449
17470
|
|
17450
|
-
var css_248z$
|
17451
|
-
styleInject(css_248z$
|
17471
|
+
var css_248z$n = ".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 padding: 8px;\n}\n.ff-modal-content .ff-modal-header {\n height: 32px;\n width: 100%;\n}\n\n.modal-bottom-border {\n border-bottom-left-radius: 12px;\n border-bottom-right-radius: 12px;\n}\n\n.modal-top-border {\n border-top-left-radius: 12px;\n border-top-right-radius: 12px;\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 8px;\n}";
|
17472
|
+
styleInject(css_248z$n);
|
17452
17473
|
|
17453
17474
|
const Modal = ({
|
17454
17475
|
isOpen,
|
@@ -22134,8 +22155,8 @@ const DragAndDrop = {
|
|
22134
22155
|
DNDUtilities
|
22135
22156
|
};
|
22136
22157
|
|
22137
|
-
var css_248z$
|
22138
|
-
styleInject(css_248z$
|
22158
|
+
var css_248z$m = ".ff_variable_input_container .ff_label_container {\n display: flex;\n align-items: center;\n margin-bottom: 4px;\n}\n.ff_variable_input_container .ff_label_container.ff_danger_label .ff_input_label {\n color: var(--error);\n}\n.ff_variable_input_container .ff_label_container.ff_danger_label .ff_required_asterisk {\n color: var(--error);\n}\n.ff_variable_input_container .ff_required_asterisk {\n color: var(--input-error-text-color);\n font-size: 1.1em;\n margin-right: 4px;\n}\n.ff_variable_input_container .ff_input_label {\n font-size: 14px;\n font-weight: 500;\n color: var(--text-color);\n}\n.ff_variable_input_container .ff_input_label.ff_no_hover {\n color: var(--toggle-disable-icon-color);\n}\n.ff_variable_input_container .ff_input_label.ff_disabled_label {\n color: var(--toggle-disable-icon-color);\n cursor: not-allowed;\n}\n.ff_variable_input_container .ff_input_label.ff_danger_label {\n color: var(--error);\n}\n.ff_variable_input_container .ff_content_editable {\n min-width: 8rem;\n border: 1px solid var(--input-default-border-color);\n padding: 8px;\n min-height: 30px;\n border-radius: 4px;\n font-family: Arial, sans-serif;\n font-size: 14px;\n line-height: 20px;\n transition: border-color 0.2s ease;\n position: relative;\n text-align: left;\n display: flex;\n align-items: center;\n overflow: auto;\n}\n.ff_variable_input_container .ff_content_editable .ff_var_red {\n color: var(--status-rejected-text-color);\n}\n.ff_variable_input_container .ff_content_editable .ff_var_def_color {\n color: var(--text-color);\n}\n.ff_variable_input_container .ff_content_editable .ff_var_green {\n color: var(--status-success-text-color);\n}\n.ff_variable_input_container .ff_content_editable::after {\n content: \"*\";\n color: var(--input-error-text-color);\n font-size: 1.2em;\n position: absolute;\n top: 2px;\n right: 2px;\n display: none;\n}\n.ff_variable_input_container .ff_content_editable.ff_required::after {\n display: inline;\n}\n.ff_variable_input_container .ff_content_editable.ff_required_empty:focus-within, .ff_variable_input_container .ff_content_editable.ff_required_empty:focus {\n border-color: var(--input-error-text-color);\n}\n.ff_variable_input_container .ff_content_editable:empty::before {\n content: attr(data-placeholder);\n color: var(--ff-search-filed-placeholder-text);\n position: absolute;\n user-select: none;\n pointer-events: none;\n font-size: medium;\n}\n.ff_variable_input_container .ff_content_editable.ff_disabled {\n pointer-events: none;\n opacity: 0.5;\n background-color: var(--input-default-border-color);\n}\n.ff_variable_input_container .ff_content_editable.ff_invalid_input {\n border: 1px solid var(--input-error-text-color);\n}\n.ff_variable_input_container .ff_suggestions {\n border: 1px solid var(--input-default-border-color);\n margin-top: 4px;\n padding: 4px;\n border-radius: 4px;\n list-style-type: none;\n background-color: var(--ff-select-background-color);\n max-height: 150px;\n overflow-y: auto;\n}\n.ff_variable_input_container .ff_suggestion_item {\n padding: 4px;\n cursor: pointer;\n}\n.ff_variable_input_container .ff_suggestion_item:hover {\n background-color: var(--ff-select-background-color);\n}";
|
22159
|
+
styleInject(css_248z$m);
|
22139
22160
|
|
22140
22161
|
const VariableInput = ({
|
22141
22162
|
type = 'url',
|
@@ -22413,8 +22434,8 @@ const VariableInput = ({
|
|
22413
22434
|
});
|
22414
22435
|
};
|
22415
22436
|
|
22416
|
-
var css_248z$
|
22417
|
-
styleInject(css_248z$
|
22437
|
+
var css_248z$l = ".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: 28px;\n font-size: 8px;\n line-height: 12px;\n}\n.ff-all-project .ff-dropdown .ff-search span {\n position: absolute;\n top: 11px;\n left: 8px;\n}\n.ff-all-project .ff-dropdown .all-projects-option {\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n justify-content: flex-start;\n gap: 4px;\n background-color: var(--primary-icon-color);\n border-radius: 4px;\n}\n.ff-all-project .ff-dropdown .scroll {\n max-height: 90px;\n overflow-y: scroll;\n}\n.ff-all-project .ff-dropdown .scroll::-webkit-scrollbar {\n width: 2px;\n}\n.ff-all-project .ff-dropdown .scroll::-webkit-scrollbar-thumb {\n background: var(--primary-icon-color);\n border-radius: 2px;\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}";
|
22438
|
+
styleInject(css_248z$l);
|
22418
22439
|
|
22419
22440
|
const AllProjectsDropdown = ({
|
22420
22441
|
onClick = () => {},
|
@@ -22448,7 +22469,6 @@ const AllProjectsDropdown = ({
|
|
22448
22469
|
return jsxRuntime.jsxs("div", {
|
22449
22470
|
className: classNames('ff-all-project'),
|
22450
22471
|
children: [jsxRuntime.jsxs("div", {
|
22451
|
-
onClick: handleShowOption,
|
22452
22472
|
className: classNames('ff-all-project-dropdown'),
|
22453
22473
|
children: [jsxRuntime.jsx(Typography, {
|
22454
22474
|
as: 'div',
|
@@ -22459,6 +22479,7 @@ const AllProjectsDropdown = ({
|
|
22459
22479
|
children: truncateText(selectedOptions?.label, 12)
|
22460
22480
|
}), jsxRuntime.jsx("div", {
|
22461
22481
|
className: classNames('label-icon'),
|
22482
|
+
onClick: handleShowOption,
|
22462
22483
|
children: jsxRuntime.jsx(Icon, {
|
22463
22484
|
name: "arrows_down_icon",
|
22464
22485
|
color: "var(--primary-icon-color)",
|
@@ -22481,18 +22502,39 @@ const AllProjectsDropdown = ({
|
|
22481
22502
|
placeholder: `${search ? 'Search Project' : ''}`,
|
22482
22503
|
onClick: () => handleInput()
|
22483
22504
|
})]
|
22505
|
+
}), jsxRuntime.jsxs("div", {
|
22506
|
+
onClick: () => handleSelectOption({
|
22507
|
+
label: 'All Projects',
|
22508
|
+
value: 'All Projects',
|
22509
|
+
iconName: 'all_projects'
|
22510
|
+
}),
|
22511
|
+
className: classNames('projects-options', 'all-projects-option'),
|
22512
|
+
children: [jsxRuntime.jsx("div", {
|
22513
|
+
className: classNames('projects-icons'),
|
22514
|
+
children: jsxRuntime.jsx(Icon, {
|
22515
|
+
name: 'all_projects',
|
22516
|
+
height: 12,
|
22517
|
+
width: 12,
|
22518
|
+
color: 'var(--secondary-icon-color)'
|
22519
|
+
})
|
22520
|
+
}), jsxRuntime.jsx(Typography, {
|
22521
|
+
as: 'div',
|
22522
|
+
lineHeight: '30px',
|
22523
|
+
color: 'var(--secondary-icon-color)',
|
22524
|
+
children: 'All Projects'
|
22525
|
+
})]
|
22484
22526
|
}), jsxRuntime.jsx("div", {
|
22485
22527
|
className: classNames('option-card', `${options.length > 4 ? 'scroll' : ''}`),
|
22486
22528
|
children: options.map((option, index) => jsxRuntime.jsxs("div", {
|
22487
22529
|
onClick: () => handleSelectOption(option),
|
22488
|
-
className: classNames('projects-options'
|
22530
|
+
className: classNames('projects-options'),
|
22489
22531
|
children: [jsxRuntime.jsx("div", {
|
22490
22532
|
className: classNames('projects-icons'),
|
22491
22533
|
children: jsxRuntime.jsx(Icon, {
|
22492
22534
|
name: option.iconName,
|
22493
22535
|
height: 12,
|
22494
22536
|
width: 12,
|
22495
|
-
color:
|
22537
|
+
color: 'var(--primary-icon-color)'
|
22496
22538
|
})
|
22497
22539
|
}), jsxRuntime.jsx(Typography, {
|
22498
22540
|
as: 'div',
|
@@ -22505,8 +22547,8 @@ const AllProjectsDropdown = ({
|
|
22505
22547
|
});
|
22506
22548
|
};
|
22507
22549
|
|
22508
|
-
var css_248z$
|
22509
|
-
styleInject(css_248z$
|
22550
|
+
var css_248z$k = ".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}";
|
22551
|
+
styleInject(css_248z$k);
|
22510
22552
|
|
22511
22553
|
const calculateArc$1 = ({
|
22512
22554
|
x,
|
@@ -22661,8 +22703,8 @@ const PieChart = ({
|
|
22661
22703
|
});
|
22662
22704
|
};
|
22663
22705
|
|
22664
|
-
var css_248z$
|
22665
|
-
styleInject(css_248z$
|
22706
|
+
var css_248z$j = ".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-left-container {\n display: flex;\n}\n.ff-app-header .ff-app-header-left-container .ff-app-header-logo-icon {\n padding: 4px;\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 padding: 7px;\n color: var(--ff-header-text-color);\n cursor: pointer;\n display: flex;\n position: relative;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item:not(.ff-app-header-nav-bar-item--selected):hover::after {\n animation: oscillate-border-width 0.5s ease-in-out forwards;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item::after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 25%;\n width: 0%;\n height: 2px;\n background: var(--ff-app-header-menu-border-bottom-color);\n border-radius: 4px;\n transition: width 0.15s ease-in-out;\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-nav-bar-item-label {\n white-space: nowrap;\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--selected :last-child {\n margin-right: 3px;\n}\n.ff-app-header .ff-app-header-nav-bar .ff-app-header-nav-bar-items .ff-app-header-nav-bar-item--selected :first-child {\n margin: 0;\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 position: relative;\n white-space: nowrap;\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:not(.ff-app-header-nav-bar-submenu-item--selected):hover::after {\n animation: oscillate-border-width 0.5s ease-in-out forwards;\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::after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 25%;\n width: 0%;\n height: 2px;\n background: var(--ff-app-header-submenu-border-bottom-color);\n border-radius: 4px;\n transition: width 0.15s ease-in-out;\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-nav-bar-submenu-item--selected::after {\n content: \"\";\n position: absolute;\n bottom: 0;\n left: 10%;\n width: 90%;\n height: 2px;\n border-radius: 4px;\n box-shadow: 0px 1px 0.2px 0px rgba(0, 0, 0, 0.1607843137);\n background: var(--ff-app-header-submenu-border-bottom-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-left-content,\n.ff-app-header .ff-app-header-right-content {\n height: 24px;\n padding: 8px;\n align-content: center;\n}\n\n@keyframes oscillate-border-width {\n 0% {\n width: 50%;\n left: 25%;\n }\n 50% {\n width: 70%;\n left: 15%;\n }\n 100% {\n width: 50%;\n left: 25%;\n }\n}";
|
22707
|
+
styleInject(css_248z$j);
|
22666
22708
|
|
22667
22709
|
const AppHeader = ({
|
22668
22710
|
logoIconName = 'fireflink_icon',
|
@@ -22776,8 +22818,8 @@ const AppHeader = ({
|
|
22776
22818
|
});
|
22777
22819
|
};
|
22778
22820
|
|
22779
|
-
var css_248z$
|
22780
|
-
styleInject(css_248z$
|
22821
|
+
var css_248z$i = ".ff_rounded_lg {\n border-radius: 8px;\n}\n\n.ff_paper_basic_style {\n padding: 20px;\n background-color: var(--ff-paper-dark-background-color);\n}\n\n.ff_paper_default_style {\n padding: 20px;\n background-color: var(--ff-paper-background-color);\n}";
|
22822
|
+
styleInject(css_248z$i);
|
22781
22823
|
|
22782
22824
|
const Paper = ({
|
22783
22825
|
children,
|
@@ -22793,8 +22835,8 @@ const Paper = ({
|
|
22793
22835
|
});
|
22794
22836
|
};
|
22795
22837
|
|
22796
|
-
var css_248z$
|
22797
|
-
styleInject(css_248z$
|
22838
|
+
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, .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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\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\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\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\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
22839
|
+
styleInject(css_248z$h);
|
22798
22840
|
|
22799
22841
|
const calculateArc = (x, y, radius, startAngle, endAngle) => {
|
22800
22842
|
const startX = x + radius * Math.cos(startAngle);
|
@@ -24777,8 +24819,8 @@ var RecaptchaWrapper = makeAsyncScript(getURL, {
|
|
24777
24819
|
} : {}
|
24778
24820
|
})(ReCAPTCHA);
|
24779
24821
|
|
24780
|
-
var css_248z$
|
24781
|
-
styleInject(css_248z$
|
24822
|
+
var css_248z$g = ".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}";
|
24823
|
+
styleInject(css_248z$g);
|
24782
24824
|
|
24783
24825
|
const Recaptcha = /*#__PURE__*/React.forwardRef(({
|
24784
24826
|
onVerify,
|
@@ -24821,8 +24863,8 @@ const nlpDropdownDefaultCSSData = {
|
|
24821
24863
|
dropDownWrapperPadding: 0
|
24822
24864
|
};
|
24823
24865
|
|
24824
|
-
var css_248z$
|
24825
|
-
styleInject(css_248z$
|
24866
|
+
var css_248z$f = "@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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
24867
|
+
styleInject(css_248z$f);
|
24826
24868
|
|
24827
24869
|
const NlpDropdown = ({
|
24828
24870
|
onSelectBlur,
|
@@ -24986,8 +25028,8 @@ const NlpDropdown = ({
|
|
24986
25028
|
});
|
24987
25029
|
};
|
24988
25030
|
|
24989
|
-
var css_248z$
|
24990
|
-
styleInject(css_248z$
|
25031
|
+
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\";\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\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\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\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\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}";
|
25032
|
+
styleInject(css_248z$e);
|
24991
25033
|
|
24992
25034
|
const nlpInputReducer = (state, action) => {
|
24993
25035
|
switch (action.type) {
|
@@ -25298,8 +25340,8 @@ const NlpInput = ({
|
|
25298
25340
|
});
|
25299
25341
|
};
|
25300
25342
|
|
25301
|
-
var css_248z$
|
25302
|
-
styleInject(css_248z$
|
25343
|
+
var css_248z$d = ".ff-icon-radio-group {\n width: 237px;\n height: 24px;\n display: flex;\n align-items: center;\n gap: 47px;\n position: relative;\n}\n\n.ff-icon-radio-button {\n width: 24px;\n height: 24px;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n position: relative;\n}\n.ff-icon-radio-button.selected {\n background-color: var(--brand-color);\n}\n.ff-icon-radio-button.disabled {\n opacity: 50%;\n cursor: not-allowed;\n}\n.ff-icon-radio-button .icon-container {\n width: 24px;\n height: 24px;\n border-radius: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--border-color);\n background: var(--drawer-footer-bg);\n}\n.ff-icon-radio-button .icon-container.selected {\n background-color: var(--brand-color);\n}\n.ff-icon-radio-button .icon-container .icon {\n width: 14px;\n height: 14px;\n}\n\n.line-connector {\n position: absolute;\n top: 50%;\n left: 0;\n right: 0;\n height: 1px;\n background-color: var(--border-color);\n z-index: -1;\n border-radius: 2px 0px 0px 0px;\n opacity: 0px;\n}";
|
25344
|
+
styleInject(css_248z$d);
|
25303
25345
|
|
25304
25346
|
const IconRadioGroup = ({
|
25305
25347
|
items,
|
@@ -25349,8 +25391,8 @@ const IconRadioGroup = ({
|
|
25349
25391
|
});
|
25350
25392
|
};
|
25351
25393
|
|
25352
|
-
var css_248z$
|
25353
|
-
styleInject(css_248z$
|
25394
|
+
var css_248z$c = ".ff-machine-input-field-wrapper {\n min-width: 100px;\n height: 32px;\n position: relative;\n cursor: pointer;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-field,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse {\n height: 100%;\n width: 100%;\n border: 1px solid var(--ff-machine-input-field-border-color);\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: space-around;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-field .ff-machine-icon-text-wrapper,\n.ff-machine-input-field-wrapper .ff-machine-input-field .ff-machine-icon-text-wrapper-reverse,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse .ff-machine-icon-text-wrapper,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse .ff-machine-icon-text-wrapper-reverse {\n display: flex;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-field .ff-machine-icon-text-wrapper .ff-machine-icon,\n.ff-machine-input-field-wrapper .ff-machine-input-field .ff-machine-icon-text-wrapper-reverse .ff-machine-icon,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse .ff-machine-icon-text-wrapper .ff-machine-icon,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse .ff-machine-icon-text-wrapper-reverse .ff-machine-icon {\n margin-right: 8px;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-field .ff-machine-icon-text-wrapper-reverse,\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse .ff-machine-icon-text-wrapper-reverse {\n flex-direction: row-reverse;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-field-reverse {\n flex-direction: row-reverse;\n}\n.ff-machine-input-field-wrapper .ff-machine-input-label {\n position: absolute;\n top: -6px;\n left: 8px;\n background-color: var(--ff-machine-input-field-border-color);\n border-radius: 4px;\n padding: 1px 2px;\n height: 10px;\n}";
|
25395
|
+
styleInject(css_248z$c);
|
25354
25396
|
|
25355
25397
|
const MachineInputField = /*#__PURE__*/React.forwardRef(({
|
25356
25398
|
width = '',
|
@@ -25403,11 +25445,11 @@ const MachineInputField = /*#__PURE__*/React.forwardRef(({
|
|
25403
25445
|
});
|
25404
25446
|
MachineInputField.displayName = 'MachineInputField';
|
25405
25447
|
|
25406
|
-
var css_248z$
|
25407
|
-
styleInject(css_248z$
|
25448
|
+
var css_248z$b = ".ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper {\n height: 66px;\n box-sizing: border-box;\n width: fit-content;\n margin-bottom: 16px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper {\n position: relative;\n display: flex;\n box-sizing: border-box;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-sequential-select-branch {\n width: 240px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow {\n position: relative;\n display: flex;\n align-items: center;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow .ff-branch-arrow-wrapper {\n width: 40px;\n border-top: 1px solid var(--ff-connecting-branch-color);\n margin-top: 4px;\n position: relative;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow .ff-branch-arrow-wrapper .ff-branch-arrow {\n width: 6px;\n height: 6px;\n background-color: var(--ff-connecting-branch-color);\n clip-path: polygon(100% 50%, 0 100%, 0 0);\n position: absolute;\n right: -1px;\n top: -3px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow .ff-select-branch-point {\n width: 5px;\n height: 5px;\n border-radius: 50%;\n background-color: var(--ff-connecting-branch-color);\n position: absolute;\n left: -3px;\n z-index: 102;\n top: 50%;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow .branch-button {\n margin-top: 4px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow-down {\n position: absolute;\n height: 38px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow-down .ff-select-branch-point {\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: var(--ff-connecting-branch-color);\n border-radius: 50%;\n top: 50%;\n left: -2px;\n z-index: 102;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-branch-wrapper .ff-select-branch-arrow-down .ff-select-branch-arrow {\n width: 0px;\n height: 62px;\n top: calc(50% + 1px);\n border-left: 1px solid var(--ff-connecting-branch-color);\n z-index: 102;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist {\n box-sizing: border-box;\n width: 240px;\n margin-top: 4px;\n padding: 0px 4px;\n display: flex;\n justify-content: space-between;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-scope-wrapper {\n display: flex;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-scope-wrapper .ff-scope-text {\n margin-left: 4px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-datalist-wrapper {\n display: flex;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-datalist-wrapper .ff-dataset-icon,\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-datalist-wrapper .ff-run-delete-icon,\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-datalist-wrapper .ff-datalist-text {\n cursor: pointer;\n}\n.ff-sequential-connecting-branch-wrapper .ff-connecting-select-branch-wrapper .ff-select-scope-datalist .ff-datalist-wrapper .ff-datalist-text {\n margin: 0px 12px 0px 4px;\n}\n.ff-sequential-connecting-branch-wrapper .ff-sequential-branches-wrapper {\n box-sizing: border-box;\n width: fit-content;\n height: fit-content;\n}";
|
25449
|
+
styleInject(css_248z$b);
|
25408
25450
|
|
25409
|
-
var css_248z$
|
25410
|
-
styleInject(css_248z$
|
25451
|
+
var css_248z$a = ".ff-connecting-branch-grid,\n.ff-connecting-branch-grid-reverse {\n box-sizing: border-box;\n display: grid;\n grid-template-columns: 24px 180px 40px 180px 24px;\n height: 66px;\n margin-bottom: 16px;\n position: relative;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-start-wrapper,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-start-wrapper {\n position: relative;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-start-wrapper .ff-connecting-branch-arrow,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-start-wrapper .ff-connecting-branch-arrow {\n position: absolute;\n height: 6px;\n width: 6px;\n background-color: var(--ff-connecting-branch-color);\n z-index: 2;\n clip-path: polygon(0 0, 0% 100%, 100% 50%);\n top: calc(25% - 3px);\n right: -2px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-start-wrapper .ff-connecting-branch-arrow-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-start-wrapper .ff-connecting-branch-arrow-reverse {\n position: absolute;\n height: 6px;\n width: 6px;\n background-color: var(--ff-connecting-branch-color);\n z-index: 2;\n left: -2px;\n top: calc(25% - 3px);\n clip-path: polygon(0 50%, 100% 100%, 100% 0);\n}\n.ff-connecting-branch-grid .ff-connecting-branch-start-wrapper .ff-connecting-branch-container,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-start-wrapper .ff-connecting-branch-container {\n width: 100%;\n height: 25%;\n border: 1px solid var(--ff-connecting-branch-color);\n border-top: none;\n border-right: none;\n border-bottom-left-radius: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-start-wrapper .ff-connecting-branch-container-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-start-wrapper .ff-connecting-branch-container-reverse {\n width: 100%;\n height: 25%;\n border: 1px solid var(--ff-connecting-branch-color);\n border-top: none;\n border-left: none;\n border-bottom-right-radius: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist {\n display: flex;\n padding-top: 4px;\n height: 24px;\n justify-content: flex-end;\n width: 100%;\n align-items: center;\n flex-direction: row;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist .ff-connecting-icon,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist .ff-connecting-icon {\n margin-right: 4px;\n cursor: pointer;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist .ff-connecting-text,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist .ff-connecting-text {\n margin-right: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist .ff-connecting-delete-icon,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist .ff-connecting-delete-icon {\n cursor: pointer;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist-reverse {\n display: flex;\n padding-top: 4px;\n height: 24px;\n justify-content: flex-end;\n width: 100%;\n align-items: center;\n flex-direction: row-reverse;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist-reverse .ff-connecting-icon,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist-reverse .ff-connecting-icon {\n margin-right: 4px;\n cursor: pointer;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist-reverse .ff-connecting-text,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist-reverse .ff-connecting-text {\n margin-right: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-datalist-reverse .ff-connecting-delete-icon,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-datalist-reverse .ff-connecting-delete-icon {\n cursor: pointer;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-input-point-wrapper,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-input-point-wrapper {\n position: relative;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-input-point-wrapper .ff-connecting-branch-point,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-input-point-wrapper .ff-connecting-branch-point {\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: var(--ff-connecting-branch-color);\n border-radius: 50%;\n z-index: 2;\n right: -2px;\n top: calc(50% - 1px);\n}\n.ff-connecting-branch-grid .ff-connecting-branch-input-point-wrapper .ff-connecting-branch-point-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-input-point-wrapper .ff-connecting-branch-point-reverse {\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: var(--ff-connecting-branch-color);\n border-radius: 50%;\n z-index: 2;\n left: -4px;\n top: calc(50% - 1px);\n}\n.ff-connecting-branch-grid .ff-connecting-branch-middle-arrow,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-middle-arrow {\n height: 0px;\n width: 100%;\n margin-top: calc(50% - 3px);\n position: relative;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-middle-arrow .ff-connecting-branch-arrow,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-middle-arrow .ff-connecting-branch-arrow {\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: var(--ff-connecting-branch-color);\n clip-path: polygon(0 0, 0% 100%, 100% 50%);\n top: calc(25% - 4px);\n right: -1px;\n z-index: 2;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-middle-arrow .ff-connecting-branch-arrow-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-middle-arrow .ff-connecting-branch-arrow-reverse {\n position: absolute;\n height: 5px;\n width: 5px;\n background-color: var(--ff-connecting-branch-color);\n clip-path: polygon(0 50%, 100% 100%, 100% 0);\n top: calc(25% - 4px);\n left: -1px;\n z-index: 2;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-end-arrow,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-end-arrow {\n width: 100%;\n height: 100%;\n margin-top: 17px;\n border-top: 1px solid var(--ff-connecting-branch-color);\n border-right: 1px solid var(--ff-connecting-branch-color);\n border-top-right-radius: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-end-arrow-reverse,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-end-arrow-reverse {\n width: 100%;\n height: 100%;\n margin-top: 17px;\n border-top: 1px solid var(--ff-connecting-branch-color);\n border-left: 1px solid var(--ff-connecting-branch-color);\n border-top-left-radius: 8px;\n}\n.ff-connecting-branch-grid .ff-connecting-branch-browser-button,\n.ff-connecting-branch-grid-reverse .ff-connecting-branch-browser-button {\n height: 32px;\n display: flex;\n align-items: center;\n}\n\n.ff-connecting-branch-grid-reverse {\n direction: rtl;\n margin: 0px 0px 16px 0px;\n}";
|
25452
|
+
styleInject(css_248z$a);
|
25411
25453
|
|
25412
25454
|
const Branches = ({
|
25413
25455
|
machineInstances,
|
@@ -25554,8 +25596,8 @@ const Branches = ({
|
|
25554
25596
|
});
|
25555
25597
|
};
|
25556
25598
|
|
25557
|
-
var css_248z$
|
25558
|
-
styleInject(css_248z$
|
25599
|
+
var css_248z$9 = ".ff-connecting-branch-grid-wrapper {\n box-sizing: border-box;\n}";
|
25600
|
+
styleInject(css_248z$9);
|
25559
25601
|
|
25560
25602
|
const ConnectingBranches = ({
|
25561
25603
|
machineBranchInstances,
|
@@ -25595,8 +25637,8 @@ const ConnectingBranches = ({
|
|
25595
25637
|
});
|
25596
25638
|
};
|
25597
25639
|
|
25598
|
-
var css_248z$
|
25599
|
-
styleInject(css_248z$
|
25640
|
+
var css_248z$8 = ".ff-datalist-modal-header-wrapper,\n.ff-datalist-modal-child-wrapper,\n.ff-datalist-modal-footer-wrapper {\n margin: 0 8px;\n}\n\n.ff-datalist-modal-header-wrapper {\n width: 255px;\n border-bottom: 1px solid var(--ff-connecting-branch-modal-border);\n display: flex;\n align-items: center;\n}\n\n.ff-datalist-modal-child-wrapper .variable {\n margin: 8px 0;\n}\n\n.ff-datalist-modal-footer-wrapper {\n display: flex;\n justify-content: space-between;\n border-top: 1px solid var(--ff-connecting-branch-modal-border);\n}\n.ff-datalist-modal-footer-wrapper .datalist-button-wrapper {\n display: flex;\n gap: 10px;\n margin-top: 4px;\n justify-content: flex-end;\n}";
|
25641
|
+
styleInject(css_248z$8);
|
25600
25642
|
|
25601
25643
|
const DatasetListModal = /*#__PURE__*/React.forwardRef((props, ref) => {
|
25602
25644
|
const selectOptions = [{
|
@@ -25673,8 +25715,8 @@ const DatasetListModal = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
25673
25715
|
});
|
25674
25716
|
});
|
25675
25717
|
|
25676
|
-
var css_248z$
|
25677
|
-
styleInject(css_248z$
|
25718
|
+
var css_248z$7 = ".ff-connecting-datalist-modal-header-wrapper,\n.ff-connecting-modal-child-wrapper {\n width: 534px;\n padding: 0 4px;\n}\n\n.ff-connecting-datalist-modal-header-wrapper {\n border-bottom: 1px solid var(--ff-connecting-branch-modal-border);\n margin-bottom: 4px;\n}\n\n.ff-connecting-modal-child-wrapper .ff-branch-select-input-wrapper {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.ff-connecting-modal-child-wrapper .ff-branch-select-input-wrapper .ff-select-browser {\n width: 263px;\n}\n.ff-connecting-modal-child-wrapper .ff-branch-select-input-wrapper .ff-branch-input-wrapper {\n display: flex;\n align-items: flex-end;\n height: 38px;\n}\n.ff-connecting-modal-child-wrapper .ff-branch-select-input-wrapper .ff-branch-input-wrapper .ff-input-browser {\n width: 245px;\n}\n\n.ff-connecting-modal-footer-wrapper {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 0 8px;\n margin-top: 8px;\n border-top: 1px solid var(--ff-connecting-branch-modal-border);\n}\n.ff-connecting-modal-footer-wrapper .ff-branch-toggle-wrapper,\n.ff-connecting-modal-footer-wrapper .ff-datalist-button-wrapper {\n display: flex;\n gap: 8px;\n}\n.ff-connecting-modal-footer-wrapper .ff-branch-toggle-wrapper {\n gap: 4px;\n}";
|
25719
|
+
styleInject(css_248z$7);
|
25678
25720
|
|
25679
25721
|
const AddBrowserModal = /*#__PURE__*/React.forwardRef((props, ref) => {
|
25680
25722
|
// TODO: WILL BE REMOVE IN THE FUTURE
|
@@ -25937,8 +25979,8 @@ const SequentialConnectingBranch = ({
|
|
25937
25979
|
});
|
25938
25980
|
};
|
25939
25981
|
|
25940
|
-
var css_248z$
|
25941
|
-
styleInject(css_248z$
|
25982
|
+
var css_248z$6 = ".ff-input-field {\n display: none;\n}\n\n.ff-attachment-files {\n padding: 9px;\n display: flex;\n align-items: center;\n gap: 4px;\n}";
|
25983
|
+
styleInject(css_248z$6);
|
25942
25984
|
|
25943
25985
|
const AttachmentButton = ({
|
25944
25986
|
label,
|
@@ -26036,13 +26078,33 @@ const Toastify = () => {
|
|
26036
26078
|
toastMessage: ''
|
26037
26079
|
});
|
26038
26080
|
const timeoutRef = React.useRef(null);
|
26039
|
-
openToast = (variant,
|
26081
|
+
openToast = (variant, arg1, arg2) => {
|
26040
26082
|
// Clear the previous timeout if it exists
|
26041
26083
|
if (timeoutRef.current) {
|
26042
26084
|
clearTimeout(timeoutRef.current);
|
26043
26085
|
timeoutRef.current = null;
|
26044
26086
|
}
|
26045
|
-
|
26087
|
+
// Set the title and message based on the arguments
|
26088
|
+
let title = '';
|
26089
|
+
let message = '';
|
26090
|
+
// Function to format message
|
26091
|
+
const formatMessage = input => {
|
26092
|
+
if (input && typeof input === 'object') {
|
26093
|
+
return JSON.stringify(input, null, 2);
|
26094
|
+
} else if (typeof input === 'function') {
|
26095
|
+
return input.toString();
|
26096
|
+
}
|
26097
|
+
return String(input);
|
26098
|
+
};
|
26099
|
+
// If arg2 exists, use it as the message
|
26100
|
+
if (arg2 !== undefined) {
|
26101
|
+
title = formatMessage(arg1);
|
26102
|
+
message = formatMessage(arg2);
|
26103
|
+
} else {
|
26104
|
+
title = formatMessage(arg1);
|
26105
|
+
message = '';
|
26106
|
+
}
|
26107
|
+
const formattedTitle = title.charAt(0).toUpperCase() + title.slice(1);
|
26046
26108
|
// Close the existing toast if open, and then immediately show the new one
|
26047
26109
|
setToastProps(prev => ({
|
26048
26110
|
...prev,
|
@@ -26052,7 +26114,7 @@ const Toastify = () => {
|
|
26052
26114
|
setToastProps({
|
26053
26115
|
isOpen: true,
|
26054
26116
|
variant,
|
26055
|
-
toastTitle:
|
26117
|
+
toastTitle: formattedTitle,
|
26056
26118
|
toastMessage: message
|
26057
26119
|
});
|
26058
26120
|
}, 10);
|
@@ -26072,14 +26134,14 @@ const Toastify = () => {
|
|
26072
26134
|
};
|
26073
26135
|
// Utility to trigger toast messages outside of the Toastify component
|
26074
26136
|
const toast = {
|
26075
|
-
success:
|
26076
|
-
error:
|
26077
|
-
warning:
|
26078
|
-
info:
|
26137
|
+
success: (arg1, arg2) => openToast('success', arg1, arg2),
|
26138
|
+
error: (arg1, arg2) => openToast('danger', arg1, arg2),
|
26139
|
+
warning: (arg1, arg2) => openToast('warning', arg1, arg2),
|
26140
|
+
info: (arg1, arg2) => openToast('info', arg1, arg2)
|
26079
26141
|
};
|
26080
26142
|
|
26081
|
-
var css_248z$
|
26082
|
-
styleInject(css_248z$
|
26143
|
+
var css_248z$5 = "@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\";\n font-size: 10px;\n}\n\n.fontSm, .ff-label-edit-text-field .ff-text-field,\n.ff-label-edit-text-field .dropdown, .ff-label-edit-text-field .ff-text-dropdown-field {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8, .ff-label-edit-text-field .ff-label, .ff-label-edit-text-field .ff-textfield-label {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-label-edit-text-field {\n display: flex;\n flex-direction: column;\n position: relative;\n width: 100%;\n}\n.ff-label-edit-text-field .ff-label-text-field {\n display: flex;\n gap: 10px;\n}\n.ff-label-edit-text-field .ff-label-text-field-with-dropdown,\n.ff-label-edit-text-field .ff-label-text-field-without-dropdown {\n position: relative;\n display: flex;\n align-items: center;\n}\n.ff-label-edit-text-field .ff-label, .ff-label-edit-text-field .ff-textfield-label {\n position: absolute;\n top: 0;\n left: 10px;\n transform: translateY(-50%);\n transition: all 0.2s ease;\n color: var(--label-edit-text-label-color);\n background: var(--label-edit-text-background-color);\n padding: 0 4px;\n}\n.ff-label-edit-text-field .ff-textfield-label {\n top: 5px;\n}\n.ff-label-edit-text-field .display-text {\n padding: 4px;\n border-radius: 4px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.ff-label-edit-text-field .ff-text-field,\n.ff-label-edit-text-field .dropdown {\n border: 1px solid var(--label-edit-text-label-color);\n outline: none;\n width: fit-content;\n}\n.ff-label-edit-text-field .ff-text-field {\n padding: 0 4px;\n border-radius: 4px;\n}\n.ff-label-edit-text-field .ff-text-dropdown-field {\n flex: 2;\n border: 1px solid var(--label-edit-text-label-color);\n border-radius: 4px 0 0 4px;\n border-right: none;\n border-width: thin;\n padding-left: 5px;\n}\n.ff-label-edit-text-field .ff-text-dropdown-field:focus-visible {\n outline: none;\n}\n.ff-label-edit-text-field .dropdown {\n border-radius: 0 4px 4px 0;\n flex: 1;\n height: inherit;\n}\n.ff-label-edit-text-field .ff-icon-container {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.ff-label-edit-text-field .ff-icon-container .confirm-icon,\n.ff-label-edit-text-field .ff-icon-container .cancel-icon {\n cursor: pointer;\n}\n.ff-label-edit-text-field .error-text {\n margin: 0;\n color: var(--label-edit-error-text);\n}";
|
26144
|
+
styleInject(css_248z$5);
|
26083
26145
|
|
26084
26146
|
const getErrorMessage = (inputValue, text, customError) => {
|
26085
26147
|
if (inputValue === text) {
|
@@ -26250,53 +26312,6 @@ const LabelEditTextField = ({
|
|
26250
26312
|
});
|
26251
26313
|
};
|
26252
26314
|
|
26253
|
-
const ExcelSheetBar = ({
|
26254
|
-
fileDetails,
|
26255
|
-
handleSheetChange,
|
26256
|
-
selectedSheet
|
26257
|
-
}) => {
|
26258
|
-
const [activeTabId, setActiveTabId] = React.useState('0');
|
26259
|
-
const tabsData = fileDetails.sheetNames.map((name, index) => ({
|
26260
|
-
label: name,
|
26261
|
-
components: jsxRuntime.jsx("div", {
|
26262
|
-
className: `tab-request ${name === selectedSheet.name ? 'active font-bold' : ''}`,
|
26263
|
-
onClick: () => handleSheetChange(name, index),
|
26264
|
-
children: name
|
26265
|
-
}, name),
|
26266
|
-
id: index.toString()
|
26267
|
-
}));
|
26268
|
-
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
26269
|
-
children: jsxRuntime.jsx(Container, {
|
26270
|
-
fluid: true,
|
26271
|
-
children: jsxRuntime.jsxs(Row$1, {
|
26272
|
-
children: [jsxRuntime.jsx(Col, {
|
26273
|
-
size: 0,
|
26274
|
-
children: jsxRuntime.jsx(Tooltip, {
|
26275
|
-
title: "Add Sheet",
|
26276
|
-
placement: "top",
|
26277
|
-
children: jsxRuntime.jsx(Icon, {
|
26278
|
-
className: "cursor-pointer ml-1",
|
26279
|
-
hoverEffect: true,
|
26280
|
-
name: "plus_icon",
|
26281
|
-
height: 20,
|
26282
|
-
width: 20
|
26283
|
-
})
|
26284
|
-
})
|
26285
|
-
}), jsxRuntime.jsx(Col, {
|
26286
|
-
size: 11,
|
26287
|
-
children: jsxRuntime.jsx(Tabs, {
|
26288
|
-
tabsData: tabsData,
|
26289
|
-
activeTabId: activeTabId,
|
26290
|
-
onTabClick: tabId => {
|
26291
|
-
setActiveTabId(tabId);
|
26292
|
-
}
|
26293
|
-
})
|
26294
|
-
})]
|
26295
|
-
})
|
26296
|
-
})
|
26297
|
-
});
|
26298
|
-
};
|
26299
|
-
|
26300
26315
|
const SET_DATA = 'SET_DATA';
|
26301
26316
|
const SET_CREATE_FORMULA_PARSER = 'SET_CREATE_FORMULA_PARSER';
|
26302
26317
|
const SELECT_ENTIRE_ROW = 'SELECT_ENTIRE_ROW';
|
@@ -26314,14 +26329,17 @@ const EDIT = 'EDIT';
|
|
26314
26329
|
const VIEW = 'VIEW';
|
26315
26330
|
const CLEAR = 'CLEAR';
|
26316
26331
|
const BLUR = 'BLUR';
|
26317
|
-
const KEY_PRESS = 'KEY_PRESS';
|
26318
26332
|
const KEY_DOWN = 'KEY_DOWN';
|
26319
26333
|
const DRAG_START = 'DRAG_START';
|
26320
26334
|
const DRAG_END = 'DRAG_END';
|
26321
26335
|
const COMMIT = 'COMMIT';
|
26322
26336
|
const BOLD = 'BOLD';
|
26323
26337
|
const ITALIC = 'ITALIC';
|
26324
|
-
const
|
26338
|
+
const UNDERLINE_TYPE = 'UNDERLINE_TYPE';
|
26339
|
+
const FONT_FAMILY = 'FONT_FAMILY';
|
26340
|
+
const FONT_SIZE = 'FONT_SIZE';
|
26341
|
+
const TEXT_ALIGN = 'TEXT_ALIGN';
|
26342
|
+
const BORDER_TYPE = 'BORDER_TYPE';
|
26325
26343
|
const COLOR = 'COLOR';
|
26326
26344
|
const BACKGROUND_COLOR = 'BACKGROUND_COLOR';
|
26327
26345
|
const FORMATE_PAINTER = 'FORMATE_PAINTER';
|
@@ -26341,11 +26359,50 @@ function italic(data) {
|
|
26341
26359
|
}
|
26342
26360
|
};
|
26343
26361
|
}
|
26344
|
-
function
|
26362
|
+
function borderType(data, value, color) {
|
26345
26363
|
return {
|
26346
|
-
type:
|
26364
|
+
type: BORDER_TYPE,
|
26347
26365
|
payload: {
|
26348
|
-
data
|
26366
|
+
data,
|
26367
|
+
value,
|
26368
|
+
color
|
26369
|
+
}
|
26370
|
+
};
|
26371
|
+
}
|
26372
|
+
function underlineType(data, value, active) {
|
26373
|
+
return {
|
26374
|
+
type: UNDERLINE_TYPE,
|
26375
|
+
payload: {
|
26376
|
+
data,
|
26377
|
+
value,
|
26378
|
+
active
|
26379
|
+
}
|
26380
|
+
};
|
26381
|
+
}
|
26382
|
+
function fontSize(data, value) {
|
26383
|
+
return {
|
26384
|
+
type: FONT_SIZE,
|
26385
|
+
payload: {
|
26386
|
+
data,
|
26387
|
+
value
|
26388
|
+
}
|
26389
|
+
};
|
26390
|
+
}
|
26391
|
+
function fontFamily(data, value) {
|
26392
|
+
return {
|
26393
|
+
type: FONT_FAMILY,
|
26394
|
+
payload: {
|
26395
|
+
data,
|
26396
|
+
value
|
26397
|
+
}
|
26398
|
+
};
|
26399
|
+
}
|
26400
|
+
function textAlign(data, value) {
|
26401
|
+
return {
|
26402
|
+
type: TEXT_ALIGN,
|
26403
|
+
payload: {
|
26404
|
+
data,
|
26405
|
+
value
|
26349
26406
|
}
|
26350
26407
|
};
|
26351
26408
|
}
|
@@ -26464,14 +26521,6 @@ function paste(data) {
|
|
26464
26521
|
}
|
26465
26522
|
};
|
26466
26523
|
}
|
26467
|
-
function keyPress(event) {
|
26468
|
-
return {
|
26469
|
-
type: KEY_PRESS,
|
26470
|
-
payload: {
|
26471
|
-
event
|
26472
|
-
}
|
26473
|
-
};
|
26474
|
-
}
|
26475
26524
|
function keyDown(event) {
|
26476
26525
|
return {
|
26477
26526
|
type: KEY_DOWN,
|
@@ -48390,111 +48439,766 @@ function getFormulaComputedValue(value, point, formulaParser) {
|
|
48390
48439
|
}
|
48391
48440
|
}
|
48392
48441
|
|
48393
|
-
|
48394
|
-
|
48395
|
-
|
48396
|
-
|
48397
|
-
|
48398
|
-
|
48399
|
-
|
48400
|
-
|
48401
|
-
|
48402
|
-
|
48403
|
-
|
48404
|
-
|
48405
|
-
|
48406
|
-
|
48407
|
-
|
48408
|
-
|
48409
|
-
|
48410
|
-
{
|
48411
|
-
const selectedRange = state.selected.toRange(state.model.data);
|
48412
|
-
const updatedData = applyBoldToCells(state.model.data, selectedRange);
|
48413
|
-
return {
|
48414
|
-
...state,
|
48415
|
-
model: new Model(state.model.createFormulaParser, updatedData)
|
48416
|
-
};
|
48442
|
+
function applyBoldToCells(currentData, selectedRange) {
|
48443
|
+
if (!selectedRange) {
|
48444
|
+
return currentData;
|
48445
|
+
}
|
48446
|
+
const {
|
48447
|
+
start,
|
48448
|
+
end
|
48449
|
+
} = selectedRange;
|
48450
|
+
let updatedData = currentData;
|
48451
|
+
for (let row = start.row; row <= end.row; row++) {
|
48452
|
+
for (let col = start.column; col <= end.column; col++) {
|
48453
|
+
const currentCell = get({
|
48454
|
+
row,
|
48455
|
+
column: col
|
48456
|
+
}, updatedData);
|
48457
|
+
if (!currentCell) {
|
48458
|
+
continue;
|
48417
48459
|
}
|
48418
|
-
|
48419
|
-
|
48420
|
-
|
48421
|
-
|
48422
|
-
|
48423
|
-
|
48424
|
-
|
48425
|
-
|
48460
|
+
const updatedCell = {
|
48461
|
+
...currentCell,
|
48462
|
+
style: {
|
48463
|
+
...currentCell.style,
|
48464
|
+
fontWeight: 'bold'
|
48465
|
+
}
|
48466
|
+
};
|
48467
|
+
updatedData = set({
|
48468
|
+
row,
|
48469
|
+
column: col
|
48470
|
+
}, updatedCell, updatedData);
|
48471
|
+
}
|
48472
|
+
}
|
48473
|
+
return updatedData;
|
48474
|
+
}
|
48475
|
+
function applyItalicToCells(currentData, selectedRange) {
|
48476
|
+
if (!selectedRange) {
|
48477
|
+
return currentData;
|
48478
|
+
}
|
48479
|
+
const {
|
48480
|
+
start,
|
48481
|
+
end
|
48482
|
+
} = selectedRange;
|
48483
|
+
let updatedData = currentData;
|
48484
|
+
for (let row = start.row; row <= end.row; row++) {
|
48485
|
+
for (let col = start.column; col <= end.column; col++) {
|
48486
|
+
const currentCell = get({
|
48487
|
+
row,
|
48488
|
+
column: col
|
48489
|
+
}, updatedData);
|
48490
|
+
if (!currentCell) {
|
48491
|
+
continue;
|
48426
48492
|
}
|
48427
|
-
|
48428
|
-
|
48429
|
-
|
48430
|
-
|
48431
|
-
|
48432
|
-
|
48433
|
-
|
48434
|
-
|
48493
|
+
const updatedCell = {
|
48494
|
+
...currentCell,
|
48495
|
+
style: {
|
48496
|
+
...currentCell.style,
|
48497
|
+
fontStyle: 'italic'
|
48498
|
+
}
|
48499
|
+
};
|
48500
|
+
updatedData = set({
|
48501
|
+
row,
|
48502
|
+
column: col
|
48503
|
+
}, updatedCell, updatedData);
|
48504
|
+
}
|
48505
|
+
}
|
48506
|
+
return updatedData;
|
48507
|
+
}
|
48508
|
+
function applyFontFamily(currentData, selectedRange, value) {
|
48509
|
+
if (!selectedRange) {
|
48510
|
+
return currentData;
|
48511
|
+
}
|
48512
|
+
const {
|
48513
|
+
start,
|
48514
|
+
end
|
48515
|
+
} = selectedRange;
|
48516
|
+
let updatedData = currentData;
|
48517
|
+
for (let row = start.row; row <= end.row; row++) {
|
48518
|
+
for (let col = start.column; col <= end.column; col++) {
|
48519
|
+
const currentCell = get({
|
48520
|
+
row,
|
48521
|
+
column: col
|
48522
|
+
}, updatedData);
|
48523
|
+
if (!currentCell) {
|
48524
|
+
continue;
|
48435
48525
|
}
|
48436
|
-
|
48437
|
-
|
48438
|
-
|
48439
|
-
|
48440
|
-
|
48441
|
-
|
48442
|
-
|
48443
|
-
|
48444
|
-
|
48445
|
-
|
48446
|
-
|
48526
|
+
let updatedCell = {
|
48527
|
+
...currentCell,
|
48528
|
+
style: {
|
48529
|
+
...currentCell.style,
|
48530
|
+
fontFamily: value
|
48531
|
+
}
|
48532
|
+
};
|
48533
|
+
updatedData = set({
|
48534
|
+
row,
|
48535
|
+
column: col
|
48536
|
+
}, updatedCell, updatedData);
|
48537
|
+
}
|
48538
|
+
}
|
48539
|
+
return updatedData;
|
48540
|
+
}
|
48541
|
+
function applyFontSize(currentData, selectedRange, value) {
|
48542
|
+
const conversion = Number(value);
|
48543
|
+
if (isNaN(conversion)) {
|
48544
|
+
return currentData;
|
48545
|
+
}
|
48546
|
+
const fontSizeInPx = convertPtToPx(conversion);
|
48547
|
+
if (!selectedRange) {
|
48548
|
+
return currentData;
|
48549
|
+
}
|
48550
|
+
const {
|
48551
|
+
start,
|
48552
|
+
end
|
48553
|
+
} = selectedRange;
|
48554
|
+
let updatedData = currentData;
|
48555
|
+
for (let row = start.row; row <= end.row; row++) {
|
48556
|
+
for (let col = start.column; col <= end.column; col++) {
|
48557
|
+
const currentCell = get({
|
48558
|
+
row,
|
48559
|
+
column: col
|
48560
|
+
}, updatedData);
|
48561
|
+
if (!currentCell) {
|
48562
|
+
continue;
|
48447
48563
|
}
|
48448
|
-
|
48449
|
-
|
48450
|
-
|
48451
|
-
|
48452
|
-
|
48453
|
-
|
48454
|
-
|
48455
|
-
|
48456
|
-
|
48457
|
-
|
48458
|
-
|
48564
|
+
let updatedCell = {
|
48565
|
+
...currentCell,
|
48566
|
+
style: {
|
48567
|
+
...currentCell.style,
|
48568
|
+
fontSize: fontSizeInPx
|
48569
|
+
}
|
48570
|
+
};
|
48571
|
+
updatedData = set({
|
48572
|
+
row,
|
48573
|
+
column: col
|
48574
|
+
}, updatedCell, updatedData);
|
48575
|
+
}
|
48576
|
+
}
|
48577
|
+
return updatedData;
|
48578
|
+
}
|
48579
|
+
function applyBorderToCells(currentData, selectedRange, value, color) {
|
48580
|
+
if (!selectedRange) {
|
48581
|
+
return currentData;
|
48582
|
+
}
|
48583
|
+
const {
|
48584
|
+
start,
|
48585
|
+
end
|
48586
|
+
} = selectedRange;
|
48587
|
+
let updatedData = currentData;
|
48588
|
+
for (let row = start.row; row <= end.row; row++) {
|
48589
|
+
for (let col = start.column; col <= end.column; col++) {
|
48590
|
+
const currentCell = get({
|
48591
|
+
row,
|
48592
|
+
column: col
|
48593
|
+
}, updatedData);
|
48594
|
+
if (!currentCell) {
|
48595
|
+
continue;
|
48459
48596
|
}
|
48460
|
-
|
48461
|
-
|
48462
|
-
|
48463
|
-
|
48464
|
-
|
48465
|
-
|
48466
|
-
|
48467
|
-
|
48597
|
+
let updatedCell = {
|
48598
|
+
...currentCell
|
48599
|
+
};
|
48600
|
+
switch (value) {
|
48601
|
+
case 'border-all-sides':
|
48602
|
+
updatedCell.style = {
|
48603
|
+
...currentCell.style,
|
48604
|
+
border: `2px solid ${color}`
|
48605
|
+
};
|
48606
|
+
break;
|
48607
|
+
case 'border-none':
|
48608
|
+
updatedCell.style = {
|
48609
|
+
...currentCell.style,
|
48610
|
+
border: `1px solid var(--toggle-strip-color)`
|
48611
|
+
};
|
48612
|
+
break;
|
48613
|
+
case 'border-right':
|
48614
|
+
updatedCell.style = {
|
48615
|
+
...currentCell.style,
|
48616
|
+
borderRight: `2px solid ${color}`
|
48617
|
+
};
|
48618
|
+
break;
|
48619
|
+
case 'border-left':
|
48620
|
+
updatedCell.style = {
|
48621
|
+
...currentCell.style,
|
48622
|
+
borderLeft: `2px solid ${color}`
|
48623
|
+
};
|
48624
|
+
break;
|
48625
|
+
case 'border-top':
|
48626
|
+
updatedCell.style = {
|
48627
|
+
...currentCell.style,
|
48628
|
+
borderTop: `2px solid ${color}`
|
48629
|
+
};
|
48630
|
+
break;
|
48631
|
+
case 'border-bottom':
|
48632
|
+
updatedCell.style = {
|
48633
|
+
...currentCell.style,
|
48634
|
+
borderBottom: `2px solid ${color}`
|
48635
|
+
};
|
48636
|
+
break;
|
48468
48637
|
}
|
48469
|
-
|
48470
|
-
|
48471
|
-
|
48472
|
-
|
48473
|
-
|
48474
|
-
|
48475
|
-
|
48476
|
-
|
48477
|
-
|
48478
|
-
|
48479
|
-
|
48480
|
-
|
48481
|
-
|
48638
|
+
updatedData = set({
|
48639
|
+
row,
|
48640
|
+
column: col
|
48641
|
+
}, updatedCell, updatedData);
|
48642
|
+
}
|
48643
|
+
}
|
48644
|
+
return updatedData;
|
48645
|
+
}
|
48646
|
+
function applyTextAlign(currentData, selectedRange, value) {
|
48647
|
+
if (!selectedRange) {
|
48648
|
+
return currentData;
|
48649
|
+
}
|
48650
|
+
const {
|
48651
|
+
start,
|
48652
|
+
end
|
48653
|
+
} = selectedRange;
|
48654
|
+
let updatedData = currentData;
|
48655
|
+
for (let row = start.row; row <= end.row; row++) {
|
48656
|
+
for (let col = start.column; col <= end.column; col++) {
|
48657
|
+
const currentCell = get({
|
48658
|
+
row,
|
48659
|
+
column: col
|
48660
|
+
}, updatedData);
|
48661
|
+
if (!currentCell) {
|
48662
|
+
continue;
|
48482
48663
|
}
|
48483
|
-
|
48484
|
-
|
48485
|
-
|
48486
|
-
|
48487
|
-
|
48488
|
-
|
48489
|
-
|
48490
|
-
|
48491
|
-
|
48664
|
+
let updatedCell = {
|
48665
|
+
...currentCell,
|
48666
|
+
style: {
|
48667
|
+
...currentCell.style,
|
48668
|
+
textAlign: value
|
48669
|
+
}
|
48670
|
+
};
|
48671
|
+
updatedData = set({
|
48672
|
+
row,
|
48673
|
+
column: col
|
48674
|
+
}, updatedCell, updatedData);
|
48675
|
+
}
|
48676
|
+
}
|
48677
|
+
return updatedData;
|
48678
|
+
}
|
48679
|
+
function applyUnderlineToCells(currentData, selectedRange, value, active) {
|
48680
|
+
const {
|
48681
|
+
start,
|
48682
|
+
end
|
48683
|
+
} = selectedRange;
|
48684
|
+
let updatedData = currentData;
|
48685
|
+
for (let row = start.row; row <= end.row; row++) {
|
48686
|
+
for (let col = start.column; col <= end.column; col++) {
|
48687
|
+
const currentCell = get({
|
48688
|
+
row,
|
48689
|
+
column: col
|
48690
|
+
}, updatedData);
|
48691
|
+
if (!currentCell) {
|
48692
|
+
continue;
|
48492
48693
|
}
|
48493
|
-
|
48494
|
-
{
|
48495
|
-
|
48496
|
-
|
48497
|
-
|
48694
|
+
let updatedCell;
|
48695
|
+
if (!active) {
|
48696
|
+
updatedCell = {
|
48697
|
+
...currentCell,
|
48698
|
+
style: {
|
48699
|
+
...currentCell.style,
|
48700
|
+
textDecoration: 'none',
|
48701
|
+
textDecorationStyle: 'none'
|
48702
|
+
}
|
48703
|
+
};
|
48704
|
+
} else {
|
48705
|
+
updatedCell = {
|
48706
|
+
...currentCell,
|
48707
|
+
style: {
|
48708
|
+
...currentCell.style,
|
48709
|
+
textDecoration: value === 'double_border' ? 'underline' : value,
|
48710
|
+
textDecorationStyle: value === 'double_border' ? 'double' : 'none'
|
48711
|
+
}
|
48712
|
+
};
|
48713
|
+
}
|
48714
|
+
updatedData = set({
|
48715
|
+
row,
|
48716
|
+
column: col
|
48717
|
+
}, updatedCell, updatedData);
|
48718
|
+
}
|
48719
|
+
}
|
48720
|
+
return updatedData;
|
48721
|
+
}
|
48722
|
+
function isValidHexColor(color) {
|
48723
|
+
if (color.length !== 6) {
|
48724
|
+
return false;
|
48725
|
+
}
|
48726
|
+
const hexChars = '0123456789ABCDEFabcdef';
|
48727
|
+
for (let i = 1; i < color.length; i++) {
|
48728
|
+
if (!hexChars.includes(color[i])) {
|
48729
|
+
return false;
|
48730
|
+
}
|
48731
|
+
}
|
48732
|
+
return true;
|
48733
|
+
}
|
48734
|
+
function applyColorToCells(currentData, selectedRange, color) {
|
48735
|
+
if (!selectedRange) {
|
48736
|
+
return currentData;
|
48737
|
+
}
|
48738
|
+
const {
|
48739
|
+
start,
|
48740
|
+
end
|
48741
|
+
} = selectedRange;
|
48742
|
+
let updatedData = currentData;
|
48743
|
+
const isHex = isValidHexColor(color);
|
48744
|
+
const applyColor = isHex ? `#${color}` : color;
|
48745
|
+
for (let row = start.row; row <= end.row; row++) {
|
48746
|
+
for (let col = start.column; col <= end.column; col++) {
|
48747
|
+
const currentCell = get({
|
48748
|
+
row,
|
48749
|
+
column: col
|
48750
|
+
}, updatedData);
|
48751
|
+
if (!currentCell) {
|
48752
|
+
continue;
|
48753
|
+
}
|
48754
|
+
const updatedCell = {
|
48755
|
+
...currentCell,
|
48756
|
+
style: {
|
48757
|
+
...currentCell.style,
|
48758
|
+
color: applyColor
|
48759
|
+
}
|
48760
|
+
};
|
48761
|
+
updatedData = set({
|
48762
|
+
row,
|
48763
|
+
column: col
|
48764
|
+
}, updatedCell, updatedData);
|
48765
|
+
}
|
48766
|
+
}
|
48767
|
+
return updatedData;
|
48768
|
+
}
|
48769
|
+
function applyBackgroundColorToCells(currentData, selectedRange, backgroundColor) {
|
48770
|
+
if (selectedRange) {
|
48771
|
+
const {
|
48772
|
+
start,
|
48773
|
+
end
|
48774
|
+
} = selectedRange;
|
48775
|
+
let updatedData = currentData;
|
48776
|
+
const isHex = isValidHexColor(backgroundColor);
|
48777
|
+
const applyColor = isHex ? `#${backgroundColor}` : backgroundColor;
|
48778
|
+
for (let row = start.row; row <= end.row; row++) {
|
48779
|
+
for (let col = start.column; col <= end.column; col++) {
|
48780
|
+
const currentCell = get({
|
48781
|
+
row,
|
48782
|
+
column: col
|
48783
|
+
}, updatedData);
|
48784
|
+
if (!currentCell) {
|
48785
|
+
continue;
|
48786
|
+
}
|
48787
|
+
const updatedCell = {
|
48788
|
+
...currentCell,
|
48789
|
+
style: {
|
48790
|
+
...currentCell.style,
|
48791
|
+
backgroundColor: applyColor
|
48792
|
+
}
|
48793
|
+
};
|
48794
|
+
updatedData = set({
|
48795
|
+
row,
|
48796
|
+
column: col
|
48797
|
+
}, updatedCell, updatedData);
|
48798
|
+
}
|
48799
|
+
}
|
48800
|
+
return updatedData;
|
48801
|
+
}
|
48802
|
+
return currentData;
|
48803
|
+
}
|
48804
|
+
function edit(state) {
|
48805
|
+
if (isActiveReadOnly(state)) {
|
48806
|
+
return state;
|
48807
|
+
}
|
48808
|
+
return {
|
48809
|
+
...state,
|
48810
|
+
mode: 'edit'
|
48811
|
+
};
|
48812
|
+
}
|
48813
|
+
function clear(state) {
|
48814
|
+
if (!state.active) {
|
48815
|
+
return state;
|
48816
|
+
}
|
48817
|
+
const canClearCell = cell => cell && !cell.readOnly;
|
48818
|
+
const clearCell = cell => {
|
48819
|
+
if (!canClearCell(cell)) {
|
48820
|
+
return cell;
|
48821
|
+
}
|
48822
|
+
return Object.assign({}, cell, {
|
48823
|
+
value: undefined
|
48824
|
+
});
|
48825
|
+
};
|
48826
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
48827
|
+
const changes = [];
|
48828
|
+
let newData = state.model.data;
|
48829
|
+
for (const point of selectedRange || []) {
|
48830
|
+
const cell = get(point, state.model.data);
|
48831
|
+
const clearedCell = clearCell(cell);
|
48832
|
+
changes.push({
|
48833
|
+
prevCell: cell || null,
|
48834
|
+
nextCell: clearedCell || null
|
48835
|
+
});
|
48836
|
+
newData = set(point, clearedCell, newData);
|
48837
|
+
}
|
48838
|
+
return {
|
48839
|
+
...state,
|
48840
|
+
model: new Model(createFormulaParser, newData),
|
48841
|
+
...commit(changes)
|
48842
|
+
};
|
48843
|
+
}
|
48844
|
+
function blur(state) {
|
48845
|
+
return {
|
48846
|
+
...state,
|
48847
|
+
active: null,
|
48848
|
+
selected: new EmptySelection()
|
48849
|
+
};
|
48850
|
+
}
|
48851
|
+
function view(state) {
|
48852
|
+
return {
|
48853
|
+
...state,
|
48854
|
+
mode: 'view'
|
48855
|
+
};
|
48856
|
+
}
|
48857
|
+
function commit(changes) {
|
48858
|
+
return {
|
48859
|
+
lastCommit: changes
|
48860
|
+
};
|
48861
|
+
}
|
48862
|
+
// Utility
|
48863
|
+
const go = (rowDelta, columnDelta) => state => {
|
48864
|
+
if (!state.active) {
|
48865
|
+
return;
|
48866
|
+
}
|
48867
|
+
const size = getSize(state.model.data);
|
48868
|
+
const newColumn = state.active.column + columnDelta;
|
48869
|
+
const shouldWrap = newColumn >= size.columns;
|
48870
|
+
const nextActive = {
|
48871
|
+
row: state.active.row + rowDelta + (shouldWrap ? 1 : 0),
|
48872
|
+
column: (state.active.column + columnDelta) % size.columns
|
48873
|
+
};
|
48874
|
+
if (!has$1(nextActive, state.model.data)) {
|
48875
|
+
return {
|
48876
|
+
...state,
|
48877
|
+
mode: 'view'
|
48878
|
+
};
|
48879
|
+
}
|
48880
|
+
return {
|
48881
|
+
...state,
|
48882
|
+
active: nextActive,
|
48883
|
+
selected: new RangeSelection(new PointRange(nextActive, nextActive)),
|
48884
|
+
mode: 'view'
|
48885
|
+
};
|
48886
|
+
};
|
48887
|
+
function convertPtToPx(pt) {
|
48888
|
+
const px = pt * 1.33;
|
48889
|
+
return `${Math.round(px)}px`;
|
48890
|
+
}
|
48891
|
+
const keyDownHandlers = {
|
48892
|
+
ArrowUp: go(-1, 0),
|
48893
|
+
ArrowDown: go(+1, 0),
|
48894
|
+
ArrowLeft: go(0, -1),
|
48895
|
+
ArrowRight: go(0, +1),
|
48896
|
+
Tab: go(0, +1),
|
48897
|
+
Enter: edit,
|
48898
|
+
Backspace: clear,
|
48899
|
+
Delete: clear,
|
48900
|
+
Escape: blur
|
48901
|
+
};
|
48902
|
+
const editKeyDownHandlers = {
|
48903
|
+
Escape: view,
|
48904
|
+
Tab: keyDownHandlers.Tab,
|
48905
|
+
Enter: keyDownHandlers.ArrowDown
|
48906
|
+
};
|
48907
|
+
const editShiftKeyDownHandlers = {
|
48908
|
+
Tab: go(0, -1)
|
48909
|
+
};
|
48910
|
+
var Direction;
|
48911
|
+
(function (Direction) {
|
48912
|
+
Direction["Left"] = "Left";
|
48913
|
+
Direction["Right"] = "Right";
|
48914
|
+
Direction["Top"] = "Top";
|
48915
|
+
Direction["Bottom"] = "Bottom";
|
48916
|
+
})(Direction || (Direction = {}));
|
48917
|
+
const shiftKeyDownHandlers = {
|
48918
|
+
ArrowUp: state => ({
|
48919
|
+
...state,
|
48920
|
+
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Top)
|
48921
|
+
}),
|
48922
|
+
ArrowDown: state => ({
|
48923
|
+
...state,
|
48924
|
+
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Bottom)
|
48925
|
+
}),
|
48926
|
+
ArrowLeft: state => ({
|
48927
|
+
...state,
|
48928
|
+
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Left)
|
48929
|
+
}),
|
48930
|
+
ArrowRight: state => ({
|
48931
|
+
...state,
|
48932
|
+
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Right)
|
48933
|
+
}),
|
48934
|
+
Tab: go(0, -1)
|
48935
|
+
};
|
48936
|
+
const shiftMetaKeyDownHandlers = {};
|
48937
|
+
const metaKeyDownHandlers = {};
|
48938
|
+
function getKeyDownHandler(state, event) {
|
48939
|
+
const {
|
48940
|
+
key
|
48941
|
+
} = event;
|
48942
|
+
let handlers;
|
48943
|
+
// Order matters
|
48944
|
+
if (state.mode === 'edit') {
|
48945
|
+
if (event.shiftKey) {
|
48946
|
+
handlers = editShiftKeyDownHandlers;
|
48947
|
+
} else {
|
48948
|
+
handlers = editKeyDownHandlers;
|
48949
|
+
}
|
48950
|
+
} else if (event.shiftKey && event.metaKey) {
|
48951
|
+
handlers = shiftMetaKeyDownHandlers;
|
48952
|
+
} else if (event.shiftKey) {
|
48953
|
+
handlers = shiftKeyDownHandlers;
|
48954
|
+
} else if (event.metaKey) {
|
48955
|
+
handlers = metaKeyDownHandlers;
|
48956
|
+
} else {
|
48957
|
+
handlers = keyDownHandlers;
|
48958
|
+
}
|
48959
|
+
return handlers[key];
|
48960
|
+
}
|
48961
|
+
/** Returns whether the reducer has a handler for the given keydown event */
|
48962
|
+
function hasKeyDownHandler(state, event) {
|
48963
|
+
return getKeyDownHandler(state, event) !== undefined;
|
48964
|
+
}
|
48965
|
+
/** Returns whether the active cell is read only */
|
48966
|
+
function isActiveReadOnly(state) {
|
48967
|
+
const activeCell = getActive(state);
|
48968
|
+
return Boolean(activeCell?.readOnly);
|
48969
|
+
}
|
48970
|
+
/** Gets active cell from given state */
|
48971
|
+
function getActive(state) {
|
48972
|
+
const activeCell = state.active && get(state.active, state.model.data);
|
48973
|
+
return activeCell || null;
|
48974
|
+
}
|
48975
|
+
/** Modify given edge according to given active point and data */
|
48976
|
+
function modifyEdge(selection, active, data, direction) {
|
48977
|
+
if (!active) {
|
48978
|
+
return selection;
|
48979
|
+
}
|
48980
|
+
if (selection instanceof RangeSelection) {
|
48981
|
+
const nextSelection = modifyRangeSelectionEdge(selection, active, data, direction);
|
48982
|
+
// @ts-expect-error
|
48983
|
+
return nextSelection;
|
48984
|
+
}
|
48985
|
+
if (selection instanceof EntireColumnsSelection) {
|
48986
|
+
// @ts-expect-error
|
48987
|
+
return modifyEntireColumnsSelection(selection, active, data, direction);
|
48988
|
+
}
|
48989
|
+
if (selection instanceof EntireRowsSelection) {
|
48990
|
+
// @ts-expect-error
|
48991
|
+
return modifyEntireRowsSelection(selection, active, data, direction);
|
48992
|
+
}
|
48993
|
+
return selection;
|
48994
|
+
}
|
48995
|
+
function modifyRangeSelectionEdge(rangeSelection, active, data, edge) {
|
48996
|
+
const field = edge === Direction.Left || edge === Direction.Right ? 'column' : 'row';
|
48997
|
+
const key = edge === Direction.Left || edge === Direction.Top ? 'start' : 'end';
|
48998
|
+
const delta = key === 'start' ? -1 : 1;
|
48999
|
+
const edgeOffsets = rangeSelection.range.has({
|
49000
|
+
...active,
|
49001
|
+
[field]: active[field] + delta * -1
|
49002
|
+
});
|
49003
|
+
const keyToModify = edgeOffsets ? key === 'start' ? 'end' : 'start' : key;
|
49004
|
+
const nextRange = new PointRange(rangeSelection.range.start, rangeSelection.range.end);
|
49005
|
+
nextRange[keyToModify][field] += delta;
|
49006
|
+
const nextSelection = new RangeSelection(nextRange).normalizeTo(data);
|
49007
|
+
return nextSelection;
|
49008
|
+
}
|
49009
|
+
function modifyEntireRowsSelection(selection, active, data, edge) {
|
49010
|
+
if (edge === Direction.Left || edge === Direction.Right) {
|
49011
|
+
return selection;
|
49012
|
+
}
|
49013
|
+
const delta = edge === Direction.Top ? -1 : 1;
|
49014
|
+
const property = edge === Direction.Top ? 'start' : 'end';
|
49015
|
+
const oppositeProperty = property === 'start' ? 'end' : 'start';
|
49016
|
+
const newSelectionData = {
|
49017
|
+
...selection
|
49018
|
+
};
|
49019
|
+
if (edge === Direction.Top ? selection.end > active.row : selection.start < active.row) {
|
49020
|
+
newSelectionData[oppositeProperty] = selection[oppositeProperty] + delta;
|
49021
|
+
} else {
|
49022
|
+
newSelectionData[property] = selection[property] + delta;
|
49023
|
+
}
|
49024
|
+
const nextSelection = new EntireRowsSelection(Math.max(newSelectionData.start, 0), Math.max(newSelectionData.end, 0));
|
49025
|
+
return nextSelection.normalizeTo(data);
|
49026
|
+
}
|
49027
|
+
function modifyEntireColumnsSelection(selection, active, data, edge) {
|
49028
|
+
if (edge === Direction.Top || edge === Direction.Bottom) {
|
49029
|
+
return selection;
|
49030
|
+
}
|
49031
|
+
const delta = edge === Direction.Left ? -1 : 1;
|
49032
|
+
const property = edge === Direction.Left ? 'start' : 'end';
|
49033
|
+
const oppositeProperty = property === 'start' ? 'end' : 'start';
|
49034
|
+
const newSelectionData = {
|
49035
|
+
...selection
|
49036
|
+
};
|
49037
|
+
if (edge === Direction.Left ? selection.end > active.row : selection.start < active.row) {
|
49038
|
+
newSelectionData[oppositeProperty] = selection[oppositeProperty] + delta;
|
49039
|
+
} else {
|
49040
|
+
newSelectionData[property] = selection[property] + delta;
|
49041
|
+
}
|
49042
|
+
const nextSelection = new EntireColumnsSelection(Math.max(newSelectionData.start, 0), Math.max(newSelectionData.end, 0));
|
49043
|
+
return nextSelection.normalizeTo(data);
|
49044
|
+
}
|
49045
|
+
|
49046
|
+
const INITIAL_STATE = {
|
49047
|
+
active: null,
|
49048
|
+
mode: 'view',
|
49049
|
+
rowDimensions: {},
|
49050
|
+
columnDimensions: {},
|
49051
|
+
lastChanged: null,
|
49052
|
+
hasPasted: false,
|
49053
|
+
cut: false,
|
49054
|
+
dragging: false,
|
49055
|
+
model: new Model(createFormulaParser, []),
|
49056
|
+
selected: new EmptySelection(),
|
49057
|
+
copied: null,
|
49058
|
+
lastCommit: null
|
49059
|
+
};
|
49060
|
+
function reducer(state, action) {
|
49061
|
+
switch (action.type) {
|
49062
|
+
case BOLD:
|
49063
|
+
{
|
49064
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49065
|
+
const updatedData = applyBoldToCells(state.model.data, selectedRange);
|
49066
|
+
return {
|
49067
|
+
...state,
|
49068
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49069
|
+
};
|
49070
|
+
}
|
49071
|
+
case ITALIC:
|
49072
|
+
{
|
49073
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49074
|
+
const updatedData = applyItalicToCells(state.model.data, selectedRange);
|
49075
|
+
return {
|
49076
|
+
...state,
|
49077
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49078
|
+
};
|
49079
|
+
}
|
49080
|
+
case BORDER_TYPE:
|
49081
|
+
{
|
49082
|
+
const {
|
49083
|
+
value,
|
49084
|
+
color
|
49085
|
+
} = action.payload;
|
49086
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49087
|
+
const updatedData = applyBorderToCells(state.model.data, selectedRange, value, color);
|
49088
|
+
return {
|
49089
|
+
...state,
|
49090
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49091
|
+
};
|
49092
|
+
}
|
49093
|
+
case UNDERLINE_TYPE:
|
49094
|
+
{
|
49095
|
+
const {
|
49096
|
+
value,
|
49097
|
+
active
|
49098
|
+
} = action.payload;
|
49099
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49100
|
+
const updatedData = applyUnderlineToCells(state.model.data, selectedRange, value, active);
|
49101
|
+
return {
|
49102
|
+
...state,
|
49103
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49104
|
+
};
|
49105
|
+
}
|
49106
|
+
case FONT_SIZE:
|
49107
|
+
{
|
49108
|
+
const {
|
49109
|
+
value
|
49110
|
+
} = action.payload;
|
49111
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49112
|
+
const updatedData = applyFontSize(state.model.data, selectedRange, value);
|
49113
|
+
return {
|
49114
|
+
...state,
|
49115
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49116
|
+
};
|
49117
|
+
}
|
49118
|
+
case FONT_FAMILY:
|
49119
|
+
{
|
49120
|
+
const {
|
49121
|
+
value
|
49122
|
+
} = action.payload;
|
49123
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49124
|
+
const updatedData = applyFontFamily(state.model.data, selectedRange, value);
|
49125
|
+
return {
|
49126
|
+
...state,
|
49127
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49128
|
+
};
|
49129
|
+
}
|
49130
|
+
case TEXT_ALIGN:
|
49131
|
+
{
|
49132
|
+
const {
|
49133
|
+
value
|
49134
|
+
} = action.payload;
|
49135
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49136
|
+
const updatedData = applyTextAlign(state.model.data, selectedRange, value);
|
49137
|
+
return {
|
49138
|
+
...state,
|
49139
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49140
|
+
};
|
49141
|
+
}
|
49142
|
+
case COLOR:
|
49143
|
+
{
|
49144
|
+
const {
|
49145
|
+
value
|
49146
|
+
} = action.payload;
|
49147
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49148
|
+
const updatedData = applyColorToCells(state.model.data, selectedRange, value);
|
49149
|
+
return {
|
49150
|
+
...state,
|
49151
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49152
|
+
};
|
49153
|
+
}
|
49154
|
+
case BACKGROUND_COLOR:
|
49155
|
+
{
|
49156
|
+
const {
|
49157
|
+
value
|
49158
|
+
} = action.payload;
|
49159
|
+
const selectedRange = state.selected.toRange(state.model.data);
|
49160
|
+
const updatedData = applyBackgroundColorToCells(state.model.data, selectedRange, value);
|
49161
|
+
return {
|
49162
|
+
...state,
|
49163
|
+
model: new Model(state.model.createFormulaParser, updatedData)
|
49164
|
+
};
|
49165
|
+
}
|
49166
|
+
case FORMATE_PAINTER:
|
49167
|
+
{
|
49168
|
+
return {
|
49169
|
+
...state,
|
49170
|
+
model: new Model(state.model.createFormulaParser, state.model.data)
|
49171
|
+
};
|
49172
|
+
}
|
49173
|
+
case SET_DATA:
|
49174
|
+
{
|
49175
|
+
const {
|
49176
|
+
data
|
49177
|
+
} = action.payload;
|
49178
|
+
const nextActive = state.active && has$1(state.active, data) ? state.active : null;
|
49179
|
+
const nextSelected = state.selected.normalizeTo(data);
|
49180
|
+
return {
|
49181
|
+
...state,
|
49182
|
+
model: new Model(state.model.createFormulaParser, data),
|
49183
|
+
active: nextActive,
|
49184
|
+
selected: nextSelected
|
49185
|
+
};
|
49186
|
+
}
|
49187
|
+
case SET_CREATE_FORMULA_PARSER:
|
49188
|
+
{
|
49189
|
+
const {
|
49190
|
+
createFormulaParser
|
49191
|
+
} = action.payload;
|
49192
|
+
return {
|
49193
|
+
...state,
|
49194
|
+
model: new Model(createFormulaParser, state.model.data)
|
49195
|
+
};
|
49196
|
+
}
|
49197
|
+
case SELECT_ENTIRE_ROW:
|
49198
|
+
{
|
49199
|
+
const {
|
49200
|
+
row,
|
49201
|
+
extend
|
48498
49202
|
} = action.payload;
|
48499
49203
|
const {
|
48500
49204
|
active
|
@@ -48750,23 +49454,6 @@ function reducer(state, action) {
|
|
48750
49454
|
{
|
48751
49455
|
return blur(state);
|
48752
49456
|
}
|
48753
|
-
case KEY_PRESS:
|
48754
|
-
{
|
48755
|
-
const {
|
48756
|
-
event
|
48757
|
-
} = action.payload;
|
48758
|
-
if (isActiveReadOnly(state) || event.metaKey) {
|
48759
|
-
return state;
|
48760
|
-
}
|
48761
|
-
if (state.mode === 'view' && state.active) {
|
48762
|
-
const selectedRange = state.selected.toRange(state.model.data);
|
48763
|
-
if (selectedRange?.size() === 1) {
|
48764
|
-
return edit(clear(state));
|
48765
|
-
}
|
48766
|
-
return edit(state);
|
48767
|
-
}
|
48768
|
-
return state;
|
48769
|
-
}
|
48770
49457
|
case KEY_DOWN:
|
48771
49458
|
{
|
48772
49459
|
const {
|
@@ -48791,443 +49478,33 @@ function reducer(state, action) {
|
|
48791
49478
|
case DRAG_END:
|
48792
49479
|
{
|
48793
49480
|
return {
|
48794
|
-
...state,
|
48795
|
-
dragging: false
|
48796
|
-
};
|
48797
|
-
}
|
48798
|
-
case COMMIT:
|
48799
|
-
{
|
48800
|
-
const {
|
48801
|
-
changes
|
48802
|
-
} = action.payload;
|
48803
|
-
return {
|
48804
|
-
...state,
|
48805
|
-
...commit(changes)
|
48806
|
-
};
|
48807
|
-
}
|
48808
|
-
default:
|
48809
|
-
throw new Error('Unknown action');
|
48810
|
-
}
|
48811
|
-
}
|
48812
|
-
// const reducer = createReducer(INITIAL_STATE, (builder) => {
|
48813
|
-
// builder.addMatcher(
|
48814
|
-
// (action) =>
|
48815
|
-
// action.type === Actions.copy.type || action.type === Actions.cut.type,
|
48816
|
-
// (state, action) => {
|
48817
|
-
// }
|
48818
|
-
// );
|
48819
|
-
// });
|
48820
|
-
// // Shared reducers
|
48821
|
-
function applyBoldToCells(currentData, selectedRange) {
|
48822
|
-
const {
|
48823
|
-
start,
|
48824
|
-
end
|
48825
|
-
} = selectedRange;
|
48826
|
-
let updatedData = currentData;
|
48827
|
-
for (let row = start.row; row <= end.row; row++) {
|
48828
|
-
for (let col = start.column; col <= end.column; col++) {
|
48829
|
-
const currentCell = get({
|
48830
|
-
row,
|
48831
|
-
column: col
|
48832
|
-
}, updatedData);
|
48833
|
-
if (!currentCell) {
|
48834
|
-
continue;
|
48835
|
-
}
|
48836
|
-
const updatedCell = {
|
48837
|
-
...currentCell,
|
48838
|
-
style: {
|
48839
|
-
...currentCell.style,
|
48840
|
-
fontWeight: 'bold'
|
48841
|
-
}
|
48842
|
-
};
|
48843
|
-
updatedData = set({
|
48844
|
-
row,
|
48845
|
-
column: col
|
48846
|
-
}, updatedCell, updatedData);
|
48847
|
-
}
|
48848
|
-
}
|
48849
|
-
return updatedData;
|
48850
|
-
}
|
48851
|
-
function applyItalicToCells(currentData, selectedRange) {
|
48852
|
-
const {
|
48853
|
-
start,
|
48854
|
-
end
|
48855
|
-
} = selectedRange;
|
48856
|
-
let updatedData = currentData;
|
48857
|
-
for (let row = start.row; row <= end.row; row++) {
|
48858
|
-
for (let col = start.column; col <= end.column; col++) {
|
48859
|
-
const currentCell = get({
|
48860
|
-
row,
|
48861
|
-
column: col
|
48862
|
-
}, updatedData);
|
48863
|
-
if (!currentCell) {
|
48864
|
-
continue;
|
48865
|
-
}
|
48866
|
-
const updatedCell = {
|
48867
|
-
...currentCell,
|
48868
|
-
style: {
|
48869
|
-
...currentCell.style,
|
48870
|
-
fontStyle: 'italic'
|
48871
|
-
}
|
48872
|
-
};
|
48873
|
-
updatedData = set({
|
48874
|
-
row,
|
48875
|
-
column: col
|
48876
|
-
}, updatedCell, updatedData);
|
48877
|
-
}
|
48878
|
-
}
|
48879
|
-
return updatedData;
|
48880
|
-
}
|
48881
|
-
function applyUnderlineToCells(currentData, selectedRange) {
|
48882
|
-
const {
|
48883
|
-
start,
|
48884
|
-
end
|
48885
|
-
} = selectedRange;
|
48886
|
-
let updatedData = currentData;
|
48887
|
-
for (let row = start.row; row <= end.row; row++) {
|
48888
|
-
for (let col = start.column; col <= end.column; col++) {
|
48889
|
-
const currentCell = get({
|
48890
|
-
row,
|
48891
|
-
column: col
|
48892
|
-
}, updatedData);
|
48893
|
-
if (!currentCell) {
|
48894
|
-
continue;
|
48895
|
-
}
|
48896
|
-
const updatedCell = {
|
48897
|
-
...currentCell,
|
48898
|
-
style: {
|
48899
|
-
...currentCell.style,
|
48900
|
-
textDecoration: 'underline'
|
48901
|
-
}
|
48902
|
-
};
|
48903
|
-
updatedData = set({
|
48904
|
-
row,
|
48905
|
-
column: col
|
48906
|
-
}, updatedCell, updatedData);
|
48907
|
-
}
|
48908
|
-
}
|
48909
|
-
return updatedData;
|
48910
|
-
}
|
48911
|
-
function isValidHexColor(color) {
|
48912
|
-
if (color.length !== 6) {
|
48913
|
-
return false;
|
48914
|
-
}
|
48915
|
-
const hexChars = '0123456789ABCDEFabcdef';
|
48916
|
-
for (let i = 1; i < color.length; i++) {
|
48917
|
-
console.log(typeof color[i]);
|
48918
|
-
if (!hexChars.includes(color[i])) {
|
48919
|
-
return false;
|
48920
|
-
}
|
48921
|
-
}
|
48922
|
-
return true;
|
48923
|
-
}
|
48924
|
-
function applyColorToCells(currentData, selectedRange, color) {
|
48925
|
-
if (!selectedRange) {
|
48926
|
-
return currentData;
|
48927
|
-
}
|
48928
|
-
const {
|
48929
|
-
start,
|
48930
|
-
end
|
48931
|
-
} = selectedRange;
|
48932
|
-
let updatedData = currentData;
|
48933
|
-
const isHex = isValidHexColor(color);
|
48934
|
-
const applyColor = isHex ? `#${color}` : color;
|
48935
|
-
for (let row = start.row; row <= end.row; row++) {
|
48936
|
-
for (let col = start.column; col <= end.column; col++) {
|
48937
|
-
const currentCell = get({
|
48938
|
-
row,
|
48939
|
-
column: col
|
48940
|
-
}, updatedData);
|
48941
|
-
if (!currentCell) {
|
48942
|
-
continue;
|
48943
|
-
}
|
48944
|
-
const updatedCell = {
|
48945
|
-
...currentCell,
|
48946
|
-
style: {
|
48947
|
-
...currentCell.style,
|
48948
|
-
color: applyColor
|
48949
|
-
}
|
48950
|
-
};
|
48951
|
-
updatedData = set({
|
48952
|
-
row,
|
48953
|
-
column: col
|
48954
|
-
}, updatedCell, updatedData);
|
48955
|
-
}
|
48956
|
-
}
|
48957
|
-
return updatedData;
|
48958
|
-
}
|
48959
|
-
function applyBackgroundColorToCells(currentData, selectedRange, backgroundColor) {
|
48960
|
-
if (selectedRange) {
|
48961
|
-
const {
|
48962
|
-
start,
|
48963
|
-
end
|
48964
|
-
} = selectedRange;
|
48965
|
-
let updatedData = currentData;
|
48966
|
-
const isHex = isValidHexColor(backgroundColor);
|
48967
|
-
const applyColor = isHex ? `#${backgroundColor}` : backgroundColor;
|
48968
|
-
for (let row = start.row; row <= end.row; row++) {
|
48969
|
-
for (let col = start.column; col <= end.column; col++) {
|
48970
|
-
const currentCell = get({
|
48971
|
-
row,
|
48972
|
-
column: col
|
48973
|
-
}, updatedData);
|
48974
|
-
if (!currentCell) {
|
48975
|
-
continue;
|
48976
|
-
}
|
48977
|
-
const updatedCell = {
|
48978
|
-
...currentCell,
|
48979
|
-
style: {
|
48980
|
-
...currentCell.style,
|
48981
|
-
backgroundColor: applyColor
|
48982
|
-
}
|
49481
|
+
...state,
|
49482
|
+
dragging: false
|
48983
49483
|
};
|
48984
|
-
updatedData = set({
|
48985
|
-
row,
|
48986
|
-
column: col
|
48987
|
-
}, updatedCell, updatedData);
|
48988
49484
|
}
|
48989
|
-
|
48990
|
-
|
48991
|
-
|
48992
|
-
|
48993
|
-
}
|
48994
|
-
|
48995
|
-
|
48996
|
-
|
48997
|
-
|
48998
|
-
|
48999
|
-
|
49000
|
-
|
49001
|
-
};
|
49002
|
-
}
|
49003
|
-
function clear(state) {
|
49004
|
-
if (!state.active) {
|
49005
|
-
return state;
|
49006
|
-
}
|
49007
|
-
const canClearCell = cell => cell && !cell.readOnly;
|
49008
|
-
const clearCell = cell => {
|
49009
|
-
if (!canClearCell(cell)) {
|
49010
|
-
return cell;
|
49011
|
-
}
|
49012
|
-
return Object.assign({}, cell, {
|
49013
|
-
value: undefined
|
49014
|
-
});
|
49015
|
-
};
|
49016
|
-
const selectedRange = state.selected.toRange(state.model.data);
|
49017
|
-
const changes = [];
|
49018
|
-
let newData = state.model.data;
|
49019
|
-
for (const point of selectedRange || []) {
|
49020
|
-
const cell = get(point, state.model.data);
|
49021
|
-
const clearedCell = clearCell(cell);
|
49022
|
-
changes.push({
|
49023
|
-
prevCell: cell || null,
|
49024
|
-
nextCell: clearedCell || null
|
49025
|
-
});
|
49026
|
-
newData = set(point, clearedCell, newData);
|
49027
|
-
}
|
49028
|
-
return {
|
49029
|
-
...state,
|
49030
|
-
model: new Model(createFormulaParser, newData),
|
49031
|
-
...commit(changes)
|
49032
|
-
};
|
49033
|
-
}
|
49034
|
-
function blur(state) {
|
49035
|
-
return {
|
49036
|
-
...state,
|
49037
|
-
active: null,
|
49038
|
-
selected: new EmptySelection()
|
49039
|
-
};
|
49040
|
-
}
|
49041
|
-
function view(state) {
|
49042
|
-
return {
|
49043
|
-
...state,
|
49044
|
-
mode: 'view'
|
49045
|
-
};
|
49046
|
-
}
|
49047
|
-
function commit(changes) {
|
49048
|
-
return {
|
49049
|
-
lastCommit: changes
|
49050
|
-
};
|
49051
|
-
}
|
49052
|
-
// Utility
|
49053
|
-
const go = (rowDelta, columnDelta) => state => {
|
49054
|
-
if (!state.active) {
|
49055
|
-
return;
|
49056
|
-
}
|
49057
|
-
const size = getSize(state.model.data);
|
49058
|
-
const newColumn = state.active.column + columnDelta;
|
49059
|
-
const shouldWrap = newColumn >= size.columns;
|
49060
|
-
const nextActive = {
|
49061
|
-
row: state.active.row + rowDelta + (shouldWrap ? 1 : 0),
|
49062
|
-
column: (state.active.column + columnDelta) % size.columns
|
49063
|
-
};
|
49064
|
-
if (!has$1(nextActive, state.model.data)) {
|
49065
|
-
return {
|
49066
|
-
...state,
|
49067
|
-
mode: 'view'
|
49068
|
-
};
|
49069
|
-
}
|
49070
|
-
return {
|
49071
|
-
...state,
|
49072
|
-
active: nextActive,
|
49073
|
-
selected: new RangeSelection(new PointRange(nextActive, nextActive)),
|
49074
|
-
mode: 'view'
|
49075
|
-
};
|
49076
|
-
};
|
49077
|
-
const keyDownHandlers = {
|
49078
|
-
ArrowUp: go(-1, 0),
|
49079
|
-
ArrowDown: go(+1, 0),
|
49080
|
-
ArrowLeft: go(0, -1),
|
49081
|
-
ArrowRight: go(0, +1),
|
49082
|
-
Tab: go(0, +1),
|
49083
|
-
Enter: edit,
|
49084
|
-
Backspace: clear,
|
49085
|
-
Delete: clear,
|
49086
|
-
Escape: blur
|
49087
|
-
};
|
49088
|
-
const editKeyDownHandlers = {
|
49089
|
-
Escape: view,
|
49090
|
-
Tab: keyDownHandlers.Tab,
|
49091
|
-
Enter: keyDownHandlers.ArrowDown
|
49092
|
-
};
|
49093
|
-
const editShiftKeyDownHandlers = {
|
49094
|
-
Tab: go(0, -1)
|
49095
|
-
};
|
49096
|
-
var Direction;
|
49097
|
-
(function (Direction) {
|
49098
|
-
Direction["Left"] = "Left";
|
49099
|
-
Direction["Right"] = "Right";
|
49100
|
-
Direction["Top"] = "Top";
|
49101
|
-
Direction["Bottom"] = "Bottom";
|
49102
|
-
})(Direction || (Direction = {}));
|
49103
|
-
const shiftKeyDownHandlers = {
|
49104
|
-
ArrowUp: state => ({
|
49105
|
-
...state,
|
49106
|
-
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Top)
|
49107
|
-
}),
|
49108
|
-
ArrowDown: state => ({
|
49109
|
-
...state,
|
49110
|
-
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Bottom)
|
49111
|
-
}),
|
49112
|
-
ArrowLeft: state => ({
|
49113
|
-
...state,
|
49114
|
-
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Left)
|
49115
|
-
}),
|
49116
|
-
ArrowRight: state => ({
|
49117
|
-
...state,
|
49118
|
-
selected: modifyEdge(state.selected, state.active, state.model.data, Direction.Right)
|
49119
|
-
}),
|
49120
|
-
Tab: go(0, -1)
|
49121
|
-
};
|
49122
|
-
const shiftMetaKeyDownHandlers = {};
|
49123
|
-
const metaKeyDownHandlers = {};
|
49124
|
-
function getKeyDownHandler(state, event) {
|
49125
|
-
const {
|
49126
|
-
key
|
49127
|
-
} = event;
|
49128
|
-
let handlers;
|
49129
|
-
// Order matters
|
49130
|
-
if (state.mode === 'edit') {
|
49131
|
-
if (event.shiftKey) {
|
49132
|
-
handlers = editShiftKeyDownHandlers;
|
49133
|
-
} else {
|
49134
|
-
handlers = editKeyDownHandlers;
|
49135
|
-
}
|
49136
|
-
} else if (event.shiftKey && event.metaKey) {
|
49137
|
-
handlers = shiftMetaKeyDownHandlers;
|
49138
|
-
} else if (event.shiftKey) {
|
49139
|
-
handlers = shiftKeyDownHandlers;
|
49140
|
-
} else if (event.metaKey) {
|
49141
|
-
handlers = metaKeyDownHandlers;
|
49142
|
-
} else {
|
49143
|
-
handlers = keyDownHandlers;
|
49144
|
-
}
|
49145
|
-
return handlers[key];
|
49146
|
-
}
|
49147
|
-
/** Returns whether the reducer has a handler for the given keydown event */
|
49148
|
-
function hasKeyDownHandler(state, event) {
|
49149
|
-
return getKeyDownHandler(state, event) !== undefined;
|
49150
|
-
}
|
49151
|
-
/** Returns whether the active cell is read only */
|
49152
|
-
function isActiveReadOnly(state) {
|
49153
|
-
const activeCell = getActive(state);
|
49154
|
-
return Boolean(activeCell?.readOnly);
|
49155
|
-
}
|
49156
|
-
/** Gets active cell from given state */
|
49157
|
-
function getActive(state) {
|
49158
|
-
const activeCell = state.active && get(state.active, state.model.data);
|
49159
|
-
return activeCell || null;
|
49160
|
-
}
|
49161
|
-
/** Modify given edge according to given active point and data */
|
49162
|
-
function modifyEdge(selection, active, data, direction) {
|
49163
|
-
if (!active) {
|
49164
|
-
return selection;
|
49165
|
-
}
|
49166
|
-
if (selection instanceof RangeSelection) {
|
49167
|
-
const nextSelection = modifyRangeSelectionEdge(selection, active, data, direction);
|
49168
|
-
// @ts-expect-error
|
49169
|
-
return nextSelection;
|
49170
|
-
}
|
49171
|
-
if (selection instanceof EntireColumnsSelection) {
|
49172
|
-
// @ts-expect-error
|
49173
|
-
return modifyEntireColumnsSelection(selection, active, data, direction);
|
49174
|
-
}
|
49175
|
-
if (selection instanceof EntireRowsSelection) {
|
49176
|
-
// @ts-expect-error
|
49177
|
-
return modifyEntireRowsSelection(selection, active, data, direction);
|
49178
|
-
}
|
49179
|
-
return selection;
|
49180
|
-
}
|
49181
|
-
function modifyRangeSelectionEdge(rangeSelection, active, data, edge) {
|
49182
|
-
const field = edge === Direction.Left || edge === Direction.Right ? 'column' : 'row';
|
49183
|
-
const key = edge === Direction.Left || edge === Direction.Top ? 'start' : 'end';
|
49184
|
-
const delta = key === 'start' ? -1 : 1;
|
49185
|
-
const edgeOffsets = rangeSelection.range.has({
|
49186
|
-
...active,
|
49187
|
-
[field]: active[field] + delta * -1
|
49188
|
-
});
|
49189
|
-
const keyToModify = edgeOffsets ? key === 'start' ? 'end' : 'start' : key;
|
49190
|
-
const nextRange = new PointRange(rangeSelection.range.start, rangeSelection.range.end);
|
49191
|
-
nextRange[keyToModify][field] += delta;
|
49192
|
-
const nextSelection = new RangeSelection(nextRange).normalizeTo(data);
|
49193
|
-
return nextSelection;
|
49194
|
-
}
|
49195
|
-
function modifyEntireRowsSelection(selection, active, data, edge) {
|
49196
|
-
if (edge === Direction.Left || edge === Direction.Right) {
|
49197
|
-
return selection;
|
49198
|
-
}
|
49199
|
-
const delta = edge === Direction.Top ? -1 : 1;
|
49200
|
-
const property = edge === Direction.Top ? 'start' : 'end';
|
49201
|
-
const oppositeProperty = property === 'start' ? 'end' : 'start';
|
49202
|
-
const newSelectionData = {
|
49203
|
-
...selection
|
49204
|
-
};
|
49205
|
-
if (edge === Direction.Top ? selection.end > active.row : selection.start < active.row) {
|
49206
|
-
newSelectionData[oppositeProperty] = selection[oppositeProperty] + delta;
|
49207
|
-
} else {
|
49208
|
-
newSelectionData[property] = selection[property] + delta;
|
49209
|
-
}
|
49210
|
-
const nextSelection = new EntireRowsSelection(Math.max(newSelectionData.start, 0), Math.max(newSelectionData.end, 0));
|
49211
|
-
return nextSelection.normalizeTo(data);
|
49212
|
-
}
|
49213
|
-
function modifyEntireColumnsSelection(selection, active, data, edge) {
|
49214
|
-
if (edge === Direction.Top || edge === Direction.Bottom) {
|
49215
|
-
return selection;
|
49216
|
-
}
|
49217
|
-
const delta = edge === Direction.Left ? -1 : 1;
|
49218
|
-
const property = edge === Direction.Left ? 'start' : 'end';
|
49219
|
-
const oppositeProperty = property === 'start' ? 'end' : 'start';
|
49220
|
-
const newSelectionData = {
|
49221
|
-
...selection
|
49222
|
-
};
|
49223
|
-
if (edge === Direction.Left ? selection.end > active.row : selection.start < active.row) {
|
49224
|
-
newSelectionData[oppositeProperty] = selection[oppositeProperty] + delta;
|
49225
|
-
} else {
|
49226
|
-
newSelectionData[property] = selection[property] + delta;
|
49485
|
+
case COMMIT:
|
49486
|
+
{
|
49487
|
+
const {
|
49488
|
+
changes
|
49489
|
+
} = action.payload;
|
49490
|
+
return {
|
49491
|
+
...state,
|
49492
|
+
...commit(changes)
|
49493
|
+
};
|
49494
|
+
}
|
49495
|
+
default:
|
49496
|
+
throw new Error('Unknown action');
|
49227
49497
|
}
|
49228
|
-
const nextSelection = new EntireColumnsSelection(Math.max(newSelectionData.start, 0), Math.max(newSelectionData.end, 0));
|
49229
|
-
return nextSelection.normalizeTo(data);
|
49230
49498
|
}
|
49499
|
+
// const reducer = createReducer(INITIAL_STATE, (builder) => {
|
49500
|
+
// builder.addMatcher(
|
49501
|
+
// (action) =>
|
49502
|
+
// action.type === Actions.copy.type || action.type === Actions.cut.type,
|
49503
|
+
// (state, action) => {
|
49504
|
+
// }
|
49505
|
+
// );
|
49506
|
+
// });
|
49507
|
+
// // Shared reducers
|
49231
49508
|
|
49232
49509
|
var scheduler = {exports: {}};
|
49233
49510
|
|
@@ -50223,7 +50500,7 @@ const Table = ({
|
|
50223
50500
|
const columnCount = columns + (hideColumnIndicators ? 0 : 1);
|
50224
50501
|
const columnNodes = range(columnCount).map(i => jsxRuntime.jsx("col", {}, i));
|
50225
50502
|
return jsxRuntime.jsxs("table", {
|
50226
|
-
className: "
|
50503
|
+
className: "ff-spreadsheet-table",
|
50227
50504
|
children: [jsxRuntime.jsx("colgroup", {
|
50228
50505
|
children: columnNodes
|
50229
50506
|
}), jsxRuntime.jsx("tbody", {
|
@@ -50256,8 +50533,8 @@ const CornerIndicator = ({
|
|
50256
50533
|
onSelect();
|
50257
50534
|
}, [onSelect]);
|
50258
50535
|
return jsxRuntime.jsx("th", {
|
50259
|
-
className: classNames('
|
50260
|
-
'
|
50536
|
+
className: classNames('ff-spreadsheet-header', {
|
50537
|
+
'ff-spreadsheet-header--selected': selected
|
50261
50538
|
}),
|
50262
50539
|
onClick: handleClick,
|
50263
50540
|
tabIndex: 0
|
@@ -50291,8 +50568,8 @@ const ColumnIndicator = ({
|
|
50291
50568
|
const onMouseMove = moveEvent => {
|
50292
50569
|
const newWidth = width + (moveEvent.clientX - startX);
|
50293
50570
|
setWidth(newWidth);
|
50294
|
-
const selectedAllRow = document.querySelector('
|
50295
|
-
const selectedSingleRow = document.querySelector('
|
50571
|
+
const selectedAllRow = document.querySelector('ff-spreadsheet-floating-rect--selected');
|
50572
|
+
const selectedSingleRow = document.querySelector('ff-spreadsheet-active-cell');
|
50296
50573
|
// If the element exists, update its height
|
50297
50574
|
if (selectedAllRow instanceof HTMLElement && selectedSingleRow instanceof HTMLElement) {
|
50298
50575
|
selectedAllRow.style.width = `${newWidth}px`;
|
@@ -50318,8 +50595,8 @@ const ColumnIndicator = ({
|
|
50318
50595
|
minWidth: `${width}px`,
|
50319
50596
|
position: 'relative'
|
50320
50597
|
},
|
50321
|
-
className: classNames('
|
50322
|
-
'
|
50598
|
+
className: classNames('ff-spreadsheet-header', {
|
50599
|
+
'ff-spreadsheet-header--selected': selected
|
50323
50600
|
}),
|
50324
50601
|
onClick: handleClick,
|
50325
50602
|
tabIndex: 0,
|
@@ -50377,8 +50654,8 @@ const RowIndicator = ({
|
|
50377
50654
|
const newHeight = height + (moveEvent.clientY - startY);
|
50378
50655
|
setHeight(newHeight);
|
50379
50656
|
// Fetch the floating rectangle element from the DOM
|
50380
|
-
const selectedAllRow = document.querySelector('.
|
50381
|
-
const selectedSingleRow = document.querySelector('.
|
50657
|
+
const selectedAllRow = document.querySelector('.ff-spreadsheet-floating-rect--selected');
|
50658
|
+
const selectedSingleRow = document.querySelector('.ff-spreadsheet-active-cell');
|
50382
50659
|
// If the element exists, update its height
|
50383
50660
|
if (selectedAllRow instanceof HTMLElement && selectedSingleRow instanceof HTMLElement) {
|
50384
50661
|
selectedAllRow.style.height = `${newHeight}px`;
|
@@ -50403,8 +50680,8 @@ const RowIndicator = ({
|
|
50403
50680
|
minWidth: '60px',
|
50404
50681
|
position: 'relative'
|
50405
50682
|
},
|
50406
|
-
className: classNames('
|
50407
|
-
'
|
50683
|
+
className: classNames('ff-spreadsheet-header', {
|
50684
|
+
'ff-spreadsheet-header--selected': selected
|
50408
50685
|
}),
|
50409
50686
|
onClick: handleClick,
|
50410
50687
|
tabIndex: 0,
|
@@ -50504,9 +50781,9 @@ const Cell = ({
|
|
50504
50781
|
}
|
50505
50782
|
return jsxRuntime.jsxs("td", {
|
50506
50783
|
ref: rootRef,
|
50507
|
-
|
50508
|
-
className: classNames('
|
50509
|
-
'
|
50784
|
+
style: data?.style,
|
50785
|
+
className: classNames('ff-spreadsheet-cell', data?.className, {
|
50786
|
+
'ff-spreadsheet-active-cell': active || dragging
|
50510
50787
|
}),
|
50511
50788
|
onMouseEnter: handleMouseOver,
|
50512
50789
|
onMouseDown: handleMouseDown,
|
@@ -50572,11 +50849,11 @@ const DataViewer = ({
|
|
50572
50849
|
}) => {
|
50573
50850
|
const value = getValue(cell, evaluatedCell);
|
50574
50851
|
return typeof value === 'boolean' ? jsxRuntime.jsx("span", {
|
50575
|
-
className: "
|
50852
|
+
className: "ff-spreadsheet-data-viewer ff-spreadsheet-data-viewer--boolean",
|
50576
50853
|
children: convertBooleanToText(value)
|
50577
50854
|
}) : jsxRuntime.jsx("span", {
|
50578
|
-
className: classNames('
|
50579
|
-
'
|
50855
|
+
className: classNames('ff-spreadsheet-data-viewer', {
|
50856
|
+
'ff-spreadsheet-data-viewer--preserve-breaks': hasLineBreaker(value)
|
50580
50857
|
}),
|
50581
50858
|
children: value
|
50582
50859
|
});
|
@@ -50612,7 +50889,7 @@ const DataEditor = ({
|
|
50612
50889
|
}, [inputRef]);
|
50613
50890
|
const value = cell?.value ?? '';
|
50614
50891
|
return jsxRuntime.jsx("div", {
|
50615
|
-
className: "
|
50892
|
+
className: "ff-spreadsheet-data-editor",
|
50616
50893
|
children: jsxRuntime.jsx("input", {
|
50617
50894
|
ref: inputRef,
|
50618
50895
|
type: "text",
|
@@ -50682,7 +50959,7 @@ const ActiveCell = props => {
|
|
50682
50959
|
const readOnly = cell && cell.readOnly;
|
50683
50960
|
return hidden ? null : jsxRuntime.jsx("div", {
|
50684
50961
|
ref: rootRef,
|
50685
|
-
className: classNames('
|
50962
|
+
className: classNames('ff-spreadsheet-active-cell', `ff-spreadsheet-active-cell--${mode}`),
|
50686
50963
|
style: dimensions,
|
50687
50964
|
onClick: mode === 'view' && !readOnly ? edit : undefined,
|
50688
50965
|
tabIndex: 0,
|
@@ -50710,10 +50987,10 @@ const FloatingRect = ({
|
|
50710
50987
|
left
|
50711
50988
|
} = dimensions || {};
|
50712
50989
|
return jsxRuntime.jsx("div", {
|
50713
|
-
className: classNames('
|
50714
|
-
[`
|
50715
|
-
'
|
50716
|
-
'
|
50990
|
+
className: classNames('ff-spreadsheet-floating-rect', {
|
50991
|
+
[`ff-spreadsheet-floating-rect--${variant}`]: variant,
|
50992
|
+
'ff-spreadsheet-floating-rect--dragging': dragging,
|
50993
|
+
'ff-spreadsheet-floating-rect--hidden': hidden
|
50717
50994
|
}),
|
50718
50995
|
style: {
|
50719
50996
|
width,
|
@@ -50749,15 +51026,15 @@ const Copied = () => {
|
|
50749
51026
|
});
|
50750
51027
|
};
|
50751
51028
|
|
50752
|
-
var css_248z$
|
51029
|
+
var css_248z$4 = ".ff-spreadsheet {\n --background-color: var(--drawer-footer-bg);\n --text-color: var(--text-color);\n --readonly-text-color: var(--toggle-strip-active);\n --outline-color: var(--toggle-strip-active);\n --outline-background-color: var(--overlay-bg);\n --border-color: var(--toggle-strip-color);\n --header-background-color: var(--pop-up-background-blur);\n --elevation: var(--brand-color);\n position: relative;\n overflow: visible;\n background: var(--background-color);\n color: var(--text-color);\n display: inline-block;\n}\n\n.ff-spreadsheet-active-cell {\n position: absolute;\n border: 2px solid var(--outline-color);\n box-sizing: border-box;\n}\n\n.ff-spreadsheet-active-cell--edit {\n background: var(--background-color);\n box-shadow: var(--elevation);\n}\n\n.ff-spreadsheet-table {\n margin-top: 20px;\n border-collapse: collapse;\n table-layout: fixed;\n}\n\n.ff-spreadsheet-cell {\n outline: none;\n position: relative;\n z-index: 0;\n}\n\n.ff-spreadsheet-active-cell .Selection_dot {\n background-color: var(--elevation);\n height: 7px;\n width: 7px;\n border-radius: 50%;\n position: absolute;\n right: -3px;\n z-index: 10;\n bottom: -3px;\n cursor: crosshair;\n}\n\n.ff-spreadsheet-cell--readonly {\n color: var(--readonly-text-color);\n}\n\n.ff-spreadsheet-cell,\n.ff-spreadsheet-header {\n border: 0.1px solid var(--border-color);\n overflow: hidden;\n word-break: keep-all;\n white-space: nowrap;\n text-align: left;\n box-sizing: border-box;\n user-select: none;\n}\n\n.ff-spreadsheet-header {\n background: var(--header-background-color);\n color: var(--readonly-text-color);\n text-align: center;\n}\n\n.ff-spreadsheet-header--selected {\n background: var(--brand-color);\n color: var(--tooltip-text-color);\n}\n\n.ff-spreadsheet-header,\n.ff-spreadsheet-data-viewer,\n.ff-spreadsheet-data-editor input {\n padding: 4px;\n box-sizing: border-box;\n}\n\n.ff-spreadsheet-data-viewer--preserve-breaks {\n white-space: pre-wrap;\n}\n\n.ff-spreadsheet-data-editor,\n.ff-spreadsheet-data-editor input {\n width: 100%;\n height: 100%;\n}\n\n.ff-spreadsheet-data-editor input {\n font: inherit;\n color: inherit;\n background: none;\n border: none;\n outline: none;\n margin: 0;\n}\n\n.ff-spreadsheet-data-viewer--boolean {\n text-align: center;\n}\n\n.ff-spreadsheet-floating-rect {\n position: absolute;\n pointer-events: none;\n box-sizing: border-box;\n}\n\n.ff-spreadsheet-floating-rect--hidden {\n display: none;\n}\n\n.ff-spreadsheet-floating-rect--selected {\n background: var(--outline-background-color);\n border: 2px var(--outline-color) solid;\n}\n\n.ff-spreadsheet-floating-rect--dragging {\n border: none;\n}\n\n.ff-spreadsheet-floating-rect--copied {\n border: 2px var(--outline-color) dashed;\n}";
|
51030
|
+
styleInject(css_248z$4);
|
51031
|
+
|
51032
|
+
var css_248z$3 = ".excel-row {\n height: 42px;\n align-items: center;\n}\n.excel-row .excel-toolbar {\n display: flex;\n align-items: center;\n justify-content: start;\n width: 100%;\n gap: 10px;\n}\n.excel-row .excel-toolbar-center {\n display: flex;\n align-items: center;\n justify-content: space-evenly;\n width: 100%;\n gap: 10px;\n}\n.excel-row .excel-toolbar-center .menu-option {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.excel-row .excel-toolbar-menu {\n display: flex;\n align-items: center;\n}\n.excel-row .excel-toolbar-hide {\n display: none;\n}";
|
50753
51033
|
styleInject(css_248z$3);
|
50754
51034
|
|
50755
|
-
var css_248z$2 = ".
|
51035
|
+
var css_248z$2 = ".color-bar {\n background-color: var(--error_light);\n width: 100%;\n height: 4px;\n}\n.color-bar .colorPicker {\n width: 100%;\n height: 0;\n padding: 0;\n visibility: hidden;\n}";
|
50756
51036
|
styleInject(css_248z$2);
|
50757
51037
|
|
50758
|
-
var css_248z$1 = ".color-bar {\n background-color: var(--error_light);\n width: 100%;\n height: 4px;\n}\n.color-bar .colorPicker {\n width: 100%;\n height: 0;\n padding: 0;\n visibility: hidden;\n}";
|
50759
|
-
styleInject(css_248z$1);
|
50760
|
-
|
50761
51038
|
const ColorBarSelector = ({
|
50762
51039
|
getColorValue,
|
50763
51040
|
disabled
|
@@ -50793,61 +51070,93 @@ const ExcelToolBar = ({
|
|
50793
51070
|
data,
|
50794
51071
|
onBold,
|
50795
51072
|
onItalic,
|
50796
|
-
|
51073
|
+
setUnderlineType,
|
50797
51074
|
setColor,
|
51075
|
+
setFontSize,
|
51076
|
+
setFontFamily,
|
51077
|
+
setTextAlign,
|
50798
51078
|
setBackgroundColor,
|
51079
|
+
setBorderType,
|
50799
51080
|
setFormatePainter
|
50800
51081
|
}) => {
|
50801
|
-
const [
|
50802
|
-
const [
|
51082
|
+
const [border, setBorder] = React.useState('border-all-sides');
|
51083
|
+
const [underLine, setUnderLine] = React.useState('underline');
|
50803
51084
|
const [colorContainer, setColorPicker] = React.useState({
|
50804
51085
|
color: 'var(--error-light)',
|
50805
51086
|
backgroundColor: 'var(--error-light)',
|
50806
51087
|
borderColor: 'var(--text-color)'
|
50807
51088
|
});
|
50808
51089
|
const [formatePainterState, setFormatePainterState] = React.useState(false);
|
50809
|
-
const borderTypeIcon =
|
50810
|
-
|
50811
|
-
|
50812
|
-
|
50813
|
-
|
50814
|
-
|
50815
|
-
|
50816
|
-
|
50817
|
-
|
50818
|
-
|
50819
|
-
|
50820
|
-
|
50821
|
-
|
50822
|
-
|
50823
|
-
|
50824
|
-
|
50825
|
-
|
50826
|
-
|
50827
|
-
|
50828
|
-
|
50829
|
-
|
50830
|
-
|
50831
|
-
|
50832
|
-
|
50833
|
-
|
50834
|
-
|
50835
|
-
|
50836
|
-
|
50837
|
-
|
50838
|
-
|
50839
|
-
|
50840
|
-
|
50841
|
-
|
50842
|
-
|
50843
|
-
|
50844
|
-
|
50845
|
-
|
50846
|
-
|
50847
|
-
|
50848
|
-
|
50849
|
-
|
50850
|
-
}
|
51090
|
+
const borderTypeIcon = [{
|
51091
|
+
value: 'border-all-sides',
|
51092
|
+
label: 'All Border',
|
51093
|
+
icon: 'all_borders'
|
51094
|
+
}, {
|
51095
|
+
value: 'border-bottom',
|
51096
|
+
label: 'Border Bottom',
|
51097
|
+
icon: 'border_bottom'
|
51098
|
+
}, {
|
51099
|
+
value: 'border-left',
|
51100
|
+
label: 'Border Left',
|
51101
|
+
icon: 'border_left'
|
51102
|
+
}, {
|
51103
|
+
value: 'border-right',
|
51104
|
+
label: 'Border Right',
|
51105
|
+
icon: 'border_right'
|
51106
|
+
}, {
|
51107
|
+
value: 'border-top',
|
51108
|
+
label: 'Border Top',
|
51109
|
+
icon: 'border_top'
|
51110
|
+
}, {
|
51111
|
+
value: 'border-none',
|
51112
|
+
label: 'No Border',
|
51113
|
+
icon: 'no_border'
|
51114
|
+
}];
|
51115
|
+
const underlineTypeIcon = [{
|
51116
|
+
value: 'underline',
|
51117
|
+
label: 'Underline',
|
51118
|
+
icon: 'underline'
|
51119
|
+
}, {
|
51120
|
+
value: 'double_border',
|
51121
|
+
label: 'Double Underline',
|
51122
|
+
icon: 'double_underline'
|
51123
|
+
}, {
|
51124
|
+
value: 'line-through',
|
51125
|
+
label: 'Strikethrough',
|
51126
|
+
icon: 'strike_through'
|
51127
|
+
}];
|
51128
|
+
const fontFamily = [{
|
51129
|
+
label: 'Times New Roman',
|
51130
|
+
value: '"Times New Roman"'
|
51131
|
+
}, {
|
51132
|
+
label: 'Arial',
|
51133
|
+
value: 'Arial'
|
51134
|
+
}, {
|
51135
|
+
label: 'Courier New',
|
51136
|
+
value: '"Courier New"'
|
51137
|
+
}];
|
51138
|
+
const fontSize = [{
|
51139
|
+
label: '5',
|
51140
|
+
value: '5'
|
51141
|
+
}, {
|
51142
|
+
label: '9',
|
51143
|
+
value: '9'
|
51144
|
+
}, {
|
51145
|
+
label: '11',
|
51146
|
+
value: '11'
|
51147
|
+
}, {
|
51148
|
+
label: '12',
|
51149
|
+
value: '12'
|
51150
|
+
}, {
|
51151
|
+
label: '14',
|
51152
|
+
value: '14'
|
51153
|
+
}, {
|
51154
|
+
label: '16',
|
51155
|
+
value: '16'
|
51156
|
+
}, {
|
51157
|
+
label: '18',
|
51158
|
+
value: '18'
|
51159
|
+
}];
|
50851
51160
|
const getTextColor = color => {
|
50852
51161
|
setColorPicker(prev => ({
|
50853
51162
|
...prev,
|
@@ -50862,7 +51171,6 @@ const ExcelToolBar = ({
|
|
50862
51171
|
};
|
50863
51172
|
React.useEffect(() => {
|
50864
51173
|
let timeGap = setTimeout(() => {
|
50865
|
-
console.log(colorContainer.color);
|
50866
51174
|
setColor(data, colorContainer.color);
|
50867
51175
|
}, 0);
|
50868
51176
|
return () => {
|
@@ -50877,204 +51185,206 @@ const ExcelToolBar = ({
|
|
50877
51185
|
clearTimeout(timeGap);
|
50878
51186
|
};
|
50879
51187
|
}, [colorContainer.backgroundColor]);
|
50880
|
-
return jsxRuntime.jsxs(
|
50881
|
-
className:
|
50882
|
-
|
50883
|
-
|
50884
|
-
|
50885
|
-
|
50886
|
-
|
50887
|
-
|
50888
|
-
|
50889
|
-
|
50890
|
-
|
50891
|
-
|
50892
|
-
|
51188
|
+
return jsxRuntime.jsxs(Row$1, {
|
51189
|
+
className: "excel-row",
|
51190
|
+
gap: "40px",
|
51191
|
+
children: [jsxRuntime.jsx(Col, {
|
51192
|
+
size: 3,
|
51193
|
+
children: jsxRuntime.jsxs("div", {
|
51194
|
+
className: "excel-toolbar",
|
51195
|
+
children: [jsxRuntime.jsx(Select$1, {
|
51196
|
+
className: "textType",
|
51197
|
+
onChange: e => {
|
51198
|
+
setFontFamily(data, e.value);
|
51199
|
+
},
|
51200
|
+
optionsList: fontFamily,
|
51201
|
+
selectedOption: {
|
51202
|
+
label: 'Times New Roman',
|
51203
|
+
value: '"Times New Roman"'
|
51204
|
+
}
|
51205
|
+
}), jsxRuntime.jsx(Select$1, {
|
51206
|
+
className: "selectTag",
|
51207
|
+
onChange: e => {
|
51208
|
+
setFontSize(data, e.value);
|
51209
|
+
},
|
51210
|
+
optionsList: fontSize,
|
51211
|
+
selectedOption: {
|
51212
|
+
label: '11',
|
51213
|
+
value: '11'
|
51214
|
+
}
|
51215
|
+
})]
|
50893
51216
|
})
|
50894
|
-
}), jsxRuntime.jsx(
|
50895
|
-
|
50896
|
-
|
50897
|
-
|
50898
|
-
|
50899
|
-
|
50900
|
-
|
50901
|
-
|
50902
|
-
|
51217
|
+
}), jsxRuntime.jsx(Col, {
|
51218
|
+
size: 2,
|
51219
|
+
children: jsxRuntime.jsxs("div", {
|
51220
|
+
className: "excel-toolbar-center",
|
51221
|
+
children: [jsxRuntime.jsx(Icon, {
|
51222
|
+
hoverEffect: true,
|
51223
|
+
disabled: toolbar === 'disable',
|
51224
|
+
onClick: () => {
|
51225
|
+
setTextAlign(data, 'left');
|
51226
|
+
},
|
51227
|
+
name: "text_align_left"
|
51228
|
+
}), jsxRuntime.jsx(Icon, {
|
51229
|
+
hoverEffect: true,
|
51230
|
+
disabled: toolbar === 'disable',
|
51231
|
+
onClick: () => {
|
51232
|
+
setTextAlign(data, 'center');
|
51233
|
+
},
|
51234
|
+
name: "text_align_center"
|
51235
|
+
}), jsxRuntime.jsx(Icon, {
|
51236
|
+
hoverEffect: true,
|
51237
|
+
disabled: toolbar === 'disable',
|
51238
|
+
onClick: () => {
|
51239
|
+
setTextAlign(data, 'right');
|
51240
|
+
},
|
51241
|
+
name: "text_align_right"
|
51242
|
+
})]
|
50903
51243
|
})
|
50904
|
-
}), jsxRuntime.jsx(
|
50905
|
-
|
50906
|
-
|
50907
|
-
|
50908
|
-
|
50909
|
-
|
50910
|
-
|
50911
|
-
}, {
|
50912
|
-
label: 'Option 2',
|
50913
|
-
value: '2'
|
50914
|
-
}, {
|
50915
|
-
label: 'Option 3',
|
50916
|
-
value: '3'
|
50917
|
-
}],
|
50918
|
-
selectedOption: {
|
50919
|
-
label: 'Option 2',
|
50920
|
-
value: 'Arial'
|
50921
|
-
}
|
50922
|
-
}), jsxRuntime.jsx(Select$1, {
|
50923
|
-
label: "Text Size",
|
50924
|
-
onChange: () => {},
|
50925
|
-
optionsList: [{
|
50926
|
-
label: 'Option 1',
|
50927
|
-
value: '1'
|
50928
|
-
}, {
|
50929
|
-
label: 'Option 2',
|
50930
|
-
value: '2'
|
50931
|
-
}, {
|
50932
|
-
label: 'Option 3',
|
50933
|
-
value: '3'
|
50934
|
-
}],
|
50935
|
-
selectedOption: {
|
50936
|
-
label: 'Option 2',
|
50937
|
-
value: '11'
|
50938
|
-
}
|
50939
|
-
}), jsxRuntime.jsxs("div", {
|
50940
|
-
style: {
|
50941
|
-
display: 'flex',
|
50942
|
-
alignItems: 'center'
|
50943
|
-
},
|
50944
|
-
children: [jsxRuntime.jsx(Tooltip, {
|
50945
|
-
placement: "top",
|
50946
|
-
title: 'Formate Painter',
|
50947
|
-
children: jsxRuntime.jsx("div", {
|
50948
|
-
className: formatePainterState ? 'formate-painter-active' : '',
|
51244
|
+
}), jsxRuntime.jsx(Col, {
|
51245
|
+
size: 2,
|
51246
|
+
children: jsxRuntime.jsxs("div", {
|
51247
|
+
className: "excel-toolbar-center",
|
51248
|
+
children: [jsxRuntime.jsx(Tooltip, {
|
51249
|
+
placement: "top",
|
51250
|
+
title: 'Bold',
|
50949
51251
|
children: jsxRuntime.jsx(Icon, {
|
51252
|
+
hoverEffect: true,
|
50950
51253
|
disabled: toolbar === 'disable',
|
50951
51254
|
onClick: () => {
|
50952
|
-
|
51255
|
+
onBold(data);
|
50953
51256
|
},
|
50954
|
-
name: "
|
51257
|
+
name: "bold"
|
50955
51258
|
})
|
50956
|
-
})
|
50957
|
-
|
50958
|
-
|
50959
|
-
options: borderTypeIcon(),
|
50960
|
-
tooltipTitle: "Border Type",
|
50961
|
-
tooltipPlacement: "top",
|
50962
|
-
onOptionClick: () => {
|
50963
|
-
setBorderType(borderType);
|
50964
|
-
}
|
50965
|
-
})]
|
50966
|
-
}), jsxRuntime.jsxs("div", {
|
50967
|
-
style: {
|
50968
|
-
display: 'flex',
|
50969
|
-
alignItems: 'center'
|
50970
|
-
},
|
50971
|
-
children: [jsxRuntime.jsx(Tooltip, {
|
50972
|
-
placement: "top",
|
50973
|
-
title: 'Formate Painter',
|
50974
|
-
children: jsxRuntime.jsx("div", {
|
50975
|
-
className: formatePainterState ? 'formate-painter-active' : '',
|
51259
|
+
}), jsxRuntime.jsx(Tooltip, {
|
51260
|
+
placement: "top",
|
51261
|
+
title: 'Italic',
|
50976
51262
|
children: jsxRuntime.jsx(Icon, {
|
51263
|
+
hoverEffect: true,
|
50977
51264
|
disabled: toolbar === 'disable',
|
50978
51265
|
onClick: () => {
|
50979
|
-
|
50980
|
-
setFormatePainterState(prev => !prev);
|
51266
|
+
onItalic(data);
|
50981
51267
|
},
|
50982
|
-
name: "
|
51268
|
+
name: "italic"
|
50983
51269
|
})
|
50984
|
-
})
|
50985
|
-
|
50986
|
-
|
50987
|
-
|
50988
|
-
|
50989
|
-
|
50990
|
-
|
50991
|
-
|
50992
|
-
|
50993
|
-
|
50994
|
-
|
50995
|
-
|
50996
|
-
|
50997
|
-
|
50998
|
-
|
50999
|
-
|
51000
|
-
|
51001
|
-
|
51002
|
-
|
51003
|
-
|
51004
|
-
|
51005
|
-
|
51006
|
-
|
51007
|
-
|
51008
|
-
|
51009
|
-
|
51010
|
-
|
51011
|
-
|
51012
|
-
|
51013
|
-
|
51014
|
-
|
51015
|
-
|
51016
|
-
// formatePaint();
|
51017
|
-
},
|
51018
|
-
name: "strike_through"
|
51019
|
-
})
|
51020
|
-
})
|
51021
|
-
}), jsxRuntime.jsx(Tooltip, {
|
51022
|
-
placement: "top",
|
51023
|
-
title: 'Underline',
|
51024
|
-
children: jsxRuntime.jsx("div", {
|
51025
|
-
children: jsxRuntime.jsx(Icon, {
|
51026
|
-
disabled: toolbar === 'disable',
|
51027
|
-
onClick: () => {
|
51028
|
-
onUnderline(data);
|
51029
|
-
},
|
51030
|
-
name: "underline"
|
51031
|
-
})
|
51270
|
+
}), jsxRuntime.jsx(Tooltip, {
|
51271
|
+
placement: "top",
|
51272
|
+
title: 'Underline',
|
51273
|
+
children: jsxRuntime.jsxs("div", {
|
51274
|
+
className: "excel-toolbar-menu",
|
51275
|
+
children: [jsxRuntime.jsx(Tooltip, {
|
51276
|
+
placement: "top",
|
51277
|
+
title: 'Formate Painter',
|
51278
|
+
children: jsxRuntime.jsx("div", {
|
51279
|
+
className: formatePainterState ? 'formate-painter-active' : '',
|
51280
|
+
children: jsxRuntime.jsx(Icon, {
|
51281
|
+
hoverEffect: true,
|
51282
|
+
disabled: toolbar === 'disable',
|
51283
|
+
onClick: () => {
|
51284
|
+
setUnderlineType(data, underLine, true);
|
51285
|
+
},
|
51286
|
+
name: "underline"
|
51287
|
+
})
|
51288
|
+
})
|
51289
|
+
}), jsxRuntime.jsx(MenuOption, {
|
51290
|
+
iconName: "arrow_down",
|
51291
|
+
options: underlineTypeIcon,
|
51292
|
+
tooltipTitle: "Border Type",
|
51293
|
+
tooltipPlacement: "top",
|
51294
|
+
variant: "light",
|
51295
|
+
onOptionClick: e => {
|
51296
|
+
setUnderlineType(data, e.value, true);
|
51297
|
+
setUnderLine(e.value);
|
51298
|
+
}
|
51299
|
+
})]
|
51300
|
+
})
|
51301
|
+
})]
|
51032
51302
|
})
|
51033
|
-
}), jsxRuntime.jsx(
|
51034
|
-
|
51035
|
-
|
51036
|
-
|
51037
|
-
|
51038
|
-
|
51039
|
-
|
51040
|
-
|
51041
|
-
|
51042
|
-
|
51043
|
-
|
51044
|
-
|
51303
|
+
}), jsxRuntime.jsx(Col, {
|
51304
|
+
size: 2,
|
51305
|
+
children: jsxRuntime.jsxs("div", {
|
51306
|
+
className: "excel-toolbar-center",
|
51307
|
+
children: [jsxRuntime.jsx(Tooltip, {
|
51308
|
+
placement: "top",
|
51309
|
+
title: 'Formate Painter',
|
51310
|
+
children: jsxRuntime.jsx("div", {
|
51311
|
+
className: formatePainterState ? 'formate-painter-active' : '',
|
51312
|
+
children: jsxRuntime.jsx(Icon, {
|
51313
|
+
hoverEffect: true,
|
51314
|
+
disabled: toolbar === 'disable',
|
51315
|
+
onClick: () => {
|
51316
|
+
setFormatePainter(data);
|
51317
|
+
setFormatePainterState(prev => !prev);
|
51318
|
+
},
|
51319
|
+
name: "formate_painter"
|
51320
|
+
})
|
51321
|
+
})
|
51322
|
+
}), jsxRuntime.jsx("div", {
|
51323
|
+
className: "menu-option",
|
51324
|
+
children: jsxRuntime.jsxs(Tooltip, {
|
51325
|
+
placement: "top",
|
51326
|
+
title: 'Text Color',
|
51327
|
+
children: [jsxRuntime.jsx(Icon, {
|
51328
|
+
hoverEffect: true,
|
51329
|
+
disabled: toolbar === 'disable',
|
51330
|
+
onClick: () => {
|
51331
|
+
setColor(data, colorContainer.color);
|
51332
|
+
},
|
51333
|
+
name: "text_color"
|
51334
|
+
}), jsxRuntime.jsx(ColorBarSelector, {
|
51335
|
+
disabled: toolbar === 'disable',
|
51336
|
+
getColorValue: getTextColor
|
51337
|
+
})]
|
51338
|
+
})
|
51339
|
+
}), jsxRuntime.jsxs("div", {
|
51340
|
+
className: "menu-option",
|
51341
|
+
children: [jsxRuntime.jsx(Tooltip, {
|
51342
|
+
placement: "top",
|
51343
|
+
title: 'Background Color',
|
51344
|
+
children: jsxRuntime.jsx(Icon, {
|
51345
|
+
hoverEffect: true,
|
51346
|
+
disabled: toolbar === 'disable',
|
51347
|
+
onClick: () => {
|
51348
|
+
setBackgroundColor(data, colorContainer.backgroundColor);
|
51349
|
+
},
|
51350
|
+
name: "fill_color"
|
51351
|
+
})
|
51352
|
+
}), jsxRuntime.jsx(ColorBarSelector, {
|
51353
|
+
disabled: toolbar === 'disable',
|
51354
|
+
getColorValue: getBackgroundColor
|
51355
|
+
})]
|
51356
|
+
})]
|
51045
51357
|
})
|
51046
|
-
}), jsxRuntime.jsx(
|
51047
|
-
|
51048
|
-
children: jsxRuntime.jsxs(
|
51049
|
-
|
51050
|
-
|
51051
|
-
|
51052
|
-
|
51053
|
-
|
51054
|
-
|
51055
|
-
|
51056
|
-
|
51057
|
-
|
51058
|
-
|
51059
|
-
|
51358
|
+
}), jsxRuntime.jsx(Col, {
|
51359
|
+
size: 1,
|
51360
|
+
children: jsxRuntime.jsxs("div", {
|
51361
|
+
className: "excel-toolbar-menu",
|
51362
|
+
children: [jsxRuntime.jsx(Tooltip, {
|
51363
|
+
placement: "top",
|
51364
|
+
title: 'Formate Painter',
|
51365
|
+
children: jsxRuntime.jsx("div", {
|
51366
|
+
className: formatePainterState ? 'formate-painter-active' : '',
|
51367
|
+
children: jsxRuntime.jsx(Icon, {
|
51368
|
+
hoverEffect: true,
|
51369
|
+
disabled: toolbar === 'disable',
|
51370
|
+
onClick: () => {
|
51371
|
+
setBorderType(data, border, 'black');
|
51372
|
+
},
|
51373
|
+
name: "all_borders"
|
51374
|
+
})
|
51375
|
+
})
|
51376
|
+
}), jsxRuntime.jsx(MenuOption, {
|
51377
|
+
iconName: "arrow_down",
|
51378
|
+
options: borderTypeIcon,
|
51379
|
+
tooltipTitle: "Border Type",
|
51380
|
+
tooltipPlacement: "top",
|
51381
|
+
variant: "light",
|
51382
|
+
onOptionClick: e => {
|
51383
|
+
setBorder(e.value);
|
51384
|
+
setBorderType(data, e.value, 'black');
|
51385
|
+
}
|
51060
51386
|
})]
|
51061
51387
|
})
|
51062
|
-
}), jsxRuntime.jsxs("div", {
|
51063
|
-
className: "menu-option",
|
51064
|
-
children: [jsxRuntime.jsx(Tooltip, {
|
51065
|
-
placement: "top",
|
51066
|
-
title: 'Background Color',
|
51067
|
-
children: jsxRuntime.jsx(Icon, {
|
51068
|
-
disabled: toolbar === 'disable',
|
51069
|
-
onClick: () => {
|
51070
|
-
setBackgroundColor(data, colorContainer.backgroundColor);
|
51071
|
-
},
|
51072
|
-
name: "fill_color"
|
51073
|
-
})
|
51074
|
-
}), jsxRuntime.jsx(ColorBarSelector, {
|
51075
|
-
disabled: toolbar === 'disable',
|
51076
|
-
getColorValue: getBackgroundColor
|
51077
|
-
})]
|
51078
51388
|
})]
|
51079
51389
|
});
|
51080
51390
|
};
|
@@ -51087,20 +51397,12 @@ const Spreadsheet = props => {
|
|
51087
51397
|
className,
|
51088
51398
|
columnLabels,
|
51089
51399
|
rowLabels,
|
51090
|
-
// hideColumnIndicators,
|
51091
|
-
// hideRowIndicators,
|
51092
51400
|
onKeyDown,
|
51093
51401
|
Table: Table$1 = Table,
|
51094
51402
|
Row: Row$1 = Row,
|
51095
51403
|
HeaderRow: HeaderRow$1 = HeaderRow,
|
51096
51404
|
DataEditor: DataEditor$1 = DataEditor,
|
51097
51405
|
DataViewer: DataViewer$1 = DataViewer,
|
51098
|
-
// onChange = () => {},
|
51099
|
-
// onModeChange = () => {},
|
51100
|
-
onSelect = () => {},
|
51101
|
-
onActivate = () => {},
|
51102
|
-
// onBlur = () => {},
|
51103
|
-
// onCellCommit = () => {},
|
51104
51406
|
onEvaluatedDataChange = () => {}
|
51105
51407
|
} = props;
|
51106
51408
|
const initialState = React__namespace.useMemo(() => {
|
@@ -51127,7 +51429,6 @@ const Spreadsheet = props => {
|
|
51127
51429
|
const copy$1 = useAction(copy);
|
51128
51430
|
const paste$1 = useAction(paste);
|
51129
51431
|
const onKeyDownAction = useAction(keyDown);
|
51130
|
-
const onKeyPress = useAction(keyPress);
|
51131
51432
|
const onDragStart = useAction(dragStart);
|
51132
51433
|
const onDragEnd = useAction(dragEnd);
|
51133
51434
|
const setData$1 = useAction(setData);
|
@@ -51135,24 +51436,14 @@ const Spreadsheet = props => {
|
|
51135
51436
|
const setSelection$1 = useAction(setSelection);
|
51136
51437
|
const onBold = useAction(bold);
|
51137
51438
|
const onItalic = useAction(italic);
|
51138
|
-
const
|
51439
|
+
const setUnderlineType = useAction(underlineType);
|
51440
|
+
const setTextAlign = useAction(textAlign);
|
51441
|
+
const setFontSize = useAction(fontSize);
|
51442
|
+
const setFontFamily = useAction(fontFamily);
|
51443
|
+
const setBorderType = useAction(borderType);
|
51139
51444
|
const setColor = useAction(color);
|
51140
51445
|
const setBackgroundColor = useAction(backgroundStyle);
|
51141
51446
|
const setFormatePainter = useAction(formatePainter);
|
51142
|
-
const prevActiveRef = React__namespace.useRef(state.active);
|
51143
|
-
React__namespace.useEffect(() => {
|
51144
|
-
if (state.active !== prevActiveRef.current) {
|
51145
|
-
if (state.active) {
|
51146
|
-
onActivate(state.active);
|
51147
|
-
} else {
|
51148
|
-
const root = rootRef.current;
|
51149
|
-
if (root && isFocusedWithin(root) && document.activeElement) {
|
51150
|
-
document.activeElement.blur();
|
51151
|
-
}
|
51152
|
-
}
|
51153
|
-
}
|
51154
|
-
prevActiveRef.current = state.active;
|
51155
|
-
}, [onActivate, state.active]);
|
51156
51447
|
const prevEvaluatedDataRef = React__namespace.useRef(state.model.evaluatedData);
|
51157
51448
|
React__namespace.useEffect(() => {
|
51158
51449
|
if (state?.model?.evaluatedData !== prevEvaluatedDataRef?.current) {
|
@@ -51160,16 +51451,6 @@ const Spreadsheet = props => {
|
|
51160
51451
|
}
|
51161
51452
|
prevEvaluatedDataRef.current = state.model.evaluatedData;
|
51162
51453
|
}, [state?.model?.evaluatedData, onEvaluatedDataChange]);
|
51163
|
-
const prevSelectedRef = React__namespace.useRef(state.selected);
|
51164
|
-
React__namespace.useEffect(() => {
|
51165
|
-
if (!state.selected.equals(prevSelectedRef.current)) {
|
51166
|
-
// Call on select only if the selection change internal
|
51167
|
-
if (!props.selected || !state.selected.equals(props.selected)) {
|
51168
|
-
onSelect(state.selected);
|
51169
|
-
}
|
51170
|
-
}
|
51171
|
-
prevSelectedRef.current = state.selected;
|
51172
|
-
}, [state.selected, onSelect, props.selected]);
|
51173
51454
|
// Update selection when props.selected changes
|
51174
51455
|
const prevSelectedPropRef = React__namespace.useRef(props.selected);
|
51175
51456
|
React__namespace.useEffect(() => {
|
@@ -51186,7 +51467,6 @@ const Spreadsheet = props => {
|
|
51186
51467
|
}
|
51187
51468
|
prevDataPropRef.current = props.data;
|
51188
51469
|
}, [props.data, setData$1]);
|
51189
|
-
// Update createFormulaParser when props.createFormulaParser changes
|
51190
51470
|
const prevCreateFormulaParserPropRef = React__namespace.useRef(props.createFormulaParser);
|
51191
51471
|
React__namespace.useEffect(() => {
|
51192
51472
|
if (props.createFormulaParser !== prevCreateFormulaParserPropRef.current && props.createFormulaParser) setCreateFormulaParser$1(props.createFormulaParser);
|
@@ -51309,32 +51589,36 @@ const Spreadsheet = props => {
|
|
51309
51589
|
data: props.data,
|
51310
51590
|
onBold: onBold,
|
51311
51591
|
onItalic: onItalic,
|
51312
|
-
|
51592
|
+
setUnderlineType: setUnderlineType,
|
51313
51593
|
setColor: setColor,
|
51594
|
+
setBorderType: setBorderType,
|
51595
|
+
setFontSize: setFontSize,
|
51596
|
+
setFontFamily: setFontFamily,
|
51597
|
+
setTextAlign: setTextAlign,
|
51314
51598
|
setBackgroundColor: setBackgroundColor,
|
51315
51599
|
setFormatePainter: setFormatePainter
|
51316
51600
|
}), jsxRuntime.jsxs("div", {
|
51317
51601
|
ref: rootRef,
|
51318
|
-
className: classNames('
|
51319
|
-
onKeyPress: onKeyPress,
|
51602
|
+
className: classNames('ff-spreadsheet', className),
|
51320
51603
|
onKeyDown: handleKeyDown,
|
51321
51604
|
onMouseMove: handleMouseMove,
|
51322
51605
|
children: [tableNode, activeCellNode, jsxRuntime.jsx(Selected, {}), jsxRuntime.jsx(Copied, {})]
|
51323
51606
|
})]
|
51324
|
-
}), [className,
|
51607
|
+
}), [className, handleKeyDown, handleMouseMove, tableNode, activeCellNode]);
|
51325
51608
|
return jsxRuntime.jsx(context.Provider, {
|
51326
51609
|
value: reducerElements,
|
51327
51610
|
children: rootNode
|
51328
51611
|
});
|
51329
51612
|
};
|
51330
51613
|
|
51614
|
+
var css_248z$1 = ".excel-page {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.excel-page .excel-book {\n position: relative;\n width: 100%;\n}\n.excel-page .excel-book .excel-sheet {\n overflow: auto;\n scrollbar-width: thin;\n}\n.excel-page .excel-book .sheet-bar {\n margin-top: 5px;\n padding: 0p 20px;\n align-items: center;\n}\n.excel-page .excel-book .sheet-bar .add-sheet-icon {\n display: flex;\n align-items: start;\n justify-content: center;\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container {\n display: flex;\n overflow-x: auto;\n align-items: center;\n scrollbar-width: thin;\n scrollbar-color: var(--hover-color) transparent;\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container::-webkit-scrollbar-track {\n background-color: transparent;\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container::-webkit-scrollbar-thumb {\n border-radius: 5px;\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container .excel-tab-list {\n padding: 10px 20px;\n min-width: max-content;\n cursor: pointer;\n display: flex;\n font-weight: bold;\n background-color: var(--hover-color);\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container .excel-tab-list.active {\n background-color: var(--excel-sheet-button-color);\n}\n.excel-page .excel-book .sheet-bar .excel-tab-container .excel-tab-list:focus {\n outline: none;\n text-decoration: none;\n}\n\n.menu-list {\n display: flex;\n align-items: center;\n}\n.menu-list .menu-title {\n padding-left: 5px;\n}";
|
51615
|
+
styleInject(css_248z$1);
|
51616
|
+
|
51331
51617
|
const ExcelFile = ({
|
51332
51618
|
excelData,
|
51333
51619
|
onSave = () => {}
|
51334
51620
|
}) => {
|
51335
|
-
const [
|
51336
|
-
sheetNames: []
|
51337
|
-
});
|
51621
|
+
const [sheetNames, setSheetNames] = React.useState([]);
|
51338
51622
|
const EmptyRow = {
|
51339
51623
|
value: '',
|
51340
51624
|
style: {
|
@@ -51351,10 +51635,8 @@ const ExcelFile = ({
|
|
51351
51635
|
defaultSheet: [[EmptyRow]]
|
51352
51636
|
});
|
51353
51637
|
const [selectedSheetData, setSelectedSheetData] = React.useState([[EmptyRow]]);
|
51638
|
+
let pageRef = React.useRef('');
|
51354
51639
|
const sheetRef = React.useRef(null);
|
51355
|
-
const excelDataCopy = React.useRef({
|
51356
|
-
defaultSheet: [[]]
|
51357
|
-
});
|
51358
51640
|
let checkVal = val => {
|
51359
51641
|
if (val === undefined || val === null) {
|
51360
51642
|
return null;
|
@@ -51364,10 +51646,9 @@ const ExcelFile = ({
|
|
51364
51646
|
React.useEffect(() => {
|
51365
51647
|
const payload = excelData;
|
51366
51648
|
const sheetNames = payload.sheets.map(e => e.sheetName);
|
51367
|
-
|
51368
|
-
sheetNames
|
51369
|
-
});
|
51649
|
+
setSheetNames(sheetNames);
|
51370
51650
|
if (sheetNames.length > 0) {
|
51651
|
+
pageRef.current = sheetNames[0] ? sheetNames[0] : '';
|
51371
51652
|
setSelectedSheet({
|
51372
51653
|
name: sheetNames[0] ? sheetNames[0] : '',
|
51373
51654
|
index: 0
|
@@ -51377,8 +51658,8 @@ const ExcelFile = ({
|
|
51377
51658
|
payload.sheets.forEach(sheet => {
|
51378
51659
|
const sheetName = sheet.sheetName;
|
51379
51660
|
const json = sheet.data;
|
51380
|
-
const maxRows = Math.max(
|
51381
|
-
const maxCols = Math.max(
|
51661
|
+
const maxRows = Math.max(15, json.length + 2);
|
51662
|
+
const maxCols = Math.max(15, Math.max(...json.map(row => row.length)) + 2);
|
51382
51663
|
let spreadsheetData = Array.from({
|
51383
51664
|
length: maxRows
|
51384
51665
|
}, () => Array.from({
|
@@ -51400,63 +51681,187 @@ const ExcelFile = ({
|
|
51400
51681
|
});
|
51401
51682
|
newWorksheetsData[sheetName] = spreadsheetData;
|
51402
51683
|
});
|
51403
|
-
excelDataCopy.current = newWorksheetsData;
|
51404
51684
|
setWorksheetsData(newWorksheetsData);
|
51405
51685
|
const firstSheetName = Object.keys(newWorksheetsData)[0];
|
51406
51686
|
if (firstSheetName && newWorksheetsData[firstSheetName] !== undefined) {
|
51407
51687
|
setSelectedSheetData(newWorksheetsData[firstSheetName]);
|
51408
51688
|
}
|
51409
51689
|
}, []);
|
51410
|
-
const
|
51411
|
-
|
51412
|
-
|
51413
|
-
|
51414
|
-
|
51415
|
-
|
51416
|
-
|
51417
|
-
|
51418
|
-
|
51419
|
-
|
51420
|
-
|
51421
|
-
|
51422
|
-
|
51423
|
-
|
51424
|
-
|
51425
|
-
|
51690
|
+
const onEvaluateChange = data => {
|
51691
|
+
setWorksheetsData(prev => ({
|
51692
|
+
...prev,
|
51693
|
+
[pageRef.current]: data
|
51694
|
+
}));
|
51695
|
+
onSave();
|
51696
|
+
};
|
51697
|
+
const [editingSheet, setEditingSheet] = React.useState(null);
|
51698
|
+
const handleAddSheet = () => {
|
51699
|
+
const generateUniqueSheetName = (baseName, existingNames) => {
|
51700
|
+
let newName = baseName;
|
51701
|
+
let counter = 1;
|
51702
|
+
while (existingNames.includes(newName)) {
|
51703
|
+
newName = `${baseName}${counter}`;
|
51704
|
+
counter++;
|
51705
|
+
}
|
51706
|
+
return newName;
|
51707
|
+
};
|
51708
|
+
const baseName = 'NewSheet';
|
51709
|
+
const existingSheetNames = sheetNames;
|
51710
|
+
const newSheetName = generateUniqueSheetName(baseName, existingSheetNames);
|
51711
|
+
const newSheetData = Array.from({
|
51712
|
+
length: 15
|
51713
|
+
}, () => Array.from({
|
51714
|
+
length: 15
|
51715
|
+
}, () => EmptyRow));
|
51716
|
+
setSheetNames(prev => [...prev, newSheetName]);
|
51717
|
+
setSelectedSheet({
|
51718
|
+
index: sheetNames?.length,
|
51719
|
+
name: newSheetName
|
51720
|
+
});
|
51721
|
+
setWorksheetsData({
|
51722
|
+
...worksheetsData,
|
51723
|
+
[newSheetName]: newSheetData
|
51724
|
+
});
|
51725
|
+
setSelectedSheetData(newSheetData);
|
51726
|
+
pageRef.current = newSheetName;
|
51727
|
+
};
|
51728
|
+
const handleNameChange = (event, index, name) => {
|
51729
|
+
const target = event.target;
|
51730
|
+
if (!target) {
|
51731
|
+
setEditingSheet(null);
|
51732
|
+
return;
|
51733
|
+
}
|
51734
|
+
const updatedSheetValue = target.textContent?.trim();
|
51735
|
+
if (!updatedSheetValue) {
|
51736
|
+
toast.warning('Sheet name cannot be empty.');
|
51737
|
+
target.textContent = selectedSheet.name;
|
51738
|
+
setEditingSheet(null);
|
51739
|
+
return;
|
51740
|
+
}
|
51741
|
+
if (updatedSheetValue.length > 30) {
|
51742
|
+
toast.warning('The sheet name cannot be greater than 30 characters');
|
51743
|
+
target.textContent = selectedSheet.name;
|
51744
|
+
setEditingSheet(null);
|
51745
|
+
return;
|
51746
|
+
}
|
51747
|
+
if (sheetNames.includes(updatedSheetValue) && sheetNames[index] !== updatedSheetValue) {
|
51748
|
+
toast.warning('Sheet name already exists');
|
51749
|
+
target.textContent = selectedSheet.name;
|
51750
|
+
setEditingSheet(null);
|
51751
|
+
return;
|
51426
51752
|
}
|
51753
|
+
let updatedSheetNames = sheetNames;
|
51754
|
+
updatedSheetNames.splice(index, 1, updatedSheetValue);
|
51755
|
+
let remainingSheets = worksheetsData;
|
51756
|
+
let updatedData = replaceKeyValueByKeyName(remainingSheets, name, updatedSheetValue, selectedSheetData);
|
51757
|
+
pageRef.current = updatedSheetValue;
|
51758
|
+
setSelectedSheet(prev => ({
|
51759
|
+
...prev,
|
51760
|
+
name: updatedSheetValue
|
51761
|
+
}));
|
51762
|
+
setWorksheetsData(updatedData);
|
51763
|
+
setEditingSheet(null);
|
51427
51764
|
};
|
51428
|
-
|
51429
|
-
|
51430
|
-
|
51431
|
-
|
51432
|
-
|
51433
|
-
|
51765
|
+
function replaceKeyValueByKeyName(obj, oldKey, newKey, newValue) {
|
51766
|
+
if (!(oldKey in obj)) {
|
51767
|
+
throw new Error(`Key "${oldKey}" not found in object`);
|
51768
|
+
}
|
51769
|
+
delete obj[oldKey];
|
51770
|
+
obj[newKey] = newValue;
|
51771
|
+
return obj;
|
51772
|
+
}
|
51434
51773
|
const handleSheetChange = (name, index) => {
|
51435
51774
|
setSelectedSheet({
|
51436
51775
|
index,
|
51437
51776
|
name
|
51438
51777
|
});
|
51778
|
+
setSheetNames(prev => {
|
51779
|
+
const updatedSheetNames = [...prev];
|
51780
|
+
updatedSheetNames[index] = name;
|
51781
|
+
return updatedSheetNames;
|
51782
|
+
});
|
51783
|
+
const selectedSheetData = worksheetsData[name];
|
51784
|
+
if (selectedSheetData) {
|
51785
|
+
setSelectedSheetData(selectedSheetData);
|
51786
|
+
} else {
|
51787
|
+
setSelectedSheetData([[EmptyRow]]);
|
51788
|
+
}
|
51789
|
+
pageRef.current = name;
|
51439
51790
|
};
|
51440
|
-
|
51791
|
+
const setCursorToEnd = element => {
|
51792
|
+
const range = document.createRange();
|
51793
|
+
const selection = window.getSelection();
|
51794
|
+
range.selectNodeContents(element);
|
51795
|
+
range.collapse(false);
|
51796
|
+
selection?.removeAllRanges();
|
51797
|
+
selection?.addRange(range);
|
51798
|
+
};
|
51799
|
+
return jsxRuntime.jsxs("div", {
|
51441
51800
|
className: "excel-page",
|
51442
|
-
children:
|
51801
|
+
children: [sheetNames.length > 0 && jsxRuntime.jsxs("div", {
|
51443
51802
|
className: "excel-book",
|
51444
51803
|
children: [jsxRuntime.jsx("div", {
|
51445
51804
|
ref: sheetRef,
|
51446
51805
|
className: "excel-sheet",
|
51447
51806
|
children: jsxRuntime.jsx(Spreadsheet, {
|
51448
|
-
data: selectedSheetData
|
51807
|
+
data: selectedSheetData,
|
51808
|
+
onEvaluatedDataChange: onEvaluateChange
|
51449
51809
|
})
|
51450
|
-
}), jsxRuntime.
|
51451
|
-
|
51452
|
-
|
51453
|
-
|
51810
|
+
}), jsxRuntime.jsxs(Row$1, {
|
51811
|
+
className: "sheet-bar",
|
51812
|
+
children: [jsxRuntime.jsx(Col, {
|
51813
|
+
size: 0,
|
51814
|
+
className: "add-sheet-icon",
|
51815
|
+
children: jsxRuntime.jsx(Tooltip, {
|
51816
|
+
title: "Add Sheet",
|
51817
|
+
placement: "top",
|
51818
|
+
children: jsxRuntime.jsx(Icon, {
|
51819
|
+
className: "cursor-pointer ml-1",
|
51820
|
+
hoverEffect: true,
|
51821
|
+
onClick: () => {
|
51822
|
+
handleAddSheet();
|
51823
|
+
},
|
51824
|
+
name: "plus_icon",
|
51825
|
+
height: 20,
|
51826
|
+
width: 20
|
51827
|
+
})
|
51828
|
+
})
|
51829
|
+
}), jsxRuntime.jsx(Col, {
|
51830
|
+
size: 10,
|
51831
|
+
children: jsxRuntime.jsx("div", {
|
51832
|
+
className: "excel-tab-container",
|
51833
|
+
children: sheetNames.map((name, index) => jsxRuntime.jsx("div", {
|
51834
|
+
className: `excel-tab-list ${name === selectedSheet.name ? 'active' : ''}`,
|
51835
|
+
onClick: () => {
|
51836
|
+
handleSheetChange(name, index);
|
51837
|
+
},
|
51838
|
+
suppressContentEditableWarning: editingSheet === index,
|
51839
|
+
onDoubleClick: e => {
|
51840
|
+
setEditingSheet(index);
|
51841
|
+
if (editingSheet === null) {
|
51842
|
+
setTimeout(() => setCursorToEnd(e.target), 0);
|
51843
|
+
}
|
51844
|
+
},
|
51845
|
+
contentEditable: editingSheet === index,
|
51846
|
+
onBlur: e => {
|
51847
|
+
handleNameChange(e, index, name);
|
51848
|
+
},
|
51849
|
+
onKeyDown: e => {
|
51850
|
+
if (e.key === 'Enter') {
|
51851
|
+
e.preventDefault();
|
51852
|
+
handleNameChange(e, index, name);
|
51853
|
+
}
|
51854
|
+
},
|
51855
|
+
children: name
|
51856
|
+
}, name))
|
51857
|
+
})
|
51858
|
+
})]
|
51454
51859
|
})]
|
51455
|
-
})
|
51860
|
+
}), jsxRuntime.jsx(Toastify, {})]
|
51456
51861
|
});
|
51457
51862
|
};
|
51458
51863
|
|
51459
|
-
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\"
|
51864
|
+
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\";\n font-size: 10px;\n}\n\n.fontSm {\n font-family: \"Poppins\";\n font-size: 12px;\n}\n\n.fontMd {\n font-family: \"Poppins\";\n font-size: 14px;\n}\n\n.fontLg {\n font-family: \"Poppins\";\n font-size: 16px;\n}\n\n.fontXL {\n font-family: \"Poppins\";\n font-size: 18px;\n}\n\n.font2Xl {\n font-family: \"Poppins\";\n font-size: 24px;\n}\n\n.font-size-8 {\n font-family: \"Poppins\";\n font-size: 8px;\n}\n\n.font-size-32 {\n font-family: \"Poppins\";\n font-size: 32px;\n}\n\n.font-size-80 {\n font-family: \"Poppins\";\n font-size: 80px;\n}\n\n.ff-Module-chip {\n width: 75px;\n height: 32px;\n border: 0.5px solid;\n border-radius: 16px;\n color: var(--brand-color);\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n align-content: center;\n}\n.ff-Module-chip .ff-Module-label-chip--active {\n color: var(--ff-header-text-color);\n}\n.ff-Module-chip--active {\n background: var(--brand-color);\n}";
|
51460
51865
|
styleInject(css_248z);
|
51461
51866
|
|
51462
51867
|
const ModuleChip = ({
|
@@ -56830,6 +57235,24 @@ const throttle = (func, limit) => {
|
|
56830
57235
|
return throttled;
|
56831
57236
|
};
|
56832
57237
|
|
57238
|
+
const getSequentialPayload = (machineInstances = []) => {
|
57239
|
+
return machineInstances.flatMap(machineInstance => machineInstance.runLevelExecutionDataSets.map(runLevelExecutionDataSet => ({
|
57240
|
+
id: machineInstance.id,
|
57241
|
+
clientId: machineInstance.clientId,
|
57242
|
+
numberOfRuns: machineInstance.numberOfRuns,
|
57243
|
+
executionEnv: machineInstance.executionEnv,
|
57244
|
+
browserName: machineInstance.browserName,
|
57245
|
+
browserVersion: machineInstance.browserVersion,
|
57246
|
+
systemUrl: machineInstance.systemUrl,
|
57247
|
+
machineInfo: machineInstance.machineInfo,
|
57248
|
+
deviceInfo: machineInstance.deviceInfo,
|
57249
|
+
headless: machineInstance.headless,
|
57250
|
+
peVariableSetId: runLevelExecutionDataSet.peVariableSetId,
|
57251
|
+
globalVariableSetId: runLevelExecutionDataSet.globalVariableSetId,
|
57252
|
+
testDataSetId: runLevelExecutionDataSet.testDataSetId
|
57253
|
+
})));
|
57254
|
+
};
|
57255
|
+
|
56833
57256
|
exports.Accordion = Accordion;
|
56834
57257
|
exports.AddResourceButton = AddButton;
|
56835
57258
|
exports.AllProjectsDropdown = AllProjectsDropdown;
|
@@ -56845,7 +57268,7 @@ exports.DatePicker = CustomDatePicker;
|
|
56845
57268
|
exports.DonutChart = DonutChart;
|
56846
57269
|
exports.DragAndDrop = DragAndDrop;
|
56847
57270
|
exports.Drawer = Drawer;
|
56848
|
-
exports.
|
57271
|
+
exports.Excel = ExcelFile;
|
56849
57272
|
exports.ExpandableMenu = ExpandableMenu;
|
56850
57273
|
exports.FileDropzone = FileDropzone;
|
56851
57274
|
exports.Form = Forms;
|
@@ -56896,6 +57319,7 @@ exports.findAndInsert = findAndInsert;
|
|
56896
57319
|
exports.getEncryptedData = getEncryptedData;
|
56897
57320
|
exports.getExtension = getExtension;
|
56898
57321
|
exports.getExtensionWithPeriod = getExtensionWithPeriod;
|
57322
|
+
exports.getSequentialPayload = getSequentialPayload;
|
56899
57323
|
exports.throttle = throttle;
|
56900
57324
|
exports.toast = toast;
|
56901
57325
|
exports.truncateText = truncateText;
|