@yeverlibs/ds 1.0.0
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 +91 -0
- package/dist/index.d.mts +1460 -0
- package/dist/index.d.ts +1460 -0
- package/dist/index.js +9874 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +9642 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +2319 -0
- package/dist/styles.css.map +1 -0
- package/package.json +102 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,1460 @@
|
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
|
+
import React__default, { Dispatch, SetStateAction, ReactElement, MemoExoticComponent, HTMLProps, ReactNode } from 'react';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import * as tailwind_styled_components_dist_tailwind from 'tailwind-styled-components/dist/tailwind';
|
|
5
|
+
import * as react_hook_form from 'react-hook-form';
|
|
6
|
+
import { FieldValues, UseFormReturn, Path, ReactNode as ReactNode$1, SubmitHandler } from 'react-hook-form';
|
|
7
|
+
import { ResponsiveBarSvgProps, BarDatum } from '@nivo/bar';
|
|
8
|
+
import { LineSvgProps } from '@nivo/line';
|
|
9
|
+
import { PieSvgProps } from '@nivo/pie';
|
|
10
|
+
import { ClassValue } from 'clsx';
|
|
11
|
+
|
|
12
|
+
type ButtonProps = {
|
|
13
|
+
$size?: 'xxxlarge' | 'xxlarge' | 'xlarge' | 'large' | 'small' | 'tiny'
|
|
14
|
+
$variant?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'toggle' | 'danger-outline' | 'success' | 'ghost'
|
|
15
|
+
$hasIcon?: boolean
|
|
16
|
+
$iconPosition?: 'left' | 'right'
|
|
17
|
+
$type?: 'buttonList'
|
|
18
|
+
$isLoading?: boolean
|
|
19
|
+
$toggled?: boolean
|
|
20
|
+
$toogleVariant?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'toggle' | 'danger-outline' | 'success' | 'ghost'
|
|
21
|
+
$tooltip?: string
|
|
22
|
+
$tooltipPosition?: 'top' | 'bottom' | 'left' | 'right'
|
|
23
|
+
} & React.ButtonHTMLAttributes<HTMLButtonElement>
|
|
24
|
+
|
|
25
|
+
type AlertProps = {
|
|
26
|
+
children: React.ReactNode
|
|
27
|
+
$type: 'info' | 'error' | 'warning' | 'default' | 'medium' | 'success'
|
|
28
|
+
$icon?: React.ReactNode
|
|
29
|
+
$asAction?: {
|
|
30
|
+
action: () => void
|
|
31
|
+
label: string
|
|
32
|
+
variant: Pick<ButtonProps, '$variant'>['$variant']
|
|
33
|
+
}
|
|
34
|
+
centerText?: boolean
|
|
35
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
36
|
+
|
|
37
|
+
declare const Alert: React.FC<AlertProps>;
|
|
38
|
+
|
|
39
|
+
type AvatarProps = {
|
|
40
|
+
name?: string
|
|
41
|
+
src?: string
|
|
42
|
+
size?: 'small' | 'large' | 'xlarge'
|
|
43
|
+
className?: string
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
declare const Avatar: React.FC<AvatarProps>;
|
|
47
|
+
|
|
48
|
+
type BoxProps = React.HTMLAttributes<HTMLDivElement>;
|
|
49
|
+
declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
50
|
+
|
|
51
|
+
declare const Button: React.FC<ButtonProps>;
|
|
52
|
+
|
|
53
|
+
declare const iconList: {
|
|
54
|
+
LinkPagamento: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
55
|
+
Logistica: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
56
|
+
MediumRisk: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
57
|
+
Home: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
58
|
+
Emails: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
59
|
+
Planilha: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
60
|
+
CarrinhoAbandonado: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
61
|
+
RecuperacaoDeCarrinho: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
Xlsx: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
63
|
+
CSV: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
64
|
+
LojaAlertSuccess: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
GlobeVariant: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
66
|
+
Extrato: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
67
|
+
Yever: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
68
|
+
DownloadArrow: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
69
|
+
Transfer: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
70
|
+
Switch: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
71
|
+
Calendar: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
72
|
+
Refresh: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
73
|
+
Api: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
74
|
+
Distribuicao: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
75
|
+
Dominios: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
76
|
+
Frete: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
77
|
+
FreteGratis: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
78
|
+
Loja: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
79
|
+
PermissaoDeAcesso: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
80
|
+
Produto: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
81
|
+
RestricaoDeAcesso: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
82
|
+
WebhookConfig: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
83
|
+
CloseCheckbox: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
84
|
+
Money: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
85
|
+
LojaAlert: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
86
|
+
CarretDown: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
87
|
+
Cloud: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
88
|
+
LoadingSpinner: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
89
|
+
Drag: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
90
|
+
Plus: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
91
|
+
Delivery: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
92
|
+
Guard: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
93
|
+
AlertError: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
94
|
+
Risco: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
95
|
+
Chargeback: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
96
|
+
Prechargeback: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
97
|
+
Users: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
98
|
+
CreditCard: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
99
|
+
Cart: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
100
|
+
Truck: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
101
|
+
CopyLink: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
102
|
+
Copy: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
103
|
+
InfoCircle: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
104
|
+
AlertDefault: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
105
|
+
AlertWarning: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
106
|
+
CarretSingleRight: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
107
|
+
Checkout: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
108
|
+
ChevronDown: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
109
|
+
ChevronLeftDouble: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
110
|
+
Configuracoes: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
111
|
+
Dashboard: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
112
|
+
Financeiro: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
113
|
+
Gestao: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
114
|
+
Integracoes: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
115
|
+
Marketing: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
116
|
+
Notificacoes: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
117
|
+
Produtos: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
118
|
+
Relatorios: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
119
|
+
SearchMd: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
120
|
+
Spinner: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
121
|
+
VerticalPoints: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
122
|
+
HelpCircle: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
123
|
+
Globe: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
124
|
+
Mail: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
125
|
+
PhoneCall: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
126
|
+
User: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
127
|
+
ArrowLeft: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
128
|
+
Edit: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
129
|
+
Trash: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
130
|
+
CloseIcon: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
131
|
+
CarrFree: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
132
|
+
Check: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
133
|
+
CodeCircle: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
134
|
+
Distribution: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
135
|
+
Link: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
136
|
+
Lock: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
137
|
+
MarkerPin: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
138
|
+
Store: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
139
|
+
Webhook: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
140
|
+
Notifications: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
141
|
+
Help: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
142
|
+
Sac: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
143
|
+
Signout: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
144
|
+
Promocoes: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
145
|
+
Pixels: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
146
|
+
OrderBump: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
147
|
+
Cupom: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
148
|
+
Depoimentos: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
149
|
+
Upsell: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
150
|
+
FilterLines: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
151
|
+
ArrowNarrowUpRight: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
152
|
+
AlertInfo: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
153
|
+
EyeInput: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
154
|
+
LockInput: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
155
|
+
MailInput: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
156
|
+
FileMinus: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
157
|
+
Warning: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
158
|
+
Whatsapp: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
159
|
+
Pix: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
160
|
+
Boleto: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
161
|
+
Card: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
162
|
+
EyeOff: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
163
|
+
AlertGuard: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
164
|
+
Message: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
165
|
+
NewMessage: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
166
|
+
Notification: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
167
|
+
NewNotification: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
168
|
+
Headphones: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
type IconName = keyof typeof iconList
|
|
172
|
+
|
|
173
|
+
type OpenAsBlobOptions = {
|
|
174
|
+
name: string
|
|
175
|
+
iconName?: IconName
|
|
176
|
+
imageName?: string
|
|
177
|
+
tooltip?: string
|
|
178
|
+
active: boolean
|
|
179
|
+
value?: string
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
type ButtonToggleGroupProps = {
|
|
183
|
+
activeOption: OpenAsBlobOptions[]
|
|
184
|
+
setActiveOption: Dispatch<SetStateAction<OpenAsBlobOptions[]>>
|
|
185
|
+
buttonSize?: 'xxxlarge' | 'xxlarge' | 'xlarge' | 'large' | 'small' | 'tiny'
|
|
186
|
+
iconClassName?: string
|
|
187
|
+
buttonClassName?: string
|
|
188
|
+
$toogleVariant?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'toggle' | 'danger-outline' | 'success' | 'ghost'
|
|
189
|
+
onOptionChange?: (option: OpenAsBlobOptions) => void
|
|
190
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
191
|
+
|
|
192
|
+
declare const ButtonToggleGroup: React__default.FC<ButtonToggleGroupProps>;
|
|
193
|
+
|
|
194
|
+
type CheckboxOption<T = string> = {
|
|
195
|
+
value: T
|
|
196
|
+
label: string
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
type CheckboxGroupProps<T extends string | number | boolean = string> = {
|
|
200
|
+
options: CheckboxOption<T>[]
|
|
201
|
+
onChange: (selectedValues: T[]) => void
|
|
202
|
+
label?: string
|
|
203
|
+
multiSelect?: boolean
|
|
204
|
+
tagStyle?: boolean
|
|
205
|
+
useSvgCheck?: boolean
|
|
206
|
+
wrapperClassName?: string
|
|
207
|
+
labelClassName?: string
|
|
208
|
+
defaultSelectedValue?: T
|
|
209
|
+
isBackgroundChecked?: boolean
|
|
210
|
+
variant?: 'default' | 'primary'
|
|
211
|
+
allowUncheck?: boolean
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
declare const CheckboxGroup: <T extends string | number | boolean = string>({ options, onChange, label, multiSelect, useSvgCheck, wrapperClassName, labelClassName, defaultSelectedValue, isBackgroundChecked, variant, allowUncheck, }: CheckboxGroupProps<T>) => react_jsx_runtime.JSX.Element;
|
|
215
|
+
|
|
216
|
+
type ModalProps = {
|
|
217
|
+
isModalOpen: boolean
|
|
218
|
+
setIsModalOpen: Dispatch<SetStateAction<boolean>>
|
|
219
|
+
onDelete: () => Promise<any>
|
|
220
|
+
successMessage?: string
|
|
221
|
+
location?: string
|
|
222
|
+
title: string
|
|
223
|
+
message: string
|
|
224
|
+
onSuccess?: () => void
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare const DeleteModal: React.FC<ModalProps>;
|
|
228
|
+
|
|
229
|
+
interface DropdownContextType {
|
|
230
|
+
isOpen: boolean;
|
|
231
|
+
toggleDropdown: () => void;
|
|
232
|
+
closeDropdown: () => void;
|
|
233
|
+
}
|
|
234
|
+
declare const DropdownContext: React__default.Context<DropdownContextType>;
|
|
235
|
+
declare const DropdownTrigger: React__default.FC<React__default.HTMLAttributes<HTMLDivElement> & {
|
|
236
|
+
children: React__default.ReactNode;
|
|
237
|
+
}>;
|
|
238
|
+
declare const DrowpdownButton: {
|
|
239
|
+
Container: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
240
|
+
Button: React__default.FC<React__default.HTMLAttributes<HTMLButtonElement>>;
|
|
241
|
+
Content: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
242
|
+
Header: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
243
|
+
Footer: React__default.FC<React__default.HTMLAttributes<HTMLDivElement>>;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
type DropdownItemProps = {
|
|
247
|
+
items: ReactElement[]
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare const DropdownItens: React__default.FC<DropdownItemProps>;
|
|
251
|
+
|
|
252
|
+
type FeedbackBadgeProps = {
|
|
253
|
+
children: React.ReactNode
|
|
254
|
+
$variant?: 'success' | 'warning' | 'error' | 'default' | 'ribbon' | 'risk'
|
|
255
|
+
customClassName?: string
|
|
256
|
+
tagColor?: string
|
|
257
|
+
tagTextColor?: string
|
|
258
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
259
|
+
|
|
260
|
+
declare const FeedbackBadge: React.FC<FeedbackBadgeProps>;
|
|
261
|
+
|
|
262
|
+
type FilterOption = {
|
|
263
|
+
name: string
|
|
264
|
+
label: string
|
|
265
|
+
type: 'select' | 'text'
|
|
266
|
+
options?: Array<{ label: string; value: string }>
|
|
267
|
+
isSearchNew?: boolean
|
|
268
|
+
operator?: 'like' | 'eq' | string
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
declare const FilterDrawer: React.FC<{
|
|
272
|
+
onAction: () => void;
|
|
273
|
+
loadingActions: {
|
|
274
|
+
setLoading: (loading: boolean) => void;
|
|
275
|
+
exitLoading: () => () => void;
|
|
276
|
+
};
|
|
277
|
+
filterOptions?: FilterOption[];
|
|
278
|
+
label?: string;
|
|
279
|
+
icon?: React.ReactNode;
|
|
280
|
+
showOnlyCustomDate?: boolean;
|
|
281
|
+
size?: 'small' | 'large';
|
|
282
|
+
isCustomActive?: boolean;
|
|
283
|
+
setIsCustomActive?: Dispatch<SetStateAction<boolean>>;
|
|
284
|
+
hasClearFilters?: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
|
|
287
|
+
type FilterSectionProps = {
|
|
288
|
+
children: React__default.ReactNode;
|
|
289
|
+
className?: string;
|
|
290
|
+
isOpen?: boolean;
|
|
291
|
+
};
|
|
292
|
+
declare const FilterListContext: React__default.Context<{
|
|
293
|
+
isOpen: boolean;
|
|
294
|
+
toggleDropdown: () => void | undefined;
|
|
295
|
+
closeDropdown: () => void | undefined;
|
|
296
|
+
}>;
|
|
297
|
+
declare const FilterTrigger: React__default.FC<React__default.HTMLAttributes<HTMLDivElement> & {
|
|
298
|
+
children: React__default.ReactNode;
|
|
299
|
+
}>;
|
|
300
|
+
declare const FilterList: {
|
|
301
|
+
Container: React__default.FC<FilterSectionProps>;
|
|
302
|
+
Header: React__default.FC<FilterSectionProps>;
|
|
303
|
+
Button: React__default.FC<React__default.HTMLAttributes<HTMLButtonElement> & {
|
|
304
|
+
size?: "small" | "large";
|
|
305
|
+
isCustomActive?: boolean;
|
|
306
|
+
}>;
|
|
307
|
+
Content: React__default.FC<FilterSectionProps>;
|
|
308
|
+
Footer: React__default.FC<FilterSectionProps>;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
type subItem = {
|
|
312
|
+
label: string;
|
|
313
|
+
href: string;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
type GeneralPageLinksProps = {
|
|
317
|
+
links: (
|
|
318
|
+
| {
|
|
319
|
+
path: string
|
|
320
|
+
icon: MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => JSX.Element>
|
|
321
|
+
title: string
|
|
322
|
+
description: string
|
|
323
|
+
}
|
|
324
|
+
| {
|
|
325
|
+
path: string
|
|
326
|
+
icon: (props: React.SVGProps<SVGSVGElement>) => JSX.Element
|
|
327
|
+
title: string
|
|
328
|
+
description: string
|
|
329
|
+
}
|
|
330
|
+
| {
|
|
331
|
+
path: string
|
|
332
|
+
icon: JSX.Element
|
|
333
|
+
title: string
|
|
334
|
+
description: string
|
|
335
|
+
}
|
|
336
|
+
)[]
|
|
337
|
+
allowedPaths?: {
|
|
338
|
+
path: string
|
|
339
|
+
canVisualize: boolean
|
|
340
|
+
}[]
|
|
341
|
+
slug: string
|
|
342
|
+
heading: string
|
|
343
|
+
configSubMenu?: subItem[]
|
|
344
|
+
PrefetchCategory: string
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
declare const GeneralPageLinks: ({ links, allowedPaths, slug, heading, configSubMenu, PrefetchCategory, }: GeneralPageLinksProps) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
|
|
349
|
+
type GridColumnProps = {
|
|
350
|
+
$columns: number;
|
|
351
|
+
$gap: number;
|
|
352
|
+
className?: string;
|
|
353
|
+
children: React.ReactNode;
|
|
354
|
+
paddingTop?: string;
|
|
355
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
356
|
+
declare const Grid: React.FC<GridColumnProps>;
|
|
357
|
+
|
|
358
|
+
type LinkProps = {
|
|
359
|
+
$size?: 'xxxlarge' | 'xxlarge' | 'xlarge' | 'large' | 'small' | 'tiny'
|
|
360
|
+
$variant?: 'primary' | 'secondary' | 'tertiary' | 'warning' | 'toggle' | 'success'
|
|
361
|
+
$type?: 'buttonList'
|
|
362
|
+
$hasIcon?: boolean
|
|
363
|
+
$iconPosition?: 'left' | 'right'
|
|
364
|
+
href: string
|
|
365
|
+
disabled?: boolean
|
|
366
|
+
} & HTMLProps<HTMLAnchorElement>
|
|
367
|
+
|
|
368
|
+
declare const Link$1: React.FC<LinkProps>;
|
|
369
|
+
|
|
370
|
+
type ModalContainerProps = {
|
|
371
|
+
children: React.ReactNode
|
|
372
|
+
isOpen: boolean
|
|
373
|
+
onClose: () => void
|
|
374
|
+
className?: string
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
type ModalSectionProps = {
|
|
378
|
+
children: React.ReactNode
|
|
379
|
+
className?: string
|
|
380
|
+
onClose?: () => void
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
declare const Modal: {
|
|
384
|
+
Container: React$1.FC<ModalContainerProps>;
|
|
385
|
+
Header: React$1.FC<ModalSectionProps>;
|
|
386
|
+
Content: React$1.FC<ModalSectionProps>;
|
|
387
|
+
Footer: React$1.FC<ModalSectionProps>;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
type NotificationItemProps = {
|
|
391
|
+
user: string
|
|
392
|
+
message: string
|
|
393
|
+
date: Date
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
declare const NotificationItem: React.FC<NotificationItemProps>;
|
|
397
|
+
|
|
398
|
+
type LayoutProps = {
|
|
399
|
+
children: React.ReactNode;
|
|
400
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
401
|
+
declare const PageContainer: React.FC<LayoutProps> & {
|
|
402
|
+
Header: React.FC<LayoutProps>;
|
|
403
|
+
Content: React.FC<LayoutProps>;
|
|
404
|
+
Footer: React.FC<LayoutProps>;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
type PaymentCardProps = {
|
|
408
|
+
status?: {
|
|
409
|
+
attempts?: number
|
|
410
|
+
approved?: boolean
|
|
411
|
+
}
|
|
412
|
+
type: string
|
|
413
|
+
cardNumber: string | undefined
|
|
414
|
+
cardholderName: string | undefined
|
|
415
|
+
installments: number | undefined
|
|
416
|
+
paymentDate: string | undefined
|
|
417
|
+
brand: string
|
|
418
|
+
expiration?: string
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
declare const PaymentCard: React.FC<PaymentCardProps>;
|
|
422
|
+
|
|
423
|
+
type PrefetchLinkProps = {
|
|
424
|
+
href: string;
|
|
425
|
+
children: React.ReactNode;
|
|
426
|
+
className?: string;
|
|
427
|
+
onClick?: () => void;
|
|
428
|
+
};
|
|
429
|
+
declare const PrefetchLink: ({ href, children, className, onClick }: PrefetchLinkProps) => react_jsx_runtime.JSX.Element;
|
|
430
|
+
|
|
431
|
+
type PreviewPhoneProps = {
|
|
432
|
+
children: React.ReactNode
|
|
433
|
+
cartPosition?: string
|
|
434
|
+
bodyColor?: string
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
declare const PreviewPhone: ({ children, cartPosition, bodyColor }: PreviewPhoneProps) => react_jsx_runtime.JSX.Element;
|
|
438
|
+
|
|
439
|
+
type RibbonProps = {
|
|
440
|
+
className?: string
|
|
441
|
+
props?: Record<string, string>
|
|
442
|
+
value: string
|
|
443
|
+
type: 'upsell' | 'order-bump' | 'preview'
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare const Ribbon: React.FC<RibbonProps>;
|
|
447
|
+
|
|
448
|
+
type SeratorProps = {
|
|
449
|
+
$isScrollable?: boolean
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
declare const Separator: tailwind_styled_components_dist_tailwind.TailwindComponent<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHRElement>, HTMLHRElement>, SeratorProps>;
|
|
453
|
+
|
|
454
|
+
type SlidingPanelContainerProps = {
|
|
455
|
+
isOpen: boolean
|
|
456
|
+
onClose: () => void
|
|
457
|
+
className?: string
|
|
458
|
+
children: React.ReactNode
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
type SlidingPanelSectionProps = {
|
|
462
|
+
children: React.ReactNode
|
|
463
|
+
className?: string
|
|
464
|
+
onClose?: () => void
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
declare const SlidingPanel: {
|
|
468
|
+
Container: React$1.FC<SlidingPanelContainerProps>;
|
|
469
|
+
Header: React$1.FC<SlidingPanelSectionProps>;
|
|
470
|
+
Content: React$1.FC<SlidingPanelSectionProps>;
|
|
471
|
+
Footer: React$1.FC<SlidingPanelSectionProps>;
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
declare const Spinner$1: React.FC<{
|
|
475
|
+
type?: 'normal' | 'loading';
|
|
476
|
+
}>;
|
|
477
|
+
|
|
478
|
+
type StatusBadgeProps = {
|
|
479
|
+
successTyples?: string[];
|
|
480
|
+
warningTypes?: string[];
|
|
481
|
+
dangerTypes?: string[];
|
|
482
|
+
type?: string;
|
|
483
|
+
children: React.ReactNode;
|
|
484
|
+
};
|
|
485
|
+
declare const StatusBadge: React.FC<StatusBadgeProps>;
|
|
486
|
+
|
|
487
|
+
type PaginatedData = {
|
|
488
|
+
current: number
|
|
489
|
+
last: number
|
|
490
|
+
total: number
|
|
491
|
+
per_page: number
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
type Column<T> = {
|
|
495
|
+
Header?: string
|
|
496
|
+
accessor: keyof T | ((row: T) => React.ReactNode) | 'actions'
|
|
497
|
+
id?: string
|
|
498
|
+
Cell?: (cell: { value: ReactNode; row: T }) => ReactNode
|
|
499
|
+
actions?: (row: T) => React.ReactNode
|
|
500
|
+
isLink?: boolean
|
|
501
|
+
linkAccessor?: (row: T) => string
|
|
502
|
+
linkHref?: (row: T) => string
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
type TableProps<T> = {
|
|
506
|
+
columns: Column<T>[]
|
|
507
|
+
data: T[]
|
|
508
|
+
itemsListPerPage?: number
|
|
509
|
+
searchable?: boolean
|
|
510
|
+
searchPlaceholder?: string
|
|
511
|
+
showPagesCount?: boolean
|
|
512
|
+
hiddenColumns?: (keyof T | 'actions')[]
|
|
513
|
+
columnWidths?: (string | number)[]
|
|
514
|
+
paginationVariant?: 'primary' | 'secondary'
|
|
515
|
+
selectable?: boolean
|
|
516
|
+
filtersComponent?: React.ReactNode
|
|
517
|
+
pagination?: PaginatedData
|
|
518
|
+
onPaginateAction?: () => void
|
|
519
|
+
noPagination?: boolean
|
|
520
|
+
wrapperClassName?: string
|
|
521
|
+
noBackground?: boolean
|
|
522
|
+
linkAccessor?: (row: T) => string
|
|
523
|
+
isLink?: boolean
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
declare const Table: <T>(props: TableProps<T>) => react_jsx_runtime.JSX.Element;
|
|
527
|
+
|
|
528
|
+
type TabsProps = {
|
|
529
|
+
headers: string[] | string[][]
|
|
530
|
+
children: React.ReactNode[]
|
|
531
|
+
noGap?: boolean
|
|
532
|
+
active?: number
|
|
533
|
+
alignDiv?: 'full' | 'left'
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
declare const Tabs: React.FC<TabsProps>;
|
|
537
|
+
|
|
538
|
+
type TooltipProps = {
|
|
539
|
+
text: string
|
|
540
|
+
$position?: 'top' | 'bottom' | 'left' | 'right'
|
|
541
|
+
$type?: 'primary' | 'secondary' | 'info'
|
|
542
|
+
hasIcon?: boolean
|
|
543
|
+
customIcon?: React.ReactElement
|
|
544
|
+
wFit?: boolean
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
declare const Tooltip: React__default.FC<TooltipProps>;
|
|
548
|
+
|
|
549
|
+
type HeadingProps = {
|
|
550
|
+
$as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'
|
|
551
|
+
children: React.ReactNode
|
|
552
|
+
className?: string
|
|
553
|
+
tooltip?: string
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
declare const Heading: React.FC<HeadingProps>;
|
|
557
|
+
|
|
558
|
+
type TextProps = {
|
|
559
|
+
$as: 'p' | 'span' | 'div' | 'small'
|
|
560
|
+
children: React.ReactNode
|
|
561
|
+
className?: string
|
|
562
|
+
} & React.HTMLAttributes<HTMLDivElement>
|
|
563
|
+
|
|
564
|
+
declare const Text: React.FC<TextProps>;
|
|
565
|
+
|
|
566
|
+
type CheckboxProps = {
|
|
567
|
+
name?: string
|
|
568
|
+
label?: string
|
|
569
|
+
subLabel?: string
|
|
570
|
+
labelClassName?: string
|
|
571
|
+
useSvgCheck?: boolean
|
|
572
|
+
textClassName?: string
|
|
573
|
+
isBackgroundChecked?: boolean
|
|
574
|
+
variant?: 'default' | 'primary' | 'secondary'
|
|
575
|
+
selectedColor?: string
|
|
576
|
+
noBoldText?: boolean
|
|
577
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
578
|
+
|
|
579
|
+
declare const Checkbox: React.FC<CheckboxProps>;
|
|
580
|
+
|
|
581
|
+
type CounterInputProps$2<T extends FieldValues = FieldValues> = {
|
|
582
|
+
label?: string
|
|
583
|
+
redeemablePoints?: number
|
|
584
|
+
tooltip?: string
|
|
585
|
+
type?: 'cupom' | 'promocao'
|
|
586
|
+
full?: boolean
|
|
587
|
+
hasDisabled?: boolean
|
|
588
|
+
wrapperClassName?: string
|
|
589
|
+
methods?: UseFormReturn<T>
|
|
590
|
+
onChange?: (value: number) => void
|
|
591
|
+
id?: string
|
|
592
|
+
defaultValue?: string | number
|
|
593
|
+
name?: Path<T>
|
|
594
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
595
|
+
|
|
596
|
+
declare const Counter: <T extends FieldValues = FieldValues>({ label, hasDisabled, redeemablePoints, tooltip, full, type, wrapperClassName, methods, onChange, id, ...rest }: CounterInputProps$2<T>) => react_jsx_runtime.JSX.Element;
|
|
597
|
+
|
|
598
|
+
type CurrencyInputProps<T extends FieldValues = FieldValues> = {
|
|
599
|
+
label?: string
|
|
600
|
+
tooltip?: string
|
|
601
|
+
$wrapperClassName?: string
|
|
602
|
+
disabled?: boolean
|
|
603
|
+
methods?: UseFormReturn<T>
|
|
604
|
+
onChange?: (value: string) => void
|
|
605
|
+
$errorMessage?: string
|
|
606
|
+
$description?: string
|
|
607
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
608
|
+
|
|
609
|
+
declare const CurrencyInput: <T extends FieldValues = FieldValues>({ label, tooltip, $wrapperClassName, methods, onChange, defaultValue, $errorMessage, $description, ...rest }: CurrencyInputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
610
|
+
|
|
611
|
+
type DatePickerProps$1 = {
|
|
612
|
+
onChange: (date: {
|
|
613
|
+
startDate: Date | null;
|
|
614
|
+
endDate?: Date | null;
|
|
615
|
+
startTime?: {
|
|
616
|
+
hours: number;
|
|
617
|
+
minutes: number;
|
|
618
|
+
} | null;
|
|
619
|
+
endTime?: {
|
|
620
|
+
hours: number;
|
|
621
|
+
minutes: number;
|
|
622
|
+
} | null;
|
|
623
|
+
}) => void;
|
|
624
|
+
onClear?: () => void;
|
|
625
|
+
enableRange?: boolean;
|
|
626
|
+
maxRange?: number;
|
|
627
|
+
label?: string;
|
|
628
|
+
name?: string;
|
|
629
|
+
hasTime?: boolean;
|
|
630
|
+
value?: {
|
|
631
|
+
startDate: Date | null;
|
|
632
|
+
endDate?: Date | null;
|
|
633
|
+
startTime?: {
|
|
634
|
+
hours: number;
|
|
635
|
+
minutes: number;
|
|
636
|
+
} | null;
|
|
637
|
+
endTime?: {
|
|
638
|
+
hours: number;
|
|
639
|
+
minutes: number;
|
|
640
|
+
} | null;
|
|
641
|
+
} | Date | null;
|
|
642
|
+
};
|
|
643
|
+
declare const DatePicker: React__default.FC<DatePickerProps$1>;
|
|
644
|
+
|
|
645
|
+
type DatePickerProps = {
|
|
646
|
+
onChange: (date: { startDate: Date | null; endDate?: Date | null }) => void
|
|
647
|
+
enableRange?: boolean
|
|
648
|
+
maxRange?: number
|
|
649
|
+
label?: string
|
|
650
|
+
mask?: string
|
|
651
|
+
name?: string
|
|
652
|
+
value?: Date | null
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
type DateStateProps = Date | null
|
|
656
|
+
|
|
657
|
+
type FormWrapperProps<T extends FieldValues> = {
|
|
658
|
+
children: ReactNode$1
|
|
659
|
+
onSubmit: SubmitHandler<T>
|
|
660
|
+
defaultValues?: Partial<T>
|
|
661
|
+
methods?: UseFormReturn<T>
|
|
662
|
+
className?: string
|
|
663
|
+
} & (
|
|
664
|
+
| {
|
|
665
|
+
onKeyDown?: (e: KeyboardEvent) => void
|
|
666
|
+
}
|
|
667
|
+
| {
|
|
668
|
+
onKeyDown?: never
|
|
669
|
+
}
|
|
670
|
+
)
|
|
671
|
+
|
|
672
|
+
declare const FormWrapper: <T extends FieldValues>({ children, onSubmit, defaultValues, methods: externalMethods, className, }: FormWrapperProps<T>) => JSX.Element;
|
|
673
|
+
|
|
674
|
+
type InputProps$1 = {
|
|
675
|
+
$charactersLimit?: number
|
|
676
|
+
$iconName?: IconName
|
|
677
|
+
$labelText?: string
|
|
678
|
+
$iconDirection?: 'left' | 'right'
|
|
679
|
+
$size?: 'small' | 'medium' | 'large'
|
|
680
|
+
$formatValue?: (value: string) => string
|
|
681
|
+
tooltip?: string
|
|
682
|
+
$errorMessage?: string
|
|
683
|
+
$description?: string
|
|
684
|
+
wrapperClassName?: string
|
|
685
|
+
isForgotPassword?: boolean
|
|
686
|
+
$isLoading?: boolean
|
|
687
|
+
$inputClassName?: string
|
|
688
|
+
$iconClassName?: string
|
|
689
|
+
$containerClassName?: string
|
|
690
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
691
|
+
|
|
692
|
+
interface RHFInputProps extends InputProps$1 {
|
|
693
|
+
name: string
|
|
694
|
+
isNotProvided?: boolean
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
declare const Input: React$1.ForwardRefExoticComponent<RHFInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
698
|
+
|
|
699
|
+
type SelectOption$1 = {
|
|
700
|
+
name?: string
|
|
701
|
+
value: string
|
|
702
|
+
label: string
|
|
703
|
+
icon?: string
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
type SelectProps$1 = {
|
|
707
|
+
label?: string
|
|
708
|
+
placeholder?: string
|
|
709
|
+
options: SelectOption$1[]
|
|
710
|
+
onSelect: (selected: SelectOption$1[]) => void
|
|
711
|
+
className?: string
|
|
712
|
+
value?: SelectOption$1 | SelectOption$1[]
|
|
713
|
+
tooltip?: string
|
|
714
|
+
name?: string
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
declare const MultiSelect: React__default.FC<SelectProps$1>;
|
|
718
|
+
|
|
719
|
+
type SelectOption = {
|
|
720
|
+
name?: string
|
|
721
|
+
value: string
|
|
722
|
+
label: string
|
|
723
|
+
icon?: string
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
type SelectProps = {
|
|
727
|
+
name?: string
|
|
728
|
+
label?: string
|
|
729
|
+
placeholder?: string
|
|
730
|
+
options: SelectOption[]
|
|
731
|
+
onSelect: (option: SelectOption) => void
|
|
732
|
+
className?: string
|
|
733
|
+
value?: SelectOption
|
|
734
|
+
tooltip?: string
|
|
735
|
+
isClearable?: boolean
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
declare const CustomSelect: React__default.FC<SelectProps>;
|
|
739
|
+
|
|
740
|
+
type SelectableOptionProps<T> = {
|
|
741
|
+
value: T
|
|
742
|
+
selectedValue: T
|
|
743
|
+
onSelect: (value: T) => void
|
|
744
|
+
label: string
|
|
745
|
+
variant?: 'primary' | 'secondary'
|
|
746
|
+
disabled?: boolean
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
declare const SelectableOption: <T>({ value, selectedValue, onSelect, label, variant, disabled, }: SelectableOptionProps<T>) => react_jsx_runtime.JSX.Element;
|
|
750
|
+
|
|
751
|
+
declare const SliderInput: React.FC<{
|
|
752
|
+
name: string;
|
|
753
|
+
value: number;
|
|
754
|
+
onChange: (value: number) => void;
|
|
755
|
+
max?: number;
|
|
756
|
+
className?: string;
|
|
757
|
+
disabled?: boolean;
|
|
758
|
+
}>;
|
|
759
|
+
|
|
760
|
+
type SwitchProps = {
|
|
761
|
+
isActive: boolean
|
|
762
|
+
onToggle: () => void
|
|
763
|
+
labels: {
|
|
764
|
+
active: string
|
|
765
|
+
inactive: string
|
|
766
|
+
}
|
|
767
|
+
labelPosition: 'left' | 'right'
|
|
768
|
+
className?: string
|
|
769
|
+
hasUniqueLabel?: boolean
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
declare const Switch$1: React.FC<SwitchProps>;
|
|
773
|
+
|
|
774
|
+
type InputProps<T extends FieldValues = FieldValues> = {
|
|
775
|
+
label: string
|
|
776
|
+
placeholder: string
|
|
777
|
+
name: Path<T>
|
|
778
|
+
tooltip?: string
|
|
779
|
+
methods?: UseFormReturn<T>
|
|
780
|
+
} & React.TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
781
|
+
|
|
782
|
+
declare const Textarea: <T extends FieldValues = FieldValues>({ label, name, placeholder, tooltip, methods, onChange, ...rest }: InputProps<T>) => react_jsx_runtime.JSX.Element;
|
|
783
|
+
|
|
784
|
+
type TimeInputProps = {
|
|
785
|
+
step?: number
|
|
786
|
+
label?: string
|
|
787
|
+
maxTime?: string
|
|
788
|
+
name: string
|
|
789
|
+
wrapperClassName?: string
|
|
790
|
+
tooltip?: string
|
|
791
|
+
description?: boolean
|
|
792
|
+
defaultValue?: number | undefined
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
declare const TimeInput: React.FC<TimeInputProps>;
|
|
796
|
+
|
|
797
|
+
type CounterInputProps$1 = {
|
|
798
|
+
label?: string
|
|
799
|
+
tooltip?: string
|
|
800
|
+
full?: boolean
|
|
801
|
+
hasDisabled?: boolean
|
|
802
|
+
wrapperClassName?: string
|
|
803
|
+
description?: string
|
|
804
|
+
form: UseFormReturn
|
|
805
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
806
|
+
|
|
807
|
+
declare const formatTime$1: (time: string | number) => string;
|
|
808
|
+
declare const TimerCounter: React.FC<CounterInputProps$1>;
|
|
809
|
+
|
|
810
|
+
type CounterInputProps = {
|
|
811
|
+
label?: string
|
|
812
|
+
tooltip?: string
|
|
813
|
+
full?: boolean
|
|
814
|
+
hasDisabled?: boolean
|
|
815
|
+
wrapperClassName?: string
|
|
816
|
+
description?: string
|
|
817
|
+
form: UseFormReturn
|
|
818
|
+
} & React.InputHTMLAttributes<HTMLInputElement>
|
|
819
|
+
|
|
820
|
+
declare const formatTime: (time: string | number) => string;
|
|
821
|
+
declare const TimerCounterWithoutSeconds: React.FC<CounterInputProps>;
|
|
822
|
+
|
|
823
|
+
type FileUploadProps<TFieldValues extends FieldValues = FieldValues> = {
|
|
824
|
+
acceptedTypes: string[]
|
|
825
|
+
maxSize: number
|
|
826
|
+
orientation?: 'horizontal' | 'vertical'
|
|
827
|
+
name?: string
|
|
828
|
+
$labelText?: string
|
|
829
|
+
tooltip?: string
|
|
830
|
+
onChange?: (value: { file: File; preview: string | null } | null) => void
|
|
831
|
+
methods?: UseFormReturn<TFieldValues>
|
|
832
|
+
initialImage?: string
|
|
833
|
+
notShowSize?: boolean
|
|
834
|
+
uploadTypeImage?: 'pdf' | 'xlsx'
|
|
835
|
+
removeFile?: boolean
|
|
836
|
+
previewSize?: 'small' | 'large'
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
declare const FileUpload: <TFieldValues extends react_hook_form.FieldValues = react_hook_form.FieldValues>(props: FileUploadProps<TFieldValues> & {
|
|
840
|
+
defaultValue?: string;
|
|
841
|
+
}) => JSX.Element;
|
|
842
|
+
declare const FileUploadWithDisplayName: typeof FileUpload & {
|
|
843
|
+
displayName: string;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
interface DataItem extends BarDatum {
|
|
847
|
+
etapa: string;
|
|
848
|
+
percentual: number;
|
|
849
|
+
cor: string;
|
|
850
|
+
}
|
|
851
|
+
interface ChartProps$2 extends Omit<Partial<ResponsiveBarSvgProps<DataItem>>, 'height'> {
|
|
852
|
+
data?: DataItem[];
|
|
853
|
+
height?: string | number;
|
|
854
|
+
margin?: {
|
|
855
|
+
top: number;
|
|
856
|
+
right: number;
|
|
857
|
+
bottom: number;
|
|
858
|
+
left: number;
|
|
859
|
+
};
|
|
860
|
+
}
|
|
861
|
+
declare const BarChart: React.FC<ChartProps$2>;
|
|
862
|
+
|
|
863
|
+
interface ChartProps$1 extends Partial<LineSvgProps> {
|
|
864
|
+
data: {
|
|
865
|
+
id: string;
|
|
866
|
+
color?: string;
|
|
867
|
+
data: Array<{
|
|
868
|
+
x: string | number;
|
|
869
|
+
y: number;
|
|
870
|
+
data?: {
|
|
871
|
+
x: number;
|
|
872
|
+
count: number;
|
|
873
|
+
value: number;
|
|
874
|
+
date: string;
|
|
875
|
+
};
|
|
876
|
+
}>;
|
|
877
|
+
}[];
|
|
878
|
+
height?: string | number;
|
|
879
|
+
margin?: {
|
|
880
|
+
top: number;
|
|
881
|
+
right: number;
|
|
882
|
+
bottom: number;
|
|
883
|
+
left: number;
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
declare const LineChart: React.FC<ChartProps$1>;
|
|
887
|
+
|
|
888
|
+
interface ChartProps extends Omit<Partial<PieSvgProps<{
|
|
889
|
+
id: string;
|
|
890
|
+
value: number;
|
|
891
|
+
color?: string;
|
|
892
|
+
}>>, 'height'> {
|
|
893
|
+
data: {
|
|
894
|
+
id: string;
|
|
895
|
+
value: number;
|
|
896
|
+
color?: string;
|
|
897
|
+
}[];
|
|
898
|
+
height?: string | number;
|
|
899
|
+
margin?: {
|
|
900
|
+
top: number;
|
|
901
|
+
right: number;
|
|
902
|
+
bottom: number;
|
|
903
|
+
left: number;
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
declare const PieChart: React.FC<ChartProps>;
|
|
907
|
+
|
|
908
|
+
declare function Configuracoes(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
909
|
+
declare const MemoConfiguracoes: React$1.MemoExoticComponent<typeof Configuracoes>;
|
|
910
|
+
|
|
911
|
+
declare const Logistica: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
912
|
+
|
|
913
|
+
declare function AlertDefault(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
914
|
+
declare const MemoAlertDefault: React$1.MemoExoticComponent<typeof AlertDefault>;
|
|
915
|
+
|
|
916
|
+
declare function AlertError(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
917
|
+
declare const MemoAlertError: React$1.MemoExoticComponent<typeof AlertError>;
|
|
918
|
+
|
|
919
|
+
declare function AlertGuard(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
920
|
+
declare const MemoAlertGuard: React$1.MemoExoticComponent<typeof AlertGuard>;
|
|
921
|
+
|
|
922
|
+
declare function AlertInfo(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
923
|
+
declare const MemoAlertInfo: React$1.MemoExoticComponent<typeof AlertInfo>;
|
|
924
|
+
|
|
925
|
+
declare function AlertWarning(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
926
|
+
declare const MemoAlertWarning: React$1.MemoExoticComponent<typeof AlertWarning>;
|
|
927
|
+
|
|
928
|
+
declare function ArrowLeft(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
929
|
+
declare const MemoArrowLeft: React$1.MemoExoticComponent<typeof ArrowLeft>;
|
|
930
|
+
|
|
931
|
+
declare function ArrowNarrowUpRight(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
932
|
+
declare const MemoArrowNarrowUpRight: React$1.MemoExoticComponent<typeof ArrowNarrowUpRight>;
|
|
933
|
+
|
|
934
|
+
declare function Boleto(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
935
|
+
declare const MemoBoleto: React$1.MemoExoticComponent<typeof Boleto>;
|
|
936
|
+
|
|
937
|
+
declare function Calendar(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
938
|
+
declare const MemoCalendar: React$1.MemoExoticComponent<typeof Calendar>;
|
|
939
|
+
|
|
940
|
+
declare function Card(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
941
|
+
declare const MemoCard: React$1.MemoExoticComponent<typeof Card>;
|
|
942
|
+
|
|
943
|
+
declare function CarretDown(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
944
|
+
declare const MemoCarretDown: React$1.MemoExoticComponent<typeof CarretDown>;
|
|
945
|
+
|
|
946
|
+
declare function CarretSingleRight(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
947
|
+
declare const MemoCarretSingleRight: React$1.MemoExoticComponent<typeof CarretSingleRight>;
|
|
948
|
+
|
|
949
|
+
declare function CarrFree(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
950
|
+
declare const MemoCarrFree: React$1.MemoExoticComponent<typeof CarrFree>;
|
|
951
|
+
|
|
952
|
+
declare function Cart(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
953
|
+
declare const MemoCart: React$1.MemoExoticComponent<typeof Cart>;
|
|
954
|
+
|
|
955
|
+
declare function Chargeback(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
956
|
+
declare const MemoChargeback: React$1.MemoExoticComponent<typeof Chargeback>;
|
|
957
|
+
|
|
958
|
+
declare function Check(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
959
|
+
declare const MemoCheck: React$1.MemoExoticComponent<typeof Check>;
|
|
960
|
+
|
|
961
|
+
declare function Checkout(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
962
|
+
declare const MemoCheckout: React$1.MemoExoticComponent<typeof Checkout>;
|
|
963
|
+
|
|
964
|
+
declare function ChevronDown(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
965
|
+
declare const MemoChevronDown: React$1.MemoExoticComponent<typeof ChevronDown>;
|
|
966
|
+
|
|
967
|
+
declare function ChevronLeftDouble(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
968
|
+
declare const MemoChevronLeftDouble: React$1.MemoExoticComponent<typeof ChevronLeftDouble>;
|
|
969
|
+
|
|
970
|
+
declare function CloseCheckbox(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
971
|
+
declare const MemoCloseCheckbox: React$1.MemoExoticComponent<typeof CloseCheckbox>;
|
|
972
|
+
|
|
973
|
+
declare function CloseIcon(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
974
|
+
declare const MemoCloseIcon: React$1.MemoExoticComponent<typeof CloseIcon>;
|
|
975
|
+
|
|
976
|
+
declare function Cloud(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
977
|
+
declare const MemoCloud: React$1.MemoExoticComponent<typeof Cloud>;
|
|
978
|
+
|
|
979
|
+
declare function CodeCircle(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
980
|
+
declare const MemoCodeCircle: React$1.MemoExoticComponent<typeof CodeCircle>;
|
|
981
|
+
|
|
982
|
+
declare function Api(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
983
|
+
declare const MemoApi: React$1.MemoExoticComponent<typeof Api>;
|
|
984
|
+
|
|
985
|
+
declare function Distribuicao(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
986
|
+
declare const MemoDistribuicao: React$1.MemoExoticComponent<typeof Distribuicao>;
|
|
987
|
+
|
|
988
|
+
declare function Dominios(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
989
|
+
declare const MemoDominios: React$1.MemoExoticComponent<typeof Dominios>;
|
|
990
|
+
|
|
991
|
+
declare function Frete(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
992
|
+
declare const MemoFrete: React$1.MemoExoticComponent<typeof Frete>;
|
|
993
|
+
|
|
994
|
+
declare function FreteGratis(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
995
|
+
declare const MemoFreteGratis: React$1.MemoExoticComponent<typeof FreteGratis>;
|
|
996
|
+
|
|
997
|
+
declare function Loja(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
998
|
+
declare const MemoLoja: React$1.MemoExoticComponent<typeof Loja>;
|
|
999
|
+
|
|
1000
|
+
declare function PermissaoDeAcesso(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare const MemoPermissaoDeAcesso: React$1.MemoExoticComponent<typeof PermissaoDeAcesso>;
|
|
1002
|
+
|
|
1003
|
+
declare function Produto(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1004
|
+
declare const MemoProduto: React$1.MemoExoticComponent<typeof Produto>;
|
|
1005
|
+
|
|
1006
|
+
declare function RestricaoDeAcesso(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1007
|
+
declare const MemoRestricaoDeAcesso: React$1.MemoExoticComponent<typeof RestricaoDeAcesso>;
|
|
1008
|
+
|
|
1009
|
+
declare function WebhookConfig(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1010
|
+
declare const MemoWebhook$1: React$1.MemoExoticComponent<typeof WebhookConfig>;
|
|
1011
|
+
|
|
1012
|
+
declare function Copy(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1013
|
+
declare const MemoCopy: React$1.MemoExoticComponent<typeof Copy>;
|
|
1014
|
+
|
|
1015
|
+
declare function CopyLink(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1016
|
+
declare const MemoCopyLink: React$1.MemoExoticComponent<typeof CopyLink>;
|
|
1017
|
+
|
|
1018
|
+
declare function CreditCard(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
declare const MemoCreditCard: React$1.MemoExoticComponent<typeof CreditCard>;
|
|
1020
|
+
|
|
1021
|
+
declare const CSV: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1022
|
+
|
|
1023
|
+
declare function Cupom(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1024
|
+
declare const MemoCupom: React$1.MemoExoticComponent<typeof Cupom>;
|
|
1025
|
+
|
|
1026
|
+
declare function Dashboard(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1027
|
+
declare const MemoDashboard: React$1.MemoExoticComponent<typeof Dashboard>;
|
|
1028
|
+
|
|
1029
|
+
declare function Delivery(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1030
|
+
declare const MemoDelivery: React$1.MemoExoticComponent<typeof Delivery>;
|
|
1031
|
+
|
|
1032
|
+
declare function Depoimentos(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1033
|
+
declare const MemoDepoimentos: React$1.MemoExoticComponent<typeof Depoimentos>;
|
|
1034
|
+
|
|
1035
|
+
declare function Distribution(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare const MemoDistribution: React$1.MemoExoticComponent<typeof Distribution>;
|
|
1037
|
+
|
|
1038
|
+
declare function DownloadArrow(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1039
|
+
declare const MemoDownloadArrow: React$1.MemoExoticComponent<typeof DownloadArrow>;
|
|
1040
|
+
|
|
1041
|
+
declare function Drag(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1042
|
+
declare const MemoDrag: React$1.MemoExoticComponent<typeof Drag>;
|
|
1043
|
+
|
|
1044
|
+
declare function Edit(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1045
|
+
declare const MemoEdit: React$1.MemoExoticComponent<typeof Edit>;
|
|
1046
|
+
|
|
1047
|
+
declare function Extrato(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1048
|
+
declare const MemoExtrato: React$1.MemoExoticComponent<typeof Extrato>;
|
|
1049
|
+
|
|
1050
|
+
declare function EyeInput(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1051
|
+
declare const MemoEyeInput: React$1.MemoExoticComponent<typeof EyeInput>;
|
|
1052
|
+
|
|
1053
|
+
declare function EyeOff(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1054
|
+
declare const MemoEyeOff: React$1.MemoExoticComponent<typeof EyeOff>;
|
|
1055
|
+
|
|
1056
|
+
declare function FileMinus(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1057
|
+
declare const MemoFileMinus: React$1.MemoExoticComponent<typeof FileMinus>;
|
|
1058
|
+
|
|
1059
|
+
declare function FilterLines(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1060
|
+
declare const MemoFilterLines: React$1.MemoExoticComponent<typeof FilterLines>;
|
|
1061
|
+
|
|
1062
|
+
declare function Financeiro(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1063
|
+
declare const MemoFinanceiro: React$1.MemoExoticComponent<typeof Financeiro>;
|
|
1064
|
+
|
|
1065
|
+
declare function Gestao(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1066
|
+
declare const MemoGestao: React$1.MemoExoticComponent<typeof Gestao>;
|
|
1067
|
+
|
|
1068
|
+
declare function Globe(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1069
|
+
declare const MemoGlobe: React$1.MemoExoticComponent<typeof Globe>;
|
|
1070
|
+
|
|
1071
|
+
declare const GlobeVariant: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1072
|
+
|
|
1073
|
+
declare const Guard: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1074
|
+
|
|
1075
|
+
declare function Headphones(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1076
|
+
declare const MemoHeadphones: React$1.MemoExoticComponent<typeof Headphones>;
|
|
1077
|
+
|
|
1078
|
+
declare function Help(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1079
|
+
declare const MemoHelp: React$1.MemoExoticComponent<typeof Help>;
|
|
1080
|
+
|
|
1081
|
+
declare function HelpCircle(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1082
|
+
declare const MemoHelpCircle: React$1.MemoExoticComponent<typeof HelpCircle>;
|
|
1083
|
+
|
|
1084
|
+
declare const Home: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1085
|
+
|
|
1086
|
+
declare function InfoCircle(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1087
|
+
declare const MemoInfoCircle: React$1.MemoExoticComponent<typeof InfoCircle>;
|
|
1088
|
+
|
|
1089
|
+
declare function Integracoes(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1090
|
+
declare const MemoIntegracoes: React$1.MemoExoticComponent<typeof Integracoes>;
|
|
1091
|
+
|
|
1092
|
+
declare function Link(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1093
|
+
declare const MemoLink: React$1.MemoExoticComponent<typeof Link>;
|
|
1094
|
+
|
|
1095
|
+
declare function LoadingSpinner(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1096
|
+
declare const MemoLoadingSpinner: React$1.MemoExoticComponent<typeof LoadingSpinner>;
|
|
1097
|
+
|
|
1098
|
+
declare function Lock(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1099
|
+
declare const MemoLock: React$1.MemoExoticComponent<typeof Lock>;
|
|
1100
|
+
|
|
1101
|
+
declare function LockInput(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1102
|
+
declare const MemoLockInput: React$1.MemoExoticComponent<typeof LockInput>;
|
|
1103
|
+
|
|
1104
|
+
declare const Planilha: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1105
|
+
|
|
1106
|
+
declare const LojaAlert: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1107
|
+
|
|
1108
|
+
declare const LojaAlertSuccess: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1109
|
+
|
|
1110
|
+
declare function Mail(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1111
|
+
declare const MemoMail: React$1.MemoExoticComponent<typeof Mail>;
|
|
1112
|
+
|
|
1113
|
+
declare function MailInput(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1114
|
+
declare const MemoMailInput: React$1.MemoExoticComponent<typeof MailInput>;
|
|
1115
|
+
|
|
1116
|
+
declare function MarkerPin(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1117
|
+
declare const MemoMarkerPin: React$1.MemoExoticComponent<typeof MarkerPin>;
|
|
1118
|
+
|
|
1119
|
+
declare function Marketing(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1120
|
+
declare const MemoMarketing: React$1.MemoExoticComponent<typeof Marketing>;
|
|
1121
|
+
|
|
1122
|
+
declare const MediumRisk: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1123
|
+
|
|
1124
|
+
declare function Message(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1125
|
+
declare const MemoMessage: React$1.MemoExoticComponent<typeof Message>;
|
|
1126
|
+
|
|
1127
|
+
declare function Money(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1128
|
+
declare const MemoMoney: React$1.MemoExoticComponent<typeof Money>;
|
|
1129
|
+
|
|
1130
|
+
declare function NewMessage(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1131
|
+
declare const MemoNewMessage: React$1.MemoExoticComponent<typeof NewMessage>;
|
|
1132
|
+
|
|
1133
|
+
declare function NewNotification(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1134
|
+
declare const MemoNewNotification: React$1.MemoExoticComponent<typeof NewNotification>;
|
|
1135
|
+
|
|
1136
|
+
declare function Notificacoes(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1137
|
+
declare const MemoNotificacoes: React$1.MemoExoticComponent<typeof Notificacoes>;
|
|
1138
|
+
|
|
1139
|
+
declare const CarrinhoAbandonado: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1140
|
+
|
|
1141
|
+
declare const Emails: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1142
|
+
|
|
1143
|
+
declare const RecuperacaoDeCarrinho: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1144
|
+
|
|
1145
|
+
declare function Notification(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1146
|
+
declare const MemoNotification: React$1.MemoExoticComponent<typeof Notification>;
|
|
1147
|
+
|
|
1148
|
+
declare function Notifications(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1149
|
+
declare const MemoNotifications: React$1.MemoExoticComponent<typeof Notifications>;
|
|
1150
|
+
|
|
1151
|
+
declare function OrderBump(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1152
|
+
declare const MemoOrderBump: React$1.MemoExoticComponent<typeof OrderBump>;
|
|
1153
|
+
|
|
1154
|
+
declare const PhoneCall: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1155
|
+
|
|
1156
|
+
declare function Pix(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1157
|
+
declare const MemoPix: React$1.MemoExoticComponent<typeof Pix>;
|
|
1158
|
+
|
|
1159
|
+
declare function Pixels(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1160
|
+
declare const MemoPixels: React$1.MemoExoticComponent<typeof Pixels>;
|
|
1161
|
+
|
|
1162
|
+
declare function Plus(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1163
|
+
declare const MemoPlus: React$1.MemoExoticComponent<typeof Plus>;
|
|
1164
|
+
|
|
1165
|
+
declare function Prechargeback(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1166
|
+
declare const MemoPrechargeback: React$1.MemoExoticComponent<typeof Prechargeback>;
|
|
1167
|
+
|
|
1168
|
+
declare function Produtos(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1169
|
+
declare const MemoProdutos: React$1.MemoExoticComponent<typeof Produtos>;
|
|
1170
|
+
|
|
1171
|
+
declare function Promocoes(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1172
|
+
declare const MemoPromocoes: React$1.MemoExoticComponent<typeof Promocoes>;
|
|
1173
|
+
|
|
1174
|
+
declare function Refresh(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1175
|
+
declare const MemoRefresh: React$1.MemoExoticComponent<typeof Refresh>;
|
|
1176
|
+
|
|
1177
|
+
declare function Relatorios(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1178
|
+
declare const MemoRelatorios: React$1.MemoExoticComponent<typeof Relatorios>;
|
|
1179
|
+
|
|
1180
|
+
declare function Risco(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1181
|
+
declare const MemoRisco: React$1.MemoExoticComponent<typeof Risco>;
|
|
1182
|
+
|
|
1183
|
+
declare function Sac(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1184
|
+
declare const MemoSac: React$1.MemoExoticComponent<typeof Sac>;
|
|
1185
|
+
|
|
1186
|
+
declare function SearchMd(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1187
|
+
declare const MemoSearchMd: React$1.MemoExoticComponent<typeof SearchMd>;
|
|
1188
|
+
|
|
1189
|
+
declare function Signout(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1190
|
+
declare const MemoSignout: React$1.MemoExoticComponent<typeof Signout>;
|
|
1191
|
+
|
|
1192
|
+
declare function Spinner(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1193
|
+
declare const MemoSpinner: React$1.MemoExoticComponent<typeof Spinner>;
|
|
1194
|
+
|
|
1195
|
+
declare function Store(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1196
|
+
declare const MemoStore: React$1.MemoExoticComponent<typeof Store>;
|
|
1197
|
+
|
|
1198
|
+
declare function Switch(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1199
|
+
declare const MemoSwitch: React$1.MemoExoticComponent<typeof Switch>;
|
|
1200
|
+
|
|
1201
|
+
declare function Transfer(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1202
|
+
declare const MemoTransfer: React$1.MemoExoticComponent<typeof Transfer>;
|
|
1203
|
+
|
|
1204
|
+
declare function Trash(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1205
|
+
declare const MemoTrash: React$1.MemoExoticComponent<typeof Trash>;
|
|
1206
|
+
|
|
1207
|
+
declare function Truck(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1208
|
+
declare const MemoTruck: React$1.MemoExoticComponent<typeof Truck>;
|
|
1209
|
+
|
|
1210
|
+
declare function Upsell(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1211
|
+
declare const MemoUpsell: React$1.MemoExoticComponent<typeof Upsell>;
|
|
1212
|
+
|
|
1213
|
+
declare function User(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1214
|
+
declare const MemoUser: React$1.MemoExoticComponent<typeof User>;
|
|
1215
|
+
|
|
1216
|
+
declare function Users(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1217
|
+
declare const MemoUsers: React$1.MemoExoticComponent<typeof Users>;
|
|
1218
|
+
|
|
1219
|
+
declare function VerticalPoints(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1220
|
+
declare const MemoVerticalPoints: React$1.MemoExoticComponent<typeof VerticalPoints>;
|
|
1221
|
+
|
|
1222
|
+
declare function Warning(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1223
|
+
declare const MemoWarning: React$1.MemoExoticComponent<typeof Warning>;
|
|
1224
|
+
|
|
1225
|
+
declare function Webhook(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1226
|
+
declare const MemoWebhook: React$1.MemoExoticComponent<typeof Webhook>;
|
|
1227
|
+
|
|
1228
|
+
declare function Whatsapp(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1229
|
+
declare const MemoWhatsapp: React$1.MemoExoticComponent<typeof Whatsapp>;
|
|
1230
|
+
|
|
1231
|
+
declare const Xlsx: (props: React$1.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1232
|
+
|
|
1233
|
+
declare function Yever(props: React$1.SVGProps<SVGSVGElement>): react_jsx_runtime.JSX.Element;
|
|
1234
|
+
declare const MemoYever: React$1.MemoExoticComponent<typeof Yever>;
|
|
1235
|
+
|
|
1236
|
+
declare const NewIcons: {
|
|
1237
|
+
general: {
|
|
1238
|
+
Check: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1239
|
+
SuccessAlert: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1240
|
+
SuccessCheck: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1241
|
+
Shield: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1242
|
+
};
|
|
1243
|
+
menu: {
|
|
1244
|
+
Checkout: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1245
|
+
Dashboard: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1246
|
+
Gestao: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1247
|
+
Home: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1248
|
+
Integracoes: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1249
|
+
Marketing: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1250
|
+
Notificacoes: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1251
|
+
Produtos: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1252
|
+
Relatorios: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1253
|
+
Risco: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1254
|
+
Yeverpay: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1255
|
+
Logistica: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1256
|
+
Configuracoes: React$1.MemoExoticComponent<(props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element>;
|
|
1257
|
+
Pagamentos: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1258
|
+
};
|
|
1259
|
+
ativarConta: {
|
|
1260
|
+
Dropshiping: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1261
|
+
Ecommerce: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1262
|
+
Encapsulados: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1263
|
+
Infoproduto: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1264
|
+
Outros: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1265
|
+
};
|
|
1266
|
+
pedidos: {
|
|
1267
|
+
Bling: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1268
|
+
BlingError: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1269
|
+
ClienteRecorente: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1270
|
+
Orderbump: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1271
|
+
PrimeiraCompra: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1272
|
+
Tiny: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1273
|
+
TinyError: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1274
|
+
Upsell: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1275
|
+
Shopify: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1276
|
+
ShopifyError: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1277
|
+
Pix: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1278
|
+
Card: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1279
|
+
Boleto: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
declare const calculateCurrencyOperation: (value1: string, value2: string, operator: string) => string;
|
|
1284
|
+
|
|
1285
|
+
declare const parseFormattedCurrency: (formattedValue: string | undefined | null) => number;
|
|
1286
|
+
declare const formatNumberToCurrency: (value: number | undefined | null) => string;
|
|
1287
|
+
declare const formatRawDigitsToCurrency: (digits: string) => string;
|
|
1288
|
+
|
|
1289
|
+
declare const formatCNPJ: (cnpj: string) => string;
|
|
1290
|
+
|
|
1291
|
+
declare const formatCPF: (cpf: string) => string;
|
|
1292
|
+
|
|
1293
|
+
declare function formatCNPJCPF(cnpjCpf: string): string;
|
|
1294
|
+
|
|
1295
|
+
declare const formatCurrency: (value: string | number) => string;
|
|
1296
|
+
|
|
1297
|
+
declare const formatCurrencyShort: (value: string | number) => string;
|
|
1298
|
+
|
|
1299
|
+
declare const formatDate: (date: string) => string;
|
|
1300
|
+
|
|
1301
|
+
declare const formatDateAndReturnPassedHours: (date: Date) => string;
|
|
1302
|
+
|
|
1303
|
+
declare function formatDateGeneric(date: string, fromFormat?: string, toFormat?: string): string;
|
|
1304
|
+
|
|
1305
|
+
declare const formatDateInPassedDays: (dateString: string) => string;
|
|
1306
|
+
|
|
1307
|
+
declare const formatDateTime: (inputStr: string, noHour?: boolean) => string;
|
|
1308
|
+
|
|
1309
|
+
declare const formatDateToISO: (date: Date | null, formatString?: string) => string;
|
|
1310
|
+
|
|
1311
|
+
declare const formatIP: (ip: string) => string;
|
|
1312
|
+
|
|
1313
|
+
declare const formatName: (name: string) => string;
|
|
1314
|
+
|
|
1315
|
+
declare const formatPhone: (phoneNumber: string) => string;
|
|
1316
|
+
|
|
1317
|
+
declare const formatPostalCode: (postalCode: string) => string;
|
|
1318
|
+
|
|
1319
|
+
declare const getDates: (option: string) => {
|
|
1320
|
+
initialDateString: string;
|
|
1321
|
+
finalDateString: string;
|
|
1322
|
+
};
|
|
1323
|
+
|
|
1324
|
+
declare const transformDateToAmericanFormat: (data?: string) => string;
|
|
1325
|
+
|
|
1326
|
+
declare function transformToCurrency(value: string, isFromInput?: boolean): string;
|
|
1327
|
+
|
|
1328
|
+
declare const transformToNumber: (value: string | number | null | undefined) => string;
|
|
1329
|
+
|
|
1330
|
+
declare const transformToPercentage: (value: string, isFromInput?: boolean, isSymbol?: boolean) => string;
|
|
1331
|
+
|
|
1332
|
+
declare const truncateString: (str: string, num: number) => string;
|
|
1333
|
+
|
|
1334
|
+
declare const colors: {
|
|
1335
|
+
white: string;
|
|
1336
|
+
black: string;
|
|
1337
|
+
'brand-yellow-100': string;
|
|
1338
|
+
'brand-yellow-200': string;
|
|
1339
|
+
'brand-yellow-300': string;
|
|
1340
|
+
'brand-yellow-400': string;
|
|
1341
|
+
'brand-yellow-500': string;
|
|
1342
|
+
'brand-yellow-600': string;
|
|
1343
|
+
'brand-yellow-700': string;
|
|
1344
|
+
'brand-yellow-800': string;
|
|
1345
|
+
'brand-yellow-900': string;
|
|
1346
|
+
'brand-blue-0': string;
|
|
1347
|
+
'brand-blue-100': string;
|
|
1348
|
+
'brand-blue-200': string;
|
|
1349
|
+
'brand-blue-300': string;
|
|
1350
|
+
'brand-blue-400': string;
|
|
1351
|
+
'brand-blue-500': string;
|
|
1352
|
+
'brand-blue-600': string;
|
|
1353
|
+
'brand-blue-700': string;
|
|
1354
|
+
'brand-blue-800': string;
|
|
1355
|
+
'brand-blue-900': string;
|
|
1356
|
+
'gray-0': string;
|
|
1357
|
+
'gray-100': string;
|
|
1358
|
+
'gray-200': string;
|
|
1359
|
+
'gray-300': string;
|
|
1360
|
+
'gray-400': string;
|
|
1361
|
+
'gray-500': string;
|
|
1362
|
+
'gray-600': string;
|
|
1363
|
+
'gray-700': string;
|
|
1364
|
+
'gray-800': string;
|
|
1365
|
+
'gray-900': string;
|
|
1366
|
+
'gray-yellow-400': string;
|
|
1367
|
+
'gray-yellow-500': string;
|
|
1368
|
+
'gray-blue-3': string;
|
|
1369
|
+
'red-0': string;
|
|
1370
|
+
'red-100': string;
|
|
1371
|
+
'red-200': string;
|
|
1372
|
+
'red-300': string;
|
|
1373
|
+
'red-400': string;
|
|
1374
|
+
'red-500': string;
|
|
1375
|
+
'red-600': string;
|
|
1376
|
+
'red-700': string;
|
|
1377
|
+
'red-800': string;
|
|
1378
|
+
'red-900': string;
|
|
1379
|
+
'yellow-0': string;
|
|
1380
|
+
'yellow-100': string;
|
|
1381
|
+
'yellow-200': string;
|
|
1382
|
+
'yellow-300': string;
|
|
1383
|
+
'yellow-400': string;
|
|
1384
|
+
'yellow-500': string;
|
|
1385
|
+
'yellow-600': string;
|
|
1386
|
+
'yellow-700': string;
|
|
1387
|
+
'yellow-800': string;
|
|
1388
|
+
'yellow-900': string;
|
|
1389
|
+
'green-0': string;
|
|
1390
|
+
'green-100': string;
|
|
1391
|
+
'green-200': string;
|
|
1392
|
+
'green-300': string;
|
|
1393
|
+
'green-400': string;
|
|
1394
|
+
'green-500': string;
|
|
1395
|
+
'green-600': string;
|
|
1396
|
+
'green-700': string;
|
|
1397
|
+
'green-800': string;
|
|
1398
|
+
'green-900': string;
|
|
1399
|
+
'week-100': string;
|
|
1400
|
+
'blue-0': string;
|
|
1401
|
+
'yellow-warning': string;
|
|
1402
|
+
'outras-yellow': string;
|
|
1403
|
+
'orange-0': string;
|
|
1404
|
+
'orange-50': string;
|
|
1405
|
+
'orange-100': string;
|
|
1406
|
+
'orange-200': string;
|
|
1407
|
+
'orange-300': string;
|
|
1408
|
+
'orange-400': string;
|
|
1409
|
+
'orange-500': string;
|
|
1410
|
+
'orange-600': string;
|
|
1411
|
+
'orange-700': string;
|
|
1412
|
+
'orange-800': string;
|
|
1413
|
+
'orange-900': string;
|
|
1414
|
+
'orange-1000': string;
|
|
1415
|
+
'green-feedback-100': string;
|
|
1416
|
+
'green-feedback-800': string;
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
declare const fontFamily: {
|
|
1420
|
+
sans: string[];
|
|
1421
|
+
sansAlternative: string[];
|
|
1422
|
+
serif: string[];
|
|
1423
|
+
};
|
|
1424
|
+
|
|
1425
|
+
declare const shadow: {
|
|
1426
|
+
base: string;
|
|
1427
|
+
select: string;
|
|
1428
|
+
small: string;
|
|
1429
|
+
login: string;
|
|
1430
|
+
chat: string;
|
|
1431
|
+
store: string;
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
1435
|
+
|
|
1436
|
+
declare const nextReplaceUrl: (key: string, value: string, pathname: string) => void;
|
|
1437
|
+
|
|
1438
|
+
type HandleFormSubmissionParams<T = any> = {
|
|
1439
|
+
id?: number | null;
|
|
1440
|
+
createAction?: () => Promise<T>;
|
|
1441
|
+
updateAction?: () => Promise<T>;
|
|
1442
|
+
customAction?: () => Promise<T>;
|
|
1443
|
+
successMessages?: {
|
|
1444
|
+
create?: string;
|
|
1445
|
+
update?: string;
|
|
1446
|
+
custom?: string;
|
|
1447
|
+
};
|
|
1448
|
+
onSuccess?: (result: T | null) => void;
|
|
1449
|
+
};
|
|
1450
|
+
declare function handleFormSubmission<T = any>({ id, createAction, updateAction, customAction, successMessages, onSuccess, }: HandleFormSubmissionParams<T>): Promise<T | null>;
|
|
1451
|
+
|
|
1452
|
+
declare const parseParametersIntoUrl: (url: string, query: {
|
|
1453
|
+
[key: string]: string;
|
|
1454
|
+
}, filtersAllowed?: string[]) => string;
|
|
1455
|
+
|
|
1456
|
+
declare const useCopyToClipboard: (successMessage?: string) => {
|
|
1457
|
+
copyToClipboard: (initialText: string) => void;
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
export { Alert, MemoAlertDefault as AlertDefault, MemoAlertError as AlertError, MemoAlertGuard as AlertGuard, MemoAlertInfo as AlertInfo, MemoAlertWarning as AlertWarning, MemoApi as Api, MemoArrowLeft as ArrowLeft, MemoArrowNarrowUpRight as ArrowNarrowUpRight, Avatar, BarChart, MemoBoleto as Boleto, Box, Button, ButtonToggleGroup, type ButtonToggleGroupProps, CSV, MemoCalendar as Calendar, MemoCard as Card, MemoCarrFree as CarrFree, MemoCarretDown as CarretDown, MemoCarretSingleRight as CarretSingleRight, CarrinhoAbandonado, MemoCart as Cart, MemoChargeback as Chargeback, MemoCheck as Check, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxOption, MemoCheckout as Checkout, MemoChevronDown as ChevronDown, MemoChevronLeftDouble as ChevronLeftDouble, MemoCloseCheckbox as CloseCheckbox, MemoCloseIcon as CloseIcon, MemoCloud as Cloud, MemoCodeCircle as CodeCircle, MemoConfiguracoes as Configuracoes, MemoCopy as Copy, MemoCopyLink as CopyLink, Counter, MemoCreditCard as CreditCard, MemoCupom as Cupom, CurrencyInput, CustomSelect, MemoDashboard as Dashboard, DatePicker, type DatePickerProps, type DateStateProps, DeleteModal, MemoDelivery as Delivery, MemoDepoimentos as Depoimentos, MemoDistribuicao as Distribuicao, MemoDistribution as Distribution, MemoDominios as Dominios, MemoDownloadArrow as DownloadArrow, MemoDrag as Drag, DropdownContext, DropdownItens, DropdownTrigger, DrowpdownButton, MemoEdit as Edit, Emails, MemoExtrato as Extrato, MemoEyeInput as EyeInput, MemoEyeOff as EyeOff, FeedbackBadge, MemoFileMinus as FileMinus, FileUploadWithDisplayName as FileUpload, FilterDrawer, MemoFilterLines as FilterLines, FilterList, FilterListContext, FilterTrigger, MemoFinanceiro as Financeiro, FormWrapper, MemoFrete as Frete, MemoFreteGratis as FreteGratis, GeneralPageLinks, MemoGestao as Gestao, MemoGlobe as Globe, GlobeVariant, Grid, Guard, Heading, MemoHeadphones as Headphones, MemoHelp as Help, MemoHelpCircle as HelpCircle, Home, MemoInfoCircle as InfoCircle, Input, MemoIntegracoes as Integracoes, LineChart, Link$1 as Link, MemoLink as LinkIcon, type LinkProps, MemoLoadingSpinner as LoadingSpinner, MemoLock as Lock, MemoLockInput as LockInput, Logistica, MemoLoja as Loja, LojaAlert, LojaAlertSuccess, MemoMail as Mail, MemoMailInput as MailInput, MemoMarkerPin as MarkerPin, MemoMarketing as Marketing, MediumRisk, MemoMessage as Message, Modal, MemoMoney as Money, MultiSelect, NewIcons, MemoNewMessage as NewMessage, MemoNewNotification as NewNotification, MemoNotificacoes as Notificacoes, MemoNotification as Notification, NotificationItem, MemoNotifications as Notifications, type OpenAsBlobOptions, MemoOrderBump as OrderBump, PageContainer, type PaginatedData, PaymentCard, MemoPermissaoDeAcesso as PermissaoDeAcesso, PhoneCall, PieChart, MemoPix as Pix, MemoPixels as Pixels, Planilha, MemoPlus as Plus, MemoPrechargeback as Prechargeback, PrefetchLink, PreviewPhone, MemoProduto as Produto, MemoProdutos as Produtos, MemoPromocoes as Promocoes, RecuperacaoDeCarrinho, MemoRefresh as Refresh, MemoRelatorios as Relatorios, MemoRestricaoDeAcesso as RestricaoDeAcesso, Ribbon, MemoRisco as Risco, MemoSac as Sac, MemoSearchMd as SearchMd, SelectableOption, Separator, MemoSignout as Signout, SliderInput, SlidingPanel, Spinner$1 as Spinner, MemoSpinner as SpinnerIcon, StatusBadge, MemoStore as Store, Switch$1 as Switch, MemoSwitch as SwitchIcon, type SwitchProps, Table, Tabs, Text, Textarea, TimeInput, TimerCounter, type CounterInputProps$1 as TimerCounterProps, TimerCounterWithoutSeconds, type CounterInputProps as TimerCounterWithoutSecondsProps, Tooltip, MemoTransfer as Transfer, MemoTrash as Trash, MemoTruck as Truck, MemoUpsell as Upsell, MemoUser as User, MemoUsers as Users, MemoVerticalPoints as VerticalPoints, MemoWarning as Warning, MemoWebhook as Webhook, MemoWebhook$1 as WebhookConfig, MemoWhatsapp as Whatsapp, Xlsx, MemoYever as Yever, calculateCurrencyOperation, cn, colors, fontFamily, formatCNPJ, formatCNPJCPF, formatCPF, formatCurrency, formatCurrencyShort, formatDate, formatDateAndReturnPassedHours, formatDateGeneric, formatDateInPassedDays, formatDateTime, formatDateToISO, formatIP, formatName, formatNumberToCurrency, formatPhone, formatPostalCode, formatRawDigitsToCurrency, formatTime$1 as formatTimeWithSeconds, formatTime as formatTimeWithoutSeconds, getDates, handleFormSubmission, nextReplaceUrl, parseFormattedCurrency, parseParametersIntoUrl, shadow, transformDateToAmericanFormat, transformToCurrency, transformToNumber, transformToPercentage, truncateString, useCopyToClipboard };
|