ados-rcm 1.0.83 → 1.0.85
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.
|
@@ -213,22 +213,11 @@ export interface IADialogProps {
|
|
|
213
213
|
export declare const ADialog: (props: IADialogProps) => React.ReactPortal;
|
|
214
214
|
export interface IADialogState {
|
|
215
215
|
isOpen: boolean;
|
|
216
|
+
setIsOpen: (isOpen: boolean) => void;
|
|
216
217
|
open: () => void;
|
|
217
218
|
onClose: () => void;
|
|
218
219
|
}
|
|
219
|
-
export
|
|
220
|
-
[key in T]: IADialogState;
|
|
221
|
-
};
|
|
222
|
-
export declare const useADialogStates: <T extends string>(dlgNames: readonly T[]) => TADialogStates<T>;
|
|
223
|
-
export type TADialogActionRefs<T extends string> = {
|
|
224
|
-
[key in T]: TActionRef<IADialogActions>;
|
|
225
|
-
};
|
|
226
|
-
/**
|
|
227
|
-
* useADialogActionRefs
|
|
228
|
-
*
|
|
229
|
-
* Description : useADialogActionRefs is a hook that creates actionRefs for dialogs. dlgNames SHOULD NOT BE CHANGED on runtime
|
|
230
|
-
*/
|
|
231
|
-
export declare const useADialogActionRefs: <T extends string>(dlgNames: readonly T[]) => TADialogActionRefs<T>;
|
|
220
|
+
export declare const useADialogState: () => IADialogState;
|
|
232
221
|
export interface IADialogFrameProps {
|
|
233
222
|
/**
|
|
234
223
|
* dlgState : IADialogState
|
|
@@ -238,11 +227,8 @@ export interface IADialogFrameProps {
|
|
|
238
227
|
*/
|
|
239
228
|
dlgState: IADialogState;
|
|
240
229
|
/**
|
|
241
|
-
* children : React.
|
|
230
|
+
* children : React.ReactElement
|
|
242
231
|
*/
|
|
243
|
-
children: React.
|
|
244
|
-
}
|
|
245
|
-
export interface IADialogFrameChildren {
|
|
246
|
-
dlgState: IADialogState;
|
|
232
|
+
children: React.ReactElement;
|
|
247
233
|
}
|
|
248
|
-
export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element
|
|
234
|
+
export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,7 +5,7 @@ import { IItem } from '../../AUtils/objF';
|
|
|
5
5
|
import { IATablePagination, IATableSortation, IATableTRProps, TATableDefs, TATableFilteration } from './ATable';
|
|
6
6
|
interface IATableBodyProps<T extends IItem> {
|
|
7
7
|
defs: TATableDefs<T>;
|
|
8
|
-
rProps?: TCanCallback<IATableTRProps<T>, React.DetailedHTMLProps<React.HTMLAttributes<
|
|
8
|
+
rProps?: TCanCallback<IATableTRProps<T>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>>;
|
|
9
9
|
useSelect?: TUseValues<T[]>;
|
|
10
10
|
isTableDisabled?: boolean;
|
|
11
11
|
isSelectMulti?: boolean;
|