@apia/components 4.0.18 → 4.0.19
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/index.d.ts +84 -84
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -115,67 +115,67 @@ type TModal = {
|
|
|
115
115
|
variant?: string;
|
|
116
116
|
} & Pick<IDialogHeader, 'hideCloseButton'>;
|
|
117
117
|
declare const Modal: React__default.ForwardRefExoticComponent<{
|
|
118
|
-
animationDuration?: number;
|
|
118
|
+
animationDuration?: number | undefined;
|
|
119
119
|
/**
|
|
120
120
|
* Aplica solamente para modales que tengan draggable=true.
|
|
121
121
|
*/
|
|
122
122
|
defaultPosition?: {
|
|
123
|
-
left?: string;
|
|
124
|
-
right?: string;
|
|
125
|
-
top?: string;
|
|
126
|
-
bottom?: string;
|
|
127
|
-
};
|
|
123
|
+
left?: string | undefined;
|
|
124
|
+
right?: string | undefined;
|
|
125
|
+
top?: string | undefined;
|
|
126
|
+
bottom?: string | undefined;
|
|
127
|
+
} | undefined;
|
|
128
128
|
/**
|
|
129
129
|
* Si esta variable está en true, el modal se comportará más como una ventana
|
|
130
130
|
* que como un modal
|
|
131
131
|
*/
|
|
132
|
-
draggable?: boolean;
|
|
133
|
-
dragBounded?: boolean;
|
|
132
|
+
draggable?: boolean | undefined;
|
|
133
|
+
dragBounded?: boolean | undefined;
|
|
134
134
|
children?: React__default.ReactNode;
|
|
135
|
-
className?: string;
|
|
136
|
-
id?: string;
|
|
137
|
-
initialFocusConfiguration?: IOnFocusConfiguration;
|
|
135
|
+
className?: string | undefined;
|
|
136
|
+
id?: string | undefined;
|
|
137
|
+
initialFocusConfiguration?: IOnFocusConfiguration | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* Este retriever será pasado al método focus.on para realizar el foco en el
|
|
140
140
|
* elemento inicial del modal.
|
|
141
141
|
*
|
|
142
142
|
* @see focus
|
|
143
143
|
*/
|
|
144
|
-
initialFocusGetter?: (modalInnerRef: HTMLElement) => ReturnType<TFocusRetriever
|
|
144
|
+
initialFocusGetter?: ((modalInnerRef: HTMLElement) => ReturnType<TFocusRetriever>) | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* Si se pasa un ref, el modal hará foco sobre el elemento una vez que haya
|
|
147
147
|
* abierto.
|
|
148
148
|
*/
|
|
149
|
-
initialFocusRef?: React__default.RefObject<unknown
|
|
149
|
+
initialFocusRef?: React__default.RefObject<unknown> | undefined;
|
|
150
150
|
/**
|
|
151
151
|
* Controla el estado del modal, indicando a la transición de apertura o
|
|
152
152
|
* cierre que debe comenzar, dependiendo de si cambia a true o false
|
|
153
153
|
* respectivamente.
|
|
154
154
|
*/
|
|
155
|
-
isOpen?: boolean;
|
|
156
|
-
maxWidth?: number |
|
|
155
|
+
isOpen?: boolean | undefined;
|
|
156
|
+
maxWidth?: string | number | undefined;
|
|
157
157
|
/**
|
|
158
158
|
* Permite pasar un componente React que se mostrará a la derecha del título,
|
|
159
159
|
* con el fin de incorporar botones en el header del modal.
|
|
160
160
|
*/
|
|
161
161
|
NavBar?: React__default.ReactNode;
|
|
162
|
-
noFocus?: boolean;
|
|
163
|
-
noHeader?: boolean;
|
|
162
|
+
noFocus?: boolean | undefined;
|
|
163
|
+
noHeader?: boolean | undefined;
|
|
164
164
|
/**
|
|
165
165
|
* Permite definir un callback que será llamado solamente cuando el modal se
|
|
166
166
|
* cierre por medio del click en el overlay, al presionar escape o mediante
|
|
167
167
|
* el botón cerrar del header (La X).
|
|
168
168
|
*/
|
|
169
|
-
onClose?: () => void;
|
|
169
|
+
onClose?: (() => void) | undefined;
|
|
170
170
|
/**
|
|
171
171
|
* Este método recibe el evento del mousedown utilizado para controllar el dragstart. Si el usuario devuelve false, el drag no será realizado.
|
|
172
172
|
*/
|
|
173
|
-
onDragStart?: (ev: MouseEvent) => boolean;
|
|
173
|
+
onDragStart?: ((ev: MouseEvent) => boolean) | undefined;
|
|
174
174
|
/**
|
|
175
175
|
* Permite definir un callback que será llamado siempre que el modal se
|
|
176
176
|
* cierre, una vez que la animación haya terminado.
|
|
177
177
|
*/
|
|
178
|
-
onExited?: () => unknown;
|
|
178
|
+
onExited?: (() => unknown) | undefined;
|
|
179
179
|
/**
|
|
180
180
|
* Al pasar un Portal, el modal se abrirá dentro de éste y no directamente en
|
|
181
181
|
* la posición actual dentro del árbol de componentes. Normalmente, este
|
|
@@ -186,19 +186,19 @@ declare const Modal: React__default.ForwardRefExoticComponent<{
|
|
|
186
186
|
*/
|
|
187
187
|
Portal?: React__default.FC<{
|
|
188
188
|
children: React__default.ReactNode;
|
|
189
|
-
}
|
|
189
|
+
}> | undefined;
|
|
190
190
|
/**
|
|
191
191
|
* Si es true, el modal será cerrado al presionar escape.
|
|
192
192
|
*/
|
|
193
|
-
shouldCloseOnEsc?: boolean;
|
|
193
|
+
shouldCloseOnEsc?: boolean | undefined;
|
|
194
194
|
/**
|
|
195
195
|
* Si es true, el modal será cerrado al hacer clic en el overlay.
|
|
196
196
|
*/
|
|
197
|
-
shouldCloseOnOverlayClick?: boolean;
|
|
198
|
-
size?: TModalSize;
|
|
199
|
-
stretch?: boolean;
|
|
200
|
-
title?: string;
|
|
201
|
-
variant?: string;
|
|
197
|
+
shouldCloseOnOverlayClick?: boolean | undefined;
|
|
198
|
+
size?: TModalSize | undefined;
|
|
199
|
+
stretch?: boolean | undefined;
|
|
200
|
+
title?: string | undefined;
|
|
201
|
+
variant?: string | undefined;
|
|
202
202
|
} & Pick<IDialogHeader, "hideCloseButton"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
203
203
|
|
|
204
204
|
type TOpenModal = Pick<TModal, 'NavBar' | 'Portal' | 'children' | 'className' | 'hideCloseButton' | 'initialFocusGetter' | 'initialFocusConfiguration' | 'maxWidth' | 'noHeader' | 'onExited' | 'shouldCloseOnEsc' | 'shouldCloseOnOverlayClick' | 'size' | 'stretch' | 'title' | 'variant' | 'draggable' | 'onClose' | 'onDragStart' | 'defaultPosition' | 'dragBounded'> & {
|
|
@@ -285,7 +285,7 @@ declare class ApiaUtilNotifications {
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
declare const TabsList: (({ arrowsBehavior }: {
|
|
288
|
-
arrowsBehavior?: "open" | "focus";
|
|
288
|
+
arrowsBehavior?: "open" | "focus" | undefined;
|
|
289
289
|
}) => React__default.JSX.Element | null) & {
|
|
290
290
|
displayName: string;
|
|
291
291
|
};
|
|
@@ -428,14 +428,13 @@ type TTabsListState<TabType extends TTab> = {
|
|
|
428
428
|
|
|
429
429
|
declare const DefaultTabsLabelRenderer: TTabLabelRenderer;
|
|
430
430
|
|
|
431
|
-
declare const TabsContent: ((props: Omit<BoxProps,
|
|
431
|
+
declare const TabsContent: ((props: Omit<BoxProps, 'children'>) => React$1.JSX.Element | null) & {
|
|
432
432
|
displayName: string;
|
|
433
433
|
};
|
|
434
434
|
|
|
435
435
|
declare function useTabsContext(): TabsController<TTab> | null;
|
|
436
436
|
|
|
437
|
-
declare const
|
|
438
|
-
declare const Tabs: typeof NonForwardedTabs;
|
|
437
|
+
declare const Tabs: ({ id, getController, initialTabs, orientation, initialState, ...props }: TabsControllerProps<TTab> & Omit<BoxProps, 'id' | 'as' | 'role'>, ref: React__default.ForwardedRef<HTMLDivElement>) => React__default.JSX.Element | null;
|
|
439
438
|
|
|
440
439
|
declare class ApiaUtilTabsController {
|
|
441
440
|
get currentTab(): Tab<TTab>;
|
|
@@ -648,9 +647,9 @@ declare class AutomaticTooltip {
|
|
|
648
647
|
#private;
|
|
649
648
|
private handler;
|
|
650
649
|
ref: (el: HTMLElement | null) => void;
|
|
651
|
-
constructor(tooltip: (
|
|
652
|
-
timeout?: number;
|
|
653
|
-
}) | null
|
|
650
|
+
constructor(tooltip: (Partial<TTooltip> & {
|
|
651
|
+
timeout?: number | undefined;
|
|
652
|
+
}) | null | undefined, handler: ApiaUtilTooltips);
|
|
654
653
|
update: (tooltip: Partial<TTooltip>) => void;
|
|
655
654
|
}
|
|
656
655
|
|
|
@@ -987,7 +986,7 @@ declare function useOtherTagButton(props?: Partial<{
|
|
|
987
986
|
|
|
988
987
|
declare const Captcha: ({ name, imageUrl, onChange, value, className, }: {
|
|
989
988
|
name: string;
|
|
990
|
-
className?: string;
|
|
989
|
+
className?: string | undefined;
|
|
991
990
|
imageUrl: string;
|
|
992
991
|
onChange: React.ChangeEventHandler<HTMLInputElement>;
|
|
993
992
|
value: string;
|
|
@@ -1128,12 +1127,12 @@ type TFieldLabel = {
|
|
|
1128
1127
|
requiredMarkPosition?: 'before' | 'after';
|
|
1129
1128
|
} & BoxProps;
|
|
1130
1129
|
declare const FieldLabel: React$1.ForwardRefExoticComponent<{
|
|
1131
|
-
avoidSemicolon?: boolean;
|
|
1130
|
+
avoidSemicolon?: boolean | undefined;
|
|
1132
1131
|
/**
|
|
1133
1132
|
* Permite mostrar un mensaje de error debajo del campo
|
|
1134
1133
|
*/
|
|
1135
|
-
error?: string;
|
|
1136
|
-
hideRequiredMark?: boolean;
|
|
1134
|
+
error?: string | undefined;
|
|
1135
|
+
hideRequiredMark?: boolean | undefined;
|
|
1137
1136
|
label: string;
|
|
1138
1137
|
/**
|
|
1139
1138
|
* La propiedad required se utiliza para mostrar el * de requerido.
|
|
@@ -1141,8 +1140,8 @@ declare const FieldLabel: React$1.ForwardRefExoticComponent<{
|
|
|
1141
1140
|
* @see requiredMarkPosition
|
|
1142
1141
|
* @see hideRequiredMark
|
|
1143
1142
|
*/
|
|
1144
|
-
required?: boolean;
|
|
1145
|
-
requiredMarkPosition?: "
|
|
1143
|
+
required?: boolean | undefined;
|
|
1144
|
+
requiredMarkPosition?: "after" | "before" | undefined;
|
|
1146
1145
|
} & BoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1147
1146
|
|
|
1148
1147
|
interface IAccordionItemButton {
|
|
@@ -1192,23 +1191,26 @@ interface IAccordionProps {
|
|
|
1192
1191
|
}
|
|
1193
1192
|
declare const Accordion: FC<IAccordionProps>;
|
|
1194
1193
|
|
|
1195
|
-
type TItemState
|
|
1194
|
+
type TItemState = {
|
|
1196
1195
|
isChecked: boolean;
|
|
1197
1196
|
isExpanded: boolean;
|
|
1197
|
+
disabled?: boolean;
|
|
1198
|
+
toggled?: boolean;
|
|
1199
|
+
isLoading?: boolean;
|
|
1198
1200
|
};
|
|
1199
|
-
type TItemStateListener = (state: TItemState
|
|
1201
|
+
type TItemStateListener = (state: TItemState) => unknown;
|
|
1200
1202
|
type TPropsListener = (props: IAccordionProps) => unknown;
|
|
1201
1203
|
|
|
1202
1204
|
type TSelectionComparator<T> = (prev: T, next: T) => boolean;
|
|
1203
|
-
type TItemUpdater = Partial<TItemState
|
|
1205
|
+
type TItemUpdater = Partial<TItemState> | ((currentProps: TItemState) => Partial<TItemState>);
|
|
1204
1206
|
declare class AccordionHandler {
|
|
1205
1207
|
id: string;
|
|
1206
1208
|
props: IAccordionProps;
|
|
1207
|
-
itemsState: Record<TId$1, TItemState
|
|
1209
|
+
itemsState: Record<TId$1, TItemState>;
|
|
1208
1210
|
itemsStateListeners: Record<TId$1, TItemStateListener[]>;
|
|
1209
1211
|
propsListeners: TPropsListener[];
|
|
1210
1212
|
constructor(id: string, props: IAccordionProps);
|
|
1211
|
-
registerItem(itemId: TId$1, initialState: TItemState
|
|
1213
|
+
registerItem(itemId: TId$1, initialState: TItemState): void;
|
|
1212
1214
|
toggleItem(itemId: TId$1, expanded?: boolean): void;
|
|
1213
1215
|
unregisterItem(itemId: TId$1): void;
|
|
1214
1216
|
/**
|
|
@@ -1224,9 +1226,9 @@ declare class AccordionHandler {
|
|
|
1224
1226
|
children: ReactNode;
|
|
1225
1227
|
}) => React$1.JSX.Element;
|
|
1226
1228
|
useItemId: () => TId$1;
|
|
1227
|
-
useItemStateSelector: <T>(selector: (props: TItemState
|
|
1229
|
+
useItemStateSelector: <T>(selector: (props: TItemState) => T, comparator?: TSelectionComparator<T>) => T;
|
|
1228
1230
|
useItemStateUpdate: (cb: TItemStateListener) => void;
|
|
1229
|
-
usePropsSelector: <
|
|
1231
|
+
usePropsSelector: <T_1>(selector: (props: IAccordionProps) => T_1, comparator?: TSelectionComparator<T_1>) => T_1;
|
|
1230
1232
|
usePropsUpdate: (cb: TPropsListener) => void;
|
|
1231
1233
|
};
|
|
1232
1234
|
}
|
|
@@ -1387,7 +1389,7 @@ declare const ContainerWithHeader: ({ title, children, footerChildren, onClose,
|
|
|
1387
1389
|
children: ReactNode;
|
|
1388
1390
|
footerChildren?: ReactNode;
|
|
1389
1391
|
additionalButtons?: ReactNode;
|
|
1390
|
-
onClose?: () => void;
|
|
1392
|
+
onClose?: (() => void) | undefined;
|
|
1391
1393
|
}) => React$1.JSX.Element;
|
|
1392
1394
|
|
|
1393
1395
|
interface ICollapsiblePanel {
|
|
@@ -1528,7 +1530,7 @@ interface IProgressBar {
|
|
|
1528
1530
|
declare const ProgressBar: FC<IProgressBar>;
|
|
1529
1531
|
|
|
1530
1532
|
declare const LoaderSpinner: ((props: {
|
|
1531
|
-
className?: string;
|
|
1533
|
+
className?: string | undefined;
|
|
1532
1534
|
}) => React$1.JSX.Element) & {
|
|
1533
1535
|
displayName: string;
|
|
1534
1536
|
};
|
|
@@ -1643,7 +1645,7 @@ declare function useModal(configuration?: TUseModalConfiguration): {
|
|
|
1643
1645
|
show: () => void;
|
|
1644
1646
|
};
|
|
1645
1647
|
|
|
1646
|
-
declare const Confirm: ({ children, additionalButtons, additionalButtonsOnRight, cancelButtonText: cancelText, className, confirmButtonText: confirmText, confirmButtonVariant, contentRef, disabled, hideCancelButton, hideConfirmButton, isLoading, onCancel, onConfirm, variant, }: Omit<IConfirm,
|
|
1648
|
+
declare const Confirm: ({ children, additionalButtons, additionalButtonsOnRight, cancelButtonText: cancelText, className, confirmButtonText: confirmText, confirmButtonVariant, contentRef, disabled, hideCancelButton, hideConfirmButton, isLoading, onCancel, onConfirm, variant, }: Omit<IConfirm, 'title'>) => React$1.JSX.Element;
|
|
1647
1649
|
|
|
1648
1650
|
interface IDialogButtonBar {
|
|
1649
1651
|
children: React$1.ReactNode;
|
|
@@ -1674,13 +1676,13 @@ declare const AutoEllipsis: ({ children, findParent, overrideStyles, }: {
|
|
|
1674
1676
|
* para dar control sobre cuál es el elemento al que se le clonarán los
|
|
1675
1677
|
* estilos.
|
|
1676
1678
|
*/
|
|
1677
|
-
findParent?: (currentElement: HTMLElement) => HTMLElement;
|
|
1679
|
+
findParent?: ((currentElement: HTMLElement) => HTMLElement) | undefined;
|
|
1678
1680
|
/**
|
|
1679
1681
|
* Si se pasa overrideStyles, será invocado con el nodo actual de
|
|
1680
1682
|
* AutoEllipsis para tomar decisiones acerca de cuáles estilos serán
|
|
1681
1683
|
* aplicados.
|
|
1682
1684
|
*/
|
|
1683
|
-
overrideStyles?: (currentElement: HTMLElement) => Partial<CSSStyleDeclaration
|
|
1685
|
+
overrideStyles?: ((currentElement: HTMLElement) => Partial<CSSStyleDeclaration>) | undefined;
|
|
1684
1686
|
}) => React$1.JSX.Element;
|
|
1685
1687
|
|
|
1686
1688
|
interface IMakeResponsiveComponent<P extends Record<string, unknown>> {
|
|
@@ -1714,7 +1716,7 @@ interface IResponsiveComponent<P> extends FC<P> {
|
|
|
1714
1716
|
* pantalla sino del espacio donde se encuentra.
|
|
1715
1717
|
*/
|
|
1716
1718
|
declare const makeResponsiveComponent: <P extends Record<string, unknown>>({ breakPoints, Component, defaultBreakpoint, }: IMakeResponsiveComponent<P>) => IResponsiveComponent<P & {
|
|
1717
|
-
breakPoints?: number[];
|
|
1719
|
+
breakPoints?: number[] | undefined;
|
|
1718
1720
|
}>;
|
|
1719
1721
|
|
|
1720
1722
|
/**
|
|
@@ -1851,11 +1853,10 @@ type TIconRenderer<P = Record<string, unknown>> = FunctionComponent<TIcon<P>>;
|
|
|
1851
1853
|
|
|
1852
1854
|
declare const DefaultIconRenderer: React$1.NamedExoticComponent<TIcon<Record<string, unknown>>>;
|
|
1853
1855
|
|
|
1854
|
-
declare const
|
|
1856
|
+
declare const IconsList: {
|
|
1855
1857
|
<P extends Record<string, unknown>>(props: TIconsList<P>, ref: ForwardedRef<HTMLDivElement>): React$1.JSX.Element;
|
|
1856
1858
|
displayName: string;
|
|
1857
1859
|
};
|
|
1858
|
-
declare const IconsList: typeof IconsListNonForwarded;
|
|
1859
1860
|
|
|
1860
1861
|
/**
|
|
1861
1862
|
* Permite importar un componente en forma dinámica con ruta relativa a
|
|
@@ -1864,7 +1865,6 @@ declare const IconsList: typeof IconsListNonForwarded;
|
|
|
1864
1865
|
declare function importComponent<T = unknown>(path: string): React$1.LazyExoticComponent<ComponentType<T>>;
|
|
1865
1866
|
|
|
1866
1867
|
type TClickListener = () => unknown;
|
|
1867
|
-
type TItemState = Pick<TToolbarIconButton, 'disabled' | 'toggled' | 'isLoading'>;
|
|
1868
1868
|
declare class ToolbarController extends EventEmitter<{
|
|
1869
1869
|
pressEnter: string;
|
|
1870
1870
|
updateItemState: string;
|
|
@@ -1931,7 +1931,7 @@ declare const Toolbar: ({ children, getController, }: {
|
|
|
1931
1931
|
* El controlador permite gestionar el estado de los distintos elementos de
|
|
1932
1932
|
* la toolbar
|
|
1933
1933
|
*/
|
|
1934
|
-
getController?: (newController: ToolbarController) => unknown;
|
|
1934
|
+
getController?: ((newController: ToolbarController) => unknown) | undefined;
|
|
1935
1935
|
}) => React$1.JSX.Element;
|
|
1936
1936
|
|
|
1937
1937
|
type TSortableListItem = {
|
|
@@ -1943,39 +1943,39 @@ type TSortableListItem = {
|
|
|
1943
1943
|
declare const SortableListItem: React$1.MemoExoticComponent<({ boxProps, id, children }: TSortableListItem) => React$1.JSX.Element>;
|
|
1944
1944
|
|
|
1945
1945
|
declare const UnstyledSortableList: ({ boxProps, children, onSortChange, }: {
|
|
1946
|
-
boxProps?: BoxProps;
|
|
1946
|
+
boxProps?: BoxProps | undefined;
|
|
1947
1947
|
children: ReactNode;
|
|
1948
|
-
onSortChange?: (items: ReactElement<TSortableListItem>[]) => unknown;
|
|
1948
|
+
onSortChange?: ((items: ReactElement<TSortableListItem>[]) => unknown) | undefined;
|
|
1949
1949
|
}) => React$1.JSX.Element;
|
|
1950
1950
|
declare const SortableList: ((props: {
|
|
1951
|
-
boxProps?: BoxProps;
|
|
1951
|
+
boxProps?: BoxProps | undefined;
|
|
1952
1952
|
children: ReactNode;
|
|
1953
|
-
onSortChange?: (items: ReactElement<TSortableListItem>[]) => unknown;
|
|
1953
|
+
onSortChange?: ((items: ReactElement<TSortableListItem>[]) => unknown) | undefined;
|
|
1954
1954
|
}) => React$1.JSX.Element) & {
|
|
1955
1955
|
displayName: string;
|
|
1956
1956
|
};
|
|
1957
1957
|
|
|
1958
1958
|
declare const FileCard: React$1.ForwardRefExoticComponent<{
|
|
1959
1959
|
name: string;
|
|
1960
|
-
iconsSize?: "sm" | "md" | "lg" | "xl";
|
|
1961
|
-
additionalButtons?: TIconButton[];
|
|
1962
|
-
className?: string;
|
|
1963
|
-
sx?: ThemeUIStyleObject;
|
|
1964
|
-
width?: string;
|
|
1965
|
-
handleClose?: (f: string) => void;
|
|
1966
|
-
onDoubleClick?: () => void;
|
|
1967
|
-
onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
1960
|
+
iconsSize?: "sm" | "md" | "lg" | "xl" | undefined;
|
|
1961
|
+
additionalButtons?: TIconButton[] | undefined;
|
|
1962
|
+
className?: string | undefined;
|
|
1963
|
+
sx?: ThemeUIStyleObject | undefined;
|
|
1964
|
+
width?: string | undefined;
|
|
1965
|
+
handleClose?: ((f: string) => void) | undefined;
|
|
1966
|
+
onDoubleClick?: (() => void) | undefined;
|
|
1967
|
+
onClick?: ((e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
1968
1968
|
} & React$1.RefAttributes<unknown>>;
|
|
1969
1969
|
|
|
1970
1970
|
declare const Dropzone: ({ sx, className, messageError, progress, defaultLabel, draggingLabel, onClick, onChange, }: {
|
|
1971
|
-
sx?: ThemeUIStyleObject;
|
|
1972
|
-
className?: string;
|
|
1973
|
-
messageError?: string;
|
|
1974
|
-
progress?: number;
|
|
1975
|
-
defaultLabel?: string;
|
|
1976
|
-
draggingLabel?: string;
|
|
1977
|
-
onClick?: (e: MouseEvent$1) => void;
|
|
1978
|
-
onChange?: (e: File[]) => any;
|
|
1971
|
+
sx?: ThemeUIStyleObject | undefined;
|
|
1972
|
+
className?: string | undefined;
|
|
1973
|
+
messageError?: string | undefined;
|
|
1974
|
+
progress?: number | undefined;
|
|
1975
|
+
defaultLabel?: string | undefined;
|
|
1976
|
+
draggingLabel?: string | undefined;
|
|
1977
|
+
onClick?: ((e: MouseEvent$1) => void) | undefined;
|
|
1978
|
+
onChange?: ((e: File[]) => any) | undefined;
|
|
1979
1979
|
}) => React__default.JSX.Element;
|
|
1980
1980
|
|
|
1981
1981
|
declare class TableParameter extends Parameter<ITableParameterProps> {
|
|
@@ -2017,10 +2017,10 @@ declare class FilterDTO<T extends IFilterDTOState = IFilterDTOState> {
|
|
|
2017
2017
|
Component: (({ renderers, multipleInputBoxProps, }: {
|
|
2018
2018
|
renderers?: {
|
|
2019
2019
|
input?: FC<InputProps & {
|
|
2020
|
-
label?: string;
|
|
2021
|
-
}
|
|
2022
|
-
};
|
|
2023
|
-
multipleInputBoxProps?: BoxProps;
|
|
2020
|
+
label?: string | undefined;
|
|
2021
|
+
}> | undefined;
|
|
2022
|
+
} | undefined;
|
|
2023
|
+
multipleInputBoxProps?: BoxProps | undefined;
|
|
2024
2024
|
}) => React$1.JSX.Element) & {
|
|
2025
2025
|
displayName: string;
|
|
2026
2026
|
};
|
|
@@ -2147,7 +2147,7 @@ declare class Parameter<T extends IParameter = IParameter> implements ParameterO
|
|
|
2147
2147
|
|
|
2148
2148
|
declare const ParameterRender: (({ index, omitLabel, parameter, }: {
|
|
2149
2149
|
index: number;
|
|
2150
|
-
omitLabel?: boolean;
|
|
2150
|
+
omitLabel?: boolean | undefined;
|
|
2151
2151
|
parameter: Parameter;
|
|
2152
2152
|
}) => React$1.JSX.Element | null) & {
|
|
2153
2153
|
displayName: string;
|
|
@@ -2156,8 +2156,8 @@ declare const ParameterRender: (({ index, omitLabel, parameter, }: {
|
|
|
2156
2156
|
type ParametersMap = Record<string, ParameterObject>;
|
|
2157
2157
|
declare const Parameters: (({ label, ownerName, parameters, }: {
|
|
2158
2158
|
label?: ReactNode;
|
|
2159
|
-
ownerName?: string;
|
|
2160
|
-
parameters?: ParametersMap;
|
|
2159
|
+
ownerName?: string | undefined;
|
|
2160
|
+
parameters?: ParametersMap | undefined;
|
|
2161
2161
|
}) => React$1.JSX.Element | undefined) & {
|
|
2162
2162
|
displayName: string;
|
|
2163
2163
|
};
|