fuse-importer 0.27.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/esm/Importer/ImporterWithContext.d.ts +2 -0
- package/lib/esm/Importer/ImporterWithContext.js +51 -13
- package/lib/esm/Importer/Matcher/EnumFieldsMatchers/EnumFieldMatcher/index.js +2 -2
- package/lib/esm/Importer/Matcher/EnumFieldsMatchers/index.js +4 -3
- package/lib/esm/Importer/Matcher/HeaderMatcher/index.js +14 -9
- package/lib/esm/Importer/Matcher/index.js +0 -11
- package/lib/esm/Importer/PreviewFirstTime.js +1 -1
- package/lib/esm/Importer/Review/AppResponseModal.js +2 -2
- package/lib/esm/Importer/Review/ReviewContextProvider.d.ts +8 -6
- package/lib/esm/Importer/Review/ReviewContextProvider.js +72 -195
- package/lib/esm/Importer/Review/ReviewWithContext.js +2 -2
- package/lib/esm/Importer/Stepper/StepperSubmitModal.d.ts +2 -1
- package/lib/esm/Importer/Stepper/StepperSubmitModal.js +4 -2
- package/lib/esm/Importer/Stepper/UnmatchedHeadersModal.js +1 -1
- package/lib/esm/Importer/Stepper/index.js +36 -13
- package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterDropzone.d.ts +2 -1
- package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterDropzone.js +15 -64
- package/lib/esm/Importer/Uploader/DragAndDropImporter/ImporterSectionHeader/index.js +2 -2
- package/lib/esm/Importer/Uploader/DragAndDropImporter/index.js +11 -3
- package/lib/esm/Importer/Uploader/HeadersPreview.js +1 -1
- package/lib/esm/Importer/common/Spreadsheet/DataSetContextProvider/index.d.ts +16 -0
- package/lib/esm/Importer/common/Spreadsheet/DataSetContextProvider/index.js +63 -0
- package/lib/esm/Importer/common/Spreadsheet/DuplicateDataContextProvider/index.d.ts +19 -0
- package/lib/esm/Importer/common/Spreadsheet/DuplicateDataContextProvider/index.js +155 -0
- package/lib/esm/Importer/common/Spreadsheet/FilteredDataContextProvider/index.d.ts +29 -0
- package/lib/esm/Importer/common/Spreadsheet/FilteredDataContextProvider/index.js +150 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/filterMethods.d.ts +6 -4
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/filterMethods.js +38 -45
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/hashCalculators.d.ts +7 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/hashCalculators.js +152 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/index.d.ts +7 -30
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/index.js +10 -141
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useBatchProcessing.d.ts +5 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useBatchProcessing.js +81 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useDataSetManipulation.d.ts +5 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useDataSetManipulation.js +119 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/useSpreadsheetFilter.d.ts +1 -1
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/utils.d.ts +1 -0
- package/lib/esm/Importer/common/Spreadsheet/SpreadsheetContextProvider/utils.js +8 -0
- package/lib/esm/Importer/common/Spreadsheet/ValidationContextProvider/index.d.ts +31 -0
- package/lib/esm/Importer/common/Spreadsheet/ValidationContextProvider/index.js +324 -0
- package/lib/esm/Importer/common/Spreadsheet/common/index.js +18 -9
- package/lib/esm/Importer/common/Spreadsheet/common/types.d.ts +2 -3
- package/lib/esm/Importer/common/Spreadsheet/components/FieldHeader.d.ts +0 -2
- package/lib/esm/Importer/common/Spreadsheet/components/FieldHeader.js +26 -11
- package/lib/esm/Importer/common/Spreadsheet/components/FindAndReplace/index.d.ts +6 -0
- package/lib/esm/Importer/common/Spreadsheet/components/FindAndReplace/index.js +88 -0
- package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetData.js +25 -17
- package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetRowCheckboxes.js +48 -47
- package/lib/esm/Importer/common/Spreadsheet/components/SpreadsheetRowNumbers.js +3 -3
- package/lib/esm/Importer/common/Spreadsheet/components/fields/SpeadsheetAutocomplete.d.ts +1 -0
- package/lib/esm/Importer/common/Spreadsheet/components/fields/SpeadsheetAutocomplete.js +7 -3
- package/lib/esm/Importer/common/Spreadsheet/components/fields/SpreadsheetInput.d.ts +3 -1
- package/lib/esm/Importer/common/Spreadsheet/components/fields/SpreadsheetInput.js +45 -11
- package/lib/esm/Importer/common/Spreadsheet/components/fields/index.d.ts +12 -5
- package/lib/esm/Importer/common/Spreadsheet/components/fields/index.js +81 -26
- package/lib/esm/Importer/common/Spreadsheet/components/fields/utils.d.ts +11 -0
- package/lib/esm/Importer/common/Spreadsheet/components/fields/utils.js +29 -0
- package/lib/esm/Importer/common/Spreadsheet/components/inputs/index.js +1 -2
- package/lib/esm/Importer/common/Spreadsheet/index.d.ts +0 -1
- package/lib/esm/Importer/common/Spreadsheet/index.js +1 -84
- package/lib/esm/Importer/common/Spreadsheet/styles.d.ts +1 -2
- package/lib/esm/Importer/common/Spreadsheet/styles.js +13 -1
- package/lib/esm/Importer/common/Spreadsheet/transformation/index.d.ts +2 -2
- package/lib/esm/Importer/common/Spreadsheet/transformation/index.js +35 -13
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators/dateTimeAutoformatUtils.d.ts +5 -0
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators/dateTimeAutoformatUtils.js +231 -0
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators/index.d.ts +18 -0
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators/index.js +179 -0
- package/lib/esm/Importer/common/Spreadsheet/useFieldSorting.d.ts +5 -0
- package/lib/esm/Importer/common/Spreadsheet/useFieldSorting.js +81 -0
- package/lib/esm/Importer/common/Spreadsheet/validation/index.d.ts +5 -3
- package/lib/esm/Importer/common/Spreadsheet/validation/index.js +13 -17
- package/lib/esm/Importer/common/Spreadsheet/validation/validators.d.ts +3 -2
- package/lib/esm/Importer/common/Spreadsheet/validation/validators.js +23 -7
- package/lib/esm/Importer/common/theme.d.ts +1 -0
- package/lib/esm/Importer/contexts/ImporterContextProvider.d.ts +13 -4
- package/lib/esm/Importer/contexts/ImporterContextProvider.js +150 -21
- package/lib/esm/Importer/data/index.d.ts +7 -3
- package/lib/esm/Importer/data/index.js +49 -20
- package/lib/esm/Importer/hooks/useExportDataToFile.d.ts +5 -0
- package/lib/esm/Importer/hooks/useExportDataToFile.js +54 -0
- package/lib/esm/Importer/hooks/useSubmitToServer.d.ts +7 -0
- package/lib/esm/Importer/hooks/useSubmitToServer.js +214 -0
- package/lib/esm/Importer/index.d.ts +4 -3
- package/lib/esm/Importer/index.js +2 -2
- package/lib/esm/common/CircleSpinner.d.ts +1 -0
- package/lib/esm/common/CircleSpinner.js +13 -0
- package/lib/esm/common/ConfirmationModal.js +1 -1
- package/lib/esm/common/EventManagerContextProvider/index.d.ts +22 -0
- package/lib/esm/common/EventManagerContextProvider/index.js +38 -0
- package/lib/esm/common/FileUploadDropzone/ImporterDropzone.d.ts +16 -0
- package/lib/esm/common/FileUploadDropzone/ImporterDropzone.js +143 -0
- package/lib/esm/common/FileUploadDropzone/index.d.ts +1 -0
- package/lib/esm/common/FileUploadDropzone/index.js +1 -0
- package/lib/esm/common/Modal.js +2 -2
- package/lib/esm/common/Table/TableActions/CustomActions/CustomActions.d.ts +1 -0
- package/lib/esm/common/Table/TableActions/CustomActions/CustomActions.js +150 -0
- package/lib/esm/common/Table/TableActions/CustomActions/index.d.ts +1 -0
- package/lib/esm/common/Table/TableActions/CustomActions/index.js +1 -0
- package/lib/esm/common/Table/TableActions/DeleteSelectedRows.js +25 -8
- package/lib/esm/common/Table/TableActions/ExportData.js +5 -3
- package/lib/esm/common/Table/TableActions/FilterByErrors/FilterByErrors.js +41 -10
- package/lib/esm/common/Table/TableActions/RowFilters.js +63 -11
- package/lib/esm/common/Table/TableActions/SearchRows.js +28 -17
- package/lib/esm/common/Table/TableActions/TableActions.js +15 -4
- package/lib/esm/common/Table/TableActions/TableActions.styles.d.ts +1 -0
- package/lib/esm/common/Table/TableActions/TableActions.styles.js +4 -3
- package/lib/esm/common/Table/TableActions/TransformedRecordsCount.d.ts +6 -0
- package/lib/esm/common/Table/TableActions/TransformedRecordsCount.js +71 -0
- package/lib/esm/common/Table/TableActions/ValidationProgress.d.ts +2 -0
- package/lib/esm/common/Table/TableActions/ValidationProgress.js +22 -0
- package/lib/esm/common/Table/TableActions/icons.d.ts +3 -0
- package/lib/esm/common/Table/TableActions/icons.js +3 -0
- package/lib/esm/common/Table/TableActions/useFindAndReplace.d.ts +5 -0
- package/lib/esm/common/Table/TableActions/useFindAndReplace.js +45 -0
- package/lib/esm/common/Table/TableView/TableRows/TableRow.d.ts +1 -1
- package/lib/esm/common/Table/TableView/TableRows/TableRow.js +3 -3
- package/lib/esm/common/Table/TableView/TableRows/index.js +21 -6
- package/lib/esm/common/Table/TableView/index.d.ts +1 -1
- package/lib/esm/common/Table/TableView/index.js +7 -16
- package/lib/esm/common/Table/TableView/types.d.ts +9 -9
- package/lib/esm/common/Table/index.d.ts +2 -1
- package/lib/esm/common/Table/index.js +2 -2
- package/lib/esm/common/Toast.d.ts +42 -3
- package/lib/esm/common/Toast.js +56 -18
- package/lib/esm/common/TooltipProvider.d.ts +2 -0
- package/lib/esm/common/TooltipProvider.js +12 -9
- package/lib/esm/common/buttons.d.ts +5 -1
- package/lib/esm/common/buttons.js +19 -13
- package/lib/esm/common/columnsTransformations.d.ts +1 -0
- package/lib/esm/common/columnsTransformations.js +10 -16
- package/lib/esm/common/columnsValidations.d.ts +0 -26
- package/lib/esm/common/columnsValidations.js +1 -31
- package/lib/esm/common/datePatterns.d.ts +26 -0
- package/lib/esm/common/datePatterns.js +327 -0
- package/lib/esm/common/icons/index.d.ts +4 -0
- package/lib/esm/common/icons/index.js +6 -2
- package/lib/esm/common/index.d.ts +2 -0
- package/lib/esm/common/index.js +2 -0
- package/lib/esm/common/inputs/Autocomplete.js +2 -2
- package/lib/esm/common/inputs/Checkbox.d.ts +2 -1
- package/lib/esm/common/inputs/Checkbox.js +9 -7
- package/lib/esm/common/inputs/SelectMenu.d.ts +2 -1
- package/lib/esm/common/inputs/SelectMenu.js +14 -3
- package/lib/esm/common/inputs/TextInput.js +1 -1
- package/lib/esm/index.d.ts +3 -1
- package/lib/esm/index.js +9 -2
- package/lib/esm/locales/de.d.ts +13 -1
- package/lib/esm/locales/de.js +14 -2
- package/lib/esm/locales/en.d.ts +26 -1
- package/lib/esm/locales/en.js +30 -5
- package/lib/esm/locales/es.d.ts +13 -1
- package/lib/esm/locales/es.js +14 -2
- package/lib/esm/locales/fr.d.ts +13 -1
- package/lib/esm/locales/fr.js +14 -2
- package/lib/esm/styled/theme/colorPalette.d.ts +2 -0
- package/lib/esm/styled/theme/colorPalette.js +1 -0
- package/lib/esm/styled/theme/index.d.ts +1 -0
- package/lib/esm/styled/theme/textCss.js +1 -1
- package/lib/esm/types.d.ts +48 -5
- package/lib/esm/types.js +0 -1
- package/lib/esm/utils/index.d.ts +1 -0
- package/lib/esm/utils/index.js +4 -0
- package/lib/main.js +24 -24
- package/lib/main.js.LICENSE.txt +2 -0
- package/package.json +8 -6
- package/lib/esm/Importer/Stepper/common/getEnumFieldValueMatchingsInitialValue.d.ts +0 -8
- package/lib/esm/Importer/Stepper/common/getEnumFieldValueMatchingsInitialValue.js +0 -33
- package/lib/esm/Importer/common/Spreadsheet/components/ValidationProgress.d.ts +0 -5
- package/lib/esm/Importer/common/Spreadsheet/components/ValidationProgress.js +0 -19
- package/lib/esm/Importer/common/Spreadsheet/components/inputs/EmailInput.d.ts +0 -3
- package/lib/esm/Importer/common/Spreadsheet/components/inputs/EmailInput.js +0 -14
- package/lib/esm/Importer/common/Spreadsheet/hooks.d.ts +0 -34
- package/lib/esm/Importer/common/Spreadsheet/hooks.js +0 -254
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators.d.ts +0 -8
- package/lib/esm/Importer/common/Spreadsheet/transformation/transformators.js +0 -106
- package/lib/esm/common/Table/TableActions/FilterByErrors/functions.d.ts +0 -11
- package/lib/esm/common/Table/TableActions/FilterByErrors/functions.js +0 -35
- package/lib/esm/common/Table/TableActions/hooks.d.ts +0 -18
- package/lib/esm/common/Table/TableActions/hooks.js +0 -41
- package/lib/esm/common/Table/TableView/CustomScrollbar.d.ts +0 -2
- package/lib/esm/common/Table/TableView/CustomScrollbar.js +0 -34
|
@@ -3,9 +3,13 @@ export declare const closeIconCondensed: JSX.Element;
|
|
|
3
3
|
export declare const checkIcon: JSX.Element;
|
|
4
4
|
export declare const greenCheckIcon: JSX.Element;
|
|
5
5
|
export declare const redXIcon: JSX.Element;
|
|
6
|
+
export declare const warningIcon: JSX.Element;
|
|
7
|
+
export declare const infoIcon: JSX.Element;
|
|
8
|
+
export declare const notificationCheckIcon: JSX.Element;
|
|
6
9
|
export declare const defaultCheckIcon: JSX.Element;
|
|
7
10
|
export declare const WhiteCheckIcon: () => JSX.Element;
|
|
8
11
|
export declare const chevronLeftIcon: JSX.Element;
|
|
9
12
|
export declare const ChevronRightIcon: () => JSX.Element;
|
|
10
13
|
export declare const weatherStarsIcon: JSX.Element;
|
|
11
14
|
export declare const chevronDownIcon: JSX.Element;
|
|
15
|
+
export declare const PlusActionIcon: () => JSX.Element;
|
|
@@ -14,8 +14,11 @@ import { useTheme } from "styled-components";
|
|
|
14
14
|
export var closeIcon = (_jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M6 6.00003L18.7742 18.7742", stroke: "black", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6 18.7742L18.7742 6.00001", stroke: "black", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })));
|
|
15
15
|
export var closeIconCondensed = (_jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M6 6.00003L18.7742 18.7742", stroke: "#333333", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6 18.7742L18.7742 6.00001", stroke: "#333333", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })));
|
|
16
16
|
export var checkIcon = (_jsx("svg", __assign({ width: "12", height: "10", viewBox: "0 0 12 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M1.37805 5.80142L3.94469 8.28708L10.6827 1.52003", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })));
|
|
17
|
-
export var greenCheckIcon = (_jsx("svg", __assign({ width: "
|
|
18
|
-
export var redXIcon = (
|
|
17
|
+
export var greenCheckIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM9.70711 11.2426C9.31658 10.8521 8.68342 10.8521 8.29289 11.2426C7.90237 11.6331 7.90237 12.2663 8.29289 12.6568L10.4142 14.7781L11.1213 15.4852L11.8284 14.7781L16.0711 10.5355C16.4616 10.145 16.4616 9.5118 16.0711 9.12128C15.6805 8.73076 15.0474 8.73076 14.6569 9.12128L11.1213 12.6568L9.70711 11.2426Z", fill: "#025F40" }) })));
|
|
18
|
+
export var redXIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071Z", fill: "#5C1008" }) })));
|
|
19
|
+
export var warningIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23ZM12 6C12.5523 6 13 6.44772 13 7V12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12V7C11 6.44772 11.4477 6 12 6ZM12 15C12.5523 15 13 15.4477 13 16V16.5C13 17.0523 12.5523 17.5 12 17.5C11.4477 17.5 11 17.0523 11 16.5V16C11 15.4477 11.4477 15 12 15Z", fill: "#78430D" }) })));
|
|
20
|
+
export var infoIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M12 17.5C12.3117 17.5 12.5729 17.3946 12.7837 17.1838C12.9946 16.9729 13.1 16.7117 13.1 16.4V12C13.1 11.6883 12.9946 11.4271 12.7837 11.2163C12.5729 11.0054 12.3117 10.9 12 10.9C11.6883 10.9 11.4271 11.0054 11.2163 11.2163C11.0054 11.4271 10.9 11.6883 10.9 12V16.4C10.9 16.7117 11.0054 16.9729 11.2163 17.1838C11.4271 17.3946 11.6883 17.5 12 17.5ZM12 8.7C12.3117 8.7 12.5729 8.59458 12.7837 8.38375C12.9946 8.17292 13.1 7.91167 13.1 7.6C13.1 7.28833 12.9946 7.02708 12.7837 6.81625C12.5729 6.60542 12.3117 6.5 12 6.5C11.6883 6.5 11.4271 6.60542 11.2163 6.81625C11.0054 7.02708 10.9 7.28833 10.9 7.6C10.9 7.91167 11.0054 8.17292 11.2163 8.38375C11.4271 8.59458 11.6883 8.7 12 8.7ZM12 23C10.4783 23 9.04833 22.7113 7.71 22.1337C6.37167 21.5562 5.2075 20.7725 4.2175 19.7825C3.2275 18.7925 2.44375 17.6283 1.86625 16.29C1.28875 14.9517 1 13.5217 1 12C1 10.4783 1.28875 9.04833 1.86625 7.71C2.44375 6.37167 3.2275 5.2075 4.2175 4.2175C5.2075 3.2275 6.37167 2.44375 7.71 1.86625C9.04833 1.28875 10.4783 1 12 1C13.5217 1 14.9517 1.28875 16.29 1.86625C17.6283 2.44375 18.7925 3.2275 19.7825 4.2175C20.7725 5.2075 21.5562 6.37167 22.1337 7.71C22.7113 9.04833 23 10.4783 23 12C23 13.5217 22.7113 14.9517 22.1337 16.29C21.5562 17.6283 20.7725 18.7925 19.7825 19.7825C18.7925 20.7725 17.6283 21.5562 16.29 22.1337C14.9517 22.7113 13.5217 23 12 23Z", fill: "#025B5B" }) })));
|
|
21
|
+
export var notificationCheckIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M4 12.3137L9.65685 17.9706L20.9706 6.65687", stroke: "white", "stroke-width": "2", "stroke-linecap": "round" }) })));
|
|
19
22
|
export var defaultCheckIcon = (_jsxs("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("circle", { cx: "12", cy: "12", r: "11", stroke: "currentColor", strokeWidth: "2" }), _jsx("path", { d: "M9 11.9497L11.1213 14.071L15.364 9.82839", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" })] })));
|
|
20
23
|
export var WhiteCheckIcon = function () {
|
|
21
24
|
var theme = useTheme();
|
|
@@ -28,3 +31,4 @@ export var ChevronRightIcon = function () {
|
|
|
28
31
|
};
|
|
29
32
|
export var weatherStarsIcon = (_jsxs("svg", __assign({ width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M13.0159 4.5609C13.1442 4.0594 13.8565 4.0594 13.9847 4.5609L14.3163 5.85753C14.8596 7.98189 16.5184 9.64072 18.6428 10.184L19.9394 10.5155C20.4409 10.6438 20.4409 11.3561 19.9394 11.4844L18.6428 11.816C16.5184 12.3592 14.8596 14.018 14.3163 16.1424L13.9847 17.439C13.8565 17.9405 13.1442 17.9405 13.0159 17.439L12.6843 16.1424C12.1411 14.018 10.4823 12.3592 8.3579 11.816L7.06127 11.4844C6.55977 11.3561 6.55977 10.6438 7.06127 10.5155L8.3579 10.184C10.4823 9.64072 12.1411 7.98189 12.6843 5.85754L13.0159 4.5609Z", stroke: "white", strokeWidth: "2" }), _jsx("path", { d: "M3.5 1.83337V5.16671", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M5.16634 3.5H1.83301", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M4.33301 16.8334V20.1667", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M6.00033 18.5H2.66699", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] })));
|
|
30
33
|
export var chevronDownIcon = (_jsx("svg", __assign({ width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M18.9258 10L11.9626 16.9632L4.99944 10", stroke: "black", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })));
|
|
34
|
+
export var PlusActionIcon = function () { return (_jsxs("svg", __assign({ width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("path", { d: "M8 2V14", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }), _jsx("path", { d: "M2 8L14 8", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" })] }))); };
|
package/lib/esm/common/index.js
CHANGED
|
@@ -42,4 +42,6 @@ export * from "./TooltipProvider";
|
|
|
42
42
|
export * from "./ConfirmationModal";
|
|
43
43
|
export * from "./columnsValidations";
|
|
44
44
|
export * from "./columnsTransformations";
|
|
45
|
+
export * from "./datePatterns";
|
|
46
|
+
export * from "./FileUploadDropzone";
|
|
45
47
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6;
|
|
@@ -56,7 +56,7 @@ var Autocomplete = function (_a) {
|
|
|
56
56
|
var _k = useState(false), isTyping = _k[0], setIsTyping = _k[1];
|
|
57
57
|
var t = useTranslation().t;
|
|
58
58
|
useEffect(function () {
|
|
59
|
-
if (value)
|
|
59
|
+
if (value !== null && value !== undefined)
|
|
60
60
|
setText(selectedLabel);
|
|
61
61
|
else
|
|
62
62
|
setText("");
|
|
@@ -98,7 +98,7 @@ var Autocomplete = function (_a) {
|
|
|
98
98
|
setText(selectedLabel);
|
|
99
99
|
setIsMenuOpen(false);
|
|
100
100
|
}
|
|
101
|
-
}, label: label, isDisabled: isDisabled || isInputDisabled, placeholder: t(placeholder), value: inputValue, onChange: function (v) {
|
|
101
|
+
}, label: label, isDisabled: isDisabled || isInputDisabled, placeholder: t(placeholder), "data-cy": "option", value: inputValue, onChange: function (v) {
|
|
102
102
|
if (!isTyping && prefix)
|
|
103
103
|
setIsTyping(true);
|
|
104
104
|
setText(v);
|
|
@@ -6,6 +6,7 @@ type Props = {
|
|
|
6
6
|
onChange?: (isChecked: boolean) => void;
|
|
7
7
|
onShiftKeyPressed?: () => void;
|
|
8
8
|
isDisabled?: boolean;
|
|
9
|
+
label?: string;
|
|
9
10
|
} & DivCSSProps;
|
|
10
|
-
declare const Checkbox: ({ isChecked, isIndeterminate, icon, onChange, onShiftKeyPressed, isDisabled, ...props }: Props) => JSX.Element;
|
|
11
|
+
declare const Checkbox: ({ isChecked, isIndeterminate, icon, onChange, onShiftKeyPressed, isDisabled, label, ...props }: Props) => JSX.Element;
|
|
11
12
|
export { Checkbox };
|
|
@@ -24,17 +24,19 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
24
24
|
}
|
|
25
25
|
return t;
|
|
26
26
|
};
|
|
27
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
28
|
import styled, { css } from "styled-components";
|
|
29
29
|
import { Div } from "../../styled/utils";
|
|
30
|
-
var Container = styled.div(
|
|
31
|
-
|
|
30
|
+
var Container = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n gap: 8px;\n cursor: pointer;\n"], ["\n display: flex;\n gap: 8px;\n cursor: pointer;\n"])));
|
|
31
|
+
var IconContainer = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 20px;\n width: 20px;\n border-radius: 4px;\n border: 1px solid ", ";\n background-color: ", ";\n ", ";\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n ", "\n"], ["\n height: 20px;\n width: 20px;\n border-radius: 4px;\n border: 1px solid ", ";\n background-color: ", ";\n ", ";\n\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n\n ", "\n"])), function (props) { return props.theme.colors.gray400; }, function (props) { return props.theme.colors.white; }, function (props) {
|
|
32
|
+
return (props.isChecked || props.isIndeterminate) && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border: 1px solid white;\n background-color: ", ";\n "], ["\n border: 1px solid white;\n background-color: ", ";\n "])), props.theme.colors.pink500);
|
|
32
33
|
}, function (_a) {
|
|
33
34
|
var isDisabled = _a.isDisabled;
|
|
34
|
-
return isDisabled && css(
|
|
35
|
+
return isDisabled && css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n opacity: 0.6;\n\n :hover {\n cursor: not-allowed;\n }\n "], ["\n opacity: 0.6;\n\n :hover {\n cursor: not-allowed;\n }\n "])));
|
|
35
36
|
});
|
|
37
|
+
var Label = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: 14px;\n line-height: 20px;\n"], ["\n font-size: 14px;\n line-height: 20px;\n"])));
|
|
36
38
|
var Checkbox = function (_a) {
|
|
37
|
-
var isChecked = _a.isChecked, isIndeterminate = _a.isIndeterminate, _b = _a.icon, icon = _b === void 0 ? null : _b, onChange = _a.onChange, onShiftKeyPressed = _a.onShiftKeyPressed, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, props = __rest(_a, ["isChecked", "isIndeterminate", "icon", "onChange", "onShiftKeyPressed", "isDisabled"]);
|
|
39
|
+
var isChecked = _a.isChecked, isIndeterminate = _a.isIndeterminate, _b = _a.icon, icon = _b === void 0 ? null : _b, onChange = _a.onChange, onShiftKeyPressed = _a.onShiftKeyPressed, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.label, label = _d === void 0 ? null : _d, props = __rest(_a, ["isChecked", "isIndeterminate", "icon", "onChange", "onShiftKeyPressed", "isDisabled", "label"]);
|
|
38
40
|
var handleOnChange = function (event) {
|
|
39
41
|
if (!onChange)
|
|
40
42
|
return;
|
|
@@ -45,9 +47,9 @@ var Checkbox = function (_a) {
|
|
|
45
47
|
var newValue = !isChecked || isIndeterminate;
|
|
46
48
|
onChange(newValue);
|
|
47
49
|
};
|
|
48
|
-
return (
|
|
50
|
+
return (_jsxs(Container, __assign({ "data-test-id": "checkbox", onClick: handleOnChange }, { children: [_jsx(IconContainer, __assign({}, __assign({ isChecked: isChecked, isDisabled: isDisabled, isIndeterminate: isIndeterminate }, props), { children: isIndeterminate ? (_jsx(IndeterminateIcon, {})) : (_jsx(Div, __assign({ centered: true }, { children: isChecked && (icon || checkIcon) }))) })), label && _jsx(Label, { children: label })] })));
|
|
49
51
|
};
|
|
50
52
|
var checkIcon = (_jsx("svg", __assign({ width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M1.10254 4.74355L5.2051 8.84612L12.8974 1.15381", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) })));
|
|
51
53
|
var IndeterminateIcon = function () { return (_jsx("svg", __assign({ width: "14", height: "2", viewBox: "0 0 14 2", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: _jsx("path", { d: "M1 1H13", stroke: "white", strokeWidth: "2", strokeLinecap: "round" }) }))); };
|
|
52
54
|
export { Checkbox };
|
|
53
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
|
55
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
@@ -9,6 +9,7 @@ type Props = {
|
|
|
9
9
|
children: any;
|
|
10
10
|
placement?: Placement;
|
|
11
11
|
referenceElement: any;
|
|
12
|
+
selectMenuClassName?: string;
|
|
12
13
|
} & DivCSSProps;
|
|
13
|
-
export declare const SelectMenu: ({ isOpen, onClose, placement, referenceElement, children, ...props }: Props) => JSX.Element;
|
|
14
|
+
export declare const SelectMenu: ({ isOpen, onClose, placement, referenceElement, children, selectMenuClassName, ...props }: Props) => JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -35,14 +35,18 @@ export var SelectMenuScrollArea = styled(Div)(function (_a) {
|
|
|
35
35
|
var _b = _a.theme, colors = _b.colors, c = _b.css;
|
|
36
36
|
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: 16px;\n overflow-y: auto;\n max-height: 250px;\n ", ";\n "], ["\n padding: 16px;\n overflow-y: auto;\n max-height: 250px;\n ", ";\n "])), function (p) { return p.theme.css.scrollbarDark; });
|
|
37
37
|
});
|
|
38
|
+
var isFirefox = navigator.userAgent.indexOf("Firefox") > -1;
|
|
38
39
|
export var SelectMenu = function (_a) {
|
|
39
40
|
var _b;
|
|
40
|
-
var _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, _d = _a.onClose, onClose = _d === void 0 ? null : _d, _e = _a.placement, placement = _e === void 0 ? "auto" : _e, referenceElement = _a.referenceElement, children = _a.children, props = __rest(_a, ["isOpen", "onClose", "placement", "referenceElement", "children"]);
|
|
41
|
+
var _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, _d = _a.onClose, onClose = _d === void 0 ? null : _d, _e = _a.placement, placement = _e === void 0 ? "auto" : _e, referenceElement = _a.referenceElement, children = _a.children, selectMenuClassName = _a.selectMenuClassName, props = __rest(_a, ["isOpen", "onClose", "placement", "referenceElement", "children", "selectMenuClassName"]);
|
|
41
42
|
var _f = useState(null), popperElement = _f[0], setPopperElement = _f[1];
|
|
42
43
|
var _g = useState(null), width = _g[0], setWidth = _g[1];
|
|
43
44
|
var options = {
|
|
44
45
|
placement: placement,
|
|
45
|
-
|
|
46
|
+
// On Firefox we use absolute positioning because fixed positioning
|
|
47
|
+
// doesn't seem to work well with the select menu (more info in PR)
|
|
48
|
+
// may be related to https://github.com/floating-ui/floating-ui/issues/1729
|
|
49
|
+
strategy: isFirefox ? "absolute" : "fixed",
|
|
46
50
|
modifiers: [
|
|
47
51
|
{
|
|
48
52
|
name: "offset",
|
|
@@ -50,6 +54,13 @@ export var SelectMenu = function (_a) {
|
|
|
50
54
|
offset: [2, 3],
|
|
51
55
|
},
|
|
52
56
|
},
|
|
57
|
+
{
|
|
58
|
+
name: "preventOverflow",
|
|
59
|
+
options: {
|
|
60
|
+
altAxis: true,
|
|
61
|
+
boundary: "viewport",
|
|
62
|
+
},
|
|
63
|
+
},
|
|
53
64
|
],
|
|
54
65
|
};
|
|
55
66
|
var _h = usePopper(referenceElement, popperElement, options), styles = _h.styles, attributes = _h.attributes, update = _h.update;
|
|
@@ -62,6 +73,6 @@ export var SelectMenu = function (_a) {
|
|
|
62
73
|
if (referenceElement)
|
|
63
74
|
setWidth(referenceElementWidth);
|
|
64
75
|
}, [referenceElementWidth]);
|
|
65
|
-
return (_jsx(_Fragment, { children: isOpen && (_jsxs(Div, __assign({
|
|
76
|
+
return (_jsx(_Fragment, { children: isOpen && (_jsxs(Div, __assign({}, props, { children: [_jsx(SelectMenuBackdrop, { onClick: onClose }), _jsx(SelectMenuDiv, __assign({ ref: setPopperElement, style: __assign(__assign({}, styles.popper), { width: width }), className: selectMenuClassName }, attributes.popper, { children: _jsx(SelectMenuScrollArea, { children: children }) }))] }))) }));
|
|
66
77
|
};
|
|
67
78
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -63,7 +63,7 @@ var TextInput = function (_a) {
|
|
|
63
63
|
id: id,
|
|
64
64
|
padding: padding,
|
|
65
65
|
name: name,
|
|
66
|
-
}, { type: isPasswordVisible ? "text" : type, value: _value || "", onChange: function (_a) {
|
|
66
|
+
}, { autoComplete: "off", type: isPasswordVisible ? "text" : type, value: _value || "", onChange: function (_a) {
|
|
67
67
|
var value = _a.target.value;
|
|
68
68
|
return set_Value(value);
|
|
69
69
|
}, ref: setInputRef, onBlur: function () {
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColumnRequiredProps, EnvironmentType, FieldTypesAsUnion, FormatRecord, ImporterOptions, OnSubmit, OnValidateRecord, Record } from "./types";
|
|
1
|
+
import { ColumnRequiredProps, CustomAction, CustomActionTypes, EnvironmentType, FieldTypesAsUnion, FormatRecord, ImporterOptions, OnSubmit, OnValidateRecord, Record } from "./types";
|
|
2
2
|
declare class FuseImporter {
|
|
3
3
|
apiToken: string;
|
|
4
4
|
templateSlug: string;
|
|
@@ -8,6 +8,7 @@ declare class FuseImporter {
|
|
|
8
8
|
records: Record[];
|
|
9
9
|
constructor(apiToken: string, templateSlug: string, options?: ImporterOptions);
|
|
10
10
|
private dynamicColumns;
|
|
11
|
+
private customActions;
|
|
11
12
|
private cleanupIframe;
|
|
12
13
|
formatRecord: FormatRecord;
|
|
13
14
|
onValidateRecord: OnValidateRecord;
|
|
@@ -17,6 +18,7 @@ declare class FuseImporter {
|
|
|
17
18
|
close(): void;
|
|
18
19
|
show(): Promise<void>;
|
|
19
20
|
addColumn<T extends FieldTypesAsUnion>(columnData: ColumnRequiredProps<T>): void;
|
|
21
|
+
addCustomAction<T extends CustomActionTypes>(actions: CustomAction<T>[] | CustomAction<T>): void;
|
|
20
22
|
private renderImporterComponent;
|
|
21
23
|
private createDivComponent;
|
|
22
24
|
private createIframe;
|
package/lib/esm/index.js
CHANGED
|
@@ -68,6 +68,7 @@ var FuseImporter = /** @class */ (function () {
|
|
|
68
68
|
function FuseImporter(apiToken, templateSlug, options) {
|
|
69
69
|
if (options === void 0) { options = {}; }
|
|
70
70
|
this.dynamicColumns = [];
|
|
71
|
+
this.customActions = [];
|
|
71
72
|
this.cleanupIframe = null;
|
|
72
73
|
this.windowScrollPosition = {
|
|
73
74
|
x: 0,
|
|
@@ -139,6 +140,12 @@ var FuseImporter = /** @class */ (function () {
|
|
|
139
140
|
};
|
|
140
141
|
this.dynamicColumns.push(column);
|
|
141
142
|
};
|
|
143
|
+
FuseImporter.prototype.addCustomAction = function (actions) {
|
|
144
|
+
var _a;
|
|
145
|
+
if (!Array.isArray(actions))
|
|
146
|
+
actions = [actions];
|
|
147
|
+
(_a = this.customActions).push.apply(_a, actions);
|
|
148
|
+
};
|
|
142
149
|
FuseImporter.prototype.renderImporterComponent = function () {
|
|
143
150
|
var importerDiv = this.createDivComponent();
|
|
144
151
|
var importerComponent = this.createImporterComponent();
|
|
@@ -160,9 +167,9 @@ var FuseImporter = /** @class */ (function () {
|
|
|
160
167
|
};
|
|
161
168
|
FuseImporter.prototype.createImporterComponent = function () {
|
|
162
169
|
var _this = this;
|
|
163
|
-
return (_jsx(Importer, { apiToken: this.apiToken, templateSlug: this.templateSlug, options: this.options, formatRecord: this.formatRecord, onValidateRecord: this.onValidateRecord, onSubmit: this.onSubmit, onClose: function () {
|
|
170
|
+
return (_jsx(Importer, { apiToken: this.apiToken, templateSlug: this.templateSlug, options: this.options, formatRecord: this.formatRecord, onValidateRecord: this.onValidateRecord, dynamicColumns: this.dynamicColumns, customActions: this.customActions, onSubmit: this.onSubmit, onClose: function () {
|
|
164
171
|
_this.close();
|
|
165
|
-
}
|
|
172
|
+
} }));
|
|
166
173
|
};
|
|
167
174
|
FuseImporter.prototype.configureIframe = function (iframe, importerComponent) {
|
|
168
175
|
var onLoadCallback = function () {
|
package/lib/esm/locales/de.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ declare const _default: {
|
|
|
57
57
|
table_actions: {
|
|
58
58
|
filters_by_rows: {
|
|
59
59
|
all_rows: string;
|
|
60
|
-
valid_rows: string;
|
|
61
60
|
invalid_rows: string;
|
|
61
|
+
duplicates: string;
|
|
62
62
|
};
|
|
63
63
|
search_rows: {
|
|
64
64
|
tooltip: string;
|
|
@@ -74,10 +74,22 @@ declare const _default: {
|
|
|
74
74
|
yes_delete: string;
|
|
75
75
|
select_rows: string;
|
|
76
76
|
delete_row: string;
|
|
77
|
+
deleted_message: string;
|
|
77
78
|
};
|
|
78
79
|
export_your_data: {
|
|
79
80
|
tooltip: string;
|
|
80
81
|
};
|
|
82
|
+
transformed_records: {
|
|
83
|
+
auto_corrections_done: string;
|
|
84
|
+
example: string;
|
|
85
|
+
auto_corrections_amount: string;
|
|
86
|
+
};
|
|
87
|
+
custom_actions: {
|
|
88
|
+
label: string;
|
|
89
|
+
general_error_toast: string;
|
|
90
|
+
error_toast: string;
|
|
91
|
+
success_toast: string;
|
|
92
|
+
};
|
|
81
93
|
};
|
|
82
94
|
};
|
|
83
95
|
general: {
|
package/lib/esm/locales/de.js
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
optional_headers: "Optionale Überschriften",
|
|
26
26
|
},
|
|
27
27
|
title: "Laden Sie eine Datei hoch, um Ihre Daten zu importieren",
|
|
28
|
-
description: "\n Laden Sie eine beliebige
|
|
28
|
+
description: "\n Laden Sie eine beliebige .csv, .xls, .xlsx-Tabellenkalkulationsdatei\n mit einem beliebigen Satz von Spalten hoch, solange es einen Datensatz pro Zeile enth\u00E4lt.\n ",
|
|
29
29
|
loading: {
|
|
30
30
|
title: "Hochladen...",
|
|
31
31
|
},
|
|
@@ -58,8 +58,8 @@ export default {
|
|
|
58
58
|
table_actions: {
|
|
59
59
|
filters_by_rows: {
|
|
60
60
|
all_rows: "Alle Zeilen",
|
|
61
|
-
valid_rows: "Gültige Zeilen",
|
|
62
61
|
invalid_rows: "Ungültige Zeilen",
|
|
62
|
+
duplicates: "Gültige",
|
|
63
63
|
},
|
|
64
64
|
search_rows: {
|
|
65
65
|
tooltip: "Etwas suchen",
|
|
@@ -75,10 +75,22 @@ export default {
|
|
|
75
75
|
yes_delete: "Ja, löschen",
|
|
76
76
|
select_rows: "Wählen Sie Zeilen zum Löschen aus",
|
|
77
77
|
delete_row: "Zeile löschen",
|
|
78
|
+
deleted_message: "{{length}} Zeilen gelöscht",
|
|
78
79
|
},
|
|
79
80
|
export_your_data: {
|
|
80
81
|
tooltip: "Exportiere deine Daten",
|
|
81
82
|
},
|
|
83
|
+
transformed_records: {
|
|
84
|
+
auto_corrections_done: "zellen automatisch korrigiert",
|
|
85
|
+
example: "Beispiel",
|
|
86
|
+
auto_corrections_amount: "Wir haben {{amount}} Probleme automatisch korrigiert.",
|
|
87
|
+
},
|
|
88
|
+
custom_actions: {
|
|
89
|
+
label: "Weitere Aktionen",
|
|
90
|
+
general_error_toast: "Die Aktion konnte nicht ausgeführt werden. Bitte versuchen Sie es erneut.",
|
|
91
|
+
error_toast: 'Beim Ausführen der Aktion "{{actionName}}" auf den ausgewählten Zeilen ist ein Fehler aufgetreten. Bitte überprüfen Sie die Code-Implementierung und versuchen Sie es erneut.',
|
|
92
|
+
success_toast: 'Die Aktion "{{actionName}}" wurde erfolgreich auf den ausgewählten Zeilen ausgeführt.',
|
|
93
|
+
},
|
|
82
94
|
},
|
|
83
95
|
},
|
|
84
96
|
general: {
|
package/lib/esm/locales/en.d.ts
CHANGED
|
@@ -57,12 +57,13 @@ declare const _default: {
|
|
|
57
57
|
table_actions: {
|
|
58
58
|
filters_by_rows: {
|
|
59
59
|
all_rows: string;
|
|
60
|
-
valid_rows: string;
|
|
61
60
|
invalid_rows: string;
|
|
61
|
+
duplicates: string;
|
|
62
62
|
};
|
|
63
63
|
search_rows: {
|
|
64
64
|
tooltip: string;
|
|
65
65
|
placeholder: string;
|
|
66
|
+
number_of_results: string;
|
|
66
67
|
};
|
|
67
68
|
filter_by_errors: {
|
|
68
69
|
search_or_select: string;
|
|
@@ -74,10 +75,22 @@ declare const _default: {
|
|
|
74
75
|
yes_delete: string;
|
|
75
76
|
select_rows: string;
|
|
76
77
|
delete_row: string;
|
|
78
|
+
deleted_message: string;
|
|
77
79
|
};
|
|
78
80
|
export_your_data: {
|
|
79
81
|
tooltip: string;
|
|
80
82
|
};
|
|
83
|
+
transformed_records: {
|
|
84
|
+
auto_corrections_done: string;
|
|
85
|
+
example: string;
|
|
86
|
+
auto_corrections_amount: string;
|
|
87
|
+
};
|
|
88
|
+
custom_actions: {
|
|
89
|
+
label: string;
|
|
90
|
+
general_error_toast: string;
|
|
91
|
+
error_toast: string;
|
|
92
|
+
success_toast: string;
|
|
93
|
+
};
|
|
81
94
|
};
|
|
82
95
|
};
|
|
83
96
|
general: {
|
|
@@ -94,6 +107,18 @@ declare const _default: {
|
|
|
94
107
|
continue: string;
|
|
95
108
|
submit: string;
|
|
96
109
|
};
|
|
110
|
+
find_and_replace_modal: {
|
|
111
|
+
cancel: string;
|
|
112
|
+
description: string;
|
|
113
|
+
find: string;
|
|
114
|
+
no_records_found: string;
|
|
115
|
+
records_replaced: string;
|
|
116
|
+
replace_with: string;
|
|
117
|
+
submit: string;
|
|
118
|
+
title: string;
|
|
119
|
+
use_case_sensitive: string;
|
|
120
|
+
use_regex: string;
|
|
121
|
+
};
|
|
97
122
|
unmatched_headers_modal: {
|
|
98
123
|
title: string;
|
|
99
124
|
description_singular: string;
|
package/lib/esm/locales/en.js
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
optional_headers: "Optional Headers",
|
|
26
26
|
},
|
|
27
27
|
title: "Upload a File to Import your Data",
|
|
28
|
-
description: "\n Upload any .csv file with any set of\n columns as long as it has one record per row.\n ",
|
|
28
|
+
description: "\n Upload any .csv, .xls, .xlsx file with any set of\n columns as long as it has one record per row.\n ",
|
|
29
29
|
loading: {
|
|
30
30
|
title: "Uploading...",
|
|
31
31
|
},
|
|
@@ -38,10 +38,10 @@ export default {
|
|
|
38
38
|
},
|
|
39
39
|
match: {
|
|
40
40
|
title: "Match Your Columns with Ours",
|
|
41
|
-
description: "
|
|
41
|
+
description: "{{numberOfMatchedHeaders}} of {{totalNumberOfHeaders}} columns have been matched.",
|
|
42
42
|
enum_description: "\n Our system only accepts certain values for some columns. Below you can\n match the values from your spreadsheet to the values we accept.\n ",
|
|
43
43
|
columns: {
|
|
44
|
-
your_columns: "
|
|
44
|
+
your_columns: "Uploaded Columns",
|
|
45
45
|
our_columns: "Our Columns",
|
|
46
46
|
status: "Status",
|
|
47
47
|
placeholder: "Select an option...",
|
|
@@ -58,12 +58,13 @@ export default {
|
|
|
58
58
|
table_actions: {
|
|
59
59
|
filters_by_rows: {
|
|
60
60
|
all_rows: "All Rows",
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
invalid_rows: "Invalid",
|
|
62
|
+
duplicates: "Duplicates",
|
|
63
63
|
},
|
|
64
64
|
search_rows: {
|
|
65
65
|
tooltip: "Search something",
|
|
66
66
|
placeholder: "Search something...",
|
|
67
|
+
number_of_results: "{{length}} results",
|
|
67
68
|
},
|
|
68
69
|
filter_by_errors: {
|
|
69
70
|
search_or_select: "Search or select",
|
|
@@ -75,10 +76,22 @@ export default {
|
|
|
75
76
|
yes_delete: "Yes, delete",
|
|
76
77
|
select_rows: "Select rows to delete",
|
|
77
78
|
delete_row: "Delete Row",
|
|
79
|
+
deleted_message: "{{length}} rows deleted",
|
|
78
80
|
},
|
|
79
81
|
export_your_data: {
|
|
80
82
|
tooltip: "Export your data",
|
|
81
83
|
},
|
|
84
|
+
transformed_records: {
|
|
85
|
+
auto_corrections_done: "cells auto-corrected",
|
|
86
|
+
example: "Example",
|
|
87
|
+
auto_corrections_amount: "We have auto-corrected {{amount}} issues.",
|
|
88
|
+
},
|
|
89
|
+
custom_actions: {
|
|
90
|
+
label: "More actions",
|
|
91
|
+
general_error_toast: "It was not possible to run the action. Please try again.",
|
|
92
|
+
error_toast: 'Error occurred while running action "{{actionName}} on selected rows". Please check the code implementation and try again.',
|
|
93
|
+
success_toast: 'Action "{{actionName}}" was executed successfully on the selected rows.',
|
|
94
|
+
},
|
|
82
95
|
},
|
|
83
96
|
},
|
|
84
97
|
general: {
|
|
@@ -95,6 +108,18 @@ export default {
|
|
|
95
108
|
continue: "Continue",
|
|
96
109
|
submit: "Submit",
|
|
97
110
|
},
|
|
111
|
+
find_and_replace_modal: {
|
|
112
|
+
cancel: "Cancel",
|
|
113
|
+
description: "Enter the text you want to find and replace.",
|
|
114
|
+
find: "Find",
|
|
115
|
+
no_records_found: "Text could not be found in any cells.",
|
|
116
|
+
records_replaced: "{{length}} row(s) have been updated.",
|
|
117
|
+
replace_with: "Replace With",
|
|
118
|
+
submit: "Find and Replace",
|
|
119
|
+
title: "Find & Replace",
|
|
120
|
+
use_case_sensitive: "Use case sensitive matching",
|
|
121
|
+
use_regex: "Use regular expression matching",
|
|
122
|
+
},
|
|
98
123
|
unmatched_headers_modal: {
|
|
99
124
|
title: "Unmatched Column Headers",
|
|
100
125
|
description_singular: "There is {{count}} unmatched column headers. You will have to fill these out manually if you proceed.",
|
package/lib/esm/locales/es.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ declare const _default: {
|
|
|
57
57
|
table_actions: {
|
|
58
58
|
filters_by_rows: {
|
|
59
59
|
all_rows: string;
|
|
60
|
-
valid_rows: string;
|
|
61
60
|
invalid_rows: string;
|
|
61
|
+
duplicates: string;
|
|
62
62
|
};
|
|
63
63
|
search_rows: {
|
|
64
64
|
tooltip: string;
|
|
@@ -74,10 +74,22 @@ declare const _default: {
|
|
|
74
74
|
yes_delete: string;
|
|
75
75
|
select_rows: string;
|
|
76
76
|
delete_row: string;
|
|
77
|
+
deleted_message: string;
|
|
77
78
|
};
|
|
78
79
|
export_your_data: {
|
|
79
80
|
tooltip: string;
|
|
80
81
|
};
|
|
82
|
+
transformed_records: {
|
|
83
|
+
auto_corrections_done: string;
|
|
84
|
+
example: string;
|
|
85
|
+
auto_corrections_amount: string;
|
|
86
|
+
};
|
|
87
|
+
custom_actions: {
|
|
88
|
+
label: string;
|
|
89
|
+
general_error_toast: string;
|
|
90
|
+
error_toast: string;
|
|
91
|
+
success_toast: string;
|
|
92
|
+
};
|
|
81
93
|
};
|
|
82
94
|
};
|
|
83
95
|
general: {
|
package/lib/esm/locales/es.js
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
optional_headers: "Encabezados opcionales",
|
|
26
26
|
},
|
|
27
27
|
title: "Cargue un archivo para importar sus datos",
|
|
28
|
-
description: "\n Cargue cualquier archivo .csv con cualquier conjunto de\n columnas siempre y cuando tenga un registro por fila.\n ",
|
|
28
|
+
description: "\n Cargue cualquier archivo de hoja de c\u00E1lculo .csv, .xls, .xlsx con cualquier conjunto de\n columnas siempre y cuando tenga un registro por fila.\n ",
|
|
29
29
|
loading: {
|
|
30
30
|
title: "Cargando...",
|
|
31
31
|
},
|
|
@@ -58,8 +58,8 @@ export default {
|
|
|
58
58
|
table_actions: {
|
|
59
59
|
filters_by_rows: {
|
|
60
60
|
all_rows: "Todas las Filas",
|
|
61
|
-
valid_rows: "Filas Válidas",
|
|
62
61
|
invalid_rows: "Filas Inválidas",
|
|
62
|
+
duplicates: "Duplicadas",
|
|
63
63
|
},
|
|
64
64
|
search_rows: {
|
|
65
65
|
tooltip: "Buscar algo",
|
|
@@ -75,10 +75,22 @@ export default {
|
|
|
75
75
|
yes_delete: "Sí, eliminar",
|
|
76
76
|
select_rows: "Seleccione las filas a eliminar",
|
|
77
77
|
delete_row: "Eliminar fila",
|
|
78
|
+
deleted_message: "{{length}} filas eliminadas",
|
|
78
79
|
},
|
|
79
80
|
export_your_data: {
|
|
80
81
|
tooltip: "Exporta tus datos",
|
|
81
82
|
},
|
|
83
|
+
transformed_records: {
|
|
84
|
+
auto_corrections_done: "celdas corregidas automáticamente",
|
|
85
|
+
example: "Ejemplo",
|
|
86
|
+
auto_corrections_amount: "Hemos corregido automáticamente {{amount}} problemas.",
|
|
87
|
+
},
|
|
88
|
+
custom_actions: {
|
|
89
|
+
label: "Más acciones",
|
|
90
|
+
general_error_toast: "No fue posible ejecutar la acción. Por favor, inténtalo nuevamente.",
|
|
91
|
+
error_toast: 'Se produjo un error al ejecutar la acción "{{actionName}}" en las filas seleccionadas. Por favor, revisa la implementación del código y vuelve a intentarlo.',
|
|
92
|
+
success_toast: 'La acción "{{actionName}}" se ejecutó correctamente en las filas seleccionadas.',
|
|
93
|
+
},
|
|
82
94
|
},
|
|
83
95
|
},
|
|
84
96
|
general: {
|
package/lib/esm/locales/fr.d.ts
CHANGED
|
@@ -57,8 +57,8 @@ declare const _default: {
|
|
|
57
57
|
table_actions: {
|
|
58
58
|
filters_by_rows: {
|
|
59
59
|
all_rows: string;
|
|
60
|
-
valid_rows: string;
|
|
61
60
|
invalid_rows: string;
|
|
61
|
+
duplicates: string;
|
|
62
62
|
};
|
|
63
63
|
search_rows: {
|
|
64
64
|
tooltip: string;
|
|
@@ -74,10 +74,22 @@ declare const _default: {
|
|
|
74
74
|
yes_delete: string;
|
|
75
75
|
select_rows: string;
|
|
76
76
|
delete_row: string;
|
|
77
|
+
deleted_message: string;
|
|
77
78
|
};
|
|
78
79
|
export_your_data: {
|
|
79
80
|
tooltip: string;
|
|
80
81
|
};
|
|
82
|
+
transformed_records: {
|
|
83
|
+
auto_corrections_done: string;
|
|
84
|
+
example: string;
|
|
85
|
+
auto_corrections_amount: string;
|
|
86
|
+
};
|
|
87
|
+
custom_actions: {
|
|
88
|
+
label: string;
|
|
89
|
+
general_error_toast: string;
|
|
90
|
+
error_toast: string;
|
|
91
|
+
success_toast: string;
|
|
92
|
+
};
|
|
81
93
|
};
|
|
82
94
|
};
|
|
83
95
|
general: {
|
package/lib/esm/locales/fr.js
CHANGED
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
optional_headers: "En-têtes facultatifs",
|
|
26
26
|
},
|
|
27
27
|
title: "Téléchargez un fichier pour importer vos données",
|
|
28
|
-
description: "\n T\u00E9l\u00E9chargez
|
|
28
|
+
description: "\n T\u00E9l\u00E9chargez tout fichier de tableur .csv, .xls, .xlsx avec n'importe quel ensemble de\n colonnes tant qu'il a une seule ligne par ligne.\n ",
|
|
29
29
|
loading: {
|
|
30
30
|
title: "Téléchargement en cours...",
|
|
31
31
|
},
|
|
@@ -58,8 +58,8 @@ export default {
|
|
|
58
58
|
table_actions: {
|
|
59
59
|
filters_by_rows: {
|
|
60
60
|
all_rows: "Toutes les lignes",
|
|
61
|
-
valid_rows: "Lignes valides",
|
|
62
61
|
invalid_rows: "Lignes invalides",
|
|
62
|
+
duplicates: "Doublons",
|
|
63
63
|
},
|
|
64
64
|
search_rows: {
|
|
65
65
|
tooltip: "Rechercher quelque chose",
|
|
@@ -75,10 +75,22 @@ export default {
|
|
|
75
75
|
yes_delete: "Oui, supprimer",
|
|
76
76
|
select_rows: "Sélectionnez les lignes à supprimer",
|
|
77
77
|
delete_row: "Supprimer la ligne",
|
|
78
|
+
deleted_message: "{{length}} lignes supprimées",
|
|
78
79
|
},
|
|
79
80
|
export_your_data: {
|
|
80
81
|
tooltip: "Exporter vos données",
|
|
81
82
|
},
|
|
83
|
+
transformed_records: {
|
|
84
|
+
auto_corrections_done: "cellules corrigées automatiquement",
|
|
85
|
+
example: "Exemple",
|
|
86
|
+
auto_corrections_amount: "Nous avons corrigé automatiquement {{amount}} problèmes.",
|
|
87
|
+
},
|
|
88
|
+
custom_actions: {
|
|
89
|
+
label: "Plus d'actions",
|
|
90
|
+
general_error_toast: "Il n'a pas été possible d'exécuter l'action. Veuillez réessayer.",
|
|
91
|
+
error_toast: "Une erreur est survenue lors de l'ex\u00E9cution de l'action \"{{actionName}}\" sur les lignes s\u00E9lectionn\u00E9es. Veuillez v\u00E9rifier la mise en \u0153uvre du code et r\u00E9essayer.",
|
|
92
|
+
success_toast: "L'action \"{{actionName}}\" a \u00E9t\u00E9 ex\u00E9cut\u00E9e avec succ\u00E8s sur les lignes s\u00E9lectionn\u00E9es.",
|
|
93
|
+
},
|
|
82
94
|
},
|
|
83
95
|
},
|
|
84
96
|
general: {
|