@acuteinfo/common-base 1.0.4 → 1.0.5
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/autocomplete/autocomplete.d.ts +1 -0
- package/dist/components/common/checkbox/checkbox.d.ts +1 -0
- package/dist/components/common/datetime/datePicker.d.ts +1 -0
- package/dist/components/common/datetime/datetimePicker.d.ts +1 -0
- package/dist/components/common/formbutton/formbutton.d.ts +11 -13
- package/dist/components/common/select/select.d.ts +1 -0
- package/dist/components/common/textField/textField.d.ts +1 -0
- package/dist/components/common/typograhpy/typography.d.ts +6 -3
- package/dist/components/dataTable/styledComponents/menuItem.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/packages/form/src/field.d.ts +3 -1
- package/dist/packages/form/src/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ interface AutoCompleteExtendedProps {
|
|
|
24
24
|
_optionsKey?: string;
|
|
25
25
|
disableCaching?: boolean;
|
|
26
26
|
disableAdornment?: boolean;
|
|
27
|
+
ignoreInSubmit?: boolean;
|
|
27
28
|
}
|
|
28
29
|
type MyAutocompleteProps = Merge<AutocompleteProps<OptionsProps, true, true, true>, AutoCompleteExtendedProps>;
|
|
29
30
|
export type MyAllAutocompleteProps = Merge<MyAutocompleteProps, UseFieldHookProps>;
|
|
@@ -16,6 +16,7 @@ interface MyCheckboxExtendedProps {
|
|
|
16
16
|
FormHelperTextProps?: FormHelperTextProps;
|
|
17
17
|
GridProps?: GridProps;
|
|
18
18
|
enableGrid: boolean;
|
|
19
|
+
ignoreInSubmit?: boolean;
|
|
19
20
|
}
|
|
20
21
|
export type MyCheckboxAllProps = Merge<MyCheckboxMixedProps, MyCheckboxExtendedProps>;
|
|
21
22
|
declare const MyCheckbox: FC<MyCheckboxAllProps>;
|
|
@@ -9,6 +9,7 @@ interface MyGridExtendedProps {
|
|
|
9
9
|
GridProps?: GridProps;
|
|
10
10
|
disableTimestamp?: boolean;
|
|
11
11
|
enableGrid: boolean;
|
|
12
|
+
ignoreInSubmit?: boolean;
|
|
12
13
|
}
|
|
13
14
|
export type MyDataPickerAllProps = Merge<Merge<KeyboardDatePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
14
15
|
export declare const MyDatePicker: FC<MyDataPickerAllProps>;
|
|
@@ -7,6 +7,7 @@ type KeyboardDateTimePickerPropsSubset = Omit<DateTimePickerProps<any>, "onChang
|
|
|
7
7
|
interface MyGridExtendedProps {
|
|
8
8
|
GridProps?: GridProps;
|
|
9
9
|
enableGrid: boolean;
|
|
10
|
+
ignoreInSubmit?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export type MyDateTimePickerAllProps = Merge<Merge<KeyboardDateTimePickerPropsSubset, MyGridExtendedProps>, UseFieldHookProps>;
|
|
12
13
|
export declare const MyDateTimePicker: FC<MyDateTimePickerAllProps>;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { Merge } from "../types";
|
|
2
3
|
import { UseFieldHookProps } from "packages/form";
|
|
3
|
-
import { FormControlLabelProps } from "@mui/material
|
|
4
|
-
import
|
|
5
|
-
import { FormHelperTextProps } from "@mui/material/FormHelperText";
|
|
6
|
-
import { GridProps } from "@mui/material/Grid";
|
|
7
|
-
import { ButtonProps } from "@mui/material/Button";
|
|
4
|
+
import { ButtonProps, FormControlLabelProps, FormControlProps, FormHelperTextProps, GridProps } from "@mui/material";
|
|
5
|
+
import * as Icons from "@mui/icons-material";
|
|
8
6
|
interface extendedFiledProps extends UseFieldHookProps {
|
|
9
7
|
label: string;
|
|
10
8
|
}
|
|
@@ -14,15 +12,15 @@ interface MyButtonExtendedProps {
|
|
|
14
12
|
FormHelperTextProps?: FormHelperTextProps;
|
|
15
13
|
GridProps?: GridProps;
|
|
16
14
|
enableGrid: boolean;
|
|
15
|
+
iconStyle?: any;
|
|
16
|
+
tabIndex?: any;
|
|
17
|
+
startsIcon?: keyof typeof Icons;
|
|
18
|
+
endsIcon?: keyof typeof Icons;
|
|
19
|
+
rotateIcon?: string;
|
|
20
|
+
setValueOnDependentFieldsChange?: any;
|
|
21
|
+
onFormButtonClickHandel?: any;
|
|
17
22
|
}
|
|
18
23
|
type MyButtonMixedProps = Merge<ButtonProps, extendedFiledProps>;
|
|
19
24
|
export type MyFormButtonAllProps = Merge<MyButtonMixedProps, MyButtonExtendedProps>;
|
|
20
|
-
export declare const FormButton:
|
|
21
|
-
[x: string]: any;
|
|
22
|
-
label: any;
|
|
23
|
-
enableGrid: any;
|
|
24
|
-
GridProps: any;
|
|
25
|
-
fieldKey: any;
|
|
26
|
-
onFormButtonClickHandel: any;
|
|
27
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const FormButton: React.FC<MyFormButtonAllProps>;
|
|
28
26
|
export default FormButton;
|
|
@@ -24,6 +24,7 @@ interface MySelectExtendedProps {
|
|
|
24
24
|
CircularProgressProps?: CircularProgressProps;
|
|
25
25
|
GridProps?: GridProps;
|
|
26
26
|
enableGrid: boolean;
|
|
27
|
+
ignoreInSubmit?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export type MySelectAllProps = Merge<MySelectProps, MySelectExtendedProps>;
|
|
29
30
|
declare const MySelect: FC<MySelectAllProps>;
|
|
@@ -27,6 +27,7 @@ interface MyGridExtendedProps {
|
|
|
27
27
|
alwaysRun?: any;
|
|
28
28
|
touchAndValidate?: any;
|
|
29
29
|
};
|
|
30
|
+
ignoreInSubmit?: boolean;
|
|
30
31
|
}
|
|
31
32
|
type MyTextFieldAllProps = Merge<TextFieldProps, MyGridExtendedProps>;
|
|
32
33
|
export type MyTextFieldProps = UseFieldHookProps & MyTextFieldAllProps;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import { GridProps, TypographyProps } from "@mui/material";
|
|
2
|
+
import { UseFieldHookProps } from "packages/form";
|
|
1
3
|
import { FC } from "react";
|
|
2
|
-
import { GridProps } from "@mui/material/Grid";
|
|
3
|
-
import { TypographyProps } from "@mui/material/Typography";
|
|
4
4
|
export interface AllTypographyProps {
|
|
5
5
|
TypographyProps?: TypographyProps;
|
|
6
6
|
GridProps?: GridProps;
|
|
7
7
|
name: string;
|
|
8
8
|
label: string;
|
|
9
|
+
fieldKey: string;
|
|
10
|
+
setValueOnDependentFieldsChange?: Function;
|
|
9
11
|
}
|
|
10
|
-
|
|
12
|
+
export type MyTypographyAllProps = UseFieldHookProps & AllTypographyProps;
|
|
13
|
+
declare const MyTypography: FC<MyTypographyAllProps>;
|
|
11
14
|
export default MyTypography;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledMenuItem: import("react").JSXElementConstructor<Omit<import("@mui/material/MenuItem").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
4
|
-
}, "children" | "action" | "style" | "className" | "classes" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters"
|
|
4
|
+
}, "children" | "divider" | "action" | "style" | "className" | "classes" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "dense" | "selected" | "disableGutters">, "classes"> & import("@mui/styles").StyledComponentProps<"root"> & object>;
|