@acuteinfo/common-base 1.2.54 → 1.2.55
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/custom/Remarks.d.ts +19 -17
- package/dist/components/dataTable/types.d.ts +3 -0
- package/dist/components/report/gridTable.d.ts +3 -0
- package/dist/components/styledComponent/button/button.d.ts +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface RemarksAPIWrapperProps {
|
|
2
2
|
TitleText: any;
|
|
3
3
|
onActionNo: any;
|
|
4
4
|
onActionYes: any;
|
|
5
|
-
isRequired?: boolean
|
|
6
|
-
isEntertoSubmit?: boolean
|
|
7
|
-
AcceptbuttonLabelText?: string
|
|
8
|
-
CanceltbuttonLabelText?: string
|
|
9
|
-
isLoading?: boolean
|
|
10
|
-
open?: boolean
|
|
11
|
-
label?: string
|
|
12
|
-
placeholder?: string
|
|
13
|
-
defaultValue?: string
|
|
14
|
-
rows
|
|
15
|
-
customRequiredMessage?: string
|
|
16
|
-
maxLength?: number
|
|
17
|
-
showMaxLength?: boolean
|
|
18
|
-
enableEnterToFocus?:
|
|
19
|
-
focusScopeId?: string
|
|
20
|
-
|
|
5
|
+
isRequired?: boolean;
|
|
6
|
+
isEntertoSubmit?: boolean;
|
|
7
|
+
AcceptbuttonLabelText?: string;
|
|
8
|
+
CanceltbuttonLabelText?: string;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
rows?: any;
|
|
15
|
+
customRequiredMessage?: string;
|
|
16
|
+
maxLength?: number;
|
|
17
|
+
showMaxLength?: boolean;
|
|
18
|
+
enableEnterToFocus?: boolean;
|
|
19
|
+
focusScopeId?: string;
|
|
20
|
+
preventSpecialChars?: string | (() => string | null) | null;
|
|
21
|
+
}
|
|
22
|
+
export declare const RemarksAPIWrapper: ({ TitleText, onActionNo, onActionYes, isRequired, isEntertoSubmit, AcceptbuttonLabelText, CanceltbuttonLabelText, isLoading, open, label, placeholder, defaultValue, rows, customRequiredMessage, maxLength, showMaxLength, enableEnterToFocus, focusScopeId, preventSpecialChars }: RemarksAPIWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -102,6 +102,9 @@ export interface ActionTypes {
|
|
|
102
102
|
* Sets button background color.
|
|
103
103
|
*/
|
|
104
104
|
actionBackground?: string;
|
|
105
|
+
enableShortcut?: boolean;
|
|
106
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
107
|
+
eventKey?: string;
|
|
105
108
|
}
|
|
106
109
|
export interface RenderActionType {
|
|
107
110
|
actions: ActionTypes[];
|
|
@@ -50,6 +50,9 @@ interface GridTableType {
|
|
|
50
50
|
buttonStyle?: SxProps;
|
|
51
51
|
buttonName: ReactNode;
|
|
52
52
|
callback: (event: any, originalData: any, rows: any) => void;
|
|
53
|
+
enableShortcut?: boolean;
|
|
54
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
55
|
+
eventKey?: string;
|
|
53
56
|
}[];
|
|
54
57
|
getReportData?: (filters: any[], queryFilters: any, globalFilter: string | undefined, originalData: any, filteredData: any) => void;
|
|
55
58
|
disableFilters?: boolean;
|
|
@@ -11,6 +11,13 @@ interface AdditionalProps {
|
|
|
11
11
|
* @default false
|
|
12
12
|
*/
|
|
13
13
|
elevate?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Enable keyboard shortcut (Alt+S) when button text contains "save"
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
enableShortcut?: boolean;
|
|
19
|
+
shortcut?: "alt" | "ctrl" | "shift" | "meta";
|
|
20
|
+
eventKey?: string;
|
|
14
21
|
}
|
|
15
22
|
type GradientButtonProps = AdditionalProps & ButtonProps;
|
|
16
23
|
declare const GradientButton: import("react").ForwardRefExoticComponent<Omit<GradientButtonProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -53,9 +53,9 @@ export * from "./components/detailPopupGridData/GridDetailsWithHeader/type";
|
|
|
53
53
|
export { DetailsGridWithHeader, useDialogStyles as useDialogStylesDetailsGrid, } from "./components/detailPopupGridData";
|
|
54
54
|
export * from "./components/report";
|
|
55
55
|
export * from "./components/report/serverReport/ReportWrapper";
|
|
56
|
-
export * from "./components/utils/reportExport/context/exportWorkerContext";
|
|
57
56
|
export * from "./components/customNotistack";
|
|
58
57
|
export * from "./components/report/types";
|
|
58
|
+
export * from "./components/utils/reportExport";
|
|
59
59
|
export * from "./components/context/propertiesConfig/customProperties";
|
|
60
60
|
export { AuthContextProvider } from "./components/context/authContext/authContext";
|
|
61
61
|
export { AgGridTableWrapper } from "./components/agGridTable";
|