import baseTheme from './themes/base.scss';
import karmadataTheme from './themes/karmadata.scss';
import KdSelectNumber from './components/KdSelectNumber';
import KdSelectEntity from './components/KdSelectEntity';
import KdSelectEntityMultiple from './components/KdSelectEntityMultiple';
import KdSelectDropDown from './components/KdSelectDropDown';
import KdSelectString from './components/KdSelectString';
import KdSelectDate from './components/KdSelectDate';
import KdAutocomplete from './components/KdAutocomplete';
import kdWrapper from './kdWrapper';

const KdUi = {
  kdAutocomplete: kdWrapper(KdAutocomplete),
  kdSelectDropDown: kdWrapper(KdSelectDropDown),
  kdSelectEntity: kdWrapper(KdSelectEntity),
  kdSelectEntityMultiple: kdWrapper(KdSelectEntityMultiple),
  kdSelectNumber: kdWrapper(KdSelectNumber),
  kdSelectString: kdWrapper(KdSelectString),
  kdSelectDate: kdWrapper(KdSelectDate),
  themes: { kd: karmadataTheme, base: baseTheme },
};

window.KdUi = KdUi;
module.exports = KdUi;
