diff --git a/CHANGELOG.md b/CHANGELOG.md index ae925b59b..c987d9c52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [6.1.7] - 2022-12-21 + +- Fix: integer and decimal widgets remain visible when form language changes (#937) +- Fix: don't clear decimals when switching French -> English (#941) + ## [6.1.6] - 2022-12-15 - Do not update image file on blur if canvas is empty (#931) diff --git a/docs/AnalogScaleWidget.html b/docs/AnalogScaleWidget.html index 1f965bf83..b52144594 100644 --- a/docs/AnalogScaleWidget.html +++ b/docs/AnalogScaleWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/AutocompleteSelectpicker.html b/docs/AutocompleteSelectpicker.html index 1e9fd2dfa..a44e3b690 100644 --- a/docs/AutocompleteSelectpicker.html +++ b/docs/AutocompleteSelectpicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Columns.html b/docs/Columns.html index d2148dbe8..d74a68855 100644 --- a/docs/Columns.html +++ b/docs/Columns.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Comment.html b/docs/Comment.html index 01b27899c..8e28325d6 100644 --- a/docs/Comment.html +++ b/docs/Comment.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DatepickerExtended.html b/docs/DatepickerExtended.html index 4cbe91c71..5af9f55d4 100644 --- a/docs/DatepickerExtended.html +++ b/docs/DatepickerExtended.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DatepickerMobile.html b/docs/DatepickerMobile.html index 0902df49f..ef9844ca1 100644 --- a/docs/DatepickerMobile.html +++ b/docs/DatepickerMobile.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DatepickerNative.html b/docs/DatepickerNative.html index ba7e704c5..22a4986ae 100644 --- a/docs/DatepickerNative.html +++ b/docs/DatepickerNative.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DatepickerNativeIos.html b/docs/DatepickerNativeIos.html index 79531f755..d2c04944c 100644 --- a/docs/DatepickerNativeIos.html +++ b/docs/DatepickerNativeIos.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DatetimepickerExtended.html b/docs/DatetimepickerExtended.html index e6ac52adf..4b363cee0 100644 --- a/docs/DatetimepickerExtended.html +++ b/docs/DatetimepickerExtended.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DesktopSelectpicker.html b/docs/DesktopSelectpicker.html index bfab4dac7..f598f5f86 100644 --- a/docs/DesktopSelectpicker.html +++ b/docs/DesktopSelectpicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/DrawWidget.html b/docs/DrawWidget.html index 95594ffa0..80bbdc875 100644 --- a/docs/DrawWidget.html +++ b/docs/DrawWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Filepicker.html b/docs/Filepicker.html index 5fab40714..07b117bfd 100644 --- a/docs/Filepicker.html +++ b/docs/Filepicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Form.html b/docs/Form.html index 3e1485044..f7714a758 100644 --- a/docs/Form.html +++ b/docs/Form.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/FormLogicError.html b/docs/FormLogicError.html index 80389742d..f32920e70 100644 --- a/docs/FormLogicError.html +++ b/docs/FormLogicError.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/FormModel.html b/docs/FormModel.html index a89c5f4ad..36b0bdc1b 100644 --- a/docs/FormModel.html +++ b/docs/FormModel.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Geopicker.html b/docs/Geopicker.html index a8bed134d..cfdb361ba 100644 --- a/docs/Geopicker.html +++ b/docs/Geopicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/ImageMap.html b/docs/ImageMap.html index dec775a61..86501ff49 100644 --- a/docs/ImageMap.html +++ b/docs/ImageMap.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/ImageViewer.html b/docs/ImageViewer.html index d9419d549..aa17acd00 100644 --- a/docs/ImageViewer.html +++ b/docs/ImageViewer.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/LikertItem.html b/docs/LikertItem.html index e4145561e..7717a7bbf 100644 --- a/docs/LikertItem.html +++ b/docs/LikertItem.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/MediaPicker.html b/docs/MediaPicker.html index d7bbfdc8f..eee416558 100644 --- a/docs/MediaPicker.html +++ b/docs/MediaPicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/MobileSelectPicker.html b/docs/MobileSelectPicker.html index 79b427a89..e2e4ccc33 100644 --- a/docs/MobileSelectPicker.html +++ b/docs/MobileSelectPicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/MyWidget.html b/docs/MyWidget.html index a47bf4862..d56959b49 100644 --- a/docs/MyWidget.html +++ b/docs/MyWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Nodeset.html b/docs/Nodeset.html index 522749973..06be1a307 100644 --- a/docs/Nodeset.html +++ b/docs/Nodeset.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/NoteWidget.html b/docs/NoteWidget.html index 2141687ae..862a3fabe 100644 --- a/docs/NoteWidget.html +++ b/docs/NoteWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/NumberInput.html b/docs/NumberInput.html new file mode 100644 index 000000000..2441bb461 --- /dev/null +++ b/docs/NumberInput.html @@ -0,0 +1,749 @@ + + + + + + NumberInput - Enketo Core + + + + + + + + + + + + + + + + + + + + + + +
+ +

NumberInput

+ + + + + + + +
+ +
+ +

+ NumberInput +

+ + +
+ +
+ +
+ + + + + +

(abstract) new NumberInput(input, options)

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
input + + +HTMLInputElement + + + +
options + + +any + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + +

Extends

+ + + + +
    +
  • Widget.<HTMLInputElement>
  • +
+ + + + + + + + + + + + + + + +

Members

+ + + +

(abstract, static) numberType

+ + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + +

decimalCharacters :Set.<string>

+ + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
Type:
+ + + + + + + + + +

languageSelect :HTMLSelectElement|null

+ + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + +
Type:
+
    +
  • + +HTMLSelectElement +| + +null + + +
  • +
+ + + + + + + + + + +

Methods

+ + + + + + +

(static) condition(input)

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
input + + +HTMLInputElemnt + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

setReformattedValue(value)

+ + + + + + +
+ + +
Source:
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
value + + +number + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + +
+ +
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Radiopicker.html b/docs/Radiopicker.html index 56c14e1d7..10bbc96be 100644 --- a/docs/Radiopicker.html +++ b/docs/Radiopicker.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/RangeWidget.html b/docs/RangeWidget.html index b2e0cee3c..b91b9bf83 100644 --- a/docs/RangeWidget.html +++ b/docs/RangeWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/RankWidget.html b/docs/RankWidget.html index 17e2cd2fa..021f4aaf5 100644 --- a/docs/RankWidget.html +++ b/docs/RankWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/RatingWidget.html b/docs/RatingWidget.html index 964941ede..722fbc1eb 100644 --- a/docs/RatingWidget.html +++ b/docs/RatingWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TableWidget.html b/docs/TableWidget.html index 82bf5c5ab..65f55f835 100644 --- a/docs/TableWidget.html +++ b/docs/TableWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TextMaxWidget.html b/docs/TextMaxWidget.html index 632e91bab..37048c52e 100644 --- a/docs/TextMaxWidget.html +++ b/docs/TextMaxWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TextPrintWidget.html b/docs/TextPrintWidget.html index 28be9f274..fb682fc16 100644 --- a/docs/TextPrintWidget.html +++ b/docs/TextPrintWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TextareaWidget.html b/docs/TextareaWidget.html index 1723e04dc..dd557f9d1 100644 --- a/docs/TextareaWidget.html +++ b/docs/TextareaWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/ThousandsSeparatorWidget.html b/docs/ThousandsSeparatorWidget.html index fe2971b66..8637ff8a0 100644 --- a/docs/ThousandsSeparatorWidget.html +++ b/docs/ThousandsSeparatorWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TimepickerExtended.html b/docs/TimepickerExtended.html index 9386cad6e..43c55781d 100644 --- a/docs/TimepickerExtended.html +++ b/docs/TimepickerExtended.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/TranslatedError.html b/docs/TranslatedError.html index 7798cead4..c7af8703b 100644 --- a/docs/TranslatedError.html +++ b/docs/TranslatedError.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/UrlWidget.html b/docs/UrlWidget.html index a5b4c3fc4..cd330d28b 100644 --- a/docs/UrlWidget.html +++ b/docs/UrlWidget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/Widget.html b/docs/Widget.html index b65dbb235..8e9dca504 100644 --- a/docs/Widget.html +++ b/docs/Widget.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-ConstructorParameters.html b/docs/external-ConstructorParameters.html index 38db6c06e..6e74d00ec 100644 --- a/docs/external-ConstructorParameters.html +++ b/docs/external-ConstructorParameters.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Exclude.html b/docs/external-Exclude.html index 7615c6d4f..6e184a7d1 100644 --- a/docs/external-Exclude.html +++ b/docs/external-Exclude.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Extract.html b/docs/external-Extract.html index 049f073e1..cee39b09a 100644 --- a/docs/external-Extract.html +++ b/docs/external-Extract.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-InstanceType.html b/docs/external-InstanceType.html index faf1ba957..e19729470 100644 --- a/docs/external-InstanceType.html +++ b/docs/external-InstanceType.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-NonNullable.html b/docs/external-NonNullable.html index c05fb3ba0..15eacd182 100644 --- a/docs/external-NonNullable.html +++ b/docs/external-NonNullable.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Omit.html b/docs/external-Omit.html index dd8e0b833..d17397599 100644 --- a/docs/external-Omit.html +++ b/docs/external-Omit.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-OmitThisParameter.html b/docs/external-OmitThisParameter.html index 18b7401c0..d75ba796e 100644 --- a/docs/external-OmitThisParameter.html +++ b/docs/external-OmitThisParameter.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Parameters.html b/docs/external-Parameters.html index fe9693609..af24d5621 100644 --- a/docs/external-Parameters.html +++ b/docs/external-Parameters.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Partial.html b/docs/external-Partial.html index d538a5623..f42c0a28b 100644 --- a/docs/external-Partial.html +++ b/docs/external-Partial.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Pick.html b/docs/external-Pick.html index 767efd08d..86f250844 100644 --- a/docs/external-Pick.html +++ b/docs/external-Pick.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Readonly.html b/docs/external-Readonly.html index 0026507cb..ec23fd8ba 100644 --- a/docs/external-Readonly.html +++ b/docs/external-Readonly.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Record.html b/docs/external-Record.html index 4fd26696d..9695653ae 100644 --- a/docs/external-Record.html +++ b/docs/external-Record.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-Required.html b/docs/external-Required.html index 90b540e85..63a75e633 100644 --- a/docs/external-Required.html +++ b/docs/external-Required.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-ReturnType.html b/docs/external-ReturnType.html index 3ce6373de..ab82968bd 100644 --- a/docs/external-ReturnType.html +++ b/docs/external-ReturnType.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-SignaturePad.html b/docs/external-SignaturePad.html index 6031d97c0..1e92e21d1 100644 --- a/docs/external-SignaturePad.html +++ b/docs/external-SignaturePad.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-ThisParameterType.html b/docs/external-ThisParameterType.html index 86af07796..a4239ae9a 100644 --- a/docs/external-ThisParameterType.html +++ b/docs/external-ThisParameterType.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-ThisType.html b/docs/external-ThisType.html index ad63fdcce..98395f29c 100644 --- a/docs/external-ThisType.html +++ b/docs/external-ThisType.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/external-jQuery.html b/docs/external-jQuery.html index 164d31094..571731a47 100644 --- a/docs/external-jQuery.html +++ b/docs/external-jQuery.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

diff --git a/docs/global.html b/docs/global.html index 53b30768d..fe4262dbd 100644 --- a/docs/global.html +++ b/docs/global.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

@@ -193,75 +193,6 @@

(constant) -

decimalCharacters :Set.<string>

- - - - - -
- - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
Type:
- - - - - - - - -

(constant) getCurrentPosition

@@ -295,65 +226,6 @@

(constant) - - - - - - - - - - - - - - - - - - - - - - - - - - -

(abstract) numberType

- - - - - -
- - -
Source:
-
- - - - - - - - - - - - - - - - - - - - @@ -454,138 +326,6 @@
Type:

Methods

- - - - -

condition(input)

- - - - - - -
- - -
Source:
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
Parameters:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameTypeDescription
input - - -HTMLInputElemnt - - - -
- - - - - - - - - - - - - - - - - - - - diff --git a/docs/index.html b/docs/index.html index 56c8ba3e3..dae24aa23 100644 --- a/docs/index.html +++ b/docs/index.html @@ -32,7 +32,7 @@ -

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

+

Home

Github repo

Change log

Tutorials

Classes

Modules

Externals

Namespaces

Global

@@ -94,6 +94,7 @@

Releases

  • Run npm update
    • Check if node-forge has been updated and if so, verify encrypted submissions end-to-end
    • +
    • If enketo-transformer has been updated, change Form.requiredTransformerVersion
  • Run npm audit @@ -104,7 +105,6 @@

    Releases

  • Run npm i
  • Run npm test
  • Run npm run build-docs
  • -
  • If enketo-transformer has been updated, change Form.requiredTransformerVersion
  • Merge PR with all changes
  • Create GitHub release
  • Tag and publish the release diff --git a/docs/js_calculate.js.html b/docs/js_calculate.js.html index 3050e068b..6e4bd9ce9 100644 --- a/docs/js_calculate.js.html +++ b/docs/js_calculate.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_dom-utils.js.html b/docs/js_dom-utils.js.html index 281b69a3f..45917ca71 100644 --- a/docs/js_dom-utils.js.html +++ b/docs/js_dom-utils.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_download-utils.js.html b/docs/js_download-utils.js.html index 07bdc36b8..ddddc15d2 100644 --- a/docs/js_download-utils.js.html +++ b/docs/js_download-utils.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_event.js.html b/docs/js_event.js.html index f25658117..3ea254940 100644 --- a/docs/js_event.js.html +++ b/docs/js_event.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_fake-dialog.js.html b/docs/js_fake-dialog.js.html index 4bc5cf6fd..eec7ef5b2 100644 --- a/docs/js_fake-dialog.js.html +++ b/docs/js_fake-dialog.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_fake-translator.js.html b/docs/js_fake-translator.js.html index a8048a9f2..f8c7e60bc 100644 --- a/docs/js_fake-translator.js.html +++ b/docs/js_fake-translator.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_file-manager.js.html b/docs/js_file-manager.js.html index 4fd131626..cb010fe14 100644 --- a/docs/js_file-manager.js.html +++ b/docs/js_file-manager.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_form-logic-error.js.html b/docs/js_form-logic-error.js.html index 295a28a6d..87fb7ca3e 100644 --- a/docs/js_form-logic-error.js.html +++ b/docs/js_form-logic-error.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_form-model.js.html b/docs/js_form-model.js.html index 9b7135859..7ee65d47c 100644 --- a/docs/js_form-model.js.html +++ b/docs/js_form-model.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_form.js.html b/docs/js_form.js.html index 0670de1fa..0ed82c4e7 100644 --- a/docs/js_form.js.html +++ b/docs/js_form.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    @@ -116,7 +116,7 @@

    js/form.js

    this.nonRepeats = {}; this.all = {}; - this.options = typeof options !== 'object' ? {} : options; + this.options = options ?? {}; this.view = { $: $form, diff --git a/docs/js_format.js.html b/docs/js_format.js.html index 0f8cac180..1e9863ad1 100644 --- a/docs/js_format.js.html +++ b/docs/js_format.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_geolocation.js.html b/docs/js_geolocation.js.html index 0418f73ab..a4cf6bbe2 100644 --- a/docs/js_geolocation.js.html +++ b/docs/js_geolocation.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_input.js.html b/docs/js_input.js.html index a825ba41a..4010ce7f9 100644 --- a/docs/js_input.js.html +++ b/docs/js_input.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_itemset.js.html b/docs/js_itemset.js.html index 913dfbc5b..30c9e409f 100644 --- a/docs/js_itemset.js.html +++ b/docs/js_itemset.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_language.js.html b/docs/js_language.js.html index 993cfd382..915f509f5 100644 --- a/docs/js_language.js.html +++ b/docs/js_language.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_nodeset.js.html b/docs/js_nodeset.js.html index 273dc1662..254c2544c 100644 --- a/docs/js_nodeset.js.html +++ b/docs/js_nodeset.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_output.js.html b/docs/js_output.js.html index 48a900d01..55c68e013 100644 --- a/docs/js_output.js.html +++ b/docs/js_output.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_page.js.html b/docs/js_page.js.html index e086d90ba..a854eecef 100644 --- a/docs/js_page.js.html +++ b/docs/js_page.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_plugins.js.html b/docs/js_plugins.js.html index f99725434..b7cfc1ae4 100644 --- a/docs/js_plugins.js.html +++ b/docs/js_plugins.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_preload.js.html b/docs/js_preload.js.html index 4775a0725..c1a3c6a89 100644 --- a/docs/js_preload.js.html +++ b/docs/js_preload.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_print.js.html b/docs/js_print.js.html index c75268ab8..3ce5b09a0 100644 --- a/docs/js_print.js.html +++ b/docs/js_print.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_progress.js.html b/docs/js_progress.js.html index fc6159f87..0fd8f9af6 100644 --- a/docs/js_progress.js.html +++ b/docs/js_progress.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_readonly.js.html b/docs/js_readonly.js.html index aca3e9def..4a91245b9 100644 --- a/docs/js_readonly.js.html +++ b/docs/js_readonly.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_relevant.js.html b/docs/js_relevant.js.html index 027ed885b..e447ae1b7 100644 --- a/docs/js_relevant.js.html +++ b/docs/js_relevant.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_repeat.js.html b/docs/js_repeat.js.html index b70dfc1f1..f62a317cf 100644 --- a/docs/js_repeat.js.html +++ b/docs/js_repeat.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_required.js.html b/docs/js_required.js.html index 5346a1ff0..a14654a30 100644 --- a/docs/js_required.js.html +++ b/docs/js_required.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_sniffer.js.html b/docs/js_sniffer.js.html index a3238e955..e2ab84a0c 100644 --- a/docs/js_sniffer.js.html +++ b/docs/js_sniffer.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_support.js.html b/docs/js_support.js.html index 66e5fad4c..a315e0927 100644 --- a/docs/js_support.js.html +++ b/docs/js_support.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_timers.js.html b/docs/js_timers.js.html index dce75280b..5a50a1e70 100644 --- a/docs/js_timers.js.html +++ b/docs/js_timers.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_toc.js.html b/docs/js_toc.js.html index 03bd36fe2..9993830ad 100644 --- a/docs/js_toc.js.html +++ b/docs/js_toc.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_translated-error.js.html b/docs/js_translated-error.js.html index bb25b9c3e..ec3f8ed9c 100644 --- a/docs/js_translated-error.js.html +++ b/docs/js_translated-error.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_type-def.js.html b/docs/js_type-def.js.html index ef0100560..83c4a9a91 100644 --- a/docs/js_type-def.js.html +++ b/docs/js_type-def.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_types.js.html b/docs/js_types.js.html index d05878611..d58d25dbb 100644 --- a/docs/js_types.js.html +++ b/docs/js_types.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_utils.js.html b/docs/js_utils.js.html index fcfe7aa0b..2ef151e43 100644 --- a/docs/js_utils.js.html +++ b/docs/js_utils.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_widget.js.html b/docs/js_widget.js.html index 44e7e0f41..e3d56d931 100644 --- a/docs/js_widget.js.html +++ b/docs/js_widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_widgets-controller.js.html b/docs/js_widgets-controller.js.html index 35868f0e3..d23f73789 100644 --- a/docs/js_widgets-controller.js.html +++ b/docs/js_widgets-controller.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_widgets.js.html b/docs/js_widgets.js.html index 7874a8a97..1525814c0 100644 --- a/docs/js_widgets.js.html +++ b/docs/js_widgets.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/js_xpath-evaluator-binding.js.html b/docs/js_xpath-evaluator-binding.js.html index efffb33ab..30564c003 100644 --- a/docs/js_xpath-evaluator-binding.js.html +++ b/docs/js_xpath-evaluator-binding.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-calculate.html b/docs/module-calculate.html index eeda9e9fd..8dcf92ed3 100644 --- a/docs/module-calculate.html +++ b/docs/module-calculate.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-dialog.html b/docs/module-dialog.html index 1a81658be..b32e17b71 100644 --- a/docs/module-dialog.html +++ b/docs/module-dialog.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-dom-utils-elementDataStore.html b/docs/module-dom-utils-elementDataStore.html index 5ed25f993..d109c4101 100644 --- a/docs/module-dom-utils-elementDataStore.html +++ b/docs/module-dom-utils-elementDataStore.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-dom-utils.html b/docs/module-dom-utils.html index 9581c6b94..cba5378e9 100644 --- a/docs/module-dom-utils.html +++ b/docs/module-dom-utils.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-event.html b/docs/module-event.html index bd2a6b257..1d57f190c 100644 --- a/docs/module-event.html +++ b/docs/module-event.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-fake-translator.html b/docs/module-fake-translator.html index c699082d4..8cd1ef415 100644 --- a/docs/module-fake-translator.html +++ b/docs/module-fake-translator.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-fileManager.html b/docs/module-fileManager.html index bbdf4d31d..d975dfcc0 100644 --- a/docs/module-fileManager.html +++ b/docs/module-fileManager.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-format-time.html b/docs/module-format-time.html index 9f67299c2..9c111b028 100644 --- a/docs/module-format-time.html +++ b/docs/module-format-time.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-format.html b/docs/module-format.html index 357910535..4d29b9ec5 100644 --- a/docs/module-format.html +++ b/docs/module-format.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-input.html b/docs/module-input.html index 1d597a408..15c2632ae 100644 --- a/docs/module-input.html +++ b/docs/module-input.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-itemset.html b/docs/module-itemset.html index bd1f3e677..f74957b41 100644 --- a/docs/module-itemset.html +++ b/docs/module-itemset.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-language.html b/docs/module-language.html index b438b34e0..46ea513aa 100644 --- a/docs/module-language.html +++ b/docs/module-language.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-output.html b/docs/module-output.html index da46e0c13..75a166a1c 100644 --- a/docs/module-output.html +++ b/docs/module-output.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-pages.html b/docs/module-pages.html index ab1c36489..bb2912304 100644 --- a/docs/module-pages.html +++ b/docs/module-pages.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-preloader.html b/docs/module-preloader.html index d7a8d6157..a37eb40c3 100644 --- a/docs/module-preloader.html +++ b/docs/module-preloader.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-print.html b/docs/module-print.html index ec3674091..b9a9e7969 100644 --- a/docs/module-print.html +++ b/docs/module-print.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-progress.html b/docs/module-progress.html index 8f9fdfb64..0bd757e7d 100644 --- a/docs/module-progress.html +++ b/docs/module-progress.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-readonly.html b/docs/module-readonly.html index 0975702e8..93993ed77 100644 --- a/docs/module-readonly.html +++ b/docs/module-readonly.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-relevant.html b/docs/module-relevant.html index 43ec7941d..e26f7e1f2 100644 --- a/docs/module-relevant.html +++ b/docs/module-relevant.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-repeat.html b/docs/module-repeat.html index 651ccdb12..df5f189f4 100644 --- a/docs/module-repeat.html +++ b/docs/module-repeat.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-required.html b/docs/module-required.html index 6998eea16..d45b53d65 100644 --- a/docs/module-required.html +++ b/docs/module-required.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-sniffer-browser.html b/docs/module-sniffer-browser.html index cbc127e2c..a25f5ba84 100644 --- a/docs/module-sniffer-browser.html +++ b/docs/module-sniffer-browser.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-sniffer-os.html b/docs/module-sniffer-os.html index 94a694e95..5f8b9927f 100644 --- a/docs/module-sniffer-os.html +++ b/docs/module-sniffer-os.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-sniffer.html b/docs/module-sniffer.html index f4ec6be13..40ad675df 100644 --- a/docs/module-sniffer.html +++ b/docs/module-sniffer.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-support.html b/docs/module-support.html index 77409dcc8..e1fde7bf1 100644 --- a/docs/module-support.html +++ b/docs/module-support.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-toc.html b/docs/module-toc.html index c3ba73ff6..869ad5728 100644 --- a/docs/module-toc.html +++ b/docs/module-toc.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.barcode.html b/docs/module-types-types.barcode.html index 0751aabb1..684e94ca1 100644 --- a/docs/module-types-types.barcode.html +++ b/docs/module-types-types.barcode.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.binary.html b/docs/module-types-types.binary.html index 3f4742326..77bdb2f8f 100644 --- a/docs/module-types-types.binary.html +++ b/docs/module-types-types.binary.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.date.html b/docs/module-types-types.date.html index 15d7d0a6c..7cb294d12 100644 --- a/docs/module-types-types.date.html +++ b/docs/module-types-types.date.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.datetime.html b/docs/module-types-types.datetime.html index e0b8e20f0..e61110958 100644 --- a/docs/module-types-types.datetime.html +++ b/docs/module-types-types.datetime.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.decimal.html b/docs/module-types-types.decimal.html index f146d31d5..fa468fa18 100644 --- a/docs/module-types-types.decimal.html +++ b/docs/module-types-types.decimal.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.geopoint.html b/docs/module-types-types.geopoint.html index 80336275f..c46db2756 100644 --- a/docs/module-types-types.geopoint.html +++ b/docs/module-types-types.geopoint.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.geoshape.html b/docs/module-types-types.geoshape.html index afd75223a..6cfeb1541 100644 --- a/docs/module-types-types.geoshape.html +++ b/docs/module-types-types.geoshape.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.geotrace.html b/docs/module-types-types.geotrace.html index 534fd846e..831a27069 100644 --- a/docs/module-types-types.geotrace.html +++ b/docs/module-types-types.geotrace.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.html b/docs/module-types-types.html index 9f93c0463..68d9d2303 100644 --- a/docs/module-types-types.html +++ b/docs/module-types-types.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.int.html b/docs/module-types-types.int.html index 9882d989a..17e7f8725 100644 --- a/docs/module-types-types.int.html +++ b/docs/module-types-types.int.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.select.html b/docs/module-types-types.select.html index 2a3d40949..765fd9ad5 100644 --- a/docs/module-types-types.select.html +++ b/docs/module-types-types.select.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.select1.html b/docs/module-types-types.select1.html index 071577001..aa6419e3b 100644 --- a/docs/module-types-types.select1.html +++ b/docs/module-types-types.select1.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.string.html b/docs/module-types-types.string.html index 2dcc222e9..9cd9d3e65 100644 --- a/docs/module-types-types.string.html +++ b/docs/module-types-types.string.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types-types.time.html b/docs/module-types-types.time.html index e56c37a36..ef365b1f8 100644 --- a/docs/module-types-types.time.html +++ b/docs/module-types-types.time.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-types.html b/docs/module-types.html index 2b94006de..951b9cf12 100644 --- a/docs/module-types.html +++ b/docs/module-types.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-utils.html b/docs/module-utils.html index deebbf94c..fbbf15d6f 100644 --- a/docs/module-utils.html +++ b/docs/module-utils.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-widgets-controller-Collection.html b/docs/module-widgets-controller-Collection.html index 220213a3e..fc2ea926b 100644 --- a/docs/module-widgets-controller-Collection.html +++ b/docs/module-widgets-controller-Collection.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-widgets-controller.html b/docs/module-widgets-controller.html index d5226a730..27b2df11f 100644 --- a/docs/module-widgets-controller.html +++ b/docs/module-widgets-controller.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module-widgets.html b/docs/module-widgets.html index 48600e89d..26a021bdf 100644 --- a/docs/module-widgets.html +++ b/docs/module-widgets.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/module.exports.html b/docs/module.exports.html deleted file mode 100644 index 0bce5f24b..000000000 --- a/docs/module.exports.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - exports - Enketo Core - - - - - - - - - - - - - - - - - - - - - - -
    - -

    exports

    - - - - - - - -
    - -
    - -

    - exports -

    - - -
    - -
    - -
    - - - - - -

    (abstract) new exports(input, options)

    - - - - - - -
    - - -
    Source:
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - - - - - - - - - - - - -
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    input - - -HTMLInputElement - - - -
    options - - -any - - - -
    - - - - - - - - - - - - - - - - - - - - -
    - - - -

    Extends

    - - - - -
      -
    • Widget.<HTMLInputElement>
    • -
    - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - - - - -
    - -
    - - - - - - - - - - - - - \ No newline at end of file diff --git a/docs/tutorial-00-getting-started.html b/docs/tutorial-00-getting-started.html index 04e928fef..fd4b2f520 100644 --- a/docs/tutorial-00-getting-started.html +++ b/docs/tutorial-00-getting-started.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/tutorial-10-configuration.html b/docs/tutorial-10-configuration.html index 56cb90cea..3a194cb7b 100644 --- a/docs/tutorial-10-configuration.html +++ b/docs/tutorial-10-configuration.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/tutorial-20-development.html b/docs/tutorial-20-development.html index 36d2124bc..56730018f 100644 --- a/docs/tutorial-20-development.html +++ b/docs/tutorial-20-development.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/tutorial-30-events.html b/docs/tutorial-30-events.html index e77c8162d..29979ff27 100644 --- a/docs/tutorial-30-events.html +++ b/docs/tutorial-30-events.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/tutorial-40-widgets.html b/docs/tutorial-40-widgets.html index 26c91ea2e..5fef5c272 100644 --- a/docs/tutorial-40-widgets.html +++ b/docs/tutorial-40-widgets.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/tutorial-90-ie11.html b/docs/tutorial-90-ie11.html index 9904663ae..f37085706 100644 --- a/docs/tutorial-90-ie11.html +++ b/docs/tutorial-90-ie11.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_analog-scale_analog-scalepicker.js.html b/docs/widget_analog-scale_analog-scalepicker.js.html index b5afd9add..9dc1f8ebf 100644 --- a/docs/widget_analog-scale_analog-scalepicker.js.html +++ b/docs/widget_analog-scale_analog-scalepicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_big-image_image-viewer.js.html b/docs/widget_big-image_image-viewer.js.html index 37fbfce7e..f09e6c577 100644 --- a/docs/widget_big-image_image-viewer.js.html +++ b/docs/widget_big-image_image-viewer.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_columns_columns.js.html b/docs/widget_columns_columns.js.html index a620f2002..02db7a939 100644 --- a/docs/widget_columns_columns.js.html +++ b/docs/widget_columns_columns.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_comment_commentwidget.js.html b/docs/widget_comment_commentwidget.js.html index 11ca520c7..3f6101aac 100644 --- a/docs/widget_comment_commentwidget.js.html +++ b/docs/widget_comment_commentwidget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_date-mobile_datepicker-mobile.js.html b/docs/widget_date-mobile_datepicker-mobile.js.html index 478b52585..2efb460ed 100644 --- a/docs/widget_date-mobile_datepicker-mobile.js.html +++ b/docs/widget_date-mobile_datepicker-mobile.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_date-native-ios_datepicker-native-ios.js.html b/docs/widget_date-native-ios_datepicker-native-ios.js.html index 57b7184ba..05f7661be 100644 --- a/docs/widget_date-native-ios_datepicker-native-ios.js.html +++ b/docs/widget_date-native-ios_datepicker-native-ios.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_date-native_datepicker-native.js.html b/docs/widget_date-native_datepicker-native.js.html index cb7fe5305..210459081 100644 --- a/docs/widget_date-native_datepicker-native.js.html +++ b/docs/widget_date-native_datepicker-native.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_date_datepicker-extended.js.html b/docs/widget_date_datepicker-extended.js.html index 822c665e4..468bfee5f 100644 --- a/docs/widget_date_datepicker-extended.js.html +++ b/docs/widget_date_datepicker-extended.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_datetime_datetimepicker-extended.js.html b/docs/widget_datetime_datetimepicker-extended.js.html index e4853a1ba..aa0de8875 100644 --- a/docs/widget_datetime_datetimepicker-extended.js.html +++ b/docs/widget_datetime_datetimepicker-extended.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_draw_draw-widget.js.html b/docs/widget_draw_draw-widget.js.html index 2c4d71195..86cd338ea 100644 --- a/docs/widget_draw_draw-widget.js.html +++ b/docs/widget_draw_draw-widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_example_my-widget.js.html b/docs/widget_example_my-widget.js.html index 9cdfdf7f9..7c4926fb0 100644 --- a/docs/widget_example_my-widget.js.html +++ b/docs/widget_example_my-widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_file_filepicker.js.html b/docs/widget_file_filepicker.js.html index aa66b6386..a38c070ad 100644 --- a/docs/widget_file_filepicker.js.html +++ b/docs/widget_file_filepicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_geo_geopicker.js.html b/docs/widget_geo_geopicker.js.html index a32bdc74b..5935c0b2c 100644 --- a/docs/widget_geo_geopicker.js.html +++ b/docs/widget_geo_geopicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_image-map_image-map.js.html b/docs/widget_image-map_image-map.js.html index 3eb0b1b77..7f44c26fc 100644 --- a/docs/widget_image-map_image-map.js.html +++ b/docs/widget_image-map_image-map.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_note_notewidget.js.html b/docs/widget_note_notewidget.js.html index fdeb7ac42..198cac0a0 100644 --- a/docs/widget_note_notewidget.js.html +++ b/docs/widget_note_notewidget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_number-input_number-input.js.html b/docs/widget_number-input_number-input.js.html index 766fabb56..db96e98de 100644 --- a/docs/widget_number-input_number-input.js.html +++ b/docs/widget_number-input_number-input.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    @@ -48,6 +48,7 @@

    widget/number-input/number-input.js

    import { t } from '../../js/fake-translator';
    +import events from '../../js/event';
     import inputModule from '../../js/input';
     import Widget from '../../js/widget';
     
    @@ -55,7 +56,7 @@ 

    widget/number-input/number-input.js

    * @abstract * @extends {Widget<HTMLInputElement>} */ -export default class NumberInput extends Widget { +class NumberInput extends Widget { /** * @abstract */ @@ -90,10 +91,27 @@

    widget/number-input/number-input.js

    ].every((className) => !question.classList.contains(className)); } - get formatter() { - const locales = Intl.getCanonicalLocales(navigator.languages); + get languages() { + const formLanguage = this.languageSelect?.value; - return Intl.NumberFormat(locales); + let validFormLanguage; + + try { + Intl.getCanonicalLocales(formLanguage); + + validFormLanguage = formLanguage; + } catch { + // If this fails, the form's selected language is likely not a valid + // code and will cause all other `Intl` usage to fail. + } + + return [validFormLanguage, ...navigator.languages].filter( + (language) => language != null + ); + } + + get language() { + return this.languages[0] ?? navigator.language; } /** @type {Set<string>} */ @@ -135,28 +153,49 @@

    widget/number-input/number-input.js

    constructor(input, options) { super(input, options); + const formElement = input.closest('form.or'); + + /** @type {HTMLSelectElement | null} */ + this.languageSelect = + formElement.parentElement?.querySelector('#form-languages'); + let { characterPattern } = this; const question = inputModule.getWrapNode(input); const message = document.createElement('div'); message.classList.add('invalid-value-msg', 'active'); - question.setAttribute('lang', navigator.language); - question.classList.add('active'); + + question.setAttribute('lang', this.language); question.append(message); this.question = question; this.message = message; - this.format(); + this.setReformattedValue(input.valueAsNumber); this.setValidity(); - window.addEventListener('languagechange', () => { - characterPattern = this.validCharacter; - question.setAttribute('lang', navigator.language); - this.format(); + const languageChanged = () => { + // Important: this value may become invalid if it isn't accessed + // before setting `lang`. This repros in Firefox if: + // + // 1. Your default language is English + // 2. Set a decimal value + // 3. Switch to French + // 4. Switch back to English + const { valueAsNumber } = input; + + characterPattern = this.characterPattern; + question.setAttribute('lang', this.language); + this.setReformattedValue(valueAsNumber); this.setValidity(); - }); + }; + + formElement.addEventListener( + events.ChangeLanguage().type, + languageChanged + ); + window.addEventListener('languagechange', languageChanged); input.addEventListener('keydown', (event) => { const { ctrlKey, isComposing, key, metaKey } = event; @@ -179,21 +218,20 @@

    widget/number-input/number-input.js

    }); } - format() { - const { formatter, element, pattern } = this; - const { valueAsNumber } = element; - - element.setAttribute('pattern', pattern.source); - - if (valueAsNumber !== '') { - const formatted = formatter.format(valueAsNumber); + /** + * @param {number} value + */ + setReformattedValue(value) { + const { element, pattern } = this; - element.value = formatted; + element.removeAttribute('pattern'); + element.value = ''; - if (element.value !== formatted) { - element.value = valueAsNumber; - } + if (!Number.isNaN(value)) { + element.value = value; } + + element.setAttribute('pattern', pattern); } setValidity() { @@ -206,6 +244,8 @@

    widget/number-input/number-input.js

    this.isValid = isValid; } } + +export default NumberInput;
    diff --git a/docs/widget_radio_radiopicker.js.html b/docs/widget_radio_radiopicker.js.html index 256702528..bfc80cbda 100644 --- a/docs/widget_radio_radiopicker.js.html +++ b/docs/widget_radio_radiopicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_range_range-widget.js.html b/docs/widget_range_range-widget.js.html index df9565122..dd40f3bd9 100644 --- a/docs/widget_range_range-widget.js.html +++ b/docs/widget_range_range-widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_rank_rank-widget.js.html b/docs/widget_rank_rank-widget.js.html index 251e14fdb..db24b10de 100644 --- a/docs/widget_rank_rank-widget.js.html +++ b/docs/widget_rank_rank-widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_rating_rating.js.html b/docs/widget_rating_rating.js.html index 0f6090d49..192fa570f 100644 --- a/docs/widget_rating_rating.js.html +++ b/docs/widget_rating_rating.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_select-autocomplete_autocomplete.js.html b/docs/widget_select-autocomplete_autocomplete.js.html index f70c2bcf3..9b071dda0 100644 --- a/docs/widget_select-autocomplete_autocomplete.js.html +++ b/docs/widget_select-autocomplete_autocomplete.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_select-desktop_selectpicker.js.html b/docs/widget_select-desktop_selectpicker.js.html index 6bd5f5949..f84b9eaf6 100644 --- a/docs/widget_select-desktop_selectpicker.js.html +++ b/docs/widget_select-desktop_selectpicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_select-likert_likertitem.js.html b/docs/widget_select-likert_likertitem.js.html index acaedc51e..36e23787e 100644 --- a/docs/widget_select-likert_likertitem.js.html +++ b/docs/widget_select-likert_likertitem.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_select-media_select-media.js.html b/docs/widget_select-media_select-media.js.html index cf5c3f54c..5c29c5679 100644 --- a/docs/widget_select-media_select-media.js.html +++ b/docs/widget_select-media_select-media.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_select-mobile_selectpicker.js.html b/docs/widget_select-mobile_selectpicker.js.html index 5e8f10984..844152cc7 100644 --- a/docs/widget_select-mobile_selectpicker.js.html +++ b/docs/widget_select-mobile_selectpicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_table_tablewidget.js.html b/docs/widget_table_tablewidget.js.html index 8c06d4827..706eab834 100644 --- a/docs/widget_table_tablewidget.js.html +++ b/docs/widget_table_tablewidget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_text-max_text-max.js.html b/docs/widget_text-max_text-max.js.html index 9e41735f7..f6c334eb8 100644 --- a/docs/widget_text-max_text-max.js.html +++ b/docs/widget_text-max_text-max.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_text-print_text-print.js.html b/docs/widget_text-print_text-print.js.html index 6a13d661a..237f322d5 100644 --- a/docs/widget_text-print_text-print.js.html +++ b/docs/widget_text-print_text-print.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_textarea_textarea.js.html b/docs/widget_textarea_textarea.js.html index 22ae17637..d475199c5 100644 --- a/docs/widget_textarea_textarea.js.html +++ b/docs/widget_textarea_textarea.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_thousands-sep_thousands-sep.js.html b/docs/widget_thousands-sep_thousands-sep.js.html index c2d2905f4..57cd601c7 100644 --- a/docs/widget_thousands-sep_thousands-sep.js.html +++ b/docs/widget_thousands-sep_thousands-sep.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_time_timepicker-extended.js.html b/docs/widget_time_timepicker-extended.js.html index 53758956d..d5d6feeee 100644 --- a/docs/widget_time_timepicker-extended.js.html +++ b/docs/widget_time_timepicker-extended.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_time_timepicker.js.html b/docs/widget_time_timepicker.js.html index dedc0f66a..851887636 100644 --- a/docs/widget_time_timepicker.js.html +++ b/docs/widget_time_timepicker.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/docs/widget_url_url-widget.js.html b/docs/widget_url_url-widget.js.html index 0772e1fda..d7f18d6cd 100644 --- a/docs/widget_url_url-widget.js.html +++ b/docs/widget_url_url-widget.js.html @@ -32,7 +32,7 @@ -

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    +

    Home

    Github repo

    Change log

    Tutorials

    Classes

    Modules

    Externals

    Namespaces

    Global

    diff --git a/package-lock.json b/package-lock.json index 0557dbb52..d2bcb74ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "enketo-core", - "version": "6.1.6", + "version": "6.1.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4eacd67e3..c8e1bde89 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "enketo-core", "description": "Extensible Enketo form engine", "homepage": "https://enketo.org", - "version": "6.1.6", + "version": "6.1.7", "license": "Apache-2.0", "os": [ "darwin",