Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
Prepare v7.0.0 release (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
lognaturel authored Feb 8, 2023
1 parent 885dde9 commit 0304971
Show file tree
Hide file tree
Showing 184 changed files with 3,871 additions and 2,821 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [7.0.0] - 2023-02-08

- **BREAKING CHANGE**: Removed IE11 support (#946)
- Fix: rank widget on touch devices (#947)
- Fix: undesired autocompletion of manually entered incomplete month-year (#944)
- Optimize expensive XPath expressions in HTML transform (enketo-transformer#165)

## [6.1.7] - 2022-12-21

- Fix: integer and decimal widgets remain visible when form language changes (#937)
Expand All @@ -13,7 +20,6 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Do not update image file on blur if canvas is empty (#931)
- Fix calculation of nested repeat counts in >1 outer repeat instances (#935)


## [6.1.5] - 2022-12-06

- Fix: allow arbitrary precision decimal values (#932)
Expand Down
2 changes: 1 addition & 1 deletion docs/AnalogScaleWidget.html

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/AutocompleteSelectpicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Columns.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Comment.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DatepickerExtended.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DatepickerMobile.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DatepickerNative.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DatepickerNativeIos.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DatetimepickerExtended.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DesktopSelectpicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/DrawWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Filepicker.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Form.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/FormLogicError.html

Large diffs are not rendered by default.

243 changes: 41 additions & 202 deletions docs/FormModel.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Geopicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ImageMap.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ImageViewer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/LikertItem.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/MediaPicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/MobileSelectPicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/MyWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Nodeset.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/NoteWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/NumberInput.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Radiopicker.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/RangeWidget.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/RankWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/RatingWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TableWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TextMaxWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TextPrintWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TextareaWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ThousandsSeparatorWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TimepickerExtended.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/TranslatedError.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/UrlWidget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/Widget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-ConstructorParameters.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Exclude.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Extract.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-InstanceType.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-NonNullable.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Omit.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-OmitThisParameter.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Parameters.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Partial.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Pick.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Readonly.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Record.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-Required.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-ReturnType.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-SignaturePad.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-ThisParameterType.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-ThisType.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/external-jQuery.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/global.html

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions docs/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_calculate.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_dom-utils.js.html

Large diffs are not rendered by default.

12 changes: 2 additions & 10 deletions docs/js_download-utils.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_event.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_fake-dialog.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_fake-translator.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_file-manager.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_form-logic-error.js.html

Large diffs are not rendered by default.

125 changes: 17 additions & 108 deletions docs/js_form-model.js.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/js_form.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_format.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_geolocation.js.html

Large diffs are not rendered by default.

18 changes: 6 additions & 12 deletions docs/js_input.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_itemset.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_language.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_nodeset.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_output.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_page.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_plugins.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_preload.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_print.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_progress.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_readonly.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_relevant.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_repeat.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_required.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_sniffer.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_support.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_timers.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_toc.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_translated-error.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_type-def.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_types.js.html

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions docs/js_utils.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_widget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_widgets-controller.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js_widgets.js.html

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions docs/js_xpath-evaluator-binding.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-calculate.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dialog.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dom-utils-elementDataStore.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-dom-utils.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-event.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-fake-translator.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-fileManager.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-format-time.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-format.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-input.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-itemset.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-language.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-output.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-pages.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-preloader.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-print.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-progress.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-readonly.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-relevant.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-repeat.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-required.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-sniffer-browser.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-sniffer-os.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-sniffer.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-support.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-toc.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.barcode.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.binary.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.date.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.datetime.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.decimal.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.geopoint.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.geoshape.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.geotrace.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.int.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.select.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.select1.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.string.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types-types.time.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-types.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/module-utils.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-widgets-controller-Collection.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-widgets-controller.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/module-widgets.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-00-getting-started.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-10-configuration.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-20-development.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-30-events.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-40-widgets.html

Large diffs are not rendered by default.

84 changes: 0 additions & 84 deletions docs/tutorial-90-ie11.html

This file was deleted.

2 changes: 1 addition & 1 deletion docs/widget_analog-scale_analog-scalepicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_big-image_image-viewer.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_columns_columns.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_comment_commentwidget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_date-mobile_datepicker-mobile.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_date-native-ios_datepicker-native-ios.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_date-native_datepicker-native.js.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/widget_date_datepicker-extended.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_datetime_datetimepicker-extended.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_draw_draw-widget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_example_my-widget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_file_filepicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_geo_geopicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_image-map_image-map.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_note_notewidget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_number-input_number-input.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_radio_radiopicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_range_range-widget.js.html

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion docs/widget_rank_rank-widget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_rating_rating.js.html

Large diffs are not rendered by default.

17 changes: 2 additions & 15 deletions docs/widget_select-autocomplete_autocomplete.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_select-desktop_selectpicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_select-likert_likertitem.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_select-media_select-media.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_select-mobile_selectpicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_table_tablewidget.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_text-max_text-max.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_text-print_text-print.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_textarea_textarea.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_thousands-sep_thousands-sep.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_time_timepicker-extended.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_time_timepicker.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/widget_url_url-widget.js.html

Large diffs are not rendered by default.

5,734 changes: 3,565 additions & 2,169 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "enketo-core",
"description": "Extensible Enketo form engine",
"homepage": "https://enketo.org",
"version": "6.1.7",
"version": "7.0.0",
"license": "Apache-2.0",
"os": [
"darwin",
Expand Down Expand Up @@ -55,20 +55,20 @@
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"docdash": "^1.2.0",
"enketo-transformer": "2.1.7",
"enketo-transformer": "2.2.1",
"esbuild": "^0.12.29",
"esbuild-plugin-alias": "^0.1.2",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "^36.0.0",
"grunt": "^1.5.3",
"grunt": "^1.6.1",
"grunt-concurrent": "^3.0.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-watch": "^1.1.0",
Expand All @@ -79,7 +79,7 @@
"grunt-shell": "^3.0.1",
"jsdoc": "^3.6.11",
"jsdoc-ts-utils": "^2.0.1",
"karma": "^6.3.20",
"karma": "^6.4.1",
"karma-chrome-launcher": "^3.1.1",
"karma-coverage": "^2.2.0",
"karma-esbuild": "^2.2.5",
Expand All @@ -91,7 +91,7 @@
"markdown-eslint-parser": "^1.2.1",
"mocha": "^9.2.2",
"node-sass": "^7.0.3",
"prettier": "^2.8.1",
"prettier": "^2.8.3",
"rimraf": "^3.0.2",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
Expand All @@ -109,7 +109,7 @@
"bootstrap-datepicker": "1.9.x",
"drag-drop-touch": "^1.3.1",
"html5sortable": "^0.13.3",
"jquery": "^3.6.2",
"jquery": "^3.6.3",
"jquery-touchswipe": "^1.6.19",
"leaflet": "^1.9.3",
"leaflet-draw": "github:enketo/Leaflet.draw#ff73078",
Expand Down
2 changes: 1 addition & 1 deletion src/js/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -1486,6 +1486,6 @@ Form.prototype.goToTarget = function (target) {
* @type {string}
* @default
*/
Form.requiredTransformerVersion = '2.1.7';
Form.requiredTransformerVersion = '2.2.1';

export { Form, FormModel };

0 comments on commit 0304971

Please sign in to comment.