@acuteinfo/common-base 1.0.71 → 1.0.73

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.
@@ -72,6 +72,11 @@ export interface CustomProperties {
72
72
  * @default false
73
73
  */
74
74
  isContainedActionButton?: boolean;
75
+ /**
76
+ * If true, rowDoubleClick Action can be performed using double space press on selected row.
77
+ * @default false
78
+ */
79
+ enableDoubleSpaceAction?: boolean;
75
80
  };
76
81
  defaultExportConfig?: {
77
82
  /**
@@ -12,8 +12,24 @@ type TMessageBoxParams = {
12
12
  type TPopupContextType = {
13
13
  MessageBox: (params: TMessageBoxParams) => Promise<TButtonName> | any;
14
14
  CloseMessageBox: () => void;
15
+ messageBoxConfig?: any;
15
16
  };
16
17
  export declare const PopupContext: React.Context<TPopupContextType>;
17
- export declare const PopupContextProvider: React.FC<React.PropsWithChildren>;
18
+ interface IconConfigType {
19
+ color?: string;
20
+ icon?: React.ComponentType<any>;
21
+ }
22
+ interface ProvidrerProps {
23
+ messageBoxConfig?: {
24
+ iconsConfig?: {
25
+ INFO?: IconConfigType;
26
+ SUCCESS?: IconConfigType;
27
+ WARNING?: IconConfigType;
28
+ ERROR?: IconConfigType;
29
+ CONFIRM?: IconConfigType;
30
+ };
31
+ };
32
+ }
33
+ export declare const PopupContextProvider: React.FC<React.PropsWithChildren<ProvidrerProps>>;
18
34
  export declare const usePopupContext: () => TPopupContextType;
19
35
  export {};
@@ -1,12 +1,15 @@
1
- export declare const PopupRequestWrapper: ({ MessageTitle, Message, onClickButton, buttonNames, rows, open, loading, icon, defFocusBtnName, loadingBtnName, }: {
2
- MessageTitle: any;
3
- Message: any;
4
- onClickButton: any;
5
- buttonNames?: string[] | undefined;
6
- rows: any;
7
- open?: boolean | undefined;
8
- loading?: boolean | undefined;
9
- icon?: string | undefined;
10
- defFocusBtnName?: string | undefined;
11
- loadingBtnName?: string | undefined;
12
- }) => import("react/jsx-runtime").JSX.Element;
1
+ interface PopupRequestProps {
2
+ MessageTitle: string;
3
+ Message: string;
4
+ onClickButton?: Function;
5
+ buttonNames?: any[];
6
+ rows: any[];
7
+ open?: boolean;
8
+ loading?: boolean;
9
+ icon?: string;
10
+ defFocusBtnName?: string;
11
+ loadingBtnName?: string;
12
+ messageBoxConfig?: any;
13
+ }
14
+ export declare const PopupRequestWrapper: ({ MessageTitle, Message, onClickButton, buttonNames, rows, open, loading, icon, defFocusBtnName, loadingBtnName, messageBoxConfig }: PopupRequestProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};