jclib-ui 0.0.22

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.
Files changed (107) hide show
  1. package/README.md +8 -0
  2. package/dist/DropDownButton/DropDownButton.d.ts +15 -0
  3. package/dist/DropDownButton/DropDownButton.styles.d.ts +1 -0
  4. package/dist/LoadingReport/LoadingReport.d.ts +7 -0
  5. package/dist/LoadingReport/LoadingReport.styles.d.ts +1 -0
  6. package/dist/LoadingReport/PreviewReport.d.ts +6 -0
  7. package/dist/MainComponents.d.ts +30 -0
  8. package/dist/ScrollContainer/ScrollContainer.d.ts +3 -0
  9. package/dist/ScrollContainer/ScrollContainer.styles.d.ts +1 -0
  10. package/dist/alerta/Alerta.d.ts +7 -0
  11. package/dist/alerta/Aviso.d.ts +4 -0
  12. package/dist/alerta/Confirma.d.ts +6 -0
  13. package/dist/alerta/JCAlert.consts.d.ts +5 -0
  14. package/dist/alerta/JCAlert.d.ts +8 -0
  15. package/dist/alerta/JCAlert.styles.d.ts +1 -0
  16. package/dist/botaoClonar/botaoClonar.d.ts +1 -0
  17. package/dist/botaoEditar/botaoEditar.d.ts +1 -0
  18. package/dist/botaoExcluir/botaoExcluir.d.ts +1 -0
  19. package/dist/botaoIncluir/botaoIncluir.d.ts +4 -0
  20. package/dist/botaoSalvar/botaoSalvar.d.ts +7 -0
  21. package/dist/botaoSalvar/botaoSalvar.styles.d.ts +1 -0
  22. package/dist/boxColor/boxColor.d.ts +6 -0
  23. package/dist/boxColor/boxColor.styles.d.ts +1 -0
  24. package/dist/boxInfo/BoxInfo.d.ts +10 -0
  25. package/dist/boxInfo/BoxInfo.styles.d.ts +1 -0
  26. package/dist/buttonClose/buttonBack.d.ts +3 -0
  27. package/dist/buttonClose/buttonClose.d.ts +3 -0
  28. package/dist/buttonClose/buttonStyled.d.ts +1 -0
  29. package/dist/buttonOptions/buttonOptions.d.ts +6 -0
  30. package/dist/buttonOptions/buttonOptions.styles.d.ts +1 -0
  31. package/dist/buttonTop/ButtonTop.d.ts +1 -0
  32. package/dist/buttonTop/ButtonTop.styles.d.ts +1 -0
  33. package/dist/clipboardArea/ClipboardArea.d.ts +4 -0
  34. package/dist/clipboardArea/ClipboardArea.styles.d.ts +1 -0
  35. package/dist/context/modalContext.d.ts +6 -0
  36. package/dist/dataItem/DataItem.d.ts +7 -0
  37. package/dist/formEnter/formEnter.d.ts +3 -0
  38. package/dist/groupBox/GroupBox.d.ts +5 -0
  39. package/dist/groupBox/GroupBox.styles.d.ts +1 -0
  40. package/dist/hint/hint.d.ts +4 -0
  41. package/dist/hint/hint.styles.d.ts +1 -0
  42. package/dist/hooks/cache.d.ts +5 -0
  43. package/dist/hooks/useApi.d.ts +48 -0
  44. package/dist/hooks/useLocalForage.d.ts +1 -0
  45. package/dist/hooks/useParamId.d.ts +1 -0
  46. package/dist/hooks/useQuery.d.ts +1 -0
  47. package/dist/hooks/useStorage.d.ts +2 -0
  48. package/dist/iconSvg/iconClose.d.ts +2 -0
  49. package/dist/iconSvg/iconExitOutline.d.ts +2 -0
  50. package/dist/iconSvg/iconMenu.d.ts +2 -0
  51. package/dist/iconSvg/iconUserGear.d.ts +2 -0
  52. package/dist/icones/Icones.d.ts +30 -0
  53. package/dist/imports/globalImports.d.ts +1 -0
  54. package/dist/index.d.ts +71 -0
  55. package/dist/inputColor/inputColor.d.ts +5 -0
  56. package/dist/inputColor/inputColor.styles.d.ts +1 -0
  57. package/dist/inputPesquisa/inputPesquisa.d.ts +10 -0
  58. package/dist/inputQRCode/inputQRCode.d.ts +4 -0
  59. package/dist/inputs/CheckBox.d.ts +7 -0
  60. package/dist/inputs/Formats.d.ts +45 -0
  61. package/dist/inputs/InputCep.d.ts +6 -0
  62. package/dist/inputs/InputCepConst.d.ts +4 -0
  63. package/dist/inputs/InputCheckBox.d.ts +5 -0
  64. package/dist/inputs/InputFone.d.ts +6 -0
  65. package/dist/inputs/inputs.d.ts +49 -0
  66. package/dist/jclib-ui.es.js +21006 -0
  67. package/dist/jclib-ui.es.js.map +1 -0
  68. package/dist/jclib-ui.umd.js +1317 -0
  69. package/dist/jclib-ui.umd.js.map +1 -0
  70. package/dist/labelHint/LabelHint.d.ts +4 -0
  71. package/dist/labelHint/LabelHint.styles.d.ts +1 -0
  72. package/dist/links/Links.d.ts +28 -0
  73. package/dist/loading/Loading.d.ts +4 -0
  74. package/dist/loading/Loading.styles.d.ts +1 -0
  75. package/dist/modalBox/ModalBox.d.ts +9 -0
  76. package/dist/modalBox/ModalBox.styles.d.ts +1 -0
  77. package/dist/modalBoxDrag/ModalBoxDrag.d.ts +9 -0
  78. package/dist/modalBoxDrag/ModalBoxDrag.styles.d.ts +1 -0
  79. package/dist/modalFilter/modalFilter.d.ts +7 -0
  80. package/dist/navbar/MenuOption.d.ts +9 -0
  81. package/dist/navbar/MenuOption.styles.d.ts +4 -0
  82. package/dist/navbar/Navbar.d.ts +12 -0
  83. package/dist/navbar/Navbar.styles.d.ts +1 -0
  84. package/dist/navbar/NavbarColors.d.ts +91 -0
  85. package/dist/navbar/NavbarMenu.styles.d.ts +2 -0
  86. package/dist/navbar/OpcoesMenu.d.ts +2 -0
  87. package/dist/paginacao/Paginacao.d.ts +5 -0
  88. package/dist/paginacao/Paginacao.styles.d.ts +1 -0
  89. package/dist/panel/panel.d.ts +8 -0
  90. package/dist/panel/panel.styles.d.ts +1 -0
  91. package/dist/panel/panelHeader.d.ts +1 -0
  92. package/dist/panelDashboard/PanelDashboard.d.ts +9 -0
  93. package/dist/printButtons/printButtons.d.ts +3 -0
  94. package/dist/printButtons/printButtons.styles.d.ts +1 -0
  95. package/dist/qrCodeReader/qrCodeReader.d.ts +5 -0
  96. package/dist/radioGroup/RadioGroup.d.ts +9 -0
  97. package/dist/radioGroup/RadioGroup.styles.d.ts +1 -0
  98. package/dist/showIf/ShowIf.d.ts +4 -0
  99. package/dist/style.css +5 -0
  100. package/dist/table/table.d.ts +45 -0
  101. package/dist/table/table.styles.d.ts +3 -0
  102. package/dist/textHtml/textHtml.d.ts +3 -0
  103. package/dist/toggle/Toggle.d.ts +10 -0
  104. package/dist/toggle/Toggle.styles.d.ts +1 -0
  105. package/dist/update/update.d.ts +1 -0
  106. package/dist/update/update.styles.d.ts +1 -0
  107. package/package.json +69 -0
package/README.md ADDED
@@ -0,0 +1,8 @@
1
+ # React + Vite
2
+
3
+ This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
+
5
+ Currently, two official plugins are available:
6
+
7
+ - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8
+ - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
@@ -0,0 +1,15 @@
1
+ export default DropDownButton;
2
+ declare function DropDownButton({ title, items, size, children, direction, ...rest }: {
3
+ [x: string]: any;
4
+ title: any;
5
+ items: any;
6
+ size: any;
7
+ children: any;
8
+ direction?: string | undefined;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare namespace DropDownButton {
11
+ namespace propTypes {
12
+ const direction: PropTypes.Requireable<string>;
13
+ }
14
+ }
15
+ import PropTypes from 'prop-types';
@@ -0,0 +1 @@
1
+ export const OptionArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,7 @@
1
+ export function LoadingReport({ url, file, fileTo, loading, setLoading }: {
2
+ url: any;
3
+ file: any;
4
+ fileTo: any;
5
+ loading?: boolean | undefined;
6
+ setLoading: any;
7
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export const LoadingArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export default function PreviewReport({ fileTo, previewUrl, visible, setVisible }: {
2
+ fileTo: any;
3
+ previewUrl: any;
4
+ visible: any;
5
+ setVisible: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,30 @@
1
+ export const ButtonEditContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export function ButtonEdit({ hint, children, ...rest }: {
3
+ [x: string]: any;
4
+ hint: any;
5
+ children: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export const Panel: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export const PanelTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export const PanelBody: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export const Title: import("styled-components").StyledComponent<"h3", any, {}, never>;
11
+ export const CheckBox: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export function IconToggleOn({ color }: {
13
+ color: any;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ export function IconToggleOff({ color }: {
16
+ color: any;
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ export function IconChecked(): import("react/jsx-runtime").JSX.Element;
19
+ export function IconUnchecked(): import("react/jsx-runtime").JSX.Element;
20
+ export function IconSearch(): import("react/jsx-runtime").JSX.Element;
21
+ export function IconNew(): import("react/jsx-runtime").JSX.Element;
22
+ export function IconEdit(): import("react/jsx-runtime").JSX.Element;
23
+ export function IconDelete(): import("react/jsx-runtime").JSX.Element;
24
+ export function IconPessoasPlus(): import("react/jsx-runtime").JSX.Element;
25
+ export function IconClonar(): import("react/jsx-runtime").JSX.Element;
26
+ export function IconCancel(): import("react/jsx-runtime").JSX.Element;
27
+ export function MyCheckBox({ checked, onClick }: {
28
+ checked: any;
29
+ onClick: any;
30
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export function ScrollContainer({ children }: {
2
+ children: any;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const MainContainer: import("styled-components").StyledComponent<"main", any, {}, never>;
@@ -0,0 +1,7 @@
1
+ export default function Alerta({ onConfirm, children }: {
2
+ onConfirm: any;
3
+ children: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ import { Aviso } from './Aviso';
6
+ import { Confirma } from './Confirma';
7
+ export { Aviso, Confirma };
@@ -0,0 +1,4 @@
1
+ export function Aviso({ onConfirm, children }: {
2
+ onConfirm: any;
3
+ children: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export function Confirma({ onConfirm, onCancel, children, defaultBtn }: {
2
+ onConfirm: any;
3
+ onCancel: any;
4
+ children: any;
5
+ defaultBtn: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export namespace AlertTypes {
2
+ const Alerta: number;
3
+ const Aviso: number;
4
+ const Confirmacao: number;
5
+ }
@@ -0,0 +1,8 @@
1
+ export function JCAlert({ type, onConfirm, onCancel, title, children, defaultBtn, }: {
2
+ type?: number | undefined;
3
+ onConfirm: any;
4
+ onCancel: any;
5
+ title: any;
6
+ children: any;
7
+ defaultBtn?: number | undefined;
8
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<import("framer-motion").ForwardRefComponent<HTMLDivElement, import("framer-motion").HTMLMotionProps<"div">>, any, {}, never>;
@@ -0,0 +1 @@
1
+ export default function BotaoClonar(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function BotaoEditar(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function BotaoExcluir(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export default function BotaoIncluir({ caption, onClick }: {
2
+ caption?: string | undefined;
3
+ onClick: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export default function BotaoSalvar({ loading, saveInfo, link, onCancel, onConfirm, }: {
2
+ loading: any;
3
+ saveInfo: any;
4
+ link: any;
5
+ onCancel: any;
6
+ onConfirm: any;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const ButtonArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export default function BoxColor({ corFonte, setCorFonte, corFundo, setCorFundo }: {
2
+ corFonte: any;
3
+ setCorFonte: any;
4
+ corFundo: any;
5
+ setCorFundo: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,10 @@
1
+ export default function BoxInfo({ id, title, isOpen, isVisible, onChange, noMargin, children, ...rest }: {
2
+ [x: string]: any;
3
+ id: any;
4
+ title: any;
5
+ isOpen?: boolean | undefined;
6
+ isVisible?: boolean | undefined;
7
+ onChange: any;
8
+ noMargin: any;
9
+ children: any;
10
+ }): import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ export function ButtonBack({ ...rest }: {
2
+ [x: string]: any;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export function ButtonClose({ ...rest }: {
2
+ [x: string]: any;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const ButtonStyled: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export default function ButtonOptions({ value, setValue, options, ...rest }: {
2
+ [x: string]: any;
3
+ value: any;
4
+ setValue: any;
5
+ options?: any[] | undefined;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1 @@
1
+ export default function ButtonTop(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ export default function ClipboardArea({ title, url }: {
2
+ title: any;
3
+ url: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export function ModalProvider({ children }: {
2
+ children: any;
3
+ }): import("react/jsx-runtime").JSX.Element;
4
+ export function useModal(): {
5
+ modalList: never[];
6
+ };
@@ -0,0 +1,7 @@
1
+ export default function DataItem({ caption, colored, children, className, ...rest }: {
2
+ [x: string]: any;
3
+ caption: any;
4
+ colored: any;
5
+ children: any;
6
+ className: any;
7
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ export function FormEnter({ children }: {
2
+ children: any;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export default function GroupBox({ label, className, children }: {
2
+ label: any;
3
+ className: any;
4
+ children: any;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ export default function Hint({ title, children }: {
2
+ title?: string | undefined;
3
+ children: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,5 @@
1
+ export namespace cache {
2
+ function init(conf: any): Promise<void>;
3
+ function save(res: any, conf: any): Promise<void>;
4
+ function clear(): void;
5
+ }
@@ -0,0 +1,48 @@
1
+ import axios, { AxiosRequestConfig, AxiosResponse } from 'axios'
2
+ import { globalApiConfig } from './useApi'
3
+
4
+ export type ApiRequestConfig = AxiosRequestConfig & {
5
+ cache: boolean
6
+ report: boolean
7
+ onTerminated: (res: AxiosResponse) => void
8
+ onBefore: (config: ApiRequestConfig) => void
9
+ }
10
+
11
+ export type ApiResponseConfig = {
12
+ isError: boolean //deprecated
13
+ message: string | null //deprecated
14
+ loading: boolean
15
+ headers: any
16
+ data: any
17
+ error: string | null
18
+ code: number
19
+ status: number
20
+ report: boolean
21
+ onBefore: (config: ApiRequestConfig) => void
22
+ }
23
+
24
+ export type ApiReturn = [
25
+ callRequest: (config: ApiRequestConfig) => Promise<ApiResponseConfig>,
26
+ requestInto: ApiResponseConfig,
27
+ callCancel: () => void,
28
+ ]
29
+
30
+ export type GlobalApiConfig = {
31
+ baseURL: string
32
+ timeout: number
33
+ auth: {
34
+ username: string
35
+ password: string
36
+ prefix: string
37
+ header: string
38
+ }
39
+ loginRoute: string
40
+ afterRequest: (res: AxiosResponse) => void
41
+ getToken: () => string
42
+ setToken: (token: string) => void
43
+ isProductionMode: boolean
44
+ }
45
+
46
+ declare const globalApiConfig: GlobalApiConfig
47
+
48
+ export default function useApi(initialConfig: ApiRequestConfig): ApiReturn
@@ -0,0 +1 @@
1
+ export function useLocalForage(key: any, initialValue: any, versao?: number): any[];
@@ -0,0 +1 @@
1
+ export default function useParamId(): number;
@@ -0,0 +1 @@
1
+ export default function useQuery(): URLSearchParams;
@@ -0,0 +1,2 @@
1
+ export function useLocalStorage(key: any, initialValue: any): any[];
2
+ export function useSessionStorage(key: any, initialValue: any): any[];
@@ -0,0 +1,2 @@
1
+ export default IconClose;
2
+ declare function IconClose(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export default IconExitOutline;
2
+ declare function IconExitOutline(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export default IconMenu;
2
+ declare function IconMenu(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export default IconUserGear;
2
+ declare function IconUserGear(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,30 @@
1
+ export function IconeLogin(): import("react/jsx-runtime").JSX.Element;
2
+ export function IconeLogout({ ...rest }: {
3
+ [x: string]: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ export function IconeMostrarSenha({ display }: {
6
+ display: any;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ export function IconeEditar(): import("react/jsx-runtime").JSX.Element;
9
+ export function IconeExcluir(): import("react/jsx-runtime").JSX.Element;
10
+ export function IconeVisualizar(): import("react/jsx-runtime").JSX.Element;
11
+ export function IconeFechar(): import("react/jsx-runtime").JSX.Element;
12
+ export function IconeFecharCircle(): import("react/jsx-runtime").JSX.Element;
13
+ export function IconeSalvar(): import("react/jsx-runtime").JSX.Element;
14
+ export function IconePassword(): import("react/jsx-runtime").JSX.Element;
15
+ export function IconeUsers(): import("react/jsx-runtime").JSX.Element;
16
+ export function IconeConfig(): import("react/jsx-runtime").JSX.Element;
17
+ export function IconeIncluir(): import("react/jsx-runtime").JSX.Element;
18
+ export function IconePin(): import("react/jsx-runtime").JSX.Element;
19
+ export function IconeSearchPlus(): import("react/jsx-runtime").JSX.Element;
20
+ export function IconeChevron(): import("react/jsx-runtime").JSX.Element;
21
+ export function IconePrint(): import("react/jsx-runtime").JSX.Element;
22
+ export function IconeEmail(): import("react/jsx-runtime").JSX.Element;
23
+ export function IconeEncerrarAno(): import("react/jsx-runtime").JSX.Element;
24
+ export function IconeSoma(): import("react/jsx-runtime").JSX.Element;
25
+ export function IconeOpenLink({ ...rest }: {
26
+ [x: string]: any;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ export function IconeQRCode({ ...rest }: {
29
+ [x: string]: any;
30
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export function GlobalImports(): null;
@@ -0,0 +1,71 @@
1
+ export { default as Alerta, Aviso, Confirma } from './alerta/Alerta';
2
+ export { ModalProvider, useModal } from './context/modalContext';
3
+ export { default as Table } from './table/table';
4
+ export { default as BotaoClonar } from './botaoClonar/botaoClonar';
5
+ export { default as BotaoExcluir } from './botaoExcluir/botaoExcluir';
6
+ export { default as BotaoEditar } from './botaoEditar/botaoEditar';
7
+ export { default as BotaoIncluir } from './botaoIncluir/botaoIncluir';
8
+ export { default as BotaoSalvar } from './botaoSalvar/botaoSalvar';
9
+ export { default as BoxColor } from './boxColor/boxColor';
10
+ export { default as BoxInfo } from './boxInfo/BoxInfo';
11
+ export { ButtonClose } from './buttonClose/buttonClose';
12
+ export { ButtonBack } from './buttonClose/buttonBack';
13
+ export { default as ButtonTop } from './buttonTop/ButtonTop';
14
+ export { default as ButtonOptions } from './buttonOptions/buttonOptions';
15
+ export { default as ClipboardArea } from './clipboardArea/ClipboardArea';
16
+ export { default as DataItem } from './dataItem/DataItem';
17
+ export { default as DropDownButton } from './DropDownButton/DropDownButton';
18
+ export { FormEnter } from './formEnter/formEnter';
19
+ export { default as GroupBox } from './groupBox/GroupBox';
20
+ export { default as Hint } from './hint/hint';
21
+ export * from './icones/Icones';
22
+ export { default as IconClose } from './iconSvg/iconClose';
23
+ export { default as IconExitOutline } from './iconSvg/iconExitOutline';
24
+ export { default as IconMenu } from './iconSvg/iconMenu';
25
+ export { default as IconUserGear } from './iconSvg/iconUserGear';
26
+ export { default as Panel } from './panel/panel';
27
+ export { PanelHeader } from './panel/panelHeader';
28
+ export { default as InputColor } from './inputColor/inputColor';
29
+ export { default as InputPesquisa } from './inputPesquisa/inputPesquisa';
30
+ export { useLocalForage } from './hooks/useLocalForage';
31
+ export { default as useParamId } from './hooks/useParamId';
32
+ export { default as useQuery } from './hooks/useQuery';
33
+ export { useLocalStorage, useSessionStorage } from './hooks/useStorage';
34
+ export { default as useApi, globalApiConfig } from './hooks/useApi';
35
+ export { cache } from './hooks/cache';
36
+ export { GlobalImports } from './imports/globalImports';
37
+ export { default as InputQRCode } from './inputQRCode/inputQRCode';
38
+ export * from './inputs/inputs';
39
+ export { default as CheckBox } from './inputs/CheckBox';
40
+ export { default as LabelHint } from './labelHint/LabelHint';
41
+ export * from './links/Links';
42
+ export { default as Loading } from './loading/Loading';
43
+ export { default as ModalBox } from './modalBox/ModalBox';
44
+ export { default as ModalFilter } from './modalFilter/modalFilter';
45
+ export { default as Paginacao } from './paginacao/Paginacao';
46
+ export { PanelDashboard } from './panelDashboard/PanelDashboard';
47
+ export { default as QRCodeReader } from './qrCodeReader/qrCodeReader';
48
+ export { default as RadioGroup } from './radioGroup/RadioGroup';
49
+ export { default as ShowIf } from './showIf/ShowIf';
50
+ export { default as TextHtml } from './textHtml/textHtml';
51
+ export { default as Toggle } from './toggle/Toggle';
52
+ export { CheckUpdates } from './update/update';
53
+ export { default as PrintButtons } from './printButtons/printButtons';
54
+ export { ScrollContainer } from './ScrollContainer/ScrollContainer';
55
+ /**
56
+ * ------- Verificar --------
57
+ * -- InputCheckBox -> "parece um toggle repetido, se for o caso remover"
58
+ * -- LoadingReport -> "precisa do useApi"
59
+ */
60
+ /**
61
+ * NavBar
62
+ * Precisa ser repensado.
63
+ * - pois depende de contextos específicos como de usuários
64
+ * - e criação da lista de menus para renderizar dependendo do projeto
65
+ *
66
+ * export { MenuOption } from './navbar/MenuOption'
67
+ * export { default as NavBar } from './navbar/Navbar'
68
+ * export { darkColors, darkLightColors, lightColors } from './navbar/NavbarColors'
69
+ *
70
+ * NavBar
71
+ */
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export type InputColorProps = React.InputHTMLAttributes<HTMLInputElement> & {
3
+ label?: string;
4
+ };
5
+ export default function InputColor({ label, ...rest }: InputColorProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,10 @@
1
+ type Props = React.InputHTMLAttributes<HTMLInputElement> & {
2
+ search: string
3
+ setSearch: (value: string) => void
4
+ fnSearch: () => void
5
+ fnFilter: () => void
6
+ fnValidateFilter: () => boolean
7
+ placeHolder: string
8
+ }
9
+
10
+ export default function InputPesquisa(props: Props): JSX.Element
@@ -0,0 +1,4 @@
1
+ export default function InputQRCode({ value, setValue }: {
2
+ value: any;
3
+ setValue: any;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export default function CheckBox({ enabled, onChange, children, ...rest }: {
2
+ [x: string]: any;
3
+ enabled?: boolean | undefined;
4
+ onChange: any;
5
+ children: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export const LabelArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,45 @@
1
+ export function FormatValor({ value, money, decimalScale, ...rest }: {
2
+ [x: string]: any;
3
+ value: any;
4
+ money: any;
5
+ decimalScale: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export namespace FormatValor {
8
+ namespace defaultProps {
9
+ const value: number;
10
+ const money: boolean;
11
+ const decimalScale: number;
12
+ }
13
+ }
14
+ export function FormatQuant({ value, decimalScale, ...rest }: {
15
+ [x: string]: any;
16
+ value: any;
17
+ decimalScale: any;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ export namespace FormatQuant {
20
+ export namespace defaultProps_1 {
21
+ const value_1: number;
22
+ export { value_1 as value };
23
+ const decimalScale_1: number;
24
+ export { decimalScale_1 as decimalScale };
25
+ }
26
+ export { defaultProps_1 as defaultProps };
27
+ }
28
+ export function FormatPercent({ value, decimalScale, ...rest }: {
29
+ [x: string]: any;
30
+ value: any;
31
+ decimalScale: any;
32
+ }): import("react/jsx-runtime").JSX.Element;
33
+ export namespace FormatPercent {
34
+ export namespace defaultProps_2 {
35
+ const value_2: number;
36
+ export { value_2 as value };
37
+ const decimalScale_2: number;
38
+ export { decimalScale_2 as decimalScale };
39
+ }
40
+ export { defaultProps_2 as defaultProps };
41
+ }
42
+ export function FormatData({ value, incHour }: {
43
+ value: any;
44
+ incHour?: boolean | undefined;
45
+ }): string;
@@ -0,0 +1,6 @@
1
+ export default function InputCep({ dados, setDados, onSearch, ...rest }: {
2
+ [x: string]: any;
3
+ dados: any;
4
+ setDados: any;
5
+ onSearch: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export function buscaCep(cep: any, onSearch: any): Promise<{
2
+ erro: boolean;
3
+ mensagem: string;
4
+ }>;
@@ -0,0 +1,5 @@
1
+ export function InputCheckBox({ disabled, children, ...rest }: {
2
+ [x: string]: any;
3
+ disabled: any;
4
+ children: any;
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export default function InputFone({ name, value, onChange, ...rest }: {
2
+ [x: string]: any;
3
+ name: any;
4
+ value: any;
5
+ onChange: any;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,49 @@
1
+ export function InputValor({ name, onChange, allowNegative, ...rest }: {
2
+ [x: string]: any;
3
+ name: any;
4
+ onChange: any;
5
+ allowNegative?: boolean | undefined;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ export function InputQuant({ name, onChange, allowNegative, decimalScale, ...rest }: {
8
+ [x: string]: any;
9
+ name: any;
10
+ onChange: any;
11
+ allowNegative?: boolean | undefined;
12
+ decimalScale?: number | undefined;
13
+ }): import("react/jsx-runtime").JSX.Element;
14
+ export function InputPercent({ name, onChange, allowNegative, decimalScale, ...rest }: {
15
+ [x: string]: any;
16
+ name: any;
17
+ onChange: any;
18
+ allowNegative?: boolean | undefined;
19
+ decimalScale?: number | undefined;
20
+ }): import("react/jsx-runtime").JSX.Element;
21
+ export function InputCodigo({ name, onChange, ...rest }: {
22
+ [x: string]: any;
23
+ name: any;
24
+ onChange: any;
25
+ }): import("react/jsx-runtime").JSX.Element;
26
+ export function InputHora(props: any): import("react/jsx-runtime").JSX.Element;
27
+ export function InputCpf(props: any): import("react/jsx-runtime").JSX.Element;
28
+ export function InputCnpj(props: any): import("react/jsx-runtime").JSX.Element;
29
+ export function InputEstado(props: any): import("react/jsx-runtime").JSX.Element;
30
+ export function InputSearch({ title, options, fields, btnClick, ...rest }: {
31
+ [x: string]: any;
32
+ title?: string | undefined;
33
+ options?: any[] | undefined;
34
+ fields?: any[] | undefined;
35
+ btnClick?: null | undefined;
36
+ }): import("react/jsx-runtime").JSX.Element;
37
+ export function InputFinder({ title, onFind, children, ...rest }: {
38
+ [x: string]: any;
39
+ title: any;
40
+ onFind: any;
41
+ children: any;
42
+ }): import("react/jsx-runtime").JSX.Element;
43
+ import InputCep from './InputCep';
44
+ import InputFone from './InputFone';
45
+ import { FormatValor } from './Formats';
46
+ import { FormatQuant } from './Formats';
47
+ import { FormatPercent } from './Formats';
48
+ import { FormatData } from './Formats';
49
+ export { InputCep, InputFone, FormatValor, FormatQuant, FormatPercent, FormatData };