@vuu-ui/vuu-data-react 4.0.0 → 4.1.0
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/package.json +14 -14
- package/types/data-editing/EditForm.d.ts +1 -1
- package/types/data-editing/UnsavedChangesReport.d.ts +1 -1
- package/types/data-editing/get-data-item-edit-control.d.ts +1 -1
- package/types/data-editing/useEditForm.d.ts +2 -2
- package/types/datasource-provider/VuuDataSourceProvider.d.ts +1 -1
- package/types/datasource-provider/useAutoLoginToVuuServer.d.ts +1 -1
- package/types/lost-connection-indicator/LostConnectionIndicator.d.ts +1 -1
- package/types/session-editing-form/SessionEditingForm.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.
|
|
2
|
+
"version": "4.1.0",
|
|
3
3
|
"main": "./src/index.js",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"license": "Apache-2.0",
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@vuu-ui/vuu-data-types": "4.
|
|
14
|
-
"@vuu-ui/vuu-filter-types": "4.
|
|
15
|
-
"@vuu-ui/vuu-protocol-types": "4.
|
|
16
|
-
"@vuu-ui/vuu-table-types": "4.
|
|
13
|
+
"@vuu-ui/vuu-data-types": "4.1.0",
|
|
14
|
+
"@vuu-ui/vuu-filter-types": "4.1.0",
|
|
15
|
+
"@vuu-ui/vuu-protocol-types": "4.1.0",
|
|
16
|
+
"@vuu-ui/vuu-table-types": "4.1.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vuu-ui/vuu-context-menu": "4.
|
|
20
|
-
"@vuu-ui/vuu-data-remote": "4.
|
|
21
|
-
"@vuu-ui/vuu-filter-parser": "4.
|
|
22
|
-
"@vuu-ui/vuu-filters": "4.
|
|
23
|
-
"@vuu-ui/vuu-layout": "4.
|
|
24
|
-
"@vuu-ui/vuu-notifications": "4.
|
|
25
|
-
"@vuu-ui/vuu-ui-controls": "4.
|
|
26
|
-
"@vuu-ui/vuu-utils": "4.
|
|
27
|
-
"@vuu-ui/vuu-table": "4.
|
|
19
|
+
"@vuu-ui/vuu-context-menu": "4.1.0",
|
|
20
|
+
"@vuu-ui/vuu-data-remote": "4.1.0",
|
|
21
|
+
"@vuu-ui/vuu-filter-parser": "4.1.0",
|
|
22
|
+
"@vuu-ui/vuu-filters": "4.1.0",
|
|
23
|
+
"@vuu-ui/vuu-layout": "4.1.0",
|
|
24
|
+
"@vuu-ui/vuu-notifications": "4.1.0",
|
|
25
|
+
"@vuu-ui/vuu-ui-controls": "4.1.0",
|
|
26
|
+
"@vuu-ui/vuu-utils": "4.1.0",
|
|
27
|
+
"@vuu-ui/vuu-table": "4.1.0",
|
|
28
28
|
"@salt-ds/core": "1.74.0",
|
|
29
29
|
"@salt-ds/styles": "0.4.2",
|
|
30
30
|
"@salt-ds/window": "0.1.2"
|
|
@@ -2,4 +2,4 @@ import { HTMLAttributes } from "react";
|
|
|
2
2
|
import { EditFormHookProps } from "./useEditForm";
|
|
3
3
|
export interface EditFormProps extends EditFormHookProps, Omit<HTMLAttributes<HTMLDivElement>, "onSubmit"> {
|
|
4
4
|
}
|
|
5
|
-
export declare const EditForm: ({ className, dataSource, formFieldDescriptors, onSubmit: onSubmitProp, ...htmlAttributes }: EditFormProps) => import("react
|
|
5
|
+
export declare const EditForm: ({ className, dataSource, formFieldDescriptors, onSubmit: onSubmitProp, ...htmlAttributes }: EditFormProps) => import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface UnsavedChangesReportProps<T extends Entity = Entity> {
|
|
|
3
3
|
entity: T;
|
|
4
4
|
editedEntity: T;
|
|
5
5
|
}
|
|
6
|
-
export declare const UnsavedChangesReport: ({ entity, editedEntity, }: UnsavedChangesReportProps) => import("react
|
|
6
|
+
export declare const UnsavedChangesReport: ({ entity, editedEntity, }: UnsavedChangesReportProps) => import("react").JSX.Element;
|
|
@@ -42,4 +42,4 @@ export interface DataItemEditControlProps {
|
|
|
42
42
|
variant?: FilterControlVariant;
|
|
43
43
|
}
|
|
44
44
|
export type ValidationStatus = "initial" | true | string;
|
|
45
|
-
export declare const getDataItemEditControl: ({ InputProps, TypeaheadProps, className, commitOnBlur, commitWhenCleared, dataDescriptor, editOperation, errorMessage, labels, onCommit, table, values, variant, }: DataItemEditControlProps) => import("react
|
|
45
|
+
export declare const getDataItemEditControl: ({ InputProps, TypeaheadProps, className, commitOnBlur, commitWhenCleared, dataDescriptor, editOperation, errorMessage, labels, onCommit, table, values, variant, }: DataItemEditControlProps) => import("react").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DataSource, DataValueDescriptor } from "@vuu-ui/vuu-data-types";
|
|
2
2
|
import { CommitHandler, Entity } from "@vuu-ui/vuu-utils";
|
|
3
|
-
import { FocusEventHandler,
|
|
3
|
+
import { FocusEventHandler, type ChangeEvent } from "react";
|
|
4
4
|
export interface EditFormHookProps {
|
|
5
5
|
dataSource?: DataSource;
|
|
6
6
|
formFieldDescriptors: DataValueDescriptor[];
|
|
@@ -14,7 +14,7 @@ export declare const useEditForm: ({ dataSource, formFieldDescriptors, onSubmit,
|
|
|
14
14
|
isClean: boolean;
|
|
15
15
|
ok: boolean;
|
|
16
16
|
onCancel: () => Promise<void>;
|
|
17
|
-
onChange: (evt:
|
|
17
|
+
onChange: (evt: ChangeEvent<HTMLInputElement>) => void;
|
|
18
18
|
onCommit: CommitHandler<HTMLElement>;
|
|
19
19
|
onFocus: FocusEventHandler;
|
|
20
20
|
onSubmit: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const LostConnectionIndicator: () => import("react
|
|
1
|
+
export declare const LostConnectionIndicator: () => import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface SessionEditingFormProps extends HTMLAttributes<HTMLDivElement>
|
|
|
21
21
|
dataSource?: DataSource;
|
|
22
22
|
schema?: TableSchema;
|
|
23
23
|
}
|
|
24
|
-
export declare const SessionEditingForm: ({ className, config: { fields, key: keyField }, dataSource: dataSourceProp, id: idProp, onClose, schema, ...htmlAttributes }: SessionEditingFormProps) => import("react
|
|
24
|
+
export declare const SessionEditingForm: ({ className, config: { fields, key: keyField }, dataSource: dataSourceProp, id: idProp, onClose, schema, ...htmlAttributes }: SessionEditingFormProps) => import("react").JSX.Element;
|