easy-forms-core 1.2.14 → 1.2.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.
- package/dist/easy-form.d.ts +40 -0
- package/dist/easy-form.js +66 -40
- package/dist/easy-form.js.map +1 -1
- package/dist/index.d.ts +89 -1
- package/dist/index.js +74 -48
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/easy-form.d.ts
CHANGED
|
@@ -488,6 +488,10 @@ declare class EasyForm extends BrowserHTMLElement {
|
|
|
488
488
|
private persistenceDebounceTimer;
|
|
489
489
|
private pendingRestoreValues;
|
|
490
490
|
private isRestoringValues;
|
|
491
|
+
private completeTimeInterval;
|
|
492
|
+
private timeRemaining;
|
|
493
|
+
private timerStarted;
|
|
494
|
+
private timerExpired;
|
|
491
495
|
static get observedAttributes(): string[];
|
|
492
496
|
constructor();
|
|
493
497
|
/**
|
|
@@ -775,6 +779,14 @@ declare class EasyForm extends BrowserHTMLElement {
|
|
|
775
779
|
* Establece el estado de disabled
|
|
776
780
|
*/
|
|
777
781
|
set disabled(value: boolean);
|
|
782
|
+
/**
|
|
783
|
+
* Obtiene el tiempo límite en segundos
|
|
784
|
+
*/
|
|
785
|
+
get completeTime(): number | null;
|
|
786
|
+
/**
|
|
787
|
+
* Establece el tiempo límite en segundos
|
|
788
|
+
*/
|
|
789
|
+
set completeTime(value: number | null);
|
|
778
790
|
/**
|
|
779
791
|
* Configura estilos básicos
|
|
780
792
|
*/
|
|
@@ -807,6 +819,34 @@ declare class EasyForm extends BrowserHTMLElement {
|
|
|
807
819
|
* Limpia los datos de persistencia
|
|
808
820
|
*/
|
|
809
821
|
private clearPersistence;
|
|
822
|
+
/**
|
|
823
|
+
* Resetea el timer de complete-time
|
|
824
|
+
*/
|
|
825
|
+
private resetTimer;
|
|
826
|
+
/**
|
|
827
|
+
* Inicia el timer de complete-time
|
|
828
|
+
*/
|
|
829
|
+
private startTimer;
|
|
830
|
+
/**
|
|
831
|
+
* Actualiza la visualización del timer
|
|
832
|
+
*/
|
|
833
|
+
private updateTimerDisplay;
|
|
834
|
+
/**
|
|
835
|
+
* Maneja cuando el timer expira
|
|
836
|
+
*/
|
|
837
|
+
private handleTimerExpired;
|
|
838
|
+
/**
|
|
839
|
+
* Deshabilita todos los campos del formulario
|
|
840
|
+
*/
|
|
841
|
+
private disableAllFields;
|
|
842
|
+
/**
|
|
843
|
+
* Configura el event listener para iniciar el timer en el primer input
|
|
844
|
+
*/
|
|
845
|
+
private setupTimerInputListener;
|
|
846
|
+
/**
|
|
847
|
+
* Renderiza el display del timer
|
|
848
|
+
*/
|
|
849
|
+
private renderTimerDisplay;
|
|
810
850
|
}
|
|
811
851
|
|
|
812
852
|
export { EasyForm };
|