@bsol-oss/react-datatable5 11.0.0-beta.2 → 11.0.0-beta.4

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.
@@ -27,4 +27,9 @@ export interface CustomJSONSchema7Definition extends JSONSchema7 {
27
27
  gridRow: string;
28
28
  foreign_key: ForeignKeyProps;
29
29
  }
30
+ export declare const idPickerSanityCheck: (column: string, foreign_key?: {
31
+ table?: string | undefined;
32
+ column?: string | undefined;
33
+ display_column?: string | undefined;
34
+ } | undefined) => void;
30
35
  export declare const Form: <TData extends FieldValues>({ schema, idMap, setIdMap, form, serverUrl, translate, order, ignore, onSubmit, rowNumber, requestOptions, }: FormProps<TData>) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,7 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface DatePickerProps {
2
3
  column: string;
4
+ schema: CustomJSONSchema7;
5
+ prefix: string;
3
6
  }
4
- export declare const BooleanPicker: ({ column }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const BooleanPicker: ({ schema, column, prefix }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
2
+ export interface ColumnRendererProps {
3
+ column: string;
4
+ properties: Record<string, CustomJSONSchema7>;
5
+ prefix: string;
6
+ }
7
+ export declare const ColumnRenderer: ({ column, properties, prefix, }: ColumnRendererProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,7 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface DatePickerProps {
2
3
  column: string;
4
+ schema: CustomJSONSchema7;
5
+ prefix: string;
3
6
  }
4
- export declare const DatePicker: ({ column }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const DatePicker: ({ column, schema, prefix }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,8 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface IdPickerProps {
2
3
  column: string;
3
4
  isMultiple?: boolean;
5
+ schema: CustomJSONSchema7;
6
+ prefix: string;
4
7
  }
5
- export declare const EnumPicker: ({ column, isMultiple }: IdPickerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const EnumPicker: ({ column, isMultiple, schema, prefix, }: IdPickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,5 @@
1
- export declare const FilePicker: ({ column }: {
1
+ export declare const FilePicker: ({ column, schema, prefix }: {
2
2
  column: any;
3
+ schema: any;
4
+ prefix: any;
3
5
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,8 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface IdPickerProps {
2
3
  column: string;
4
+ schema: CustomJSONSchema7;
5
+ prefix: string;
3
6
  isMultiple?: boolean;
4
7
  }
5
- export declare const IdPicker: ({ column, isMultiple }: IdPickerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const IdPicker: ({ column, schema, prefix, isMultiple, }: IdPickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,7 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface NumberInputFieldProps {
2
3
  column: string;
4
+ schema: CustomJSONSchema7;
5
+ prefix: string;
3
6
  }
4
- export declare const NumberInputField: ({ column }: NumberInputFieldProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const NumberInputField: ({ schema, column, prefix, }: NumberInputFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,7 @@
1
- export interface DatePickerProps {
1
+ import { CustomJSONSchema7 } from "./StringInputField";
2
+ export interface ObjectInputProps {
3
+ schema: CustomJSONSchema7;
2
4
  column: string;
5
+ prefix: string;
3
6
  }
4
- export declare const ObjectInput: ({ column }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const ObjectInput: ({ schema, column, prefix }: ObjectInputProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
2
+ export interface DatePickerProps {
3
+ schema: CustomJSONSchema7;
4
+ column: string;
5
+ prefix: string;
6
+ }
7
+ export declare const RecordInput: ({ column, schema, prefix }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,8 @@ import { JSONSchema7 } from "json-schema";
2
2
  import { ReactNode } from "react";
3
3
  export interface StringInputFieldProps {
4
4
  column: string;
5
+ schema: CustomJSONSchema7;
6
+ prefix: string;
5
7
  }
6
8
  export interface ForeignKeyProps {
7
9
  column: string;
@@ -11,10 +13,8 @@ export interface ForeignKeyProps {
11
13
  export interface CustomJSONSchema7 extends JSONSchema7 {
12
14
  gridColumn?: string;
13
15
  gridRow?: string;
14
- title?: string;
15
- in_table?: string;
16
- object_id_column?: string;
17
16
  foreign_key?: ForeignKeyProps;
17
+ variant?: string;
18
18
  renderDisplay: (item: unknown) => ReactNode;
19
19
  }
20
- export declare const StringInputField: ({ column }: StringInputFieldProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const StringInputField: ({ column, schema, prefix, }: StringInputFieldProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,8 @@
1
+ import { CustomJSONSchema7 } from "./StringInputField";
1
2
  export interface TagPickerProps {
2
3
  column: string;
4
+ schema: CustomJSONSchema7;
5
+ prefix: string;
3
6
  }
4
7
  export interface Tag {
5
8
  id: string;
@@ -24,4 +27,4 @@ export interface TagData {
24
27
  export interface TagResponse {
25
28
  data: TagData[];
26
29
  }
27
- export declare const TagPicker: ({ column }: TagPickerProps) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const TagPicker: ({ column, schema, prefix }: TagPickerProps) => import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsol-oss/react-datatable5",
3
- "version": "11.0.0-beta.2",
3
+ "version": "11.0.0-beta.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",