@importcsv/react 0.2.1 → 0.2.3
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/README.md +100 -427
- package/build/bundled/bundled-styles.d.ts +1 -0
- package/build/bundled/components/CSVImporter/index.d.ts +5 -0
- package/build/{importer → bundled/importer}/components/Box/types/index.d.ts +1 -2
- package/build/{importer → bundled/importer}/components/Checkbox/types/index.d.ts +1 -1
- package/build/{importer → bundled/importer}/components/Input/types/index.d.ts +1 -1
- package/build/bundled/importer/components/Root/index.d.ts +10 -0
- package/build/bundled/importer/components/StepLayout/index.d.ts +18 -0
- package/build/{importer → bundled/importer}/components/Table/index.d.ts +2 -2
- package/build/bundled/importer/components/Tooltip/types/index.d.ts +11 -0
- package/build/bundled/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
- package/build/bundled/importer/components/VirtualTable/index.d.ts +17 -0
- package/build/bundled/importer/components/ui/alert.d.ts +10 -0
- package/build/{importer → bundled/importer}/components/ui/button.d.ts +4 -4
- package/build/bundled/importer/components/ui/card.d.ts +19 -0
- package/build/bundled/importer/components/ui/checkbox.d.ts +7 -0
- package/build/bundled/importer/components/ui/dialog.d.ts +38 -0
- package/build/bundled/importer/components/ui/flex.d.ts +23 -0
- package/build/bundled/importer/components/ui/input.d.ts +6 -0
- package/build/bundled/importer/components/ui/select.d.ts +13 -0
- package/build/bundled/importer/components/ui/switch.d.ts +7 -0
- package/build/bundled/importer/components/ui/toast.d.ts +22 -0
- package/build/bundled/importer/components/ui/tooltip.d.ts +20 -0
- package/build/{importer → bundled/importer}/components/ui/use-toast.d.ts +5 -3
- package/build/{importer → bundled/importer}/features/uploader/types/index.d.ts +1 -1
- package/build/bundled/importer/features/validation/components/TransformPanel.d.ts +18 -0
- package/build/{importer → bundled/importer}/hooks/useEventListener.d.ts +1 -1
- package/build/{importer → bundled/importer}/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/build/bundled/importer/providers/Theme.d.ts +10 -0
- package/build/bundled/importer/providers/index.d.ts +5 -0
- package/build/bundled/importer/providers/types/index.d.ts +10 -0
- package/build/bundled/importer/theme/index.d.ts +8 -0
- package/build/bundled/importer/theme/presets.d.ts +314 -0
- package/build/bundled/importer/theme/runtime.d.ts +62 -0
- package/build/bundled/importer/theme/styles.d.ts +120 -0
- package/build/bundled/importer/utils/errorAnalysis.d.ts +25 -0
- package/build/bundled/importer/utils/getStringLengthOfChildren.d.ts +2 -0
- package/build/bundled/importer/utils/themeUtils.d.ts +21 -0
- package/build/bundled/index.esm.js +8367 -0
- package/build/bundled/index.esm.js.map +1 -0
- package/build/bundled/index.js +112 -0
- package/build/bundled/index.js.map +1 -0
- package/build/bundled/index.umd.js +112 -0
- package/build/bundled/index.umd.js.map +1 -0
- package/build/bundled/js.d.ts +12 -0
- package/build/{types → bundled/types}/index.d.ts +27 -0
- package/build/bundled/types/theme.d.ts +153 -0
- package/build/bundled/validation/transformationStages.d.ts +26 -0
- package/build/bundled/validation/transformer.d.ts +17 -0
- package/build/preact/bundled-styles.d.ts +1 -0
- package/build/preact/components/CSVImporter/index.d.ts +5 -0
- package/build/preact/i18n/de.d.ts +32 -0
- package/build/preact/i18n/es.d.ts +32 -0
- package/build/preact/i18n/fr.d.ts +32 -0
- package/build/preact/i18n/i18n.d.ts +6 -0
- package/build/preact/i18n/it.d.ts +32 -0
- package/build/preact/i18n/useTranslation.d.ts +9 -0
- package/build/preact/importer/components/Box/index.d.ts +2 -0
- package/build/preact/importer/components/Box/types/index.d.ts +5 -0
- package/build/preact/importer/components/Checkbox/index.d.ts +2 -0
- package/build/preact/importer/components/Checkbox/types/index.d.ts +4 -0
- package/build/preact/importer/components/Errors/index.d.ts +4 -0
- package/build/preact/importer/components/Input/index.d.ts +2 -0
- package/build/preact/importer/components/Input/types/index.d.ts +18 -0
- package/build/preact/importer/components/Root/index.d.ts +10 -0
- package/build/preact/importer/components/StepLayout/index.d.ts +18 -0
- package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
- package/build/preact/importer/components/Stepper/index.d.ts +2 -0
- package/build/preact/importer/components/Stepper/types/index.d.ts +14 -0
- package/build/preact/importer/components/Table/index.d.ts +9 -0
- package/build/preact/importer/components/ToggleFilter/index.d.ts +3 -0
- package/build/preact/importer/components/ToggleFilter/types/index.d.ts +11 -0
- package/build/preact/importer/components/Tooltip/index.d.ts +2 -0
- package/build/preact/importer/components/Tooltip/types/index.d.ts +11 -0
- package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
- package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
- package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +2 -0
- package/build/preact/importer/components/VirtualTable/index.d.ts +17 -0
- package/build/preact/importer/components/ui/alert.d.ts +10 -0
- package/build/preact/importer/components/ui/button.d.ts +12 -0
- package/build/preact/importer/components/ui/card.d.ts +19 -0
- package/build/preact/importer/components/ui/checkbox.d.ts +7 -0
- package/build/preact/importer/components/ui/dialog.d.ts +38 -0
- package/build/preact/importer/components/ui/flex.d.ts +23 -0
- package/build/preact/importer/components/ui/input.d.ts +6 -0
- package/build/preact/importer/components/ui/select.d.ts +13 -0
- package/build/preact/importer/components/ui/switch.d.ts +7 -0
- package/build/preact/importer/components/ui/toast.d.ts +22 -0
- package/build/preact/importer/components/ui/toaster.d.ts +1 -0
- package/build/preact/importer/components/ui/tooltip.d.ts +20 -0
- package/build/preact/importer/components/ui/use-toast.d.ts +46 -0
- package/build/preact/importer/features/complete/index.d.ts +2 -0
- package/build/preact/importer/features/complete/types/index.d.ts +5 -0
- package/build/preact/importer/features/configure-import/index.d.ts +13 -0
- package/build/preact/importer/features/configure-import/types/index.d.ts +13 -0
- package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
- package/build/preact/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
- package/build/preact/importer/features/main/index.d.ts +2 -0
- package/build/preact/importer/features/main/types/index.d.ts +16 -0
- package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
- package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
- package/build/preact/importer/features/map-columns/index.d.ts +2 -0
- package/build/preact/importer/features/map-columns/types/index.d.ts +16 -0
- package/build/preact/importer/features/row-selection/index.d.ts +2 -0
- package/build/preact/importer/features/row-selection/types/index.d.ts +8 -0
- package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
- package/build/preact/importer/features/uploader/index.d.ts +2 -0
- package/build/preact/importer/features/uploader/types/index.d.ts +9 -0
- package/build/preact/importer/features/validation/Validation.d.ts +2 -0
- package/build/preact/importer/features/validation/components/TransformModal.d.ts +18 -0
- package/build/preact/importer/features/validation/components/TransformPanel.d.ts +18 -0
- package/build/preact/importer/features/validation/index.d.ts +1 -0
- package/build/preact/importer/features/validation/types.d.ts +32 -0
- package/build/preact/importer/hooks/useClickOutside.d.ts +1 -0
- package/build/preact/importer/hooks/useCustomStyles.d.ts +1 -0
- package/build/preact/importer/hooks/useEventListener.d.ts +4 -0
- package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/build/preact/importer/hooks/useRect.d.ts +12 -0
- package/build/preact/importer/hooks/useWindowSize.d.ts +1 -0
- package/build/preact/importer/providers/Theme.d.ts +10 -0
- package/build/preact/importer/providers/index.d.ts +5 -0
- package/build/preact/importer/providers/types/index.d.ts +10 -0
- package/build/preact/importer/services/api.d.ts +1 -0
- package/build/preact/importer/services/mapping.d.ts +31 -0
- package/build/preact/importer/services/transformation.d.ts +70 -0
- package/build/preact/importer/settings/theme/colors.d.ts +4 -0
- package/build/preact/importer/settings/theme/index.d.ts +2 -0
- package/build/preact/importer/settings/theme/sizes.d.ts +7 -0
- package/build/preact/importer/stores/theme.d.ts +17 -0
- package/build/preact/importer/theme/index.d.ts +8 -0
- package/build/preact/importer/theme/presets.d.ts +314 -0
- package/build/preact/importer/theme/runtime.d.ts +62 -0
- package/build/preact/importer/theme/styles.d.ts +120 -0
- package/build/preact/importer/types/index.d.ts +9 -0
- package/build/preact/importer/utils/colorUtils.d.ts +48 -0
- package/build/preact/importer/utils/errorAnalysis.d.ts +25 -0
- package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +2 -0
- package/build/preact/importer/utils/stringSimilarity.d.ts +1 -0
- package/build/preact/importer/utils/template.d.ts +2 -0
- package/build/preact/importer/utils/themeUtils.d.ts +21 -0
- package/build/preact/importer/utils/utils.d.ts +19 -0
- package/build/preact/index.d.ts +4 -0
- package/build/preact/index.esm.js +7548 -0
- package/build/preact/index.esm.js.map +1 -0
- package/build/preact/index.js +112 -0
- package/build/preact/index.js.map +1 -0
- package/build/preact/js.d.ts +12 -0
- package/build/preact/settings/defaults.d.ts +3 -0
- package/build/preact/styles.d.ts +1 -0
- package/build/preact/types/index.d.ts +132 -0
- package/build/preact/types/theme.d.ts +153 -0
- package/build/preact/utils/cn.d.ts +6 -0
- package/build/preact/validation/transformationStages.d.ts +26 -0
- package/build/preact/validation/transformer.d.ts +17 -0
- package/build/preact/validation/validator.d.ts +23 -0
- package/build/react/bundled-styles.d.ts +1 -0
- package/build/react/components/CSVImporter/index.d.ts +5 -0
- package/build/react/i18n/de.d.ts +32 -0
- package/build/react/i18n/es.d.ts +32 -0
- package/build/react/i18n/fr.d.ts +32 -0
- package/build/react/i18n/i18n.d.ts +6 -0
- package/build/react/i18n/it.d.ts +32 -0
- package/build/react/i18n/useTranslation.d.ts +9 -0
- package/build/react/importer/components/Box/index.d.ts +2 -0
- package/build/react/importer/components/Box/types/index.d.ts +5 -0
- package/build/react/importer/components/Checkbox/index.d.ts +2 -0
- package/build/react/importer/components/Checkbox/types/index.d.ts +4 -0
- package/build/react/importer/components/Errors/index.d.ts +4 -0
- package/build/react/importer/components/Input/index.d.ts +2 -0
- package/build/react/importer/components/Input/types/index.d.ts +18 -0
- package/build/react/importer/components/Root/index.d.ts +10 -0
- package/build/react/importer/components/StepLayout/index.d.ts +18 -0
- package/build/react/importer/components/Stepper/hooks/useStepper.d.ts +2 -0
- package/build/react/importer/components/Stepper/index.d.ts +2 -0
- package/build/react/importer/components/Stepper/types/index.d.ts +14 -0
- package/build/react/importer/components/Table/index.d.ts +9 -0
- package/build/react/importer/components/ToggleFilter/index.d.ts +3 -0
- package/build/react/importer/components/ToggleFilter/types/index.d.ts +11 -0
- package/build/react/importer/components/Tooltip/index.d.ts +2 -0
- package/build/react/importer/components/Tooltip/types/index.d.ts +11 -0
- package/build/react/importer/components/UploaderWrapper/NativeDropzone.d.ts +11 -0
- package/build/react/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
- package/build/react/importer/components/UploaderWrapper/types/index.d.ts +2 -0
- package/build/react/importer/components/VirtualTable/index.d.ts +17 -0
- package/build/react/importer/components/ui/alert.d.ts +10 -0
- package/build/react/importer/components/ui/button.d.ts +12 -0
- package/build/react/importer/components/ui/card.d.ts +19 -0
- package/build/react/importer/components/ui/checkbox.d.ts +7 -0
- package/build/react/importer/components/ui/dialog.d.ts +38 -0
- package/build/react/importer/components/ui/flex.d.ts +23 -0
- package/build/react/importer/components/ui/input.d.ts +6 -0
- package/build/react/importer/components/ui/select.d.ts +13 -0
- package/build/react/importer/components/ui/switch.d.ts +7 -0
- package/build/react/importer/components/ui/toast.d.ts +22 -0
- package/build/react/importer/components/ui/toaster.d.ts +1 -0
- package/build/react/importer/components/ui/tooltip.d.ts +20 -0
- package/build/react/importer/components/ui/use-toast.d.ts +46 -0
- package/build/react/importer/features/complete/index.d.ts +2 -0
- package/build/react/importer/features/complete/types/index.d.ts +5 -0
- package/build/react/importer/features/configure-import/index.d.ts +13 -0
- package/build/react/importer/features/configure-import/types/index.d.ts +13 -0
- package/build/react/importer/features/main/hooks/useMutableLocalStorage.d.ts +1 -0
- package/build/react/importer/features/main/hooks/useStepNavigation.d.ts +17 -0
- package/build/react/importer/features/main/index.d.ts +2 -0
- package/build/react/importer/features/main/types/index.d.ts +16 -0
- package/build/react/importer/features/map-columns/components/DropDownFields.d.ts +21 -0
- package/build/react/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +16 -0
- package/build/react/importer/features/map-columns/index.d.ts +2 -0
- package/build/react/importer/features/map-columns/types/index.d.ts +16 -0
- package/build/react/importer/features/row-selection/index.d.ts +2 -0
- package/build/react/importer/features/row-selection/types/index.d.ts +8 -0
- package/build/react/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
- package/build/react/importer/features/uploader/index.d.ts +2 -0
- package/build/react/importer/features/uploader/types/index.d.ts +9 -0
- package/build/react/importer/features/validation/Validation.d.ts +2 -0
- package/build/react/importer/features/validation/components/TransformModal.d.ts +18 -0
- package/build/react/importer/features/validation/components/TransformPanel.d.ts +18 -0
- package/build/react/importer/features/validation/index.d.ts +1 -0
- package/build/react/importer/features/validation/types.d.ts +32 -0
- package/build/react/importer/hooks/useClickOutside.d.ts +1 -0
- package/build/react/importer/hooks/useCustomStyles.d.ts +1 -0
- package/build/react/importer/hooks/useEventListener.d.ts +4 -0
- package/build/react/importer/hooks/useIsomorphicLayoutEffect.d.ts +3 -0
- package/build/react/importer/hooks/useRect.d.ts +12 -0
- package/build/react/importer/hooks/useWindowSize.d.ts +1 -0
- package/build/react/importer/providers/Theme.d.ts +10 -0
- package/build/react/importer/providers/index.d.ts +5 -0
- package/build/react/importer/providers/types/index.d.ts +10 -0
- package/build/react/importer/services/api.d.ts +1 -0
- package/build/react/importer/services/mapping.d.ts +31 -0
- package/build/react/importer/services/transformation.d.ts +70 -0
- package/build/react/importer/settings/theme/colors.d.ts +4 -0
- package/build/react/importer/settings/theme/index.d.ts +2 -0
- package/build/react/importer/settings/theme/sizes.d.ts +7 -0
- package/build/react/importer/stores/theme.d.ts +17 -0
- package/build/react/importer/theme/index.d.ts +8 -0
- package/build/react/importer/theme/presets.d.ts +314 -0
- package/build/react/importer/theme/runtime.d.ts +62 -0
- package/build/react/importer/theme/styles.d.ts +120 -0
- package/build/react/importer/types/index.d.ts +9 -0
- package/build/react/importer/utils/colorUtils.d.ts +48 -0
- package/build/react/importer/utils/errorAnalysis.d.ts +25 -0
- package/build/react/importer/utils/getStringLengthOfChildren.d.ts +2 -0
- package/build/react/importer/utils/stringSimilarity.d.ts +1 -0
- package/build/react/importer/utils/template.d.ts +2 -0
- package/build/react/importer/utils/themeUtils.d.ts +21 -0
- package/build/react/importer/utils/utils.d.ts +19 -0
- package/build/react/index.d.ts +4 -0
- package/build/react/index.esm.js +7351 -0
- package/build/react/index.esm.js.map +1 -0
- package/build/react/index.js +112 -0
- package/build/react/index.js.map +1 -0
- package/build/react/js.d.ts +12 -0
- package/build/react/settings/defaults.d.ts +3 -0
- package/build/react/styles.d.ts +1 -0
- package/build/react/types/index.d.ts +132 -0
- package/build/react/types/theme.d.ts +153 -0
- package/build/react/utils/cn.d.ts +6 -0
- package/build/react/validation/transformationStages.d.ts +26 -0
- package/build/react/validation/transformer.d.ts +17 -0
- package/build/react/validation/validator.d.ts +23 -0
- package/package.json +63 -31
- package/build/bundle.css +0 -1
- package/build/bundled-styles.d.ts +0 -1
- package/build/components/CSVImporter/index.d.ts +0 -32
- package/build/importer/components/IframeWrapper/index.d.ts +0 -25
- package/build/importer/components/ImporterLayout.d.ts +0 -15
- package/build/importer/components/Table/types/index.d.ts +0 -42
- package/build/importer/components/Tooltip/types/index.d.ts +0 -11
- package/build/importer/components/ui/alert.d.ts +0 -8
- package/build/importer/components/ui/card.d.ts +0 -8
- package/build/importer/components/ui/checkbox.d.ts +0 -4
- package/build/importer/components/ui/dialog.d.ts +0 -19
- package/build/importer/components/ui/flex.d.ts +0 -14
- package/build/importer/components/ui/input.d.ts +0 -5
- package/build/importer/components/ui/select.d.ts +0 -13
- package/build/importer/components/ui/switch.d.ts +0 -4
- package/build/importer/components/ui/toast.d.ts +0 -15
- package/build/importer/components/ui/tooltip.d.ts +0 -13
- package/build/importer/hooks/useDemoData.d.ts +0 -16
- package/build/importer/hooks/useImporterSchema.d.ts +0 -21
- package/build/importer/providers/Theme.d.ts +0 -5
- package/build/importer/providers/index.d.ts +0 -5
- package/build/importer/providers/types/index.d.ts +0 -4
- package/build/importer/services/dataProcessor.d.ts +0 -38
- package/build/importer/utils/getStringLengthOfChildren.d.ts +0 -2
- package/build/index.esm.js +0 -14394
- package/build/index.esm.js.map +0 -1
- package/build/index.js +0 -327
- package/build/index.js.map +0 -1
- package/build/js.d.ts +0 -39
- package/build/validation/transformer.d.ts +0 -33
- /package/build/{i18n → bundled/i18n}/de.d.ts +0 -0
- /package/build/{i18n → bundled/i18n}/es.d.ts +0 -0
- /package/build/{i18n → bundled/i18n}/fr.d.ts +0 -0
- /package/build/{i18n → bundled/i18n}/i18n.d.ts +0 -0
- /package/build/{i18n → bundled/i18n}/it.d.ts +0 -0
- /package/build/{i18n → bundled/i18n}/useTranslation.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Box/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Checkbox/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Errors/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Input/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Stepper/hooks/useStepper.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Stepper/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Stepper/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/ToggleFilter/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/ToggleFilter/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/Tooltip/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/UploaderWrapper/UploaderWrapper.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/UploaderWrapper/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/components/ui/toaster.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/complete/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/complete/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/configure-import/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/configure-import/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/main/hooks/useMutableLocalStorage.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/main/hooks/useStepNavigation.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/main/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/main/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/map-columns/components/DropDownFields.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/map-columns/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/map-columns/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/row-selection/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/row-selection/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/uploader/hooks/useTemplateTable.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/uploader/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/validation/Validation.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/validation/components/TransformModal.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/validation/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/features/validation/types.d.ts +0 -0
- /package/build/{importer → bundled/importer}/hooks/useClickOutside.d.ts +0 -0
- /package/build/{importer → bundled/importer}/hooks/useCustomStyles.d.ts +0 -0
- /package/build/{importer → bundled/importer}/hooks/useRect.d.ts +0 -0
- /package/build/{importer → bundled/importer}/hooks/useWindowSize.d.ts +0 -0
- /package/build/{importer → bundled/importer}/services/api.d.ts +0 -0
- /package/build/{importer → bundled/importer}/services/mapping.d.ts +0 -0
- /package/build/{importer → bundled/importer}/services/transformation.d.ts +0 -0
- /package/build/{importer → bundled/importer}/settings/theme/colors.d.ts +0 -0
- /package/build/{importer → bundled/importer}/settings/theme/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/settings/theme/sizes.d.ts +0 -0
- /package/build/{importer → bundled/importer}/stores/theme.d.ts +0 -0
- /package/build/{importer → bundled/importer}/types/index.d.ts +0 -0
- /package/build/{importer → bundled/importer}/utils/colorUtils.d.ts +0 -0
- /package/build/{importer → bundled/importer}/utils/stringSimilarity.d.ts +0 -0
- /package/build/{importer → bundled/importer}/utils/template.d.ts +0 -0
- /package/build/{importer → bundled/importer}/utils/utils.d.ts +0 -0
- /package/build/{index.d.ts → bundled/index.d.ts} +0 -0
- /package/build/{settings → bundled/settings}/defaults.d.ts +0 -0
- /package/build/{styles.d.ts → bundled/styles.d.ts} +0 -0
- /package/build/{utils → bundled/utils}/cn.d.ts +0 -0
- /package/build/{validation → bundled/validation}/validator.d.ts +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
3
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const DialogHeader: {
|
|
10
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
declare const DialogFooter: {
|
|
14
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
-
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
interface FlexProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
direction?: "row" | "column" | "row-reverse" | "column-reverse";
|
|
4
|
-
align?: "start" | "center" | "end" | "stretch" | "baseline";
|
|
5
|
-
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
6
|
-
wrap?: boolean;
|
|
7
|
-
gap?: number | string;
|
|
8
|
-
}
|
|
9
|
-
declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const Box: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const HStack: React.ForwardRefExoticComponent<Omit<FlexProps, "direction"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const VStack: React.ForwardRefExoticComponent<Omit<FlexProps, "direction"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const Text: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export { Flex, Box, HStack, VStack, Text };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
4
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
6
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
3
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
4
|
-
export { Switch };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
4
|
-
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
-
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
7
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
14
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
15
|
-
export { type ToastProps, type ToastActionElement, ToastProvider, ToastViewport, Toast, ToastTitle, ToastDescription, ToastClose, ToastAction, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
-
declare const TooltipRoot: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
interface TooltipProps {
|
|
8
|
-
content: React.ReactNode;
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
delayDuration?: number;
|
|
11
|
-
}
|
|
12
|
-
declare const Tooltip: ({ content, children, delayDuration }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { Tooltip, TooltipRoot, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FileData } from '../features/main/types';
|
|
2
|
-
interface DemoDataConfig {
|
|
3
|
-
fileName: string;
|
|
4
|
-
csvContent: string;
|
|
5
|
-
}
|
|
6
|
-
interface UseDemoDataResult {
|
|
7
|
-
data: FileData | null;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
error: string | null;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Hook to parse and manage demo CSV data
|
|
13
|
-
* Used for demonstrating the importer with sample data
|
|
14
|
-
*/
|
|
15
|
-
export declare function useDemoData(demoData?: DemoDataConfig): UseDemoDataResult;
|
|
16
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Column } from '../../types';
|
|
2
|
-
interface UseImporterSchemaResult {
|
|
3
|
-
columns: Column[];
|
|
4
|
-
includeUnmatchedColumns: boolean;
|
|
5
|
-
filterInvalidRows: boolean;
|
|
6
|
-
disableOnInvalidRows: boolean;
|
|
7
|
-
error: string | null;
|
|
8
|
-
isLoading: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface UseImporterSchemaOptions {
|
|
11
|
-
importerKey?: string;
|
|
12
|
-
backendUrl: string;
|
|
13
|
-
propColumns?: Column[];
|
|
14
|
-
isStandaloneMode: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Hook to fetch and manage importer schema
|
|
18
|
-
* Handles both standalone mode (using provided columns) and backend mode (fetching from API)
|
|
19
|
-
*/
|
|
20
|
-
export declare function useImporterSchema({ importerKey, backendUrl, propColumns, isStandaloneMode }: UseImporterSchemaOptions): UseImporterSchemaResult;
|
|
21
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Column, ColumnMappingDictionary } from '../../types';
|
|
2
|
-
import { FileData } from '../features/main/types';
|
|
3
|
-
interface ProcessedData {
|
|
4
|
-
data: Record<string, any>;
|
|
5
|
-
unmapped?: Record<string, any>;
|
|
6
|
-
}
|
|
7
|
-
interface ProcessDataOptions {
|
|
8
|
-
data: FileData;
|
|
9
|
-
columnMapping: ColumnMappingDictionary;
|
|
10
|
-
selectedHeaderRow: number | null;
|
|
11
|
-
includeUnmatchedColumns: boolean;
|
|
12
|
-
columns: Column[];
|
|
13
|
-
}
|
|
14
|
-
interface SubmitDataOptions {
|
|
15
|
-
processedData: ProcessedData[];
|
|
16
|
-
importerKey?: string;
|
|
17
|
-
backendUrl: string;
|
|
18
|
-
user?: Record<string, any>;
|
|
19
|
-
metadata?: Record<string, any>;
|
|
20
|
-
columnMapping: ColumnMappingDictionary;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Process validated data and prepare it for submission
|
|
24
|
-
*/
|
|
25
|
-
export declare function processValidatedData({ data, columnMapping, selectedHeaderRow, includeUnmatchedColumns, columns }: ProcessDataOptions): ProcessedData[];
|
|
26
|
-
/**
|
|
27
|
-
* Submit processed data to the backend
|
|
28
|
-
*/
|
|
29
|
-
export declare function submitDataToBackend({ processedData, importerKey, backendUrl, user, metadata, columnMapping }: SubmitDataOptions): Promise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* Generate CSV template for download
|
|
32
|
-
*/
|
|
33
|
-
export declare function generateTemplateCSV(columns: Column[]): string;
|
|
34
|
-
/**
|
|
35
|
-
* Download template CSV file
|
|
36
|
-
*/
|
|
37
|
-
export declare function downloadTemplate(columns: Column[], fileName?: string): void;
|
|
38
|
-
export {};
|