@sinco/react 1.2.5-rc.2 → 1.2.5-rc.4
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/index.esm.js +6740 -3268
- package/package.json +1 -1
- package/src/lib/Components/AdjuntarArchivos.d.ts +9 -0
- package/src/lib/Components/Modal/Data.d.ts +18 -0
- package/src/lib/Components/Modal/Modal.d.ts +3 -0
- package/src/lib/Components/Modal/index.d.ts +3 -0
- package/src/lib/Components/Modal/interfaces.d.ts +9 -0
- package/src/lib/Components/MultiSelect.d.ts +18 -0
- package/src/lib/Components/PageHeader.d.ts +2 -1
- package/src/lib/Components/index.d.ts +3 -0
package/package.json
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { SxProps } from "@mui/material";
|
3
|
+
export interface AdjuntarProps<T> {
|
4
|
+
guardarArchivo: (archivos: T[]) => void;
|
5
|
+
compact?: boolean;
|
6
|
+
sx?: SxProps;
|
7
|
+
transformarArchivo: (archivo: File) => T;
|
8
|
+
}
|
9
|
+
export declare const AdjuntarArchivo: <T>({ compact, sx, guardarArchivo, transformarArchivo, }: AdjuntarProps<T>) => React.JSX.Element;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export declare const stateConfig: {
|
3
|
+
info: {
|
4
|
+
color: string;
|
5
|
+
icon: React.JSX.Element;
|
6
|
+
defaultDescription: string;
|
7
|
+
};
|
8
|
+
delete: {
|
9
|
+
color: string;
|
10
|
+
icon: React.JSX.Element;
|
11
|
+
defaultDescription: string;
|
12
|
+
};
|
13
|
+
warning: {
|
14
|
+
color: string;
|
15
|
+
icon: React.JSX.Element;
|
16
|
+
defaultDescription: string;
|
17
|
+
};
|
18
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface MultiSelectProps<T> {
|
3
|
+
topPanel?: React.ReactNode;
|
4
|
+
actions?: React.ReactNode;
|
5
|
+
anchorEl: HTMLElement | null;
|
6
|
+
dense?: boolean;
|
7
|
+
open: boolean;
|
8
|
+
items: T[];
|
9
|
+
onClose?: () => void;
|
10
|
+
handleFilter?: (items: T[], filterValue: string) => T[];
|
11
|
+
getItemLabel: (item: T) => string;
|
12
|
+
filtrarDesdeComponente?: boolean;
|
13
|
+
OnChangeLimpiar?: () => void;
|
14
|
+
OnClickLimpiar?: () => void;
|
15
|
+
OnChangeAplicar?: () => void;
|
16
|
+
OnClickAplicar?: () => void;
|
17
|
+
}
|
18
|
+
export declare function MultiSelect<T>({ items, topPanel, actions, dense, anchorEl, open, onClose, handleFilter, getItemLabel, OnChangeLimpiar, OnClickLimpiar, OnChangeAplicar, OnClickAplicar, filtrarDesdeComponente, }: MultiSelectProps<T>): React.JSX.Element;
|
@@ -5,6 +5,7 @@ export interface PageheaderProperties {
|
|
5
5
|
actions?: React.ReactNode;
|
6
6
|
buttonBack?: React.ReactNode;
|
7
7
|
fixed?: boolean;
|
8
|
+
showShadow?: boolean;
|
8
9
|
}
|
9
|
-
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, }: PageheaderProperties) => React.JSX.Element;
|
10
|
+
export declare const PageHeaderComponent: ({ title, subtitle, actions, buttonBack, fixed, showShadow, }: PageheaderProperties) => React.JSX.Element;
|
10
11
|
export { PageHeaderComponent as PageHeader };
|