2021-03-22 15:14:49 +01:00
|
|
|
import { getType, getOtherInfos } from './content-manager/utils/getAttributeInfos';
|
2019-09-13 15:28:10 +02:00
|
|
|
// Assets
|
2021-08-20 09:32:59 +02:00
|
|
|
export { default as colors } from './old/assets/styles/colors';
|
|
|
|
export { default as sizes } from './old/assets/styles/sizes';
|
2019-07-01 19:14:57 +02:00
|
|
|
|
2019-09-13 15:28:10 +02:00
|
|
|
// Components
|
2021-08-20 09:32:59 +02:00
|
|
|
export { default as BackHeader } from './old/components/BackHeader';
|
|
|
|
export { default as BaselineAlignment } from './old/components/BaselineAlignment';
|
|
|
|
export { default as BlockerComponent } from './old/components/BlockerComponent';
|
|
|
|
export { default as Button } from './old/components/Button';
|
|
|
|
export { default as ButtonModal } from './old/components/ButtonModal';
|
|
|
|
export { default as Carret } from './old/components/Carret';
|
|
|
|
export { default as CircleButton } from './old/components/CircleButton';
|
|
|
|
export { default as ContainerFluid } from './old/components/ContainerFluid';
|
|
|
|
export { default as ErrorBoundary } from './old/components/ErrorBoundary';
|
|
|
|
export { default as ErrorFallback } from './old/components/ErrorFallback';
|
|
|
|
export { default as FilterButton } from './old/components/FilterButton';
|
|
|
|
export { default as GlobalPagination } from './old/components/GlobalPagination';
|
|
|
|
export { default as HeaderNav } from './old/components/HeaderNav';
|
|
|
|
export { default as HeaderModal } from './old/components/HeaderModal';
|
|
|
|
export { default as HeaderModalTitle } from './old/components/HeaderModalTitle';
|
|
|
|
export { default as HeaderSearch } from './old/components/HeaderSearch';
|
|
|
|
export { default as IcoContainer } from './old/components/IcoContainer';
|
|
|
|
export { default as InputAddon } from './old/components/InputAddon';
|
|
|
|
export { default as EmptyState } from './old/components/EmptyState';
|
|
|
|
export { default as Form } from './old/components/Form';
|
|
|
|
export * from './old/components/Tabs';
|
|
|
|
export * from './old/components/Select';
|
|
|
|
|
|
|
|
export { default as DropdownIndicator } from './old/components/Select/DropdownIndicator';
|
|
|
|
|
|
|
|
export { default as InputAddonWithErrors } from './old/components/InputAddonWithErrors';
|
|
|
|
export { default as InputCheckbox } from './old/components/InputCheckbox';
|
|
|
|
export { default as InputCheckboxWithErrors } from './old/components/InputCheckboxWithErrors';
|
|
|
|
export { default as InputDescription } from './old/components/InputDescription';
|
|
|
|
export { default as InputEmail } from './old/components/InputEmail';
|
|
|
|
export { default as InputEmailWithErrors } from './old/components/InputEmailWithErrors';
|
|
|
|
export { default as InputErrors } from './old/components/InputErrors';
|
|
|
|
export { default as InputNumber } from './old/components/InputNumber';
|
|
|
|
export { default as InputNumberWithErrors } from './old/components/InputNumberWithErrors';
|
|
|
|
export { default as InputPassword } from './old/components/InputPassword';
|
|
|
|
export { default as InputPasswordWithErrors } from './old/components/InputPasswordWithErrors';
|
|
|
|
export { default as InputSearch } from './old/components/InputSearch';
|
|
|
|
export { default as InputSearchWithErrors } from './old/components/InputSearchWithErrors';
|
|
|
|
export { default as InputSelect } from './old/components/InputSelect';
|
|
|
|
export { default as InputSelectWithErrors } from './old/components/InputSelectWithErrors';
|
|
|
|
export { default as InputsIndex } from './old/components/InputsIndex';
|
|
|
|
export { default as InputSpacer } from './old/components/InputSpacer';
|
|
|
|
export { default as InputText } from './old/components/InputText';
|
|
|
|
export { default as InputTextWithErrors } from './old/components/InputTextWithErrors';
|
|
|
|
export { default as InputTextArea } from './old/components/InputTextArea';
|
|
|
|
export { default as InputTextAreaWithErrors } from './old/components/InputTextAreaWithErrors';
|
|
|
|
export { default as InputToggle } from './old/components/InputToggle';
|
|
|
|
export { default as InputToggleWithErrors } from './old/components/InputToggleWithErrors';
|
|
|
|
|
|
|
|
export { default as Label } from './old/components/Label';
|
|
|
|
export { default as LabelIconWrapper } from './old/components/LabelIconWrapper';
|
|
|
|
export { default as LeftMenu } from './old/components/LeftMenu';
|
|
|
|
export { default as LeftMenuList } from './old/components/LeftMenuList';
|
|
|
|
export { default as LiLink } from './old/components/LiLink';
|
|
|
|
export { default as List } from './old/components/List';
|
|
|
|
export { default as ListButton } from './old/components/ListButton';
|
|
|
|
export { default as ListRow } from './old/components/ListRow';
|
|
|
|
export { default as ListWrapper } from './old/components/ListWrapper';
|
|
|
|
export { default as ListHeader } from './old/components/ListHeader';
|
|
|
|
export { default as ListTitle } from './old/components/ListTitle';
|
|
|
|
|
|
|
|
export { default as LoadingBar } from './old/components/LoadingBar';
|
|
|
|
export { default as LoadingIndicator } from './old/components/LoadingIndicator';
|
|
|
|
|
|
|
|
export { default as ModalConfirm } from './old/components/ModalConfirm';
|
|
|
|
export { default as Modal } from './old/components/Modal';
|
|
|
|
export { default as ModalBody } from './old/components/BodyModal';
|
|
|
|
export { default as ModalHeader } from './old/components/ModalHeader';
|
|
|
|
export { default as ModalFooter } from './old/components/FooterModal';
|
|
|
|
export { default as ModalForm } from './old/components/FormModal';
|
|
|
|
export { default as ModalSection } from './old/components/ModalSection';
|
|
|
|
export { default as NotAllowedInput } from './old/components/NotAllowedInput';
|
|
|
|
export { default as NotFound } from './old/components/NotFound';
|
|
|
|
|
|
|
|
export { default as PageFooter } from './old/components/PageFooter';
|
|
|
|
export { default as PluginHeader } from './old/components/PluginHeader';
|
|
|
|
export { default as RelationDPState } from './old/components/RelationDPState';
|
|
|
|
export { default as PopUpWarning } from './old/components/PopUpWarning';
|
|
|
|
export { default as Row } from './old/components/Row';
|
|
|
|
export { default as SearchInfo } from './old/components/SearchInfo';
|
|
|
|
export { default as SelectNav } from './old/components/SelectNav';
|
|
|
|
export { default as SelectWrapper } from './old/components/SelectWrapper';
|
|
|
|
|
|
|
|
export { default as ViewContainer } from './old/components/ViewContainer';
|
|
|
|
|
|
|
|
export { default as FormBloc } from './old/components/FormBloc';
|
|
|
|
export { default as IntlInput } from './old/components/IntlInput';
|
|
|
|
export { default as SizedInput } from './old/components/SizedInput';
|
|
|
|
|
|
|
|
export * from './old/components/Permissions';
|
2019-04-15 18:35:01 +02:00
|
|
|
|
2020-09-02 14:49:47 +02:00
|
|
|
// PopUpWarning
|
2021-08-20 09:32:59 +02:00
|
|
|
export { default as PopUpWarningBody } from './old/components/PopUpWarning/Body';
|
|
|
|
export { default as PopUpWarningFooter } from './old/components/PopUpWarning/StyledFooter';
|
|
|
|
export { default as PopUpWarningHeader } from './old/components/PopUpWarning/Header';
|
|
|
|
export { default as PopUpWarningIcon } from './old/components/PopUpWarning/Icon';
|
|
|
|
export { default as PopUpWarningModal } from './old/components/PopUpWarning/StyledModal';
|
2020-09-02 14:49:47 +02:00
|
|
|
|
2019-09-13 15:28:10 +02:00
|
|
|
// Contexts
|
2021-05-21 12:50:05 +02:00
|
|
|
export { default as AppInfosContext } from './contexts/AppInfosContext';
|
2021-05-17 18:38:00 +02:00
|
|
|
export { default as AutoReloadOverlayBockerContext } from './contexts/AutoReloadOverlayBockerContext';
|
2021-05-17 11:51:30 +02:00
|
|
|
export { default as NotificationsContext } from './contexts/NotificationsContext';
|
2021-05-17 18:38:00 +02:00
|
|
|
export { default as OverlayBlockerContext } from './contexts/OverlayBlockerContext';
|
2021-03-12 12:02:25 +01:00
|
|
|
export { default as ContentManagerEditViewDataManagerContext } from './contexts/ContentManagerEditViewDataManagerContext';
|
2021-05-24 14:46:22 +02:00
|
|
|
export { default as RBACProviderContext } from './contexts/RBACProviderContext';
|
2021-05-28 08:49:47 +02:00
|
|
|
export { default as TrackingContext } from './contexts/TrackingContext';
|
2021-05-28 09:37:29 +02:00
|
|
|
|
2020-02-25 21:15:26 +01:00
|
|
|
// Hooks
|
2021-05-21 12:50:05 +02:00
|
|
|
export { default as useAppInfos } from './hooks/useAppInfos';
|
2021-03-12 12:02:25 +01:00
|
|
|
export { default as useContentManagerEditViewDataManager } from './hooks/useContentManagerEditViewDataManager';
|
2020-06-12 12:47:23 +02:00
|
|
|
export { default as useQuery } from './hooks/useQuery';
|
2021-05-12 10:11:59 +02:00
|
|
|
export { default as useLibrary } from './hooks/useLibrary';
|
2021-05-17 11:51:30 +02:00
|
|
|
export { default as useNotification } from './hooks/useNotification';
|
2021-05-12 12:15:16 +02:00
|
|
|
export { default as useStrapiApp } from './hooks/useStrapiApp';
|
2021-05-28 08:49:47 +02:00
|
|
|
export { default as useTracking } from './hooks/useTracking';
|
2021-05-24 15:49:15 +02:00
|
|
|
|
2021-03-09 10:25:08 +01:00
|
|
|
export { default as useQueryParams } from './hooks/useQueryParams';
|
2021-05-17 18:38:00 +02:00
|
|
|
export { default as useOverlayBlocker } from './hooks/useOverlayBlocker';
|
|
|
|
export { default as useAutoReloadOverlayBlocker } from './hooks/useAutoReloadOverlayBlocker';
|
2021-05-24 14:46:22 +02:00
|
|
|
export { default as useRBACProvider } from './hooks/useRBACProvider';
|
2021-05-24 15:49:15 +02:00
|
|
|
export { default as useRBAC } from './hooks/useRBAC';
|
2021-08-06 11:02:31 +02:00
|
|
|
export { default as usePersistentState } from './hooks/usePersistentState';
|
2021-08-10 15:27:57 +02:00
|
|
|
export { default as useFocusWhenNavigate } from './hooks/useFocusWhenNavigate';
|
2020-03-05 14:43:00 +01:00
|
|
|
|
|
|
|
// Providers
|
2021-05-12 10:11:59 +02:00
|
|
|
export { default as LibraryProvider } from './providers/LibraryProvider';
|
2021-05-17 11:51:30 +02:00
|
|
|
export { default as NotificationsProvider } from './providers/NotificationsProvider';
|
2021-05-12 12:15:16 +02:00
|
|
|
export { default as StrapiAppProvider } from './providers/StrapiAppProvider';
|
2020-02-25 21:15:26 +01:00
|
|
|
|
2019-04-15 18:35:01 +02:00
|
|
|
// Utils
|
2021-09-03 11:42:17 +02:00
|
|
|
export { default as auth } from './old/utils/auth';
|
|
|
|
export { default as cleanData } from './old/utils/cleanData';
|
|
|
|
export { default as difference } from './old/utils/difference';
|
2021-03-22 15:14:49 +01:00
|
|
|
export { default as contentManagementUtilRemoveFieldsFromData } from './content-manager/utils/contentManagementUtilRemoveFieldsFromData';
|
2021-09-03 11:42:17 +02:00
|
|
|
export { default as dateFormats } from './old/utils/dateFormats';
|
|
|
|
export { default as dateToUtcTime } from './old/utils/dateToUtcTime';
|
2021-03-22 15:14:49 +01:00
|
|
|
export { default as formatComponentData } from './content-manager/utils/formatComponentData';
|
2021-09-03 11:42:17 +02:00
|
|
|
export { default as hasPermissions } from './old/utils/hasPermissions';
|
|
|
|
export { findMatchingPermissions } from './old/utils/hasPermissions';
|
|
|
|
export { default as translatedErrors } from './old/utils/translatedErrors';
|
|
|
|
export { darken } from './old/utils/colors';
|
|
|
|
export { default as getFileExtension } from './old/utils/getFileExtension';
|
|
|
|
export { default as getFilterType } from './old/utils/getFilterType';
|
|
|
|
export { default as getQueryParameters } from './old/utils/getQueryParameters';
|
|
|
|
export { default as validateInput } from './old/utils/inputsValidations';
|
|
|
|
export { default as request } from './old/utils/request';
|
|
|
|
export { default as storeData } from './old/utils/storeData';
|
|
|
|
export { default as templateObject } from './old/utils/templateObject';
|
2021-03-17 11:54:59 +01:00
|
|
|
export { getType };
|
|
|
|
export { getOtherInfos };
|
2021-09-03 11:42:17 +02:00
|
|
|
export { default as getYupInnerErrors } from './old/utils/getYupInnerErrors';
|
|
|
|
export { default as generateFiltersFromSearch } from './old/utils/generateFiltersFromSearch';
|
|
|
|
export { default as generateSearchFromFilters } from './old/utils/generateSearchFromFilters';
|
|
|
|
export { default as generateSearchFromObject } from './old/utils/generateSearchFromObject';
|
|
|
|
export { default as prefixFileUrlWithBackendUrl } from './old/utils/prefixFileUrlWithBackendUrl';
|
|
|
|
export { default as prefixPluginTranslations } from './old/utils/prefixPluginTranslations';
|
|
|
|
|
|
|
|
export { default as pxToRem } from './utils/pxToRem';
|
|
|
|
export { default as to } from './utils/await-to-js';
|
2019-10-15 11:17:26 +02:00
|
|
|
|
2021-09-06 14:06:01 +02:00
|
|
|
// NEW UTILS
|
|
|
|
export { default as setHexOpacity } from './utils/setHexOpacity';
|
|
|
|
export { default as useLockScroll } from './utils/useLockScroll';
|
|
|
|
|
2019-10-15 11:17:26 +02:00
|
|
|
// SVGS
|
2021-08-20 09:32:59 +02:00
|
|
|
export { default as LayoutIcon } from './old/svgs/Layout';
|
|
|
|
export { default as ClearIcon } from './old/svgs/Clear';
|
|
|
|
export { default as Close } from './old/svgs/Close';
|
|
|
|
export { default as EyeSlashed } from './old/svgs/EyeSlashed';
|
|
|
|
export { default as FilterIcon } from './old/svgs/Filter';
|
|
|
|
export { default as SearchIcon } from './old/svgs/Search';
|
|
|
|
|
|
|
|
// New components
|
|
|
|
export { default as CheckPagePermissions } from './components/CheckPagePermissions';
|
|
|
|
export { default as CheckPermissions } from './components/CheckPermissions';
|
2021-09-03 05:25:18 +02:00
|
|
|
export { default as ConfirmDialog } from './components/ConfirmDialog';
|
2021-09-03 12:48:10 +02:00
|
|
|
export { default as ContentBox } from './components/ContentBox';
|
2021-08-31 18:57:48 +02:00
|
|
|
export { default as CustomContentLayout } from './components/CustomContentLayout';
|
|
|
|
export { default as EmptyStateLayout } from './components/EmptyStateLayout';
|
|
|
|
export { default as EmptyBodyTable } from './components/EmptyBodyTable';
|
2021-09-02 14:59:40 +02:00
|
|
|
export { default as GenericInput } from './components/GenericInput';
|
2021-08-20 09:32:59 +02:00
|
|
|
export * from './components/InjectionZone';
|
2021-08-24 10:58:04 +02:00
|
|
|
export { default as LoadingIndicatorPage } from './components/LoadingIndicatorPage';
|
2021-08-30 17:08:57 +02:00
|
|
|
export { default as SettingsPageTitle } from './components/SettingsPageTitle';
|
2021-09-03 11:38:16 +02:00
|
|
|
export { default as Search } from './components/Search';
|
2021-08-31 16:23:31 +02:00
|
|
|
export { default as Status } from './components/Status';
|
|
|
|
|
|
|
|
// New icons
|
|
|
|
export { default as SortIcon } from './icons/SortIcon';
|
2021-09-03 12:35:31 +02:00
|
|
|
export { default as RemoveRoundedButton } from './icons/RemoveRoundedButton';
|