corekit-ui 0.1.10 → 0.1.12
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/dist/corekit-ui.css +1 -1
- package/dist/index.d.ts +4010 -12
- package/dist/index.js +5841 -4260
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +6 -6
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +24 -25
- package/dist/animations/Transiciones.d.ts +0 -9
- package/dist/animations/index.d.ts +0 -1
- package/dist/boton/Boton.d.ts +0 -2
- package/dist/boton/index.d.ts +0 -2
- package/dist/boton/typesButton.d.ts +0 -31
- package/dist/checkbox/Checkbox.d.ts +0 -18
- package/dist/checkbox/CheckboxGroup.d.ts +0 -3
- package/dist/checkbox/Iconografia.d.ts +0 -0
- package/dist/checkbox/index.d.ts +0 -3
- package/dist/checkbox/types.d.ts +0 -41
- package/dist/firma_manual/FirmaManual.d.ts +0 -3
- package/dist/firma_manual/Iconografia.d.ts +0 -16
- package/dist/firma_manual/TypesFirma.d.ts +0 -22
- package/dist/firma_manual/index.d.ts +0 -2
- package/dist/firma_manual/useFirmaLogica.d.ts +0 -10
- package/dist/hablar_escuchar/BadgeVoz.d.ts +0 -6
- package/dist/hablar_escuchar/Iconografia.d.ts +0 -10
- package/dist/hablar_escuchar/index.d.ts +0 -3
- package/dist/hablar_escuchar/useReconocimientoVoz.d.ts +0 -21
- package/dist/input_date/InputDate.d.ts +0 -339
- package/dist/input_date/funciones.d.ts +0 -27
- package/dist/input_date/index.d.ts +0 -3
- package/dist/input_date/types.d.ts +0 -64
- package/dist/input_numeric/Iconografia.d.ts +0 -5
- package/dist/input_numeric/InputNumeric.d.ts +0 -351
- package/dist/input_numeric/funciones.d.ts +0 -64
- package/dist/input_numeric/index.d.ts +0 -3
- package/dist/input_numeric/types.d.ts +0 -92
- package/dist/input_text/Iconografia.d.ts +0 -9
- package/dist/input_text/InputText.d.ts +0 -345
- package/dist/input_text/index.d.ts +0 -2
- package/dist/input_text/types.d.ts +0 -73
- package/dist/input_types_compartidos/index.d.ts +0 -1
- package/dist/input_types_compartidos/types.d.ts +0 -11
- package/dist/select/Iconografia.d.ts +0 -10
- package/dist/select/Select.d.ts +0 -56
- package/dist/select/SelectNativo.d.ts +0 -57
- package/dist/select/Types.d.ts +0 -543
- package/dist/select/funciones.d.ts +0 -229
- package/dist/select/index.d.ts +0 -4
- package/dist/tabla_datos/TablaDatos.d.ts +0 -80
- package/dist/tabla_datos/components/Iconografia.d.ts +0 -17
- package/dist/tabla_datos/components/TablaCards.d.ts +0 -1
- package/dist/tabla_datos/components/TablaEscritorio.d.ts +0 -1
- package/dist/tabla_datos/components/configuraciones/ConfigColumnas.d.ts +0 -1
- package/dist/tabla_datos/components/configuraciones/ConfigEncabezado.d.ts +0 -6
- package/dist/tabla_datos/components/configuraciones/ConfigFilas.d.ts +0 -1
- package/dist/tabla_datos/components/configuraciones/ConfigOpciones.d.ts +0 -6
- package/dist/tabla_datos/components/configuraciones/MenuConfiguraciones.d.ts +0 -1
- package/dist/tabla_datos/components/skeletons/SkeletonCargando.d.ts +0 -4
- package/dist/tabla_datos/components/skeletons/SkeletonCargandoCards.d.ts +0 -2
- package/dist/tabla_datos/components/tabla/BarraHerramientas.d.ts +0 -1
- package/dist/tabla_datos/components/tabla/BarraSeleccion.d.ts +0 -9
- package/dist/tabla_datos/components/tabla/Paginacion.d.ts +0 -1
- package/dist/tabla_datos/components/tabla/SinDatos.d.ts +0 -1
- package/dist/tabla_datos/components/tabla/tabla_cards/AccionesCards.d.ts +0 -3
- package/dist/tabla_datos/components/tabla/tabla_cards/ContenidoCards.d.ts +0 -3
- package/dist/tabla_datos/components/tabla/tabla_cards/EncabezadoCards.d.ts +0 -3
- package/dist/tabla_datos/constantes/ConstGenerales.d.ts +0 -18
- package/dist/tabla_datos/context/ContextTypes.d.ts +0 -23
- package/dist/tabla_datos/context/TablaDatosContext.d.ts +0 -3
- package/dist/tabla_datos/context/hooks.d.ts +0 -10
- package/dist/tabla_datos/hooks/useClickOutside.d.ts +0 -8
- package/dist/tabla_datos/hooks/useEscapeKey.d.ts +0 -1
- package/dist/tabla_datos/hooks/usePopoverPosition.d.ts +0 -15
- package/dist/tabla_datos/hooks/useScrollLock.d.ts +0 -1
- package/dist/tabla_datos/index.d.ts +0 -5
- package/dist/tabla_datos/types/TablaTypes.d.ts +0 -85
- package/dist/tabla_datos/utils/FuncionesColumnas.d.ts +0 -9
- package/dist/tabla_datos/utils/FuncionesPaginacion.d.ts +0 -12
- package/dist/tabla_datos/utils/FuncionesTabla.d.ts +0 -30
- package/dist/text_area/Iconografia.d.ts +0 -6
- package/dist/text_area/TextArea.d.ts +0 -331
- package/dist/text_area/index.d.ts +0 -2
- package/dist/text_area/types.d.ts +0 -72
- package/dist/texts/Texts.d.ts +0 -19
- package/dist/vite.svg +0 -1
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import { ResultadoValidacion } from './types';
|
|
2
|
-
declare const InputDate: import('react').ForwardRefExoticComponent<{
|
|
3
|
-
variant?: import('./types').InputVariant;
|
|
4
|
-
color?: import('./types').InputColor;
|
|
5
|
-
size?: import('./types').InputSize;
|
|
6
|
-
radius?: import('./types').InputRadius;
|
|
7
|
-
label?: import('react').ReactNode;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
value?: string;
|
|
10
|
-
defaultValue?: string;
|
|
11
|
-
description?: import('react').ReactNode;
|
|
12
|
-
errorMessage?: import('react').ReactNode | ((v: ResultadoValidacion) => import('react').ReactNode);
|
|
13
|
-
startContent?: import('react').ReactNode;
|
|
14
|
-
isRequired?: boolean;
|
|
15
|
-
isReadOnly?: boolean;
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
isInvalid?: boolean;
|
|
18
|
-
validationState?: "valid" | "invalid";
|
|
19
|
-
validate?: (value: string) => import('./types').ValidationResult;
|
|
20
|
-
fullWidth?: boolean;
|
|
21
|
-
disableAnimation?: boolean;
|
|
22
|
-
min?: string;
|
|
23
|
-
max?: string;
|
|
24
|
-
classNames?: {
|
|
25
|
-
base?: string;
|
|
26
|
-
label?: string;
|
|
27
|
-
inputWrapper?: string;
|
|
28
|
-
innerWrapper?: string;
|
|
29
|
-
input?: string;
|
|
30
|
-
description?: string;
|
|
31
|
-
errorMessage?: string;
|
|
32
|
-
};
|
|
33
|
-
onChange?: (value: string) => void;
|
|
34
|
-
} & {
|
|
35
|
-
form?: string | undefined | undefined;
|
|
36
|
-
slot?: string | undefined | undefined;
|
|
37
|
-
style?: import('react').CSSProperties | undefined;
|
|
38
|
-
title?: string | undefined | undefined;
|
|
39
|
-
pattern?: string | undefined | undefined;
|
|
40
|
-
className?: string | undefined | undefined;
|
|
41
|
-
onClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
42
|
-
"aria-label"?: string | undefined | undefined;
|
|
43
|
-
disabled?: boolean | undefined | undefined;
|
|
44
|
-
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
45
|
-
formEncType?: string | undefined | undefined;
|
|
46
|
-
formMethod?: string | undefined | undefined;
|
|
47
|
-
formNoValidate?: boolean | undefined | undefined;
|
|
48
|
-
formTarget?: string | undefined | undefined;
|
|
49
|
-
name?: string | undefined | undefined;
|
|
50
|
-
defaultChecked?: boolean | undefined | undefined;
|
|
51
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
52
|
-
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
53
|
-
accessKey?: string | undefined | undefined;
|
|
54
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
55
|
-
autoFocus?: boolean | undefined | undefined;
|
|
56
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
57
|
-
contextMenu?: string | undefined | undefined;
|
|
58
|
-
dir?: string | undefined | undefined;
|
|
59
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
60
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
61
|
-
hidden?: boolean | undefined | undefined;
|
|
62
|
-
id?: string | undefined | undefined;
|
|
63
|
-
lang?: string | undefined | undefined;
|
|
64
|
-
nonce?: string | undefined | undefined;
|
|
65
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
66
|
-
tabIndex?: number | undefined | undefined;
|
|
67
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
68
|
-
radioGroup?: string | undefined | undefined;
|
|
69
|
-
role?: import('react').AriaRole | undefined;
|
|
70
|
-
about?: string | undefined | undefined;
|
|
71
|
-
content?: string | undefined | undefined;
|
|
72
|
-
datatype?: string | undefined | undefined;
|
|
73
|
-
inlist?: any;
|
|
74
|
-
prefix?: string | undefined | undefined;
|
|
75
|
-
property?: string | undefined | undefined;
|
|
76
|
-
rel?: string | undefined | undefined;
|
|
77
|
-
resource?: string | undefined | undefined;
|
|
78
|
-
rev?: string | undefined | undefined;
|
|
79
|
-
typeof?: string | undefined | undefined;
|
|
80
|
-
vocab?: string | undefined | undefined;
|
|
81
|
-
autoCorrect?: string | undefined | undefined;
|
|
82
|
-
autoSave?: string | undefined | undefined;
|
|
83
|
-
itemProp?: string | undefined | undefined;
|
|
84
|
-
itemScope?: boolean | undefined | undefined;
|
|
85
|
-
itemType?: string | undefined | undefined;
|
|
86
|
-
itemID?: string | undefined | undefined;
|
|
87
|
-
itemRef?: string | undefined | undefined;
|
|
88
|
-
results?: number | undefined | undefined;
|
|
89
|
-
security?: string | undefined | undefined;
|
|
90
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
91
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
92
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
93
|
-
popoverTarget?: string | undefined | undefined;
|
|
94
|
-
inert?: boolean | undefined | undefined;
|
|
95
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
96
|
-
is?: string | undefined | undefined;
|
|
97
|
-
exportparts?: string | undefined | undefined;
|
|
98
|
-
part?: string | undefined | undefined;
|
|
99
|
-
"aria-activedescendant"?: string | undefined | undefined;
|
|
100
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
101
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
102
|
-
"aria-braillelabel"?: string | undefined | undefined;
|
|
103
|
-
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
104
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
105
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
106
|
-
"aria-colcount"?: number | undefined | undefined;
|
|
107
|
-
"aria-colindex"?: number | undefined | undefined;
|
|
108
|
-
"aria-colindextext"?: string | undefined | undefined;
|
|
109
|
-
"aria-colspan"?: number | undefined | undefined;
|
|
110
|
-
"aria-controls"?: string | undefined | undefined;
|
|
111
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
112
|
-
"aria-describedby"?: string | undefined | undefined;
|
|
113
|
-
"aria-description"?: string | undefined | undefined;
|
|
114
|
-
"aria-details"?: string | undefined | undefined;
|
|
115
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
116
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
117
|
-
"aria-errormessage"?: string | undefined | undefined;
|
|
118
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
119
|
-
"aria-flowto"?: string | undefined | undefined;
|
|
120
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
121
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
122
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
123
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
124
|
-
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
125
|
-
"aria-labelledby"?: string | undefined | undefined;
|
|
126
|
-
"aria-level"?: number | undefined | undefined;
|
|
127
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
128
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
129
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
130
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
131
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
132
|
-
"aria-owns"?: string | undefined | undefined;
|
|
133
|
-
"aria-placeholder"?: string | undefined | undefined;
|
|
134
|
-
"aria-posinset"?: number | undefined | undefined;
|
|
135
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
136
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
137
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
138
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
139
|
-
"aria-roledescription"?: string | undefined | undefined;
|
|
140
|
-
"aria-rowcount"?: number | undefined | undefined;
|
|
141
|
-
"aria-rowindex"?: number | undefined | undefined;
|
|
142
|
-
"aria-rowindextext"?: string | undefined | undefined;
|
|
143
|
-
"aria-rowspan"?: number | undefined | undefined;
|
|
144
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
145
|
-
"aria-setsize"?: number | undefined | undefined;
|
|
146
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
147
|
-
"aria-valuemax"?: number | undefined | undefined;
|
|
148
|
-
"aria-valuemin"?: number | undefined | undefined;
|
|
149
|
-
"aria-valuenow"?: number | undefined | undefined;
|
|
150
|
-
"aria-valuetext"?: string | undefined | undefined;
|
|
151
|
-
dangerouslySetInnerHTML?: {
|
|
152
|
-
__html: string | TrustedHTML;
|
|
153
|
-
} | undefined | undefined;
|
|
154
|
-
onCopy?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
155
|
-
onCopyCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
156
|
-
onCut?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
157
|
-
onCutCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
158
|
-
onPaste?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
159
|
-
onPasteCapture?: import('react').ClipboardEventHandler<HTMLInputElement> | undefined;
|
|
160
|
-
onCompositionEnd?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
161
|
-
onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
162
|
-
onCompositionStart?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
163
|
-
onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
164
|
-
onCompositionUpdate?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
165
|
-
onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLInputElement> | undefined;
|
|
166
|
-
onFocus?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
167
|
-
onFocusCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
168
|
-
onBlur?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
169
|
-
onBlurCapture?: import('react').FocusEventHandler<HTMLInputElement> | undefined;
|
|
170
|
-
onChangeCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
171
|
-
onBeforeInput?: import('react').InputEventHandler<HTMLInputElement> | undefined;
|
|
172
|
-
onBeforeInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
173
|
-
onInput?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
174
|
-
onInputCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
175
|
-
onReset?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
176
|
-
onResetCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
177
|
-
onSubmit?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
178
|
-
onSubmitCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
179
|
-
onInvalid?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
180
|
-
onInvalidCapture?: import('react').FormEventHandler<HTMLInputElement> | undefined;
|
|
181
|
-
onLoad?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
182
|
-
onLoadCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
183
|
-
onError?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
184
|
-
onErrorCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
185
|
-
onKeyDown?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
186
|
-
onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
187
|
-
onKeyPress?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
188
|
-
onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
189
|
-
onKeyUp?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
190
|
-
onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLInputElement> | undefined;
|
|
191
|
-
onAbort?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
192
|
-
onAbortCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
193
|
-
onCanPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
194
|
-
onCanPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
195
|
-
onCanPlayThrough?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
196
|
-
onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
197
|
-
onDurationChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
198
|
-
onDurationChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
199
|
-
onEmptied?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
200
|
-
onEmptiedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
201
|
-
onEncrypted?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
202
|
-
onEncryptedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
203
|
-
onEnded?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
204
|
-
onEndedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
205
|
-
onLoadedData?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
206
|
-
onLoadedDataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
207
|
-
onLoadedMetadata?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
208
|
-
onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
209
|
-
onLoadStart?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
210
|
-
onLoadStartCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
211
|
-
onPause?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
212
|
-
onPauseCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
213
|
-
onPlay?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
214
|
-
onPlayCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
215
|
-
onPlaying?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
216
|
-
onPlayingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
217
|
-
onProgress?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
218
|
-
onProgressCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
219
|
-
onRateChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
220
|
-
onRateChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
221
|
-
onSeeked?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
222
|
-
onSeekedCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
223
|
-
onSeeking?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
224
|
-
onSeekingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
225
|
-
onStalled?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
226
|
-
onStalledCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
227
|
-
onSuspend?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
228
|
-
onSuspendCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
229
|
-
onTimeUpdate?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
230
|
-
onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
231
|
-
onVolumeChange?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
232
|
-
onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
233
|
-
onWaiting?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
234
|
-
onWaitingCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
235
|
-
onAuxClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
236
|
-
onAuxClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
237
|
-
onClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
238
|
-
onContextMenu?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
239
|
-
onContextMenuCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
240
|
-
onDoubleClick?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
241
|
-
onDoubleClickCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
242
|
-
onDrag?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
243
|
-
onDragCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
244
|
-
onDragEnd?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
245
|
-
onDragEndCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
246
|
-
onDragEnter?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
247
|
-
onDragEnterCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
248
|
-
onDragExit?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
249
|
-
onDragExitCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
250
|
-
onDragLeave?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
251
|
-
onDragLeaveCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
252
|
-
onDragOver?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
253
|
-
onDragOverCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
254
|
-
onDragStart?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
255
|
-
onDragStartCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
256
|
-
onDrop?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
257
|
-
onDropCapture?: import('react').DragEventHandler<HTMLInputElement> | undefined;
|
|
258
|
-
onMouseDown?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
259
|
-
onMouseDownCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
260
|
-
onMouseEnter?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
261
|
-
onMouseLeave?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
262
|
-
onMouseMove?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
263
|
-
onMouseMoveCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
264
|
-
onMouseOut?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
265
|
-
onMouseOutCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
266
|
-
onMouseOver?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
267
|
-
onMouseOverCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
268
|
-
onMouseUp?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
269
|
-
onMouseUpCapture?: import('react').MouseEventHandler<HTMLInputElement> | undefined;
|
|
270
|
-
onSelect?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
271
|
-
onSelectCapture?: import('react').ReactEventHandler<HTMLInputElement> | undefined;
|
|
272
|
-
onTouchCancel?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
273
|
-
onTouchCancelCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
274
|
-
onTouchEnd?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
275
|
-
onTouchEndCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
276
|
-
onTouchMove?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
277
|
-
onTouchMoveCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
278
|
-
onTouchStart?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
279
|
-
onTouchStartCapture?: import('react').TouchEventHandler<HTMLInputElement> | undefined;
|
|
280
|
-
onPointerDown?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
281
|
-
onPointerDownCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
282
|
-
onPointerMove?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
283
|
-
onPointerMoveCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
284
|
-
onPointerUp?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
285
|
-
onPointerUpCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
286
|
-
onPointerCancel?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
287
|
-
onPointerCancelCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
288
|
-
onPointerEnter?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
289
|
-
onPointerLeave?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
290
|
-
onPointerOver?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
291
|
-
onPointerOverCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
292
|
-
onPointerOut?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
293
|
-
onPointerOutCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
294
|
-
onGotPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
295
|
-
onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
296
|
-
onLostPointerCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
297
|
-
onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLInputElement> | undefined;
|
|
298
|
-
onScroll?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
299
|
-
onScrollCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
300
|
-
onScrollEnd?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
301
|
-
onScrollEndCapture?: import('react').UIEventHandler<HTMLInputElement> | undefined;
|
|
302
|
-
onWheel?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
|
303
|
-
onWheelCapture?: import('react').WheelEventHandler<HTMLInputElement> | undefined;
|
|
304
|
-
onAnimationStart?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
305
|
-
onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
306
|
-
onAnimationEnd?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
307
|
-
onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
308
|
-
onAnimationIteration?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
309
|
-
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLInputElement> | undefined;
|
|
310
|
-
onToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
|
|
311
|
-
onBeforeToggle?: import('react').ToggleEventHandler<HTMLInputElement> | undefined;
|
|
312
|
-
onTransitionCancel?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
313
|
-
onTransitionCancelCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
314
|
-
onTransitionEnd?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
315
|
-
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
316
|
-
onTransitionRun?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
317
|
-
onTransitionRunCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
318
|
-
onTransitionStart?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
319
|
-
onTransitionStartCapture?: import('react').TransitionEventHandler<HTMLInputElement> | undefined;
|
|
320
|
-
multiple?: boolean | undefined | undefined;
|
|
321
|
-
list?: string | undefined | undefined;
|
|
322
|
-
accept?: string | undefined | undefined;
|
|
323
|
-
width?: number | string | undefined | undefined;
|
|
324
|
-
height?: number | string | undefined | undefined;
|
|
325
|
-
checked?: boolean | undefined | undefined;
|
|
326
|
-
max?: number | string | undefined | undefined;
|
|
327
|
-
min?: number | string | undefined | undefined;
|
|
328
|
-
alt?: string | undefined | undefined;
|
|
329
|
-
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
330
|
-
capture?: boolean | "user" | "environment" | undefined | undefined;
|
|
331
|
-
maxLength?: number | undefined | undefined;
|
|
332
|
-
minLength?: number | undefined | undefined;
|
|
333
|
-
placeholder?: string | undefined | undefined;
|
|
334
|
-
readOnly?: boolean | undefined | undefined;
|
|
335
|
-
required?: boolean | undefined | undefined;
|
|
336
|
-
src?: string | undefined | undefined;
|
|
337
|
-
step?: number | string | undefined | undefined;
|
|
338
|
-
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
339
|
-
export { InputDate };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ResultadoValidacion, ValidationResult } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Procesa el resultado de una función de validación
|
|
4
|
-
* @param resultado - Resultado de la función validate
|
|
5
|
-
* @returns Objeto con estado de validación y mensaje
|
|
6
|
-
*/
|
|
7
|
-
export declare function procesarValidacion(resultado: ValidationResult): ResultadoValidacion;
|
|
8
|
-
/**
|
|
9
|
-
* Formatea una fecha ISO a formato legible
|
|
10
|
-
* @param fechaISO - Fecha en formato YYYY-MM-DD
|
|
11
|
-
* @param locale - Locale para formateo (default: 'es-CO')
|
|
12
|
-
* @returns Fecha formateada
|
|
13
|
-
*/
|
|
14
|
-
export declare function formatearFecha(fechaISO: string, locale?: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Obtiene la fecha actual en formato ISO
|
|
17
|
-
* @returns Fecha actual en formato YYYY-MM-DD
|
|
18
|
-
*/
|
|
19
|
-
export declare function obtenerFechaHoy(): string;
|
|
20
|
-
/**
|
|
21
|
-
* Valida si una fecha está dentro de un rango
|
|
22
|
-
* @param fecha - Fecha a validar (YYYY-MM-DD)
|
|
23
|
-
* @param min - Fecha mínima (YYYY-MM-DD)
|
|
24
|
-
* @param max - Fecha máxima (YYYY-MM-DD)
|
|
25
|
-
* @returns true si está en rango
|
|
26
|
-
*/
|
|
27
|
-
export declare function fechaEnRango(fecha: string, min?: string, max?: string): boolean;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
import { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion } from '../input_types_compartidos';
|
|
3
|
-
export type { InputVariant, InputColor, InputSize, InputRadius, ValidationResult, ResultadoValidacion };
|
|
4
|
-
type NativeInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'color' | 'size' | 'onChange' | 'children' | 'type' | 'value' | 'defaultValue'>;
|
|
5
|
-
/**
|
|
6
|
-
* Props del componente InputDate
|
|
7
|
-
* @description Input de fecha usando el selector nativo del navegador
|
|
8
|
-
*/
|
|
9
|
-
export type InputDateProps = {
|
|
10
|
-
/** Variante visual del input */
|
|
11
|
-
variant?: InputVariant;
|
|
12
|
-
/** Color temático del input */
|
|
13
|
-
color?: InputColor;
|
|
14
|
-
/** Tamaño del input */
|
|
15
|
-
size?: InputSize;
|
|
16
|
-
/** Radio de bordes del input */
|
|
17
|
-
radius?: InputRadius;
|
|
18
|
-
/** Etiqueta del campo */
|
|
19
|
-
label?: ReactNode;
|
|
20
|
-
/** Placeholder del input */
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
/** Valor controlado (string ISO: YYYY-MM-DD) */
|
|
23
|
-
value?: string;
|
|
24
|
-
/** Valor inicial no controlado */
|
|
25
|
-
defaultValue?: string;
|
|
26
|
-
/** Descripción o texto de ayuda */
|
|
27
|
-
description?: ReactNode;
|
|
28
|
-
/** Mensaje de error personalizado */
|
|
29
|
-
errorMessage?: ReactNode | ((v: ResultadoValidacion) => ReactNode);
|
|
30
|
-
/** Contenido al inicio del input */
|
|
31
|
-
startContent?: ReactNode;
|
|
32
|
-
/** Si el campo es requerido */
|
|
33
|
-
isRequired?: boolean;
|
|
34
|
-
/** Si el campo es de solo lectura */
|
|
35
|
-
isReadOnly?: boolean;
|
|
36
|
-
/** Si el campo está deshabilitado */
|
|
37
|
-
isDisabled?: boolean;
|
|
38
|
-
/** Si el campo es inválido */
|
|
39
|
-
isInvalid?: boolean;
|
|
40
|
-
/** Estado de validación manual */
|
|
41
|
-
validationState?: 'valid' | 'invalid';
|
|
42
|
-
/** Función de validación personalizada */
|
|
43
|
-
validate?: (value: string) => ValidationResult;
|
|
44
|
-
/** Si el input ocupa todo el ancho */
|
|
45
|
-
fullWidth?: boolean;
|
|
46
|
-
/** Deshabilita animaciones */
|
|
47
|
-
disableAnimation?: boolean;
|
|
48
|
-
/** Fecha mínima seleccionable (YYYY-MM-DD) */
|
|
49
|
-
min?: string;
|
|
50
|
-
/** Fecha máxima seleccionable (YYYY-MM-DD) */
|
|
51
|
-
max?: string;
|
|
52
|
-
/** Clases CSS personalizadas */
|
|
53
|
-
classNames?: {
|
|
54
|
-
base?: string;
|
|
55
|
-
label?: string;
|
|
56
|
-
inputWrapper?: string;
|
|
57
|
-
innerWrapper?: string;
|
|
58
|
-
input?: string;
|
|
59
|
-
description?: string;
|
|
60
|
-
errorMessage?: string;
|
|
61
|
-
};
|
|
62
|
-
/** Callback cuando cambia la fecha */
|
|
63
|
-
onChange?: (value: string) => void;
|
|
64
|
-
} & NativeInputProps;
|