@gustavo-valsechi/client 1.3.13 → 1.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/chunk-7KA3WXTD.mjs +1252 -0
  2. package/dist/chunk-7KA3WXTD.mjs.map +1 -0
  3. package/dist/chunk-IF6P6NOG.mjs +141 -0
  4. package/dist/chunk-IF6P6NOG.mjs.map +1 -0
  5. package/dist/chunk-RWFXFZB5.mjs +2 -0
  6. package/dist/chunk-RWFXFZB5.mjs.map +1 -0
  7. package/dist/components.d.mts +10 -0
  8. package/dist/components.d.ts +10 -0
  9. package/dist/components.js +1390 -0
  10. package/dist/components.js.map +1 -0
  11. package/dist/components.mjs +3 -0
  12. package/dist/components.mjs.map +1 -0
  13. package/dist/contexts.d.mts +20 -0
  14. package/dist/contexts.d.ts +20 -0
  15. package/dist/contexts.js +141 -0
  16. package/dist/contexts.js.map +1 -0
  17. package/dist/contexts.mjs +3 -0
  18. package/dist/contexts.mjs.map +1 -0
  19. package/dist/index-BhaGW0O1.d.ts +601 -0
  20. package/dist/index-BxA8LyyD.d.mts +68 -0
  21. package/dist/index-DDi0w5pw.d.mts +601 -0
  22. package/dist/index-DT7VKE7H.d.ts +68 -0
  23. package/dist/index-Da-DtPS-.d.mts +29 -0
  24. package/dist/index-Da-DtPS-.d.ts +29 -0
  25. package/dist/index.d.mts +17 -0
  26. package/dist/index.d.ts +17 -4
  27. package/dist/index.js +1390 -4
  28. package/dist/index.js.map +1 -0
  29. package/dist/index.mjs +3 -0
  30. package/dist/index.mjs.map +1 -0
  31. package/dist/interfaces.d.mts +12 -0
  32. package/dist/interfaces.d.ts +12 -0
  33. package/dist/interfaces.js +3 -0
  34. package/dist/interfaces.js.map +1 -0
  35. package/dist/interfaces.mjs +3 -0
  36. package/dist/interfaces.mjs.map +1 -0
  37. package/package.json +6 -10
  38. package/dist/components/index.d.ts +0 -3
  39. package/dist/components/index.js +0 -17
  40. package/dist/components/styles.d.ts +0 -2
  41. package/dist/components/styles.js +0 -14
  42. package/dist/components/types/avatar/index.d.ts +0 -2
  43. package/dist/components/types/avatar/index.js +0 -34
  44. package/dist/components/types/avatar/styles.d.ts +0 -1
  45. package/dist/components/types/avatar/styles.js +0 -55
  46. package/dist/components/types/badge/index.d.ts +0 -2
  47. package/dist/components/types/badge/index.js +0 -16
  48. package/dist/components/types/badge/styles.d.ts +0 -1
  49. package/dist/components/types/badge/styles.js +0 -33
  50. package/dist/components/types/block/index.d.ts +0 -2
  51. package/dist/components/types/block/index.js +0 -8
  52. package/dist/components/types/block/styles.d.ts +0 -2
  53. package/dist/components/types/block/styles.js +0 -25
  54. package/dist/components/types/chart/index.d.ts +0 -2
  55. package/dist/components/types/chart/index.js +0 -33
  56. package/dist/components/types/chart/styles.d.ts +0 -1
  57. package/dist/components/types/chart/styles.js +0 -4
  58. package/dist/components/types/credit-card/assets/index.d.ts +0 -4
  59. package/dist/components/types/credit-card/assets/index.js +0 -17
  60. package/dist/components/types/credit-card/card/index.d.ts +0 -2
  61. package/dist/components/types/credit-card/card/index.js +0 -23
  62. package/dist/components/types/credit-card/card/styles.d.ts +0 -1
  63. package/dist/components/types/credit-card/card/styles.js +0 -132
  64. package/dist/components/types/credit-card/functions/index.d.ts +0 -2
  65. package/dist/components/types/credit-card/functions/index.js +0 -8
  66. package/dist/components/types/credit-card/functions/styles.d.ts +0 -1
  67. package/dist/components/types/credit-card/functions/styles.js +0 -37
  68. package/dist/components/types/credit-card/index.d.ts +0 -2
  69. package/dist/components/types/credit-card/index.js +0 -29
  70. package/dist/components/types/credit-card/styles.d.ts +0 -1
  71. package/dist/components/types/credit-card/styles.js +0 -34
  72. package/dist/components/types/credit-card/tools/index.d.ts +0 -6
  73. package/dist/components/types/credit-card/tools/index.js +0 -19
  74. package/dist/components/types/form/index.d.ts +0 -3
  75. package/dist/components/types/form/index.js +0 -53
  76. package/dist/components/types/form/styles.d.ts +0 -1
  77. package/dist/components/types/form/styles.js +0 -15
  78. package/dist/components/types/form/types/button/index.d.ts +0 -2
  79. package/dist/components/types/form/types/button/index.js +0 -8
  80. package/dist/components/types/form/types/button/loading/index.d.ts +0 -1
  81. package/dist/components/types/form/types/button/loading/index.js +0 -6
  82. package/dist/components/types/form/types/button/loading/styles.d.ts +0 -1
  83. package/dist/components/types/form/types/button/loading/styles.js +0 -88
  84. package/dist/components/types/form/types/button/styles.d.ts +0 -1
  85. package/dist/components/types/form/types/button/styles.js +0 -55
  86. package/dist/components/types/form/types/datetime/index.d.ts +0 -2
  87. package/dist/components/types/form/types/datetime/index.js +0 -20
  88. package/dist/components/types/form/types/datetime/styles.d.ts +0 -1
  89. package/dist/components/types/form/types/datetime/styles.js +0 -40
  90. package/dist/components/types/form/types/file/index.d.ts +0 -2
  91. package/dist/components/types/form/types/file/index.js +0 -24
  92. package/dist/components/types/form/types/file/styles.d.ts +0 -1
  93. package/dist/components/types/form/types/file/styles.js +0 -27
  94. package/dist/components/types/form/types/index.d.ts +0 -7
  95. package/dist/components/types/form/types/index.js +0 -7
  96. package/dist/components/types/form/types/input/index.d.ts +0 -2
  97. package/dist/components/types/form/types/input/index.js +0 -22
  98. package/dist/components/types/form/types/input/styles.d.ts +0 -1
  99. package/dist/components/types/form/types/input/styles.js +0 -46
  100. package/dist/components/types/form/types/label/index.d.ts +0 -2
  101. package/dist/components/types/form/types/label/index.js +0 -6
  102. package/dist/components/types/form/types/label/styles.d.ts +0 -1
  103. package/dist/components/types/form/types/label/styles.js +0 -7
  104. package/dist/components/types/form/types/select/index.d.ts +0 -2
  105. package/dist/components/types/form/types/select/index.js +0 -25
  106. package/dist/components/types/form/types/select/styles.d.ts +0 -1
  107. package/dist/components/types/form/types/select/styles.js +0 -52
  108. package/dist/components/types/form/types/textarea/index.d.ts +0 -2
  109. package/dist/components/types/form/types/textarea/index.js +0 -20
  110. package/dist/components/types/form/types/textarea/styles.d.ts +0 -1
  111. package/dist/components/types/form/types/textarea/styles.js +0 -39
  112. package/dist/components/types/index.d.ts +0 -11
  113. package/dist/components/types/index.js +0 -11
  114. package/dist/components/types/loading/app/index.d.ts +0 -2
  115. package/dist/components/types/loading/app/index.js +0 -7
  116. package/dist/components/types/loading/app/styles.d.ts +0 -1
  117. package/dist/components/types/loading/app/styles.js +0 -87
  118. package/dist/components/types/loading/bar/index.d.ts +0 -2
  119. package/dist/components/types/loading/bar/index.js +0 -6
  120. package/dist/components/types/loading/bar/styles.d.ts +0 -1
  121. package/dist/components/types/loading/bar/styles.js +0 -21
  122. package/dist/components/types/loading/index.d.ts +0 -2
  123. package/dist/components/types/loading/index.js +0 -2
  124. package/dist/components/types/logo/index.d.ts +0 -2
  125. package/dist/components/types/logo/index.js +0 -6
  126. package/dist/components/types/logo/styles.d.ts +0 -1
  127. package/dist/components/types/logo/styles.js +0 -19
  128. package/dist/components/types/lottie/animations/index.d.ts +0 -293
  129. package/dist/components/types/lottie/animations/index.js +0 -2
  130. package/dist/components/types/lottie/animations/loader.json +0 -1
  131. package/dist/components/types/lottie/index.d.ts +0 -2
  132. package/dist/components/types/lottie/index.js +0 -28
  133. package/dist/components/types/lottie/styles.d.ts +0 -1
  134. package/dist/components/types/lottie/styles.js +0 -22
  135. package/dist/components/types/modal/index.d.ts +0 -2
  136. package/dist/components/types/modal/index.js +0 -12
  137. package/dist/components/types/modal/styles.d.ts +0 -1
  138. package/dist/components/types/modal/styles.js +0 -153
  139. package/dist/components/types/table/index.d.ts +0 -3
  140. package/dist/components/types/table/index.js +0 -93
  141. package/dist/components/types/table/modal/actions.d.ts +0 -10
  142. package/dist/components/types/table/modal/actions.js +0 -6
  143. package/dist/components/types/table/modal/index.d.ts +0 -2
  144. package/dist/components/types/table/modal/index.js +0 -37
  145. package/dist/components/types/table/modal/styles.d.ts +0 -1
  146. package/dist/components/types/table/modal/styles.js +0 -52
  147. package/dist/components/types/table/paginate/index.d.ts +0 -2
  148. package/dist/components/types/table/paginate/index.js +0 -30
  149. package/dist/components/types/table/paginate/styles.d.ts +0 -1
  150. package/dist/components/types/table/paginate/styles.js +0 -36
  151. package/dist/components/types/table/styles.d.ts +0 -5
  152. package/dist/components/types/table/styles.js +0 -262
  153. package/dist/contexts/icon/assets/brands/index.d.ts +0 -2
  154. package/dist/contexts/icon/assets/brands/index.js +0 -7
  155. package/dist/contexts/icon/assets/index.d.ts +0 -6
  156. package/dist/contexts/icon/assets/index.js +0 -8
  157. package/dist/contexts/icon/assets/regular/index.d.ts +0 -2
  158. package/dist/contexts/icon/assets/regular/index.js +0 -7
  159. package/dist/contexts/icon/assets/solid/index.d.ts +0 -2
  160. package/dist/contexts/icon/assets/solid/index.js +0 -7
  161. package/dist/contexts/icon/index.d.ts +0 -4
  162. package/dist/contexts/icon/index.js +0 -75
  163. package/dist/contexts/icon/styles.d.ts +0 -1
  164. package/dist/contexts/icon/styles.js +0 -4
  165. package/dist/contexts/index.d.ts +0 -4
  166. package/dist/contexts/index.js +0 -5
  167. package/dist/contexts/modal/index.d.ts +0 -4
  168. package/dist/contexts/modal/index.js +0 -46
  169. package/dist/contexts/modal/styles.d.ts +0 -1
  170. package/dist/contexts/modal/styles.js +0 -4
  171. package/dist/contexts/theme/content.d.ts +0 -3
  172. package/dist/contexts/theme/content.js +0 -74
  173. package/dist/contexts/theme/index.d.ts +0 -4
  174. package/dist/contexts/theme/index.js +0 -26
  175. package/dist/contexts/theme/styles.d.ts +0 -1
  176. package/dist/contexts/theme/styles.js +0 -78
  177. package/dist/contexts/tooltip/index.d.ts +0 -6
  178. package/dist/contexts/tooltip/index.js +0 -58
  179. package/dist/contexts/tooltip/styles.d.ts +0 -1
  180. package/dist/contexts/tooltip/styles.js +0 -40
  181. package/dist/interfaces/components/avatar/index.d.ts +0 -6
  182. package/dist/interfaces/components/avatar/index.js +0 -1
  183. package/dist/interfaces/components/badge/index.d.ts +0 -3
  184. package/dist/interfaces/components/badge/index.js +0 -1
  185. package/dist/interfaces/components/block/index.d.ts +0 -16
  186. package/dist/interfaces/components/block/index.js +0 -1
  187. package/dist/interfaces/components/chart/index.d.ts +0 -9
  188. package/dist/interfaces/components/chart/index.js +0 -1
  189. package/dist/interfaces/components/credit-card/index.d.ts +0 -16
  190. package/dist/interfaces/components/credit-card/index.js +0 -1
  191. package/dist/interfaces/components/form/button/index.d.ts +0 -7
  192. package/dist/interfaces/components/form/button/index.js +0 -1
  193. package/dist/interfaces/components/form/datetime/index.d.ts +0 -15
  194. package/dist/interfaces/components/form/datetime/index.js +0 -1
  195. package/dist/interfaces/components/form/file/index.d.ts +0 -14
  196. package/dist/interfaces/components/form/file/index.js +0 -1
  197. package/dist/interfaces/components/form/index.d.ts +0 -16
  198. package/dist/interfaces/components/form/index.js +0 -7
  199. package/dist/interfaces/components/form/input/index.d.ts +0 -17
  200. package/dist/interfaces/components/form/input/index.js +0 -1
  201. package/dist/interfaces/components/form/label/index.d.ts +0 -5
  202. package/dist/interfaces/components/form/label/index.js +0 -1
  203. package/dist/interfaces/components/form/select/index.d.ts +0 -14
  204. package/dist/interfaces/components/form/select/index.js +0 -1
  205. package/dist/interfaces/components/form/textarea/index.d.ts +0 -16
  206. package/dist/interfaces/components/form/textarea/index.js +0 -1
  207. package/dist/interfaces/components/index.d.ts +0 -26
  208. package/dist/interfaces/components/index.js +0 -11
  209. package/dist/interfaces/components/loading/app/index.d.ts +0 -3
  210. package/dist/interfaces/components/loading/app/index.js +0 -1
  211. package/dist/interfaces/components/loading/bar/index.d.ts +0 -7
  212. package/dist/interfaces/components/loading/bar/index.js +0 -1
  213. package/dist/interfaces/components/loading/index.d.ts +0 -2
  214. package/dist/interfaces/components/loading/index.js +0 -2
  215. package/dist/interfaces/components/logo/index.d.ts +0 -6
  216. package/dist/interfaces/components/logo/index.js +0 -1
  217. package/dist/interfaces/components/lottie/index.d.ts +0 -12
  218. package/dist/interfaces/components/lottie/index.js +0 -1
  219. package/dist/interfaces/components/modal/index.d.ts +0 -16
  220. package/dist/interfaces/components/modal/index.js +0 -1
  221. package/dist/interfaces/components/table/index.d.ts +0 -46
  222. package/dist/interfaces/components/table/index.js +0 -1
  223. package/dist/interfaces/components/table/paginate/index.d.ts +0 -7
  224. package/dist/interfaces/components/table/paginate/index.js +0 -1
  225. package/dist/interfaces/contexts/icon/index.d.ts +0 -3
  226. package/dist/interfaces/contexts/icon/index.js +0 -1
  227. package/dist/interfaces/contexts/index.d.ts +0 -8
  228. package/dist/interfaces/contexts/index.js +0 -4
  229. package/dist/interfaces/contexts/modal/index.d.ts +0 -16
  230. package/dist/interfaces/contexts/modal/index.js +0 -2
  231. package/dist/interfaces/contexts/theme/index.d.ts +0 -42
  232. package/dist/interfaces/contexts/theme/index.js +0 -1
  233. package/dist/interfaces/contexts/tooltip/index.d.ts +0 -3
  234. package/dist/interfaces/contexts/tooltip/index.js +0 -1
  235. package/dist/interfaces/index.d.ts +0 -2
  236. package/dist/interfaces/index.js +0 -2
  237. package/dist/styled.d.ts +0 -6
  238. package/dist/styled.js +0 -1
  239. package/dist/tsup.config.d.ts +0 -2
  240. package/dist/tsup.config.js +0 -17
@@ -0,0 +1,601 @@
1
+ import React from 'react';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { a as IButton, M as Modal } from './index-Da-DtPS-.mjs';
4
+ import { UseFormRegister } from 'react-hook-form';
5
+
6
+ declare function Paginate(props: IPaginate): false | react_jsx_runtime.JSX.Element;
7
+
8
+ declare function Table(props: ITable): react_jsx_runtime.JSX.Element;
9
+
10
+ declare function LoadingBar(props: ILoadingBar): react_jsx_runtime.JSX.Element;
11
+
12
+ declare function LoadingApp(props: ILoadingApp): react_jsx_runtime.JSX.Element;
13
+
14
+ declare function Badge(props: IBadge): react_jsx_runtime.JSX.Element;
15
+
16
+ declare function Logo(props: ILogo): react_jsx_runtime.JSX.Element;
17
+
18
+ declare function InputFile(props: IInputFile): react_jsx_runtime.JSX.Element;
19
+
20
+ declare function InputLabel(props: IInputLabel): react_jsx_runtime.JSX.Element;
21
+
22
+ declare function InputText(props: IInputText): react_jsx_runtime.JSX.Element;
23
+
24
+ declare function InputSelect(props: IInputSelect): react_jsx_runtime.JSX.Element;
25
+
26
+ declare function Button(props: IButton): react_jsx_runtime.JSX.Element;
27
+
28
+ declare function InputDateTime(props: IInputDateTime): react_jsx_runtime.JSX.Element;
29
+
30
+ declare function InputTextarea(props: IInputTextarea): react_jsx_runtime.JSX.Element;
31
+
32
+ declare function Form(props: IForm): react_jsx_runtime.JSX.Element;
33
+
34
+ declare function Chart(props: IChart): react_jsx_runtime.JSX.Element;
35
+
36
+ declare function Avatar(props: IAvatar): react_jsx_runtime.JSX.Element;
37
+
38
+ declare function Lottie(props: ILottie): react_jsx_runtime.JSX.Element;
39
+
40
+ declare function CreditCard(props: ICreditCard): react_jsx_runtime.JSX.Element;
41
+
42
+ declare function Block(props: IBlock): react_jsx_runtime.JSX.Element;
43
+
44
+ declare const Types_Avatar: typeof Avatar;
45
+ declare const Types_Badge: typeof Badge;
46
+ declare const Types_Block: typeof Block;
47
+ declare const Types_Button: typeof Button;
48
+ declare const Types_Chart: typeof Chart;
49
+ declare const Types_CreditCard: typeof CreditCard;
50
+ declare const Types_Form: typeof Form;
51
+ declare const Types_InputDateTime: typeof InputDateTime;
52
+ declare const Types_InputFile: typeof InputFile;
53
+ declare const Types_InputLabel: typeof InputLabel;
54
+ declare const Types_InputSelect: typeof InputSelect;
55
+ declare const Types_InputText: typeof InputText;
56
+ declare const Types_InputTextarea: typeof InputTextarea;
57
+ declare const Types_LoadingApp: typeof LoadingApp;
58
+ declare const Types_LoadingBar: typeof LoadingBar;
59
+ declare const Types_Logo: typeof Logo;
60
+ declare const Types_Lottie: typeof Lottie;
61
+ declare const Types_Modal: typeof Modal;
62
+ declare const Types_Paginate: typeof Paginate;
63
+ declare const Types_Table: typeof Table;
64
+ declare namespace Types {
65
+ export { Types_Avatar as Avatar, Types_Badge as Badge, Types_Block as Block, Types_Button as Button, Types_Chart as Chart, Types_CreditCard as CreditCard, Types_Form as Form, Types_InputDateTime as InputDateTime, Types_InputFile as InputFile, Types_InputLabel as InputLabel, Types_InputSelect as InputSelect, Types_InputText as InputText, Types_InputTextarea as InputTextarea, Types_LoadingApp as LoadingApp, Types_LoadingBar as LoadingBar, Types_Logo as Logo, Types_Lottie as Lottie, Types_Modal as Modal, Types_Paginate as Paginate, Types_Table as Table };
66
+ }
67
+
68
+ interface IPaginate {
69
+ total: number;
70
+ page: {
71
+ value: number;
72
+ set: (value: number) => void;
73
+ };
74
+ }
75
+
76
+ interface ITableAction {
77
+ disabled?: boolean;
78
+ position?: string;
79
+ function: (data?: any) => any;
80
+ icon?: string;
81
+ label?: string;
82
+ tooltip?: string;
83
+ }
84
+ interface ITableColumn {
85
+ name?: string;
86
+ style?: object;
87
+ action?: ITableAction;
88
+ }
89
+ interface ITableRow {
90
+ actions?: Array<ITableAction>;
91
+ image?: any;
92
+ icon?: any;
93
+ style?: any;
94
+ mask?: any;
95
+ custom?: (data: any) => React.ReactNode;
96
+ name?: string;
97
+ }
98
+ interface ITable {
99
+ content: Array<any>;
100
+ loading?: boolean | {
101
+ is?: boolean;
102
+ items?: Array<any>;
103
+ };
104
+ options: Array<{
105
+ column: ITableColumn | string;
106
+ row: ITableRow | string;
107
+ }>;
108
+ notFound?: {
109
+ title: string;
110
+ message: string;
111
+ };
112
+ paginate?: {
113
+ total: number;
114
+ page: {
115
+ value: number;
116
+ set: (value: number) => any;
117
+ };
118
+ };
119
+ }
120
+
121
+ interface ILoadingBar {
122
+ borderRadius?: string;
123
+ height?: string;
124
+ width?: string;
125
+ margin?: string;
126
+ dark?: boolean;
127
+ }
128
+
129
+ interface ILoadingApp {
130
+ initialization?: boolean;
131
+ }
132
+
133
+ interface IBadge {
134
+ value: string;
135
+ }
136
+
137
+ interface ILogo {
138
+ opacity?: string | number;
139
+ size?: string | number;
140
+ onlyPrefix?: boolean;
141
+ className?: string;
142
+ }
143
+
144
+ interface IInputFile {
145
+ className?: string;
146
+ label?: string;
147
+ name: string;
148
+ value: string;
149
+ onPreview?: (url: any) => void;
150
+ onChange: (event: any) => void;
151
+ disabled?: boolean;
152
+ error: string;
153
+ onFocus: (value: string) => void;
154
+ required?: boolean;
155
+ register?: UseFormRegister<any>;
156
+ }
157
+
158
+ interface IInputLabel {
159
+ className?: string;
160
+ children: React.ReactNode;
161
+ }
162
+
163
+ interface IInputText {
164
+ className?: string;
165
+ label?: string;
166
+ id?: string;
167
+ name?: string;
168
+ type?: string;
169
+ value?: string;
170
+ mask?: (value: string) => void;
171
+ onChange?: (event: any) => void;
172
+ maxLength?: number;
173
+ error?: string;
174
+ disabled?: boolean;
175
+ onFocus?: (value: any) => void;
176
+ required?: boolean;
177
+ register?: UseFormRegister<any>;
178
+ }
179
+
180
+ interface IInputSelect {
181
+ className?: string;
182
+ label?: string;
183
+ name: string;
184
+ value?: string;
185
+ onChange?: (event: any) => void;
186
+ options: Array<any>;
187
+ error: string;
188
+ disabled?: boolean;
189
+ onFocus: (value: any) => void;
190
+ required?: boolean;
191
+ register?: UseFormRegister<any>;
192
+ }
193
+
194
+ interface IInputDateTime {
195
+ className?: string;
196
+ label?: string;
197
+ name: string;
198
+ value: string;
199
+ mask?: (value: string) => void;
200
+ onFocus: (value: any) => void;
201
+ onChange: (event: any) => void;
202
+ maxLength?: number;
203
+ error: string;
204
+ disabled?: boolean;
205
+ required?: boolean;
206
+ register?: UseFormRegister<any>;
207
+ }
208
+
209
+ interface IInputTextarea {
210
+ className?: string;
211
+ label?: string;
212
+ name: string;
213
+ value: string;
214
+ mask?: (value: string) => void;
215
+ onChange: (event: any) => void;
216
+ maxLength?: number;
217
+ rows?: number;
218
+ error: string;
219
+ disabled?: boolean;
220
+ onFocus: (value: string) => void;
221
+ required?: boolean;
222
+ register?: UseFormRegister<any>;
223
+ }
224
+
225
+ interface IForm {
226
+ defaultValues?: any;
227
+ validation?: any;
228
+ formRef?: any;
229
+ onSubmit: (values: any, actions?: any) => void;
230
+ clearWhen?: boolean;
231
+ inputs: Array<any>;
232
+ buttons?: Array<any>;
233
+ }
234
+
235
+ interface IChart {
236
+ content: Array<any>;
237
+ yAxis: Array<any>;
238
+ xAxis: Array<any>;
239
+ min?: number;
240
+ max?: number;
241
+ colors?: Array<string>;
242
+ height?: number;
243
+ }
244
+
245
+ interface IAvatar {
246
+ name?: string;
247
+ size?: string;
248
+ color?: string;
249
+ onClick?: Function;
250
+ }
251
+
252
+ declare const _default: {
253
+ loader: {
254
+ v: string;
255
+ meta: {
256
+ g: string;
257
+ a: string;
258
+ k: string;
259
+ d: string;
260
+ tc: string;
261
+ };
262
+ fr: number;
263
+ ip: number;
264
+ op: number;
265
+ w: number;
266
+ h: number;
267
+ nm: string;
268
+ ddd: number;
269
+ assets: never[];
270
+ layers: ({
271
+ ddd: number;
272
+ ind: number;
273
+ ty: number;
274
+ nm: string;
275
+ sr: number;
276
+ ks: {
277
+ o: {
278
+ a: number;
279
+ k: number;
280
+ ix: number;
281
+ };
282
+ r: {
283
+ a: number;
284
+ k: number;
285
+ ix: number;
286
+ x: string;
287
+ };
288
+ p: {
289
+ a: number;
290
+ k: number[];
291
+ ix: number;
292
+ x: string;
293
+ };
294
+ a: {
295
+ a: number;
296
+ k: number[];
297
+ ix: number;
298
+ };
299
+ s: {
300
+ a: number;
301
+ k: number[];
302
+ ix: number;
303
+ };
304
+ };
305
+ ao: number;
306
+ shapes: {
307
+ ty: string;
308
+ it: ({
309
+ ind: number;
310
+ ty: string;
311
+ ix: number;
312
+ ks: {
313
+ a: number;
314
+ k: ({
315
+ i: {
316
+ x: number;
317
+ y: number;
318
+ };
319
+ o: {
320
+ x: number;
321
+ y: number;
322
+ };
323
+ t: number;
324
+ s: {
325
+ i: number[][];
326
+ o: number[][];
327
+ v: number[][];
328
+ c: boolean;
329
+ }[];
330
+ } | {
331
+ t: number;
332
+ s: {
333
+ i: number[][];
334
+ o: number[][];
335
+ v: number[][];
336
+ c: boolean;
337
+ }[];
338
+ i?: undefined;
339
+ o?: undefined;
340
+ })[];
341
+ ix: number;
342
+ };
343
+ nm: string;
344
+ mn: string;
345
+ hd: boolean;
346
+ c?: undefined;
347
+ o?: undefined;
348
+ w?: undefined;
349
+ lc?: undefined;
350
+ lj?: undefined;
351
+ ml?: undefined;
352
+ bm?: undefined;
353
+ r?: undefined;
354
+ p?: undefined;
355
+ a?: undefined;
356
+ s?: undefined;
357
+ sk?: undefined;
358
+ sa?: undefined;
359
+ } | {
360
+ ty: string;
361
+ c: {
362
+ a: number;
363
+ k: number[];
364
+ ix: number;
365
+ };
366
+ o: {
367
+ a: number;
368
+ k: number;
369
+ ix: number;
370
+ };
371
+ w: {
372
+ a: number;
373
+ k: number;
374
+ ix: number;
375
+ };
376
+ lc: number;
377
+ lj: number;
378
+ ml: number;
379
+ bm: number;
380
+ nm: string;
381
+ mn: string;
382
+ hd: boolean;
383
+ ind?: undefined;
384
+ ix?: undefined;
385
+ ks?: undefined;
386
+ r?: undefined;
387
+ p?: undefined;
388
+ a?: undefined;
389
+ s?: undefined;
390
+ sk?: undefined;
391
+ sa?: undefined;
392
+ } | {
393
+ ty: string;
394
+ c: {
395
+ a: number;
396
+ k: number[];
397
+ ix: number;
398
+ };
399
+ o: {
400
+ a: number;
401
+ k: number;
402
+ ix: number;
403
+ };
404
+ r: number;
405
+ bm: number;
406
+ nm: string;
407
+ mn: string;
408
+ hd: boolean;
409
+ ind?: undefined;
410
+ ix?: undefined;
411
+ ks?: undefined;
412
+ w?: undefined;
413
+ lc?: undefined;
414
+ lj?: undefined;
415
+ ml?: undefined;
416
+ p?: undefined;
417
+ a?: undefined;
418
+ s?: undefined;
419
+ sk?: undefined;
420
+ sa?: undefined;
421
+ } | {
422
+ ty: string;
423
+ p: {
424
+ a: number;
425
+ k: number[];
426
+ ix: number;
427
+ };
428
+ a: {
429
+ a: number;
430
+ k: number[];
431
+ ix: number;
432
+ };
433
+ s: {
434
+ a: number;
435
+ k: number[];
436
+ ix: number;
437
+ };
438
+ r: {
439
+ a: number;
440
+ k: number;
441
+ ix: number;
442
+ };
443
+ o: {
444
+ a: number;
445
+ k: number;
446
+ ix: number;
447
+ };
448
+ sk: {
449
+ a: number;
450
+ k: number;
451
+ ix: number;
452
+ };
453
+ sa: {
454
+ a: number;
455
+ k: number;
456
+ ix: number;
457
+ };
458
+ nm: string;
459
+ ind?: undefined;
460
+ ix?: undefined;
461
+ ks?: undefined;
462
+ mn?: undefined;
463
+ hd?: undefined;
464
+ c?: undefined;
465
+ w?: undefined;
466
+ lc?: undefined;
467
+ lj?: undefined;
468
+ ml?: undefined;
469
+ bm?: undefined;
470
+ })[];
471
+ nm: string;
472
+ np: number;
473
+ cix: number;
474
+ bm: number;
475
+ ix: number;
476
+ mn: string;
477
+ hd: boolean;
478
+ }[];
479
+ ip: number;
480
+ op: number;
481
+ st: number;
482
+ bm: number;
483
+ } | {
484
+ ddd: number;
485
+ ind: number;
486
+ ty: number;
487
+ nm: string;
488
+ sr: number;
489
+ ks: {
490
+ o: {
491
+ a: number;
492
+ k: number;
493
+ ix: number;
494
+ };
495
+ r: {
496
+ a: number;
497
+ k: ({
498
+ i: {
499
+ x: number[];
500
+ y: number[];
501
+ };
502
+ o: {
503
+ x: number[];
504
+ y: number[];
505
+ };
506
+ t: number;
507
+ s: number[];
508
+ } | {
509
+ t: number;
510
+ s: number[];
511
+ i?: undefined;
512
+ o?: undefined;
513
+ })[];
514
+ ix: number;
515
+ x?: undefined;
516
+ };
517
+ p: {
518
+ a: number;
519
+ k: number[];
520
+ ix: number;
521
+ x?: undefined;
522
+ };
523
+ a: {
524
+ a: number;
525
+ k: number[];
526
+ ix: number;
527
+ };
528
+ s: {
529
+ a: number;
530
+ k: number[];
531
+ ix: number;
532
+ };
533
+ };
534
+ ao: number;
535
+ ip: number;
536
+ op: number;
537
+ st: number;
538
+ bm: number;
539
+ shapes?: undefined;
540
+ })[];
541
+ markers: never[];
542
+ };
543
+ };
544
+
545
+ interface IBase$1 {
546
+ size?: number;
547
+ }
548
+ type ILottie = (IBase$1 & {
549
+ src: string;
550
+ animation?: never;
551
+ }) | (IBase$1 & {
552
+ animation: keyof typeof _default;
553
+ src?: never;
554
+ });
555
+
556
+ interface ICreditCard {
557
+ cvc?: string;
558
+ name: string;
559
+ number: string;
560
+ expiry: string;
561
+ onEdit?: () => any;
562
+ onConfig?: () => any;
563
+ onRemove?: () => any;
564
+ focused?: "name" | "number" | "expiry" | "cvc" | "" | undefined;
565
+ functions?: Array<{
566
+ icon: string;
567
+ label: string;
568
+ function?: () => any;
569
+ hide?: boolean;
570
+ }>;
571
+ }
572
+
573
+ interface IBase {
574
+ icon?: string;
575
+ label?: string;
576
+ }
577
+ type IBlock = (IBase & {
578
+ component: IComponentContent;
579
+ content?: never;
580
+ children?: never;
581
+ }) | (IBase & {
582
+ children: React.ReactNode;
583
+ component?: never;
584
+ content?: never;
585
+ });
586
+
587
+ type IComponentMap = typeof Types;
588
+ type IComponentConfigMap = {
589
+ [K in keyof IComponentMap]: {
590
+ type: K;
591
+ props?: React.ComponentProps<IComponentMap[K]>;
592
+ };
593
+ };
594
+ type IComponentConfig = IComponentConfigMap[keyof IComponentMap];
595
+ type IComponentContent = Array<IComponentConfig | Array<IComponentConfig>>;
596
+ interface IComponent {
597
+ className?: string;
598
+ content: IComponentContent;
599
+ }
600
+
601
+ export { Avatar as A, Badge as B, Chart as C, type IInputFile as D, type IInputLabel as E, Form as F, type IInputText as G, type IInputSelect as H, InputFile as I, type IInputDateTime as J, type IInputTextarea as K, LoadingBar as L, type IChart as M, type IAvatar as N, type ILottie as O, Paginate as P, type ICreditCard as Q, type IBlock as R, Table as T, LoadingApp as a, Logo as b, InputLabel as c, InputText as d, InputSelect as e, Button as f, InputDateTime as g, InputTextarea as h, Lottie as i, CreditCard as j, Block as k, type IComponentMap as l, type IComponentConfigMap as m, type IComponentConfig as n, type IComponentContent as o, type IComponent as p, type ITableAction as q, type ITableColumn as r, type ITableRow as s, type ITable as t, type IPaginate as u, type ILoadingBar as v, type ILoadingApp as w, type IBadge as x, type ILogo as y, type IForm as z };
@@ -0,0 +1,68 @@
1
+ import { M as Modal, I as IModal } from './index-Da-DtPS-.js';
2
+ import React from 'react';
3
+
4
+ interface IIconProvider extends IBaseProvider {
5
+ }
6
+
7
+ interface IThemeProvider extends IBaseProvider {
8
+ theme?: string;
9
+ }
10
+ interface ICommonTheme {
11
+ secondary: string;
12
+ tertiary: string;
13
+ positive: string;
14
+ negative: string;
15
+ mobileMaxWidth: string;
16
+ mobileMinWidth: string;
17
+ }
18
+ interface IThemeContent extends ICommonTheme {
19
+ primary: string;
20
+ reverse: string;
21
+ tooltip: string;
22
+ t8: string;
23
+ t7: string;
24
+ t6: string;
25
+ t5: string;
26
+ t4: string;
27
+ t3: string;
28
+ t2: string;
29
+ t1: string;
30
+ t08: string;
31
+ t05: string;
32
+ t03: string;
33
+ t02: string;
34
+ t01: string;
35
+ lgrad: string;
36
+ maingrad: string;
37
+ }
38
+ interface ITheme {
39
+ light: IThemeContent;
40
+ dark: IThemeContent;
41
+ }
42
+ interface IThemeContext {
43
+ theme: keyof ITheme;
44
+ setTheme: (theme: keyof ITheme) => void;
45
+ content: IThemeContent;
46
+ Switcher: any;
47
+ }
48
+
49
+ interface IModalProvider extends IBaseProvider {
50
+ }
51
+ interface IModalConfig {
52
+ component: typeof Modal;
53
+ name: string;
54
+ props?: IModal;
55
+ type?: "fixed" | "dinamic";
56
+ }
57
+ interface IModalContext {
58
+ value: Array<IModalConfig>;
59
+ add: (value: IModalConfig) => void;
60
+ remove: (modalName: string) => void;
61
+ setProps: (modalName: string, props: IModal) => void;
62
+ }
63
+
64
+ interface IBaseProvider {
65
+ children: React.ReactNode;
66
+ }
67
+
68
+ export type { IThemeContent as I, IBaseProvider as a, IIconProvider as b, IThemeProvider as c, ICommonTheme as d, ITheme as e, IThemeContext as f, IModalProvider as g, IModalConfig as h, IModalContext as i };
@@ -0,0 +1,29 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React from 'react';
3
+
4
+ declare function Modal(props: IModal): react_jsx_runtime.JSX.Element;
5
+
6
+ interface IModal {
7
+ toggle: boolean;
8
+ onClose?: () => void;
9
+ title?: string;
10
+ header?: {
11
+ title: string;
12
+ icon: string;
13
+ };
14
+ buttons?: Array<IButton>;
15
+ children?: React.ReactNode;
16
+ position?: "center" | "right" | "left";
17
+ noCloseIcon?: boolean;
18
+ content?: any;
19
+ }
20
+
21
+ interface IButton {
22
+ loading?: boolean;
23
+ disabled?: boolean;
24
+ type?: string;
25
+ onClick?: () => void;
26
+ label: string;
27
+ }
28
+
29
+ export { type IModal as I, Modal as M, type IButton as a };