@acuteinfo/common-base 1.0.109 → 1.2.1
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/components/common/datetime/timePicker.d.ts +4 -0
- package/dist/components/dynamicForm/types.d.ts +1 -0
- package/dist/components/dynamicForm/utils/constructINITValues.d.ts +1 -0
- package/dist/components/styledComponent/tooltip/htmlTooltip.d.ts +6 -0
- package/dist/components/styledComponent/tooltip/index.d.ts +1 -0
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/field.d.ts +1 -0
- package/dist/packages/form/src/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -9,6 +9,10 @@ interface MyGridExtendedProps {
|
|
|
9
9
|
GridProps?: GridProps;
|
|
10
10
|
enableGrid: boolean;
|
|
11
11
|
runPostValidationForInitValue?: boolean;
|
|
12
|
+
setFieldLabel?: (dependentFields?: any, value?: any) => {
|
|
13
|
+
label: string;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
} | null | undefined;
|
|
12
16
|
}
|
|
13
17
|
export type MyTimeTimePickerAllProps = Merge<Merge<KeyboardTimePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
14
18
|
export declare const MyTimePicker: FC<MyTimeTimePickerAllProps>;
|
|
@@ -113,6 +113,7 @@ export interface RenderFunctionType {
|
|
|
113
113
|
export interface FormWrapperProps {
|
|
114
114
|
metaData: MetaDataType;
|
|
115
115
|
initialValues?: InitialValuesType;
|
|
116
|
+
previousValues?: InitialValuesType;
|
|
116
117
|
onSubmitHandler: SubmitFnType;
|
|
117
118
|
hidden?: boolean;
|
|
118
119
|
displayMode?: "new" | "view" | "edit" | (string & Record<never, never>) | null;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { InitialValuesType } from "packages/form";
|
|
2
2
|
import { FieldMetaDataType } from "../types";
|
|
3
3
|
export declare const constructInitialValue: (fields: FieldMetaDataType[], initialValues?: InitialValuesType, formState?: any, authState?: any) => {};
|
|
4
|
+
export declare const constructPreviousValues: (fields: FieldMetaDataType[], previousValues?: InitialValuesType) => {};
|
|
4
5
|
export declare const constructInitialValuesForArrayFields: (fields: FieldMetaDataType[], formState?: any, authState?: any) => {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TooltipProps } from "@mui/material/Tooltip";
|
|
2
|
+
export declare const HtmlTooltip: import("@emotion/styled").StyledComponent<TooltipProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
3
|
+
export declare const TooltipTitle: ({ label, value, }: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | string[];
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|