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.
- package/README.md +8 -0
- package/dist/DropDownButton/DropDownButton.d.ts +15 -0
- package/dist/DropDownButton/DropDownButton.styles.d.ts +1 -0
- package/dist/LoadingReport/LoadingReport.d.ts +7 -0
- package/dist/LoadingReport/LoadingReport.styles.d.ts +1 -0
- package/dist/LoadingReport/PreviewReport.d.ts +6 -0
- package/dist/MainComponents.d.ts +30 -0
- package/dist/ScrollContainer/ScrollContainer.d.ts +3 -0
- package/dist/ScrollContainer/ScrollContainer.styles.d.ts +1 -0
- package/dist/alerta/Alerta.d.ts +7 -0
- package/dist/alerta/Aviso.d.ts +4 -0
- package/dist/alerta/Confirma.d.ts +6 -0
- package/dist/alerta/JCAlert.consts.d.ts +5 -0
- package/dist/alerta/JCAlert.d.ts +8 -0
- package/dist/alerta/JCAlert.styles.d.ts +1 -0
- package/dist/botaoClonar/botaoClonar.d.ts +1 -0
- package/dist/botaoEditar/botaoEditar.d.ts +1 -0
- package/dist/botaoExcluir/botaoExcluir.d.ts +1 -0
- package/dist/botaoIncluir/botaoIncluir.d.ts +4 -0
- package/dist/botaoSalvar/botaoSalvar.d.ts +7 -0
- package/dist/botaoSalvar/botaoSalvar.styles.d.ts +1 -0
- package/dist/boxColor/boxColor.d.ts +6 -0
- package/dist/boxColor/boxColor.styles.d.ts +1 -0
- package/dist/boxInfo/BoxInfo.d.ts +10 -0
- package/dist/boxInfo/BoxInfo.styles.d.ts +1 -0
- package/dist/buttonClose/buttonBack.d.ts +3 -0
- package/dist/buttonClose/buttonClose.d.ts +3 -0
- package/dist/buttonClose/buttonStyled.d.ts +1 -0
- package/dist/buttonOptions/buttonOptions.d.ts +6 -0
- package/dist/buttonOptions/buttonOptions.styles.d.ts +1 -0
- package/dist/buttonTop/ButtonTop.d.ts +1 -0
- package/dist/buttonTop/ButtonTop.styles.d.ts +1 -0
- package/dist/clipboardArea/ClipboardArea.d.ts +4 -0
- package/dist/clipboardArea/ClipboardArea.styles.d.ts +1 -0
- package/dist/context/modalContext.d.ts +6 -0
- package/dist/dataItem/DataItem.d.ts +7 -0
- package/dist/formEnter/formEnter.d.ts +3 -0
- package/dist/groupBox/GroupBox.d.ts +5 -0
- package/dist/groupBox/GroupBox.styles.d.ts +1 -0
- package/dist/hint/hint.d.ts +4 -0
- package/dist/hint/hint.styles.d.ts +1 -0
- package/dist/hooks/cache.d.ts +5 -0
- package/dist/hooks/useApi.d.ts +48 -0
- package/dist/hooks/useLocalForage.d.ts +1 -0
- package/dist/hooks/useParamId.d.ts +1 -0
- package/dist/hooks/useQuery.d.ts +1 -0
- package/dist/hooks/useStorage.d.ts +2 -0
- package/dist/iconSvg/iconClose.d.ts +2 -0
- package/dist/iconSvg/iconExitOutline.d.ts +2 -0
- package/dist/iconSvg/iconMenu.d.ts +2 -0
- package/dist/iconSvg/iconUserGear.d.ts +2 -0
- package/dist/icones/Icones.d.ts +30 -0
- package/dist/imports/globalImports.d.ts +1 -0
- package/dist/index.d.ts +71 -0
- package/dist/inputColor/inputColor.d.ts +5 -0
- package/dist/inputColor/inputColor.styles.d.ts +1 -0
- package/dist/inputPesquisa/inputPesquisa.d.ts +10 -0
- package/dist/inputQRCode/inputQRCode.d.ts +4 -0
- package/dist/inputs/CheckBox.d.ts +7 -0
- package/dist/inputs/Formats.d.ts +45 -0
- package/dist/inputs/InputCep.d.ts +6 -0
- package/dist/inputs/InputCepConst.d.ts +4 -0
- package/dist/inputs/InputCheckBox.d.ts +5 -0
- package/dist/inputs/InputFone.d.ts +6 -0
- package/dist/inputs/inputs.d.ts +49 -0
- package/dist/jclib-ui.es.js +21006 -0
- package/dist/jclib-ui.es.js.map +1 -0
- package/dist/jclib-ui.umd.js +1317 -0
- package/dist/jclib-ui.umd.js.map +1 -0
- package/dist/labelHint/LabelHint.d.ts +4 -0
- package/dist/labelHint/LabelHint.styles.d.ts +1 -0
- package/dist/links/Links.d.ts +28 -0
- package/dist/loading/Loading.d.ts +4 -0
- package/dist/loading/Loading.styles.d.ts +1 -0
- package/dist/modalBox/ModalBox.d.ts +9 -0
- package/dist/modalBox/ModalBox.styles.d.ts +1 -0
- package/dist/modalBoxDrag/ModalBoxDrag.d.ts +9 -0
- package/dist/modalBoxDrag/ModalBoxDrag.styles.d.ts +1 -0
- package/dist/modalFilter/modalFilter.d.ts +7 -0
- package/dist/navbar/MenuOption.d.ts +9 -0
- package/dist/navbar/MenuOption.styles.d.ts +4 -0
- package/dist/navbar/Navbar.d.ts +12 -0
- package/dist/navbar/Navbar.styles.d.ts +1 -0
- package/dist/navbar/NavbarColors.d.ts +91 -0
- package/dist/navbar/NavbarMenu.styles.d.ts +2 -0
- package/dist/navbar/OpcoesMenu.d.ts +2 -0
- package/dist/paginacao/Paginacao.d.ts +5 -0
- package/dist/paginacao/Paginacao.styles.d.ts +1 -0
- package/dist/panel/panel.d.ts +8 -0
- package/dist/panel/panel.styles.d.ts +1 -0
- package/dist/panel/panelHeader.d.ts +1 -0
- package/dist/panelDashboard/PanelDashboard.d.ts +9 -0
- package/dist/printButtons/printButtons.d.ts +3 -0
- package/dist/printButtons/printButtons.styles.d.ts +1 -0
- package/dist/qrCodeReader/qrCodeReader.d.ts +5 -0
- package/dist/radioGroup/RadioGroup.d.ts +9 -0
- package/dist/radioGroup/RadioGroup.styles.d.ts +1 -0
- package/dist/showIf/ShowIf.d.ts +4 -0
- package/dist/style.css +5 -0
- package/dist/table/table.d.ts +45 -0
- package/dist/table/table.styles.d.ts +3 -0
- package/dist/textHtml/textHtml.d.ts +3 -0
- package/dist/toggle/Toggle.d.ts +10 -0
- package/dist/toggle/Toggle.styles.d.ts +1 -0
- package/dist/update/update.d.ts +1 -0
- package/dist/update/update.styles.d.ts +1 -0
- 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 @@
|
|
|
1
|
+
export const LoadingArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -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 @@
|
|
|
1
|
+
export const MainContainer: import("styled-components").StyledComponent<"main", any, {}, never>;
|
|
@@ -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 @@
|
|
|
1
|
+
export const ButtonArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -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 @@
|
|
|
1
|
+
export const ButtonStyled: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -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 @@
|
|
|
1
|
+
export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -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,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;
|
package/dist/index.d.ts
ADDED
|
@@ -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 @@
|
|
|
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,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,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 };
|