48 lines
1.9 KiB
TypeScript
48 lines
1.9 KiB
TypeScript
// Единая точка импорта примитивов формы.
|
|
// Перенесённые компоненты берём из общего пакета @tnsu/ui-kit; остальные
|
|
// (бизнес-логика/SharePoint/отложенные) — пока локальные. Все формы импортят
|
|
// отсюда, поэтому переключение источника не требует правок в самих формах.
|
|
|
|
// --- Из общего пакета @tnsu/ui-kit ---
|
|
export {
|
|
Button,
|
|
Alert,
|
|
FormCard,
|
|
FormGrid,
|
|
FormField,
|
|
TextInput,
|
|
PhoneInput,
|
|
MoneyInput,
|
|
TextArea,
|
|
Select,
|
|
Toggle,
|
|
CollapseSection,
|
|
FormActions,
|
|
FileDropzone,
|
|
AttachmentList,
|
|
FormModeProvider,
|
|
useFormReadOnly,
|
|
Icon,
|
|
ConfirmHost,
|
|
confirmModal,
|
|
RequestNumber,
|
|
PrintButton
|
|
} from '@tnsu/ui-kit';
|
|
export type { ISelectOption, IConfirmOptions } from '@tnsu/ui-kit';
|
|
|
|
// --- Пока локальные (не перенесены: SP/бизнес/отложенные) ---
|
|
export { ItemsTable } from './ItemsTable/ItemsTable';
|
|
export type { IItemsTableProps } from './ItemsTable/ItemsTable';
|
|
export type { ILineItem } from './ItemsTable/ILineItem';
|
|
export { EMPTY_LINE_ITEM } from './ItemsTable/ILineItem';
|
|
export { parseExcelRows } from './ItemsTable/parseExcelRows';
|
|
export { PeopleField } from './PeopleField/PeopleField';
|
|
export { PeopleFieldMulti } from './PeopleField/PeopleFieldMulti';
|
|
export { OrganizationField } from './OrganizationField/OrganizationField';
|
|
export { ErrorOverlay } from './ErrorOverlay/ErrorOverlay';
|
|
export { SubmitActions } from './SubmitActions/SubmitActions';
|
|
export { InitiatorLine } from './InitiatorLine/InitiatorLine';
|
|
export type { IInitiatorLineProps } from './InitiatorLine/InitiatorLine';
|
|
export { useRequestSubmit } from './useRequestSubmit';
|
|
export type { IRequestSubmit, SubmitKind } from './useRequestSubmit';
|