@oniratec/onira-react-ui 1.3.2 → 1.3.3
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/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +21 -0
- package/dist/index.js +694 -634
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -384,6 +384,27 @@ export declare function FormFactoryRenderer<TFormModel extends FieldValues, TEnt
|
|
|
384
384
|
|
|
385
385
|
declare type FormFactoryRendererProps<TFormModel extends FieldValues, TEntity> = Parameters<typeof FormFactoryRenderer<TFormModel, TEntity>>[0];
|
|
386
386
|
|
|
387
|
+
export declare function ImportFileCard({ title, description, helperText, accept, className, actionLabel, disabled, loading, summary, onImport, }: ImportFileCardProps): JSX.Element;
|
|
388
|
+
|
|
389
|
+
export declare type ImportFileCardProps = {
|
|
390
|
+
title?: string;
|
|
391
|
+
description?: string;
|
|
392
|
+
helperText?: string;
|
|
393
|
+
accept?: string;
|
|
394
|
+
className?: string;
|
|
395
|
+
actionLabel?: string;
|
|
396
|
+
disabled?: boolean;
|
|
397
|
+
loading?: boolean;
|
|
398
|
+
summary?: ImportSummary | null;
|
|
399
|
+
onImport: (file: File) => Promise<void> | void;
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
export declare type ImportSummary = {
|
|
403
|
+
created: number;
|
|
404
|
+
updated: number;
|
|
405
|
+
failed: number;
|
|
406
|
+
};
|
|
407
|
+
|
|
387
408
|
export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
388
409
|
|
|
389
410
|
/** =========================
|