jclib-ui 1.0.67 → 1.0.68

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.
@@ -1,10 +1,3 @@
1
1
  import { FormConsultaProps } from './FormConsulta.types';
2
2
 
3
- declare function FormConsulta({ titulo, rotaApi, headersApi, rotaApp, cols, ordens, ordemPadrao, campoChave, placeHolder, }: FormConsultaProps): import("react/jsx-runtime").JSX.Element;
4
- declare namespace FormConsulta {
5
- var defaultProps: {
6
- ordemPadrao: number;
7
- placeHolder: string;
8
- };
9
- }
10
- export default FormConsulta;
3
+ export default function FormConsulta({ titulo, rotaApi, headersApi, rotaApp, cols, ordens, ordemPadrao, campoChave, placeHolder, }: FormConsultaProps): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,4 @@
1
- declare function ButtonTop({ smooth, center }: {
1
+ export default function ButtonTop({ smooth, center }: {
2
2
  smooth: any;
3
3
  center: any;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
- declare namespace ButtonTop {
6
- namespace defaultProps {
7
- let smooth: boolean;
8
- let center: boolean;
9
- }
10
- }
11
- export default ButtonTop;
@@ -1,16 +1,8 @@
1
1
  type Props = {
2
- valor: number;
2
+ valor?: number;
3
3
  time?: number;
4
4
  format?: boolean;
5
5
  currency?: boolean;
6
6
  };
7
7
  export declare function DynamicCounter({ valor, time, format, currency }: Props): string | number;
8
- export declare namespace DynamicCounter {
9
- var defaultProps: {
10
- valor: number;
11
- time: number;
12
- format: boolean;
13
- currency: boolean;
14
- };
15
- }
16
8
  export {};
@@ -0,0 +1,2 @@
1
+ export function MessageNoConection(): import("react/jsx-runtime").JSX.Element;
2
+ export const Container: import('styled-components').StyledComponent<"div", any, {}, never>;
@@ -1,5 +1,6 @@
1
1
  import { default as axios, AxiosRequestConfig, AxiosResponse } from 'axios';
2
2
  import { globalApiConfig } from './useApi';
3
+ import { ReactNode } from 'react';
3
4
 
4
5
 
5
6
  export type ApiRequestConfig = AxiosRequestConfig & {
@@ -11,11 +12,11 @@ export type ApiRequestConfig = AxiosRequestConfig & {
11
12
 
12
13
  export type ApiResponseConfig = {
13
14
  isError: boolean //deprecated
14
- message: string | null //deprecated
15
+ message: string | ReactNode | null //deprecated
15
16
  loading: boolean
16
17
  headers: any
17
18
  data: any
18
- error: string | null
19
+ error: string | ReactNode | null
19
20
  code: number
20
21
  status: number
21
22
  report: boolean
package/dist/index.d.ts CHANGED
@@ -43,7 +43,6 @@ export * from './inputs/inputs';
43
43
  export { default as LabelHint } from './labelHint/LabelHint';
44
44
  export { default as Loading } from './loading/Loading';
45
45
  export { default as ModalBox } from './modalBox/ModalBox';
46
- export { default as ModalBoxDrag } from './modalBoxDrag/ModalBoxDrag';
47
46
  export { default as ModalFilter } from './modalFilter/modalFilter';
48
47
  export * from './links/Links';
49
48
  export { default as Paginacao } from './paginacao/Paginacao';
@@ -4,42 +4,17 @@ export function FormatValor({ value, money, decimalScale, ...rest }: {
4
4
  decimalScale?: any;
5
5
  [x: string]: any;
6
6
  }): import("react/jsx-runtime").JSX.Element;
7
- export namespace FormatValor {
8
- namespace defaultProps {
9
- let value: number;
10
- let money: boolean;
11
- let decimalScale: number;
12
- }
13
- }
14
7
  export function FormatQuant({ value, decimalScale, ...rest }: {
15
8
  [x: string]: any;
16
- value: any;
17
- decimalScale: any;
9
+ value?: number | undefined;
10
+ decimalScale?: number | undefined;
18
11
  }): import("react/jsx-runtime").JSX.Element;
19
- export namespace FormatQuant {
20
- export namespace defaultProps_1 {
21
- let value_1: number;
22
- export { value_1 as value };
23
- let decimalScale_1: number;
24
- export { decimalScale_1 as decimalScale };
25
- }
26
- export { defaultProps_1 as defaultProps };
27
- }
28
12
  export function FormatPercent({ value, decimalScale, ...rest }: {
29
13
  [x: string]: any;
30
- value: any;
31
- decimalScale: any;
14
+ value?: number | undefined;
15
+ decimalScale?: number | undefined;
32
16
  }): import("react/jsx-runtime").JSX.Element;
33
- export namespace FormatPercent {
34
- export namespace defaultProps_2 {
35
- let value_2: number;
36
- export { value_2 as value };
37
- let decimalScale_2: number;
38
- export { decimalScale_2 as decimalScale };
39
- }
40
- export { defaultProps_2 as defaultProps };
41
- }
42
17
  export function FormatData({ value, incHour }: {
43
- value: any;
18
+ value?: number | undefined;
44
19
  incHour?: boolean | undefined;
45
20
  }): string;