easy-forms-core 1.2.13 → 1.2.14
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/easy-form.d.ts +8 -0
- package/dist/easy-form.js +186 -30
- package/dist/easy-form.js.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +186 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/easy-form.d.ts
CHANGED
|
@@ -358,6 +358,10 @@ interface OTPField extends BaseField {
|
|
|
358
358
|
* Unión de todos los tipos de campos
|
|
359
359
|
*/
|
|
360
360
|
type Field = TextField | PasswordField | NumberField | TextareaField | SelectField | CheckboxField | RadioField | SwitchField | DateField | FileField | FileDropField | MapField | RatingField | SliderField | ColorpickerField | ArrayField | GroupField | RowField | CustomField | QuantityField | AccordionSelectField | ImageGridSelectField | OTPField;
|
|
361
|
+
/**
|
|
362
|
+
* Estilos visuales del stepper
|
|
363
|
+
*/
|
|
364
|
+
type StepStyle = 'default' | 'tabs' | 'buttons' | 'timeline' | 'none';
|
|
361
365
|
/**
|
|
362
366
|
* Step para formularios wizard
|
|
363
367
|
*/
|
|
@@ -365,6 +369,8 @@ interface Step {
|
|
|
365
369
|
title: string;
|
|
366
370
|
description?: string;
|
|
367
371
|
fields: Field[];
|
|
372
|
+
/** Estilo visual del stepper para este step */
|
|
373
|
+
stepStyle?: StepStyle;
|
|
368
374
|
}
|
|
369
375
|
/**
|
|
370
376
|
* Tipos de temas disponibles
|
|
@@ -423,6 +429,8 @@ interface FormSchema {
|
|
|
423
429
|
direction?: 'vertical' | 'horizontal';
|
|
424
430
|
/** Configuración de persistencia/autosave del formulario */
|
|
425
431
|
persistence?: PersistenceConfig;
|
|
432
|
+
/** Estilo visual del stepper (aplica a todos los steps): 'default' | 'tabs' | 'buttons' | 'timeline' | 'none' */
|
|
433
|
+
stepStyle?: StepStyle;
|
|
426
434
|
}
|
|
427
435
|
/**
|
|
428
436
|
* Configuración de persistencia del formulario
|