@bsol-oss/react-datatable5 12.0.0-beta.81 → 12.0.0-beta.82

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.
@@ -39,6 +39,10 @@ export interface FilePickerLabels {
39
39
  noFilesFound?: string;
40
40
  cancel?: string;
41
41
  select?: string;
42
+ uploadTab?: string;
43
+ browseTab?: string;
44
+ uploading?: string;
45
+ uploadFailed?: string;
42
46
  }
43
47
  export interface CustomJSONSchema7 extends JSONSchema7 {
44
48
  gridColumn?: string;
@@ -85,4 +89,6 @@ export interface FilePickerProps {
85
89
  onFetchFiles?: (search: string) => Promise<FilePickerMediaFile[]>;
86
90
  enableMediaLibrary?: boolean;
87
91
  filterImageOnly?: boolean;
92
+ enableUpload?: boolean;
93
+ onUploadFile?: (file: File) => Promise<string>;
88
94
  }
@@ -1,4 +1,4 @@
1
- import { CustomJSONSchema7 } from "../types/CustomJSONSchema7";
1
+ import { CustomJSONSchema7 } from '../types/CustomJSONSchema7';
2
2
  export interface SchemaRendererProps {
3
3
  column: string;
4
4
  schema: CustomJSONSchema7;
@@ -118,6 +118,7 @@ export * from './components/Form/components/core/FormRoot';
118
118
  export * from './components/Form/components/core/FormTitle';
119
119
  export * from './components/Form/components/core/FormBody';
120
120
  export * from './components/Form/components/types/CustomJSONSchema7';
121
+ export * from './components/Form/components/MediaLibraryBrowser';
121
122
  export * from './components/Form/useForm';
122
123
  export * from './components/Form/utils/buildErrorMessages';
123
124
  export * from './components/DatePicker/DatePicker';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsol-oss/react-datatable5",
3
- "version": "12.0.0-beta.81",
3
+ "version": "12.0.0-beta.82",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",