@importcsv/react 0.2.14 → 0.4.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/README.md +2 -0
- package/build/App.d.ts +2 -0
- package/build/bundled/index.esm.js +7797 -4626
- package/build/bundled/index.esm.js.map +1 -1
- package/build/bundled/index.js +58 -31
- package/build/bundled/index.js.map +1 -1
- package/build/bundled/index.umd.js +58 -31
- package/build/bundled/index.umd.js.map +1 -1
- package/build/components/CSVImporter/index.d.ts +55 -0
- package/build/components/CSVImporterHeadless.d.ts +46 -0
- package/build/components/ColumnMapper.d.ts +28 -0
- package/build/{preact/components → components}/Modal/index.d.ts +1 -1
- package/build/components/Uploader.d.ts +27 -0
- package/build/components/Validator.d.ts +28 -0
- package/build/components/__tests__/ColumnMapper.test.d.ts +1 -0
- package/build/components/__tests__/Uploader.test.d.ts +1 -0
- package/build/components/__tests__/Validator.test.d.ts +1 -0
- package/build/components/index.d.ts +3 -0
- package/build/config/index.d.ts +5 -0
- package/build/headless/__tests__/integration.test.d.ts +10 -0
- package/build/headless/__tests__/root.test.d.ts +1 -0
- package/build/headless/__tests__/root.types.test-d.d.ts +1 -0
- package/build/headless/__tests__/slot-components.test.d.ts +1 -0
- package/build/headless/__tests__/validator.test.d.ts +1 -0
- package/build/headless/back-button.d.ts +29 -0
- package/build/headless/index.d.ts +45 -0
- package/build/headless/next-button.d.ts +29 -0
- package/build/headless/root.d.ts +40 -0
- package/build/headless/submit-button.d.ts +29 -0
- package/build/headless/types.d.ts +52 -0
- package/build/headless/upload-trigger.d.ts +29 -0
- package/build/headless/utils/slot.d.ts +20 -0
- package/build/headless/utils/zodSchemaToColumns.d.ts +25 -0
- package/build/headless/utils/zodSchemaToColumns.test.d.ts +1 -0
- package/build/headless/validator.d.ts +28 -0
- package/build/importer/components/Box/index.d.ts +2 -0
- package/build/importer/components/Box/index.test.d.ts +1 -0
- package/build/{preact/importer → importer}/components/Box/types/index.d.ts +1 -0
- package/build/importer/components/Checkbox/index.d.ts +3 -0
- package/build/importer/components/Checkbox/index.test.d.ts +1 -0
- package/build/importer/components/Checkbox/types/index.d.ts +8 -0
- package/build/{bundled/importer → importer}/components/Errors/index.d.ts +1 -1
- package/build/{bundled/importer → importer}/components/Input/index.d.ts +2 -2
- package/build/importer/components/Input/index.test.d.ts +1 -0
- package/build/importer/components/Input/types/index.d.ts +24 -0
- package/build/importer/components/Root/index.d.ts +2 -0
- package/build/{bundled/importer → importer}/components/StepLayout/index.d.ts +3 -2
- package/build/importer/components/Stepper/hooks/useStepper.d.ts +4 -0
- package/build/importer/components/Stepper/hooks/useStepper.test.d.ts +1 -0
- package/build/importer/components/Stepper/index.d.ts +2 -0
- package/build/importer/components/Stepper/index.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/components/Stepper/types/index.d.ts +3 -3
- package/build/{bundled/importer → importer}/components/Table/index.d.ts +2 -2
- package/build/{bundled/importer → importer}/components/Table/types/index.d.ts +6 -5
- package/build/importer/components/ToggleFilter/index.d.ts +3 -0
- package/build/{bundled/importer → importer}/components/Tooltip/index.d.ts +2 -2
- package/build/{preact/importer → importer}/components/Tooltip/types/index.d.ts +3 -3
- package/build/{bundled/importer → importer}/components/UploaderWrapper/NativeDropzone.d.ts +3 -2
- package/build/importer/components/UploaderWrapper/UploaderWrapper.d.ts +2 -0
- package/build/{bundled/importer → importer}/components/UploaderWrapper/types/index.d.ts +1 -1
- package/build/{preact/importer → importer}/components/VirtualTable/index.d.ts +3 -3
- package/build/importer/components/VirtualTable/index.test.d.ts +1 -0
- package/build/importer/components/ui/alert.d.ts +15 -0
- package/build/{bundled/importer → importer}/components/ui/button.d.ts +8 -5
- package/build/importer/components/ui/card.d.ts +20 -0
- package/build/importer/components/ui/checkbox.d.ts +10 -0
- package/build/importer/components/ui/dialog.d.ts +39 -0
- package/build/importer/components/ui/flex.d.ts +24 -0
- package/build/importer/components/ui/input.d.ts +8 -0
- package/build/importer/components/ui/select.d.ts +17 -0
- package/build/importer/components/ui/switch.d.ts +11 -0
- package/build/importer/components/ui/toast.d.ts +22 -0
- package/build/importer/components/ui/toaster.d.ts +2 -0
- package/build/importer/components/ui/tooltip.d.ts +25 -0
- package/build/{preact/importer → importer}/components/ui/use-toast.d.ts +2 -2
- package/build/importer/features/complete/index.d.ts +2 -0
- package/build/{bundled/importer → importer}/features/configure-import/index.d.ts +2 -1
- package/build/importer/features/main/hooks/useMutableLocalStorage.test.d.ts +1 -0
- package/build/{preact/importer → importer}/features/main/hooks/useStepNavigation.d.ts +1 -1
- package/build/importer/features/main/hooks/useStepNavigation.test.d.ts +1 -0
- package/build/importer/features/main/index.d.ts +2 -0
- package/build/{bundled/importer → importer}/features/map-columns/components/DropDownFields.d.ts +3 -2
- package/build/{bundled/importer → importer}/features/map-columns/hooks/useMapColumnsTable.d.ts +6 -5
- package/build/importer/features/map-columns/index.d.ts +3 -0
- package/build/{bundled/importer → importer}/features/map-columns/types/index.d.ts +2 -2
- package/build/{bundled/importer → importer}/features/row-selection/index.d.ts +3 -2
- package/build/{preact/importer → importer}/features/row-selection/types/index.d.ts +1 -1
- package/build/importer/features/uploader/hooks/useTemplateTable.d.ts +10 -0
- package/build/{bundled/importer → importer}/features/uploader/index.d.ts +2 -2
- package/build/{bundled/importer → importer}/features/uploader/types/index.d.ts +3 -3
- package/build/importer/features/validation/Validation.d.ts +3 -0
- package/build/importer/features/validation/__tests__/Validation.zod.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/features/validation/components/TransformModal.d.ts +2 -1
- package/build/{bundled/importer → importer}/features/validation/components/TransformPanel.d.ts +2 -1
- package/build/{bundled/importer → importer}/features/validation/types.d.ts +5 -3
- package/build/importer/hooks/useClickOutside.test.d.ts +1 -0
- package/build/importer/hooks/useCustomStyles.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/hooks/useEventListener.d.ts +1 -1
- package/build/importer/hooks/useEventListener.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/build/importer/hooks/useIsomorphicLayoutEffect.test.d.ts +1 -0
- package/build/importer/hooks/useRect.test.d.ts +1 -0
- package/build/importer/hooks/useWindowSize.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/providers/Theme.d.ts +3 -3
- package/build/{bundled/importer → importer}/providers/index.d.ts +3 -3
- package/build/{preact/importer → importer}/providers/types/index.d.ts +1 -1
- package/build/importer/services/api.d.ts +1 -0
- package/build/importer/services/mapping.test.d.ts +1 -0
- package/build/importer/services/transformation.test.d.ts +1 -0
- package/build/importer/settings/theme/index.d.ts +2 -0
- package/build/{preact/importer → importer}/stores/theme.d.ts +3 -3
- package/build/{preact/importer → importer}/theme/runtime.d.ts +4 -0
- package/build/importer/utils/colorUtils.test.d.ts +1 -0
- package/build/importer/utils/errorAnalysis.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/utils/getStringLengthOfChildren.d.ts +1 -1
- package/build/importer/utils/getStringLengthOfChildren.test.d.ts +1 -0
- package/build/importer/utils/stringSimilarity.test.d.ts +1 -0
- package/build/{bundled/importer → importer}/utils/template.d.ts +1 -1
- package/build/importer/utils/template.test.d.ts +1 -0
- package/build/{preact/importer → importer}/utils/themeUtils.d.ts +4 -1
- package/build/importer/utils/themeUtils.test.d.ts +1 -0
- package/build/importer/utils/utils.test.d.ts +1 -0
- package/build/index.d.ts +10 -0
- package/build/index.dev.d.ts +1 -0
- package/build/js.d.ts +57 -0
- package/build/preact/index.esm.js +7219 -4047
- package/build/preact/index.esm.js.map +1 -1
- package/build/preact/index.js +58 -31
- package/build/preact/index.js.map +1 -1
- package/build/react/index.esm.js +7226 -4051
- package/build/react/index.esm.js.map +1 -1
- package/build/react/index.js +58 -31
- package/build/react/index.js.map +1 -1
- package/build/services/api.d.ts +50 -0
- package/build/services/apiClient.d.ts +55 -0
- package/build/{bundled/settings → settings}/defaults.d.ts +1 -1
- package/build/shims/react-compat-shim.d.ts +43 -0
- package/build/shims/react-hooks-shim.d.ts +2 -0
- package/build/test/helpers.d.ts +28 -0
- package/build/test/mocks/api.d.ts +8 -0
- package/build/test/mocks/localStorage.d.ts +6 -0
- package/build/test/setup.d.ts +1 -0
- package/build/{bundled/types → types}/index.d.ts +8 -3
- package/build/{bundled/utils → utils}/cn.d.ts +1 -1
- package/build/utils/cn.test.d.ts +1 -0
- package/package.json +35 -10
- package/build/bundled/components/CSVImporter/index.d.ts +0 -5
- package/build/bundled/components/Modal/index.d.ts +0 -12
- package/build/bundled/importer/components/Box/index.d.ts +0 -2
- package/build/bundled/importer/components/Box/types/index.d.ts +0 -5
- package/build/bundled/importer/components/Checkbox/index.d.ts +0 -2
- package/build/bundled/importer/components/Checkbox/types/index.d.ts +0 -4
- package/build/bundled/importer/components/Input/types/index.d.ts +0 -18
- package/build/bundled/importer/components/Root/index.d.ts +0 -10
- package/build/bundled/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
- package/build/bundled/importer/components/Stepper/index.d.ts +0 -2
- package/build/bundled/importer/components/ToggleFilter/index.d.ts +0 -3
- package/build/bundled/importer/components/Tooltip/types/index.d.ts +0 -11
- package/build/bundled/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
- package/build/bundled/importer/components/VirtualTable/index.d.ts +0 -17
- package/build/bundled/importer/components/ui/alert.d.ts +0 -13
- package/build/bundled/importer/components/ui/card.d.ts +0 -19
- package/build/bundled/importer/components/ui/checkbox.d.ts +0 -7
- package/build/bundled/importer/components/ui/dialog.d.ts +0 -38
- package/build/bundled/importer/components/ui/flex.d.ts +0 -23
- package/build/bundled/importer/components/ui/input.d.ts +0 -6
- package/build/bundled/importer/components/ui/select.d.ts +0 -13
- package/build/bundled/importer/components/ui/switch.d.ts +0 -7
- package/build/bundled/importer/components/ui/toast.d.ts +0 -22
- package/build/bundled/importer/components/ui/toaster.d.ts +0 -1
- package/build/bundled/importer/components/ui/tooltip.d.ts +0 -24
- package/build/bundled/importer/components/ui/use-toast.d.ts +0 -46
- package/build/bundled/importer/features/complete/index.d.ts +0 -2
- package/build/bundled/importer/features/main/hooks/useStepNavigation.d.ts +0 -17
- package/build/bundled/importer/features/main/index.d.ts +0 -2
- package/build/bundled/importer/features/map-columns/index.d.ts +0 -2
- package/build/bundled/importer/features/row-selection/types/index.d.ts +0 -8
- package/build/bundled/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
- package/build/bundled/importer/features/validation/Validation.d.ts +0 -2
- package/build/bundled/importer/providers/types/index.d.ts +0 -10
- package/build/bundled/importer/settings/theme/index.d.ts +0 -2
- package/build/bundled/importer/stores/theme.d.ts +0 -17
- package/build/bundled/importer/theme/runtime.d.ts +0 -62
- package/build/bundled/importer/utils/themeUtils.d.ts +0 -21
- package/build/bundled/index.d.ts +0 -5
- package/build/bundled/js.d.ts +0 -12
- package/build/preact/bundled-styles.d.ts +0 -1
- package/build/preact/components/CSVImporter/index.d.ts +0 -5
- package/build/preact/i18n/de.d.ts +0 -32
- package/build/preact/i18n/es.d.ts +0 -32
- package/build/preact/i18n/fr.d.ts +0 -32
- package/build/preact/i18n/i18n.d.ts +0 -6
- package/build/preact/i18n/it.d.ts +0 -32
- package/build/preact/i18n/useTranslation.d.ts +0 -9
- package/build/preact/importer/components/Box/index.d.ts +0 -2
- package/build/preact/importer/components/Checkbox/index.d.ts +0 -2
- package/build/preact/importer/components/Checkbox/types/index.d.ts +0 -4
- package/build/preact/importer/components/Errors/index.d.ts +0 -4
- package/build/preact/importer/components/Input/index.d.ts +0 -2
- package/build/preact/importer/components/Input/types/index.d.ts +0 -18
- package/build/preact/importer/components/Root/index.d.ts +0 -10
- package/build/preact/importer/components/StepLayout/index.d.ts +0 -18
- package/build/preact/importer/components/Stepper/hooks/useStepper.d.ts +0 -2
- package/build/preact/importer/components/Stepper/index.d.ts +0 -2
- package/build/preact/importer/components/Stepper/types/index.d.ts +0 -14
- package/build/preact/importer/components/Table/index.d.ts +0 -9
- package/build/preact/importer/components/Table/types/index.d.ts +0 -42
- package/build/preact/importer/components/ToggleFilter/index.d.ts +0 -3
- package/build/preact/importer/components/ToggleFilter/types/index.d.ts +0 -11
- package/build/preact/importer/components/Tooltip/index.d.ts +0 -2
- package/build/preact/importer/components/UploaderWrapper/NativeDropzone.d.ts +0 -11
- package/build/preact/importer/components/UploaderWrapper/UploaderWrapper.d.ts +0 -2
- package/build/preact/importer/components/UploaderWrapper/types/index.d.ts +0 -2
- package/build/preact/importer/components/ui/alert.d.ts +0 -13
- package/build/preact/importer/components/ui/button.d.ts +0 -12
- package/build/preact/importer/components/ui/card.d.ts +0 -19
- package/build/preact/importer/components/ui/checkbox.d.ts +0 -7
- package/build/preact/importer/components/ui/dialog.d.ts +0 -38
- package/build/preact/importer/components/ui/flex.d.ts +0 -23
- package/build/preact/importer/components/ui/input.d.ts +0 -6
- package/build/preact/importer/components/ui/select.d.ts +0 -13
- package/build/preact/importer/components/ui/switch.d.ts +0 -7
- package/build/preact/importer/components/ui/toast.d.ts +0 -22
- package/build/preact/importer/components/ui/toaster.d.ts +0 -1
- package/build/preact/importer/components/ui/tooltip.d.ts +0 -24
- package/build/preact/importer/features/complete/index.d.ts +0 -2
- package/build/preact/importer/features/complete/types/index.d.ts +0 -5
- package/build/preact/importer/features/configure-import/index.d.ts +0 -13
- package/build/preact/importer/features/configure-import/types/index.d.ts +0 -13
- package/build/preact/importer/features/main/hooks/useMutableLocalStorage.d.ts +0 -1
- package/build/preact/importer/features/main/index.d.ts +0 -2
- package/build/preact/importer/features/main/types/index.d.ts +0 -16
- package/build/preact/importer/features/map-columns/components/DropDownFields.d.ts +0 -21
- package/build/preact/importer/features/map-columns/hooks/useMapColumnsTable.d.ts +0 -16
- package/build/preact/importer/features/map-columns/index.d.ts +0 -2
- package/build/preact/importer/features/map-columns/types/index.d.ts +0 -16
- package/build/preact/importer/features/row-selection/index.d.ts +0 -2
- package/build/preact/importer/features/uploader/hooks/useTemplateTable.d.ts +0 -10
- package/build/preact/importer/features/uploader/index.d.ts +0 -2
- package/build/preact/importer/features/uploader/types/index.d.ts +0 -9
- package/build/preact/importer/features/validation/Validation.d.ts +0 -2
- package/build/preact/importer/features/validation/components/TransformModal.d.ts +0 -18
- package/build/preact/importer/features/validation/components/TransformPanel.d.ts +0 -18
- package/build/preact/importer/features/validation/index.d.ts +0 -1
- package/build/preact/importer/features/validation/types.d.ts +0 -32
- package/build/preact/importer/hooks/useClickOutside.d.ts +0 -1
- package/build/preact/importer/hooks/useCustomStyles.d.ts +0 -1
- package/build/preact/importer/hooks/useEventListener.d.ts +0 -4
- package/build/preact/importer/hooks/useIsomorphicLayoutEffect.d.ts +0 -3
- package/build/preact/importer/hooks/useRect.d.ts +0 -12
- package/build/preact/importer/hooks/useWindowSize.d.ts +0 -1
- package/build/preact/importer/providers/Theme.d.ts +0 -10
- package/build/preact/importer/providers/index.d.ts +0 -5
- package/build/preact/importer/services/mapping.d.ts +0 -31
- package/build/preact/importer/services/transformation.d.ts +0 -70
- package/build/preact/importer/settings/theme/colors.d.ts +0 -4
- package/build/preact/importer/settings/theme/index.d.ts +0 -2
- package/build/preact/importer/settings/theme/sizes.d.ts +0 -7
- package/build/preact/importer/theme/index.d.ts +0 -8
- package/build/preact/importer/theme/presets.d.ts +0 -314
- package/build/preact/importer/theme/styles.d.ts +0 -120
- package/build/preact/importer/types/index.d.ts +0 -9
- package/build/preact/importer/utils/colorUtils.d.ts +0 -48
- package/build/preact/importer/utils/errorAnalysis.d.ts +0 -25
- package/build/preact/importer/utils/getStringLengthOfChildren.d.ts +0 -2
- package/build/preact/importer/utils/stringSimilarity.d.ts +0 -1
- package/build/preact/importer/utils/template.d.ts +0 -2
- package/build/preact/importer/utils/utils.d.ts +0 -19
- package/build/preact/index.d.ts +0 -5
- package/build/preact/js.d.ts +0 -12
- package/build/preact/settings/defaults.d.ts +0 -3
- package/build/preact/styles.d.ts +0 -1
- package/build/preact/types/index.d.ts +0 -132
- package/build/preact/types/theme.d.ts +0 -153
- package/build/preact/utils/cn.d.ts +0 -6
- package/build/preact/validation/transformationStages.d.ts +0 -26
- package/build/preact/validation/transformer.d.ts +0 -17
- package/build/preact/validation/validator.d.ts +0 -23
- /package/build/{bundled/bundled-styles.d.ts → bundled-styles.d.ts} +0 -0
- /package/build/{bundled/importer/services/api.d.ts → components/CSVImporter/index.test.d.ts} +0 -0
- /package/build/{preact/importer/services/api.d.ts → components/__tests__/CSVImporterHeadless.test.d.ts} +0 -0
- /package/build/{bundled/i18n → i18n}/de.d.ts +0 -0
- /package/build/{bundled/i18n → i18n}/es.d.ts +0 -0
- /package/build/{bundled/i18n → i18n}/fr.d.ts +0 -0
- /package/build/{bundled/i18n → i18n}/i18n.d.ts +0 -0
- /package/build/{bundled/i18n → i18n}/it.d.ts +0 -0
- /package/build/{bundled/i18n → i18n}/useTranslation.d.ts +0 -0
- /package/build/{bundled/importer → importer}/components/ToggleFilter/types/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/features/complete/types/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/features/configure-import/types/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/features/main/hooks/useMutableLocalStorage.d.ts +0 -0
- /package/build/{bundled/importer → importer}/features/main/types/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/features/validation/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/hooks/useClickOutside.d.ts +0 -0
- /package/build/{bundled/importer → importer}/hooks/useCustomStyles.d.ts +0 -0
- /package/build/{bundled/importer → importer}/hooks/useRect.d.ts +0 -0
- /package/build/{bundled/importer → importer}/hooks/useWindowSize.d.ts +0 -0
- /package/build/{bundled/importer → importer}/services/mapping.d.ts +0 -0
- /package/build/{bundled/importer → importer}/services/transformation.d.ts +0 -0
- /package/build/{bundled/importer → importer}/settings/theme/colors.d.ts +0 -0
- /package/build/{bundled/importer → importer}/settings/theme/sizes.d.ts +0 -0
- /package/build/{bundled/importer → importer}/theme/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/theme/presets.d.ts +0 -0
- /package/build/{bundled/importer → importer}/theme/styles.d.ts +0 -0
- /package/build/{bundled/importer → importer}/types/index.d.ts +0 -0
- /package/build/{bundled/importer → importer}/utils/colorUtils.d.ts +0 -0
- /package/build/{bundled/importer → importer}/utils/errorAnalysis.d.ts +0 -0
- /package/build/{bundled/importer → importer}/utils/stringSimilarity.d.ts +0 -0
- /package/build/{bundled/importer → importer}/utils/utils.d.ts +0 -0
- /package/build/{bundled/styles.d.ts → styles.d.ts} +0 -0
- /package/build/{bundled/types → types}/theme.d.ts +0 -0
- /package/build/{bundled/validation → validation}/transformationStages.d.ts +0 -0
- /package/build/{bundled/validation → validation}/transformer.d.ts +0 -0
- /package/build/{bundled/validation → validation}/validator.d.ts +0 -0
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { FileData } from '../main/types';
|
|
2
|
-
import { TemplateColumnMapping } from '../map-columns/types';
|
|
3
|
-
import { Column } from '../../../types';
|
|
4
|
-
export interface ValidationError {
|
|
5
|
-
rowIndex: number;
|
|
6
|
-
columnIndex: number;
|
|
7
|
-
message: string;
|
|
8
|
-
value: string | number;
|
|
9
|
-
}
|
|
10
|
-
export interface ValidationProps {
|
|
11
|
-
columns?: Column[];
|
|
12
|
-
data: FileData;
|
|
13
|
-
columnMapping: {
|
|
14
|
-
[index: number]: TemplateColumnMapping;
|
|
15
|
-
};
|
|
16
|
-
selectedHeaderRow: number | null;
|
|
17
|
-
onSuccess: (validData: any) => void;
|
|
18
|
-
onCancel: () => void;
|
|
19
|
-
isSubmitting: boolean;
|
|
20
|
-
backendUrl?: string;
|
|
21
|
-
importerKey?: string;
|
|
22
|
-
filterInvalidRows?: boolean;
|
|
23
|
-
disableOnInvalidRows?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface ValidationState {
|
|
26
|
-
errors: ValidationError[];
|
|
27
|
-
editedValues: {
|
|
28
|
-
[rowIndex: number]: {
|
|
29
|
-
[columnIndex: number]: string | number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useClickOutside(ref: any | null, callback: (...args: any[]) => any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useCustomStyles(customStyles?: string, targetElement?: HTMLElement | null): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { RefObject } from 'preact/hooks';
|
|
2
|
-
declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void): void;
|
|
3
|
-
declare function useEventListener<K extends keyof HTMLElementEventMap, T extends HTMLElement = HTMLDivElement>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, element: RefObject<T>): void;
|
|
4
|
-
export default useEventListener;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type Size = {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
top: number;
|
|
7
|
-
right: number;
|
|
8
|
-
bottom: number;
|
|
9
|
-
left: number;
|
|
10
|
-
};
|
|
11
|
-
declare function useRect<T extends HTMLElement = HTMLDivElement>(): [(node: T | null) => void, Size, Function];
|
|
12
|
-
export default useRect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function useWindowSize(): number[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { JSX } from 'preact';
|
|
2
|
-
import { ThemeProps } from './types';
|
|
3
|
-
import { ThemeConfig, presetThemes } from '../../types/theme';
|
|
4
|
-
export interface ThemeProviderProps extends ThemeProps {
|
|
5
|
-
theme?: ThemeConfig | keyof typeof presetThemes;
|
|
6
|
-
primaryColor?: string;
|
|
7
|
-
customStyles?: Record<string, string> | string;
|
|
8
|
-
targetElement?: HTMLElement;
|
|
9
|
-
}
|
|
10
|
-
export default function ThemeProvider({ children, theme, primaryColor, customStyles, targetElement }: ThemeProviderProps): JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ProvidersProps } from './types';
|
|
2
|
-
import { ThemeProviderProps } from './Theme';
|
|
3
|
-
export interface ProvidersWithThemeProps extends ProvidersProps, ThemeProviderProps {
|
|
4
|
-
}
|
|
5
|
-
export default function Providers({ children, theme, primaryColor, customStyles, targetElement }: ProvidersWithThemeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Column mapping service with optional LLM enhancement
|
|
3
|
-
*/
|
|
4
|
-
export interface MappingSuggestion {
|
|
5
|
-
uploadIndex: number;
|
|
6
|
-
templateKey: string;
|
|
7
|
-
confidence: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Get enhanced column mapping suggestions from the backend
|
|
11
|
-
*
|
|
12
|
-
* @param uploadColumns - Array of upload columns with name and sample_data
|
|
13
|
-
* @param templateColumns - Array of Column objects with id, label, and validators
|
|
14
|
-
* @param backendUrl - Backend API URL
|
|
15
|
-
* @param importerKey - Importer key for authentication
|
|
16
|
-
* @returns Array of mapping suggestions or empty array on error
|
|
17
|
-
*/
|
|
18
|
-
export declare function getMappingSuggestions(uploadColumns: any[], templateColumns: any[], backendUrl?: string, importerKey?: string): Promise<MappingSuggestion[]>;
|
|
19
|
-
/**
|
|
20
|
-
* Apply mapping suggestions to the current state
|
|
21
|
-
* Only applies high-confidence suggestions that don't conflict
|
|
22
|
-
*
|
|
23
|
-
* @param suggestions - Array of mapping suggestions
|
|
24
|
-
* @param currentValues - Current mapping values
|
|
25
|
-
* @param usedTemplateKeys - Set of already used template keys
|
|
26
|
-
* @param handleTemplateChange - Function to update a column mapping
|
|
27
|
-
* @returns Number of mappings applied
|
|
28
|
-
*/
|
|
29
|
-
export declare function applyMappingSuggestions(suggestions: MappingSuggestion[], currentValues: {
|
|
30
|
-
[key: number]: any;
|
|
31
|
-
}, usedTemplateKeys: Set<string>, handleTemplateChange: (uploadIndex: number, templateKey: string) => void): number;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Natural language data transformation service
|
|
3
|
-
*/
|
|
4
|
-
export interface TransformationChange {
|
|
5
|
-
rowIndex: number;
|
|
6
|
-
columnKey: string;
|
|
7
|
-
columnIndex?: number;
|
|
8
|
-
oldValue: any;
|
|
9
|
-
newValue: any;
|
|
10
|
-
confidence: number;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface TransformationResponse {
|
|
14
|
-
success: boolean;
|
|
15
|
-
changes: TransformationChange[];
|
|
16
|
-
summary: string;
|
|
17
|
-
error?: string;
|
|
18
|
-
tokensUsed?: number;
|
|
19
|
-
}
|
|
20
|
-
export interface ValidationError {
|
|
21
|
-
rowIndex: number;
|
|
22
|
-
columnKey: string;
|
|
23
|
-
message: string;
|
|
24
|
-
value?: any;
|
|
25
|
-
}
|
|
26
|
-
export interface TransformationRequest {
|
|
27
|
-
prompt: string;
|
|
28
|
-
data: any[];
|
|
29
|
-
columnMapping: Record<string, any>;
|
|
30
|
-
targetColumns?: string[];
|
|
31
|
-
validationErrors?: ValidationError[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Generate data transformations based on natural language prompt
|
|
35
|
-
*
|
|
36
|
-
* @param prompt - Natural language description of the transformation
|
|
37
|
-
* @param data - Current data rows
|
|
38
|
-
* @param columnMapping - Mapping of columns
|
|
39
|
-
* @param backendUrl - Backend API URL
|
|
40
|
-
* @param importerKey - Importer key for authentication
|
|
41
|
-
* @param targetColumns - Optional specific columns to transform
|
|
42
|
-
* @param validationErrors - Optional validation errors for context
|
|
43
|
-
* @returns Transformation preview with changes
|
|
44
|
-
*/
|
|
45
|
-
export declare function generateTransformations(prompt: string, data: any[], columnMapping: Record<string, any>, backendUrl: string, importerKey: string, targetColumns?: string[], validationErrors?: ValidationError[]): Promise<TransformationResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* Apply selected transformations to the data
|
|
48
|
-
*
|
|
49
|
-
* @param data - Original data rows
|
|
50
|
-
* @param changes - List of transformation changes
|
|
51
|
-
* @param onlySelected - Whether to apply only selected changes
|
|
52
|
-
* @returns Modified data with transformations applied
|
|
53
|
-
*/
|
|
54
|
-
export declare function applyTransformations(data: any[], changes: TransformationChange[], onlySelected?: boolean): any[];
|
|
55
|
-
/**
|
|
56
|
-
* Count selected changes
|
|
57
|
-
*/
|
|
58
|
-
export declare function countSelectedChanges(changes: TransformationChange[]): number;
|
|
59
|
-
/**
|
|
60
|
-
* Toggle selection for a specific change
|
|
61
|
-
*/
|
|
62
|
-
export declare function toggleChangeSelection(changes: TransformationChange[], index: number): TransformationChange[];
|
|
63
|
-
/**
|
|
64
|
-
* Select or deselect all changes
|
|
65
|
-
*/
|
|
66
|
-
export declare function setAllChangesSelection(changes: TransformationChange[], selected: boolean): TransformationChange[];
|
|
67
|
-
/**
|
|
68
|
-
* Common transformation prompts for quick access
|
|
69
|
-
*/
|
|
70
|
-
export declare const COMMON_PROMPTS: string[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Theme module exports
|
|
3
|
-
* Central export point for all theme-related functionality
|
|
4
|
-
*/
|
|
5
|
-
export { styles, designTokens, cssVariables } from './styles';
|
|
6
|
-
export { presets } from './presets';
|
|
7
|
-
export { applyTheme, getCurrentTheme, resetTheme, createThemeFromColor, type SimpleTheme } from './runtime';
|
|
8
|
-
export { styles as default } from './styles';
|
|
@@ -1,314 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pre-built theme presets for the CSV Importer
|
|
3
|
-
* Use these as starting points or use them directly
|
|
4
|
-
*/
|
|
5
|
-
export declare const presets: {
|
|
6
|
-
default: {
|
|
7
|
-
typography: {
|
|
8
|
-
title: string;
|
|
9
|
-
subtitle: string;
|
|
10
|
-
label: string;
|
|
11
|
-
body: string;
|
|
12
|
-
caption: string;
|
|
13
|
-
};
|
|
14
|
-
spacing: {
|
|
15
|
-
page: string;
|
|
16
|
-
header: string;
|
|
17
|
-
content: string;
|
|
18
|
-
footer: string;
|
|
19
|
-
section: string;
|
|
20
|
-
};
|
|
21
|
-
layout: {
|
|
22
|
-
header: string;
|
|
23
|
-
subHeader: string;
|
|
24
|
-
content: string;
|
|
25
|
-
footer: string;
|
|
26
|
-
container: string;
|
|
27
|
-
};
|
|
28
|
-
colors: {
|
|
29
|
-
borderDefault: string;
|
|
30
|
-
bgPrimary: string;
|
|
31
|
-
bgSecondary: string;
|
|
32
|
-
bgHover: string;
|
|
33
|
-
textPrimary: string;
|
|
34
|
-
textSecondary: string;
|
|
35
|
-
textMuted: string;
|
|
36
|
-
};
|
|
37
|
-
components: {
|
|
38
|
-
card: string;
|
|
39
|
-
input: string;
|
|
40
|
-
table: string;
|
|
41
|
-
tableHeader: string;
|
|
42
|
-
tableRow: string;
|
|
43
|
-
};
|
|
44
|
-
buttons: {
|
|
45
|
-
primary: string;
|
|
46
|
-
secondary: string;
|
|
47
|
-
outline: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
minimal: {
|
|
51
|
-
typography: {
|
|
52
|
-
title: string;
|
|
53
|
-
subtitle: string;
|
|
54
|
-
label: string;
|
|
55
|
-
body: string;
|
|
56
|
-
caption: string;
|
|
57
|
-
};
|
|
58
|
-
colors: {
|
|
59
|
-
borderDefault: string;
|
|
60
|
-
bgPrimary: string;
|
|
61
|
-
bgSecondary: string;
|
|
62
|
-
bgHover: string;
|
|
63
|
-
textPrimary: string;
|
|
64
|
-
textSecondary: string;
|
|
65
|
-
textMuted: string;
|
|
66
|
-
};
|
|
67
|
-
buttons: {
|
|
68
|
-
primary: string;
|
|
69
|
-
secondary: string;
|
|
70
|
-
outline: string;
|
|
71
|
-
};
|
|
72
|
-
spacing: {
|
|
73
|
-
page: string;
|
|
74
|
-
header: string;
|
|
75
|
-
content: string;
|
|
76
|
-
footer: string;
|
|
77
|
-
section: string;
|
|
78
|
-
};
|
|
79
|
-
layout: {
|
|
80
|
-
header: string;
|
|
81
|
-
subHeader: string;
|
|
82
|
-
content: string;
|
|
83
|
-
footer: string;
|
|
84
|
-
container: string;
|
|
85
|
-
};
|
|
86
|
-
components: {
|
|
87
|
-
card: string;
|
|
88
|
-
input: string;
|
|
89
|
-
table: string;
|
|
90
|
-
tableHeader: string;
|
|
91
|
-
tableRow: string;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
modern: {
|
|
95
|
-
typography: {
|
|
96
|
-
title: string;
|
|
97
|
-
subtitle: string;
|
|
98
|
-
label: string;
|
|
99
|
-
body: string;
|
|
100
|
-
caption: string;
|
|
101
|
-
};
|
|
102
|
-
components: {
|
|
103
|
-
card: string;
|
|
104
|
-
input: string;
|
|
105
|
-
table: string;
|
|
106
|
-
tableHeader: string;
|
|
107
|
-
tableRow: string;
|
|
108
|
-
};
|
|
109
|
-
buttons: {
|
|
110
|
-
primary: string;
|
|
111
|
-
secondary: string;
|
|
112
|
-
outline: string;
|
|
113
|
-
};
|
|
114
|
-
spacing: {
|
|
115
|
-
page: string;
|
|
116
|
-
header: string;
|
|
117
|
-
content: string;
|
|
118
|
-
footer: string;
|
|
119
|
-
section: string;
|
|
120
|
-
};
|
|
121
|
-
layout: {
|
|
122
|
-
header: string;
|
|
123
|
-
subHeader: string;
|
|
124
|
-
content: string;
|
|
125
|
-
footer: string;
|
|
126
|
-
container: string;
|
|
127
|
-
};
|
|
128
|
-
colors: {
|
|
129
|
-
borderDefault: string;
|
|
130
|
-
bgPrimary: string;
|
|
131
|
-
bgSecondary: string;
|
|
132
|
-
bgHover: string;
|
|
133
|
-
textPrimary: string;
|
|
134
|
-
textSecondary: string;
|
|
135
|
-
textMuted: string;
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
compact: {
|
|
139
|
-
spacing: {
|
|
140
|
-
page: string;
|
|
141
|
-
header: string;
|
|
142
|
-
content: string;
|
|
143
|
-
footer: string;
|
|
144
|
-
section: string;
|
|
145
|
-
};
|
|
146
|
-
typography: {
|
|
147
|
-
title: string;
|
|
148
|
-
subtitle: string;
|
|
149
|
-
label: string;
|
|
150
|
-
body: string;
|
|
151
|
-
caption: string;
|
|
152
|
-
};
|
|
153
|
-
components: {
|
|
154
|
-
input: string;
|
|
155
|
-
card: string;
|
|
156
|
-
table: string;
|
|
157
|
-
tableHeader: string;
|
|
158
|
-
tableRow: string;
|
|
159
|
-
};
|
|
160
|
-
layout: {
|
|
161
|
-
header: string;
|
|
162
|
-
subHeader: string;
|
|
163
|
-
content: string;
|
|
164
|
-
footer: string;
|
|
165
|
-
container: string;
|
|
166
|
-
};
|
|
167
|
-
colors: {
|
|
168
|
-
borderDefault: string;
|
|
169
|
-
bgPrimary: string;
|
|
170
|
-
bgSecondary: string;
|
|
171
|
-
bgHover: string;
|
|
172
|
-
textPrimary: string;
|
|
173
|
-
textSecondary: string;
|
|
174
|
-
textMuted: string;
|
|
175
|
-
};
|
|
176
|
-
buttons: {
|
|
177
|
-
primary: string;
|
|
178
|
-
secondary: string;
|
|
179
|
-
outline: string;
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
dark: {
|
|
183
|
-
typography: {
|
|
184
|
-
title: string;
|
|
185
|
-
subtitle: string;
|
|
186
|
-
label: string;
|
|
187
|
-
body: string;
|
|
188
|
-
caption: string;
|
|
189
|
-
};
|
|
190
|
-
spacing: {
|
|
191
|
-
page: string;
|
|
192
|
-
header: string;
|
|
193
|
-
content: string;
|
|
194
|
-
footer: string;
|
|
195
|
-
section: string;
|
|
196
|
-
};
|
|
197
|
-
layout: {
|
|
198
|
-
header: string;
|
|
199
|
-
subHeader: string;
|
|
200
|
-
content: string;
|
|
201
|
-
footer: string;
|
|
202
|
-
container: string;
|
|
203
|
-
};
|
|
204
|
-
colors: {
|
|
205
|
-
borderDefault: string;
|
|
206
|
-
bgPrimary: string;
|
|
207
|
-
bgSecondary: string;
|
|
208
|
-
bgHover: string;
|
|
209
|
-
textPrimary: string;
|
|
210
|
-
textSecondary: string;
|
|
211
|
-
textMuted: string;
|
|
212
|
-
};
|
|
213
|
-
components: {
|
|
214
|
-
card: string;
|
|
215
|
-
input: string;
|
|
216
|
-
table: string;
|
|
217
|
-
tableHeader: string;
|
|
218
|
-
tableRow: string;
|
|
219
|
-
};
|
|
220
|
-
buttons: {
|
|
221
|
-
primary: string;
|
|
222
|
-
secondary: string;
|
|
223
|
-
outline: string;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
corporate: {
|
|
227
|
-
typography: {
|
|
228
|
-
title: string;
|
|
229
|
-
subtitle: string;
|
|
230
|
-
label: string;
|
|
231
|
-
body: string;
|
|
232
|
-
caption: string;
|
|
233
|
-
};
|
|
234
|
-
colors: {
|
|
235
|
-
borderDefault: string;
|
|
236
|
-
bgPrimary: string;
|
|
237
|
-
bgSecondary: string;
|
|
238
|
-
bgHover: string;
|
|
239
|
-
textPrimary: string;
|
|
240
|
-
textSecondary: string;
|
|
241
|
-
textMuted: string;
|
|
242
|
-
};
|
|
243
|
-
buttons: {
|
|
244
|
-
primary: string;
|
|
245
|
-
secondary: string;
|
|
246
|
-
outline: string;
|
|
247
|
-
};
|
|
248
|
-
spacing: {
|
|
249
|
-
page: string;
|
|
250
|
-
header: string;
|
|
251
|
-
content: string;
|
|
252
|
-
footer: string;
|
|
253
|
-
section: string;
|
|
254
|
-
};
|
|
255
|
-
layout: {
|
|
256
|
-
header: string;
|
|
257
|
-
subHeader: string;
|
|
258
|
-
content: string;
|
|
259
|
-
footer: string;
|
|
260
|
-
container: string;
|
|
261
|
-
};
|
|
262
|
-
components: {
|
|
263
|
-
card: string;
|
|
264
|
-
input: string;
|
|
265
|
-
table: string;
|
|
266
|
-
tableHeader: string;
|
|
267
|
-
tableRow: string;
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
|
-
playful: {
|
|
271
|
-
typography: {
|
|
272
|
-
title: string;
|
|
273
|
-
subtitle: string;
|
|
274
|
-
label: string;
|
|
275
|
-
body: string;
|
|
276
|
-
caption: string;
|
|
277
|
-
};
|
|
278
|
-
components: {
|
|
279
|
-
card: string;
|
|
280
|
-
input: string;
|
|
281
|
-
table: string;
|
|
282
|
-
tableHeader: string;
|
|
283
|
-
tableRow: string;
|
|
284
|
-
};
|
|
285
|
-
buttons: {
|
|
286
|
-
primary: string;
|
|
287
|
-
secondary: string;
|
|
288
|
-
outline: string;
|
|
289
|
-
};
|
|
290
|
-
spacing: {
|
|
291
|
-
page: string;
|
|
292
|
-
header: string;
|
|
293
|
-
content: string;
|
|
294
|
-
footer: string;
|
|
295
|
-
section: string;
|
|
296
|
-
};
|
|
297
|
-
layout: {
|
|
298
|
-
header: string;
|
|
299
|
-
subHeader: string;
|
|
300
|
-
content: string;
|
|
301
|
-
footer: string;
|
|
302
|
-
container: string;
|
|
303
|
-
};
|
|
304
|
-
colors: {
|
|
305
|
-
borderDefault: string;
|
|
306
|
-
bgPrimary: string;
|
|
307
|
-
bgSecondary: string;
|
|
308
|
-
bgHover: string;
|
|
309
|
-
textPrimary: string;
|
|
310
|
-
textSecondary: string;
|
|
311
|
-
textMuted: string;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
};
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Core styles for the CSV Importer
|
|
3
|
-
* These styles ensure consistent appearance across all screens
|
|
4
|
-
* Can be overridden via the theme prop
|
|
5
|
-
*/
|
|
6
|
-
export declare const styles: {
|
|
7
|
-
typography: {
|
|
8
|
-
title: string;
|
|
9
|
-
subtitle: string;
|
|
10
|
-
label: string;
|
|
11
|
-
body: string;
|
|
12
|
-
caption: string;
|
|
13
|
-
};
|
|
14
|
-
spacing: {
|
|
15
|
-
page: string;
|
|
16
|
-
header: string;
|
|
17
|
-
content: string;
|
|
18
|
-
footer: string;
|
|
19
|
-
section: string;
|
|
20
|
-
};
|
|
21
|
-
layout: {
|
|
22
|
-
header: string;
|
|
23
|
-
subHeader: string;
|
|
24
|
-
content: string;
|
|
25
|
-
footer: string;
|
|
26
|
-
container: string;
|
|
27
|
-
};
|
|
28
|
-
colors: {
|
|
29
|
-
borderDefault: string;
|
|
30
|
-
bgPrimary: string;
|
|
31
|
-
bgSecondary: string;
|
|
32
|
-
bgHover: string;
|
|
33
|
-
textPrimary: string;
|
|
34
|
-
textSecondary: string;
|
|
35
|
-
textMuted: string;
|
|
36
|
-
};
|
|
37
|
-
components: {
|
|
38
|
-
card: string;
|
|
39
|
-
input: string;
|
|
40
|
-
table: string;
|
|
41
|
-
tableHeader: string;
|
|
42
|
-
tableRow: string;
|
|
43
|
-
};
|
|
44
|
-
buttons: {
|
|
45
|
-
primary: string;
|
|
46
|
-
secondary: string;
|
|
47
|
-
outline: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare const cssVariables: {
|
|
51
|
-
'--csv-color-primary': string;
|
|
52
|
-
'--csv-color-primary-hover': string;
|
|
53
|
-
'--csv-color-primary-foreground': string;
|
|
54
|
-
'--csv-color-secondary': string;
|
|
55
|
-
'--csv-color-secondary-foreground': string;
|
|
56
|
-
'--csv-color-background': string;
|
|
57
|
-
'--csv-color-foreground': string;
|
|
58
|
-
'--csv-color-border': string;
|
|
59
|
-
'--csv-color-muted': string;
|
|
60
|
-
'--csv-color-muted-foreground': string;
|
|
61
|
-
'--csv-font-family': string;
|
|
62
|
-
'--csv-font-size-xs': string;
|
|
63
|
-
'--csv-font-size-sm': string;
|
|
64
|
-
'--csv-font-size-base': string;
|
|
65
|
-
'--csv-font-size-lg': string;
|
|
66
|
-
'--csv-font-size-xl': string;
|
|
67
|
-
'--csv-spacing-xs': string;
|
|
68
|
-
'--csv-spacing-sm': string;
|
|
69
|
-
'--csv-spacing-md': string;
|
|
70
|
-
'--csv-spacing-lg': string;
|
|
71
|
-
'--csv-spacing-xl': string;
|
|
72
|
-
'--csv-radius-sm': string;
|
|
73
|
-
'--csv-radius-md': string;
|
|
74
|
-
'--csv-radius-lg': string;
|
|
75
|
-
'--csv-radius-xl': string;
|
|
76
|
-
};
|
|
77
|
-
export declare const designTokens: {
|
|
78
|
-
typography: {
|
|
79
|
-
title: string;
|
|
80
|
-
subtitle: string;
|
|
81
|
-
label: string;
|
|
82
|
-
body: string;
|
|
83
|
-
caption: string;
|
|
84
|
-
};
|
|
85
|
-
spacing: {
|
|
86
|
-
page: string;
|
|
87
|
-
header: string;
|
|
88
|
-
content: string;
|
|
89
|
-
footer: string;
|
|
90
|
-
section: string;
|
|
91
|
-
};
|
|
92
|
-
layout: {
|
|
93
|
-
header: string;
|
|
94
|
-
subHeader: string;
|
|
95
|
-
content: string;
|
|
96
|
-
footer: string;
|
|
97
|
-
container: string;
|
|
98
|
-
};
|
|
99
|
-
colors: {
|
|
100
|
-
borderDefault: string;
|
|
101
|
-
bgPrimary: string;
|
|
102
|
-
bgSecondary: string;
|
|
103
|
-
bgHover: string;
|
|
104
|
-
textPrimary: string;
|
|
105
|
-
textSecondary: string;
|
|
106
|
-
textMuted: string;
|
|
107
|
-
};
|
|
108
|
-
components: {
|
|
109
|
-
card: string;
|
|
110
|
-
input: string;
|
|
111
|
-
table: string;
|
|
112
|
-
tableHeader: string;
|
|
113
|
-
tableRow: string;
|
|
114
|
-
};
|
|
115
|
-
buttons: {
|
|
116
|
-
primary: string;
|
|
117
|
-
secondary: string;
|
|
118
|
-
outline: string;
|
|
119
|
-
};
|
|
120
|
-
};
|