mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-04-19 08:06:40 +02:00
61 lines
1.7 KiB
JavaScript
61 lines
1.7 KiB
JavaScript
// API
|
|
export { useAPIGet } from "api/get";
|
|
export { useAPIPost } from "api/post";
|
|
export { useAPIDelete } from "api/delete";
|
|
export { useAPIPatch } from "api/patch";
|
|
|
|
// Bootstrap
|
|
export { Alert } from "bootstrap/Alert";
|
|
export { Button } from "bootstrap/Button";
|
|
export { CheckBox } from "bootstrap/CheckBox";
|
|
export { formFieldsSize } from "bootstrap/constants";
|
|
export { DataTimeInput } from "bootstrap/DataTimeInput";
|
|
export { EmailInput } from "bootstrap/EmailInput";
|
|
export { Input } from "bootstrap/Input";
|
|
export { NumberInput } from "bootstrap/NumberInput";
|
|
export { PasswordInput } from "bootstrap/PasswordInput";
|
|
export { RadioSet } from "bootstrap/RadioSet";
|
|
export { Select } from "bootstrap/Select";
|
|
export { TextInput } from "bootstrap/TextInput";
|
|
|
|
export {
|
|
Spinner,
|
|
SpinnerElement,
|
|
} from "bootstrap/Spinner";
|
|
export {
|
|
Modal,
|
|
ModalBody,
|
|
ModalFooter,
|
|
ModalHeader,
|
|
} from "bootstrap/Modal";
|
|
|
|
// Form
|
|
export { ForisForm } from "form/components/ForisForm";
|
|
export { SubmitButton, STATES as SUBMIT_BUTTON_STATES } from "form/components/SubmitButton";
|
|
export { useForisModule, useForm } from "form/hooks";
|
|
|
|
// WebSockets
|
|
export { useWSForisModule } from "webSockets/hooks";
|
|
export { WebSockets } from "webSockets/WebSockets";
|
|
|
|
// Utils
|
|
export { Portal } from "utils/Portal";
|
|
export { undefinedIfEmpty, withoutUndefinedKeys, onlySpecifiedKeys } from "utils/objectHelpers";
|
|
|
|
// Foris URL
|
|
export { ForisURLs, REFORIS_URL_PREFIX } from "forisUrls";
|
|
|
|
// Validation
|
|
export {
|
|
validateIPv4Address,
|
|
validateIPv6Address,
|
|
validateIPv6Prefix,
|
|
validateDomain,
|
|
validateDUID,
|
|
validateMAC,
|
|
validateMultipleEmails,
|
|
} from "validations";
|
|
|
|
// Alert context
|
|
export { AlertContext, AlertContextProvider } from "alertContext/AlertContext";
|