@wirenboard/json-editor 2.5.3-wb13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/.env-dist +2 -0
  2. package/.eslintrc +7 -0
  3. package/.gitattributes +1 -0
  4. package/.github/PULL_REQUEST_TEMPLATE.md +9 -0
  5. package/.github/issue_template +25 -0
  6. package/.github/workflows/build.yml +58 -0
  7. package/.travis.yml +70 -0
  8. package/CHANGELOG.md +915 -0
  9. package/CONTRIBUTING.md +92 -0
  10. package/LICENSE +20 -0
  11. package/Makefile +26 -0
  12. package/README.md +1646 -0
  13. package/README_ADDON.md +573 -0
  14. package/UPGRADING.md +46 -0
  15. package/build/CssToJson.js +55 -0
  16. package/codecept.conf.js +35 -0
  17. package/config/.eslintrc +7 -0
  18. package/config/codeceptjs_helpers.js +139 -0
  19. package/config/helpers.js +10 -0
  20. package/config/karma.conf.js +93 -0
  21. package/config/readme.md +31 -0
  22. package/config/webpack.common.js +75 -0
  23. package/config/webpack.dev.js +15 -0
  24. package/config/webpack.nonmin.js +19 -0
  25. package/config/webpack.prod.js +25 -0
  26. package/dist/jsoneditor.js +14 -0
  27. package/dist/nonmin/jsoneditor.js +29097 -0
  28. package/dist/nonmin/jsoneditor.js.map +1 -0
  29. package/docs/ace_editor.html +56 -0
  30. package/docs/advanced.html +136 -0
  31. package/docs/basic.html +63 -0
  32. package/docs/basic_person.json +26 -0
  33. package/docs/choices.html +86 -0
  34. package/docs/cleave.html +132 -0
  35. package/docs/colorpicker.html +194 -0
  36. package/docs/css_integration.html +135 -0
  37. package/docs/datetime.html +305 -0
  38. package/docs/describedby.html +161 -0
  39. package/docs/enumsource.html +67 -0
  40. package/docs/images/categoriesDemo.png +0 -0
  41. package/docs/images/inheritance_tree.png +0 -0
  42. package/docs/images/jsoneditor.png +0 -0
  43. package/docs/imask.html +192 -0
  44. package/docs/index.html +579 -0
  45. package/docs/materialize_css.html +164 -0
  46. package/docs/meta_schema.json +705 -0
  47. package/docs/multiple_upload_base64.html +65 -0
  48. package/docs/person.json +73 -0
  49. package/docs/polyfills/assign.js +29 -0
  50. package/docs/radio.html +156 -0
  51. package/docs/recursive.html +170 -0
  52. package/docs/select2.html +99 -0
  53. package/docs/selectize.html +100 -0
  54. package/docs/signature.html +42 -0
  55. package/docs/starrating.html +137 -0
  56. package/docs/upload.html +131 -0
  57. package/docs/uuid.html +70 -0
  58. package/docs/wysiwyg.html +56 -0
  59. package/jasmine.json +11 -0
  60. package/json-editor-json-editor-2.5.3-wb13.tgz +0 -0
  61. package/package.json +100 -0
  62. package/release-notes.md +88 -0
  63. package/src/core.js +412 -0
  64. package/src/defaults.js +402 -0
  65. package/src/editor.js +707 -0
  66. package/src/editors/ace.js +89 -0
  67. package/src/editors/array/choices.js +103 -0
  68. package/src/editors/array/select2.js +110 -0
  69. package/src/editors/array/selectize.js +103 -0
  70. package/src/editors/array.css +9 -0
  71. package/src/editors/array.css.js +3 -0
  72. package/src/editors/array.js +818 -0
  73. package/src/editors/autocomplete.js +58 -0
  74. package/src/editors/base64.js +157 -0
  75. package/src/editors/button.js +97 -0
  76. package/src/editors/checkbox.js +95 -0
  77. package/src/editors/choices.css +3 -0
  78. package/src/editors/choices.css.js +3 -0
  79. package/src/editors/choices.js +69 -0
  80. package/src/editors/colorpicker.js +103 -0
  81. package/src/editors/datetime.js +141 -0
  82. package/src/editors/describedby.js +188 -0
  83. package/src/editors/enum.js +136 -0
  84. package/src/editors/hidden.js +127 -0
  85. package/src/editors/index.js +81 -0
  86. package/src/editors/info.js +20 -0
  87. package/src/editors/integer.js +19 -0
  88. package/src/editors/ip.js +36 -0
  89. package/src/editors/jodit.js +64 -0
  90. package/src/editors/multiple.js +409 -0
  91. package/src/editors/multiselect.js +218 -0
  92. package/src/editors/null.js +18 -0
  93. package/src/editors/number.js +51 -0
  94. package/src/editors/object.css +41 -0
  95. package/src/editors/object.css.js +3 -0
  96. package/src/editors/object.js +1290 -0
  97. package/src/editors/radio.js +111 -0
  98. package/src/editors/sceditor.js +72 -0
  99. package/src/editors/select.js +370 -0
  100. package/src/editors/select2.js +110 -0
  101. package/src/editors/selectize.js +112 -0
  102. package/src/editors/signature.js +113 -0
  103. package/src/editors/simplemde.js +100 -0
  104. package/src/editors/starrating.css +52 -0
  105. package/src/editors/starrating.css.js +3 -0
  106. package/src/editors/starrating.js +135 -0
  107. package/src/editors/stepper.js +27 -0
  108. package/src/editors/string.js +372 -0
  109. package/src/editors/table.js +516 -0
  110. package/src/editors/upload.js +321 -0
  111. package/src/editors/uuid.js +56 -0
  112. package/src/iconlib.js +24 -0
  113. package/src/iconlibs/bootstrap2.js +28 -0
  114. package/src/iconlibs/bootstrap3.js +28 -0
  115. package/src/iconlibs/fontawesome3.js +28 -0
  116. package/src/iconlibs/fontawesome4.js +28 -0
  117. package/src/iconlibs/fontawesome5.js +28 -0
  118. package/src/iconlibs/foundation2.js +24 -0
  119. package/src/iconlibs/foundation3.js +28 -0
  120. package/src/iconlibs/index.js +25 -0
  121. package/src/iconlibs/jqueryui.js +28 -0
  122. package/src/iconlibs/materialicons.js +49 -0
  123. package/src/iconlibs/openiconic.js +28 -0
  124. package/src/iconlibs/spectre.js +28 -0
  125. package/src/resolvers.js +128 -0
  126. package/src/schemaloader.js +408 -0
  127. package/src/style.css +150 -0
  128. package/src/style.css.js +3 -0
  129. package/src/templates/default.js +52 -0
  130. package/src/templates/ejs.js +13 -0
  131. package/src/templates/handlebars.js +1 -0
  132. package/src/templates/hogan.js +10 -0
  133. package/src/templates/index.js +21 -0
  134. package/src/templates/lodash.js +9 -0
  135. package/src/templates/markup.js +9 -0
  136. package/src/templates/mustache.js +9 -0
  137. package/src/templates/swig.js +1 -0
  138. package/src/templates/underscore.js +9 -0
  139. package/src/theme.js +659 -0
  140. package/src/themes/barebones.css +35 -0
  141. package/src/themes/barebones.css.js +3 -0
  142. package/src/themes/barebones.js +28 -0
  143. package/src/themes/bootstrap2.js +319 -0
  144. package/src/themes/bootstrap3.css +0 -0
  145. package/src/themes/bootstrap3.css.js +3 -0
  146. package/src/themes/bootstrap3.js +315 -0
  147. package/src/themes/bootstrap4.css +89 -0
  148. package/src/themes/bootstrap4.css.js +3 -0
  149. package/src/themes/bootstrap4.js +690 -0
  150. package/src/themes/bootstrap5.css.js +3 -0
  151. package/src/themes/foundation.js +569 -0
  152. package/src/themes/html.css +60 -0
  153. package/src/themes/html.css.js +3 -0
  154. package/src/themes/html.js +71 -0
  155. package/src/themes/index.js +28 -0
  156. package/src/themes/jqueryui.js +198 -0
  157. package/src/themes/materialize.js +426 -0
  158. package/src/themes/spectre.css +208 -0
  159. package/src/themes/spectre.css.js +3 -0
  160. package/src/themes/spectre.js +406 -0
  161. package/src/themes/tailwind.css +249 -0
  162. package/src/themes/tailwind.css.js +3 -0
  163. package/src/themes/tailwind.js +443 -0
  164. package/src/utilities.js +138 -0
  165. package/src/validator.js +877 -0
  166. package/src/validators/ip-validator.js +51 -0
  167. package/tests/Dockerfile +3 -0
  168. package/tests/README.md +48 -0
  169. package/tests/codeceptjs/codecept.json +42 -0
  170. package/tests/codeceptjs/constrains/if-then-else_test.js +143 -0
  171. package/tests/codeceptjs/core_test.js +217 -0
  172. package/tests/codeceptjs/editors/advanced_test.js +13 -0
  173. package/tests/codeceptjs/editors/array_any_of_test.js +50 -0
  174. package/tests/codeceptjs/editors/array_test.js +900 -0
  175. package/tests/codeceptjs/editors/button_test.js +35 -0
  176. package/tests/codeceptjs/editors/checkbox_test.js +21 -0
  177. package/tests/codeceptjs/editors/colorpicker_test.js +27 -0
  178. package/tests/codeceptjs/editors/datetime_test.js +33 -0
  179. package/tests/codeceptjs/editors/inheritance_test.js +11 -0
  180. package/tests/codeceptjs/editors/integer_test.js +84 -0
  181. package/tests/codeceptjs/editors/issues/issue-gh-812_test.js +32 -0
  182. package/tests/codeceptjs/editors/jodit_test.js +24 -0
  183. package/tests/codeceptjs/editors/multiselect_test.js +8 -0
  184. package/tests/codeceptjs/editors/number_test.js +82 -0
  185. package/tests/codeceptjs/editors/object_test.js +204 -0
  186. package/tests/codeceptjs/editors/option-no_default_values_test.js +42 -0
  187. package/tests/codeceptjs/editors/programmatic-changes_test.js +20 -0
  188. package/tests/codeceptjs/editors/radio_test.js +10 -0
  189. package/tests/codeceptjs/editors/rating_test.js +13 -0
  190. package/tests/codeceptjs/editors/select_test.js +22 -0
  191. package/tests/codeceptjs/editors/stepper_test.js +27 -0
  192. package/tests/codeceptjs/editors/string_test.js +118 -0
  193. package/tests/codeceptjs/editors/table-confirm-delete_test.js +67 -0
  194. package/tests/codeceptjs/editors/tabs_test.js +14 -0
  195. package/tests/codeceptjs/editors/uuid_test.js +21 -0
  196. package/tests/codeceptjs/editors/validation_test.js +14 -0
  197. package/tests/codeceptjs/meta-schema_test.js +17 -0
  198. package/tests/codeceptjs/schemaloader_test.js +13 -0
  199. package/tests/codeceptjs/steps.d.ts +13 -0
  200. package/tests/codeceptjs/steps_file.js +12 -0
  201. package/tests/codeceptjs/themes_test.js +519 -0
  202. package/tests/docker-compose.yml +34 -0
  203. package/tests/fixtures/basic_person.json +26 -0
  204. package/tests/fixtures/nested_object.json +26 -0
  205. package/tests/fixtures/person.json +55 -0
  206. package/tests/fixtures/recursive.json +8 -0
  207. package/tests/fixtures/some_types.json +32 -0
  208. package/tests/fixtures/string.json +3 -0
  209. package/tests/fixtures/validation.json +1140 -0
  210. package/tests/pages/_demo.html +475 -0
  211. package/tests/pages/advanced.html +137 -0
  212. package/tests/pages/anyof.html +80 -0
  213. package/tests/pages/array-anyof.html +142 -0
  214. package/tests/pages/array-checkboxes.html +41 -0
  215. package/tests/pages/array-choices.html +45 -0
  216. package/tests/pages/array-integers.html +37 -0
  217. package/tests/pages/array-move-events.html +61 -0
  218. package/tests/pages/array-multiselects.html +42 -0
  219. package/tests/pages/array-nested-arrays.html +40 -0
  220. package/tests/pages/array-numbers.html +37 -0
  221. package/tests/pages/array-objects.html +42 -0
  222. package/tests/pages/array-ratings.html +40 -0
  223. package/tests/pages/array-selectize.html +51 -0
  224. package/tests/pages/array-selects.html +36 -0
  225. package/tests/pages/array-strings.html +36 -0
  226. package/tests/pages/array.html +42 -0
  227. package/tests/pages/assets/pages.css +130 -0
  228. package/tests/pages/button-callbacks.html +77 -0
  229. package/tests/pages/checkbox-labels.html +114 -0
  230. package/tests/pages/colorpicker-no-3rd-party.html +43 -0
  231. package/tests/pages/colorpicker-use-vanilla-picker.html +50 -0
  232. package/tests/pages/core.html +118 -0
  233. package/tests/pages/datetime.html +76 -0
  234. package/tests/pages/form-name.html +108 -0
  235. package/tests/pages/grid-strict.html +311 -0
  236. package/tests/pages/grid.html +284 -0
  237. package/tests/pages/if-then-else-allOf.html +117 -0
  238. package/tests/pages/inheritance.html +76 -0
  239. package/tests/pages/integer.html +68 -0
  240. package/tests/pages/issues/_template.html +50 -0
  241. package/tests/pages/issues/issue-gh-812.html +110 -0
  242. package/tests/pages/issues/issue-gh-823-meta-schema.html +35 -0
  243. package/tests/pages/issues/issue-gh-848.html +81 -0
  244. package/tests/pages/meta_schema.json +705 -0
  245. package/tests/pages/number.html +89 -0
  246. package/tests/pages/object-no-additional-properties.html +65 -0
  247. package/tests/pages/object-no-duplicated-id.html +68 -0
  248. package/tests/pages/object-required-properties.html +236 -0
  249. package/tests/pages/object-with-dependencies-array.html +46 -0
  250. package/tests/pages/object-with-dependencies.html +60 -0
  251. package/tests/pages/object.html +79 -0
  252. package/tests/pages/oneof.html +103 -0
  253. package/tests/pages/option-no_default_values.html +58 -0
  254. package/tests/pages/programmatic-changes.html +120 -0
  255. package/tests/pages/read-only.html +105 -0
  256. package/tests/pages/select.html +41 -0
  257. package/tests/pages/stepper.html +59 -0
  258. package/tests/pages/string-ace-editor.html +52 -0
  259. package/tests/pages/string-cleave.html +46 -0
  260. package/tests/pages/string-custom-attributes.html +62 -0
  261. package/tests/pages/string-formats.html +52 -0
  262. package/tests/pages/string-formats2.html +57 -0
  263. package/tests/pages/string-jodit-editor.html +49 -0
  264. package/tests/pages/string-sceditor.html +62 -0
  265. package/tests/pages/table-move-events.html +56 -0
  266. package/tests/pages/table.html +46 -0
  267. package/tests/pages/tabs.html +131 -0
  268. package/tests/pages/themes.html +527 -0
  269. package/tests/pages/translate-property.html +247 -0
  270. package/tests/pages/urn.html +93 -0
  271. package/tests/pages/uuid.html +72 -0
  272. package/tests/pages/validation.html +99 -0
  273. package/tests/unit/.eslintrc +8 -0
  274. package/tests/unit/core.spec.js +309 -0
  275. package/tests/unit/defaults.spec.js +40 -0
  276. package/tests/unit/editor.spec.js +160 -0
  277. package/tests/unit/editors/array.spec.js +86 -0
  278. package/tests/unit/editors/object.spec.js +79 -0
  279. package/tests/unit/editors/table.spec.js +91 -0
  280. package/tests/unit/readme.md +35 -0
  281. package/tests/unit/schemaloader.spec.js +498 -0
  282. package/tests/unit/validator.spec.js +94 -0
  283. package/tests/unit/validators/ip-validator.spec.js +62 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,915 @@
1
+ ### Unreleased
2
+
3
+ - pass additional pathDepth parameter to getHeader() to allow themes to render headings hierarchically
4
+ - add Open Iconic iconlib
5
+ - switched CI to Github Actions
6
+ - read-only base64 editors respect enum values when calling setValue()
7
+
8
+ ### 2.5.3
9
+
10
+ - fix oneOf and anyOf error messages
11
+ - fix 159 set value
12
+ - Added more read-only tests for #831
13
+ - Update PULL_REQUEST_TEMPLATE.md
14
+ - fixes #922 - translate all buttons; translator no longer throws error
15
+ - fixes #159, #285, #820 - setting array with 0, false, or ""
16
+ - fixes #379 and #923 - strip #fragment from URI so json pointers resolve correctly
17
+ - add Open Iconic iconlib
18
+ - fix for #811 Property names
19
+
20
+ ### 2.5.2
21
+
22
+ - Fixed stepper editor safari bug
23
+ - Added release notes
24
+ - Fixed form_name_root option behaviour
25
+
26
+ ### 2.5.1
27
+
28
+ - Fix for #837 and chekboxes not displaying error messages #843
29
+
30
+ ### 2.5.0
31
+
32
+ - added new stepper editor (with default HTML & Bootstrap 4 Theme)
33
+ - fixed babel transpiling bug
34
+ - updated docs
35
+
36
+ ### 2.4.0
37
+
38
+ - added option `max_depth` used to specify the maximum depth of level's schema that have to be rendered
39
+ - added option `use_default_values` used to specify if default values based on the "type" of the property have to be used
40
+ - when `use_default_values` is false, number and integer fields have undefined value when input is empty
41
+ - when `use_default_values` is false, string fields have undefined value at the beginning. After that user edit the field, empty input is threated as an empty string
42
+ - Fixed using multiple dependencies for an editor. Fix #703
43
+ - Evaluate all dependencies for an editor to determine visibility
44
+ - Fixed meta-schema usage
45
+ - Added `min`, `max` for `dateTime`
46
+
47
+ ### 2.3.0
48
+
49
+ - Removed codeception container, use `codeceptjs` as node-dev module
50
+ - Enabled Bootstrap 3 theme/icons
51
+
52
+ ### 2.2.1-current
53
+
54
+ - AbstractEditor, AbstractTheme, AbstractIconlib had been removed, re-expose them
55
+ - fix static property #724 #723
56
+ - fix option remove_empty_properties #725 #728
57
+
58
+ ### 2.2.0
59
+
60
+ - Removed Class.js in favour Javascript class declaration.
61
+ - Ability to add style rules for editors (i.e. StarratingEditor)
62
+ - Modified build/CSSToJson.js to generate Javascript modules instead of Json files. This is helpful when importing JSONEditor directly as Javascript module without a build step.
63
+ - Unified how styles are loaded for themes and editors,
64
+ - Style rules are stored in class static property ‘rules’
65
+ - Rules are loaded as ESM Module,
66
+ - Generated @ build stage (stylesheet-filename.css.js) or
67
+ - Written manually.
68
+ - Cleaned src/defaults.js and move resolvers to a separate module, src/resolvers.js
69
+ - Cleaned how default themes, iconlibs, editors and templates are imported to JSONEditor
70
+ - Added ability to attache editors and themes style rules to the shadowRoot if the editor is inside a Web Component.
71
+ - Fix of #701 - editors/number.js and editors/integer.js don't change values when validation is failed
72
+ - Fix of #716 - add ignore for allOf to fall in line with existing ignores of anyOf/oneOf for additionalProperties validation
73
+ - Fix of #714 - Checkboxes inside object tables duplicate labels from heading
74
+ - Added copy button to arrays in table format
75
+
76
+ ### 2.1.0
77
+ - fixed vulnerability in "http-server" package (origin/feature/merges-20200227, feature/merges-20200227) - using latest node LTS
78
+ - extract css
79
+ - Add webpack plugin to support theme development
80
+ - css-loader can be omitted
81
+ - Fix some eslint warnings
82
+ - Remove comments from css in production mode (germanbisurgi-master) - updated readme
83
+ - lib loader
84
+ - better interactive page
85
+ - codeceptjs output directory added to npm ignore list
86
+
87
+ ### 2.0.0
88
+ - Fix of #643 - Allow use of themes not compiled directly into the build
89
+ - Removed Themes and IconSets that have not been updated to 2.0 format.
90
+ - Fix of #618 - links are placed AFTER the description. Now places the link BEFORE description (if available) or at bottom of container
91
+ - Changes to Vallilla Colorpicker editor.
92
+ - Added support for 'setValue'
93
+ - Added better enable/disable methods.
94
+ - Removed "onChange" function from list of required options so it can be overidden using schema options.
95
+ - Changed the update method (Otherwise buttons have no meaning). Now updating is done in "onDone" function, except if inline element. Then updating is done using "onChange" function.
96
+ - Fix of #629 - BS4 theme bug where basic tab was placed outside tabs container.
97
+ - Improved IMask support for `Date`, `Number`, `IMask.MaskedEnum`, `IMask.MaskedRange` and regular expression masks. #591
98
+ - Added support for recursive callback options.
99
+ - Fix of #692 - Resolves an issue where modal click detection was not working when the editor is attached inside a shadow DOM by changing the event target to use the path.
100
+
101
+ ### 2.0.0-alpha-1
102
+
103
+ - Added remove_button_labels option.
104
+ - Added Spectre Theme styling for `anyOf`, `oneOf` and `allOf` selectbox.
105
+ - Added filter to remove duplicate error messages. Duplicate error messages are now displayed as single error message with error count. (Duplicate error messages can occur when using `not`, `anyOf`, `oneOf` and `allOf` due to these are **conditions**, not properties.)
106
+ - Added new 2.x Theme "Spectre".
107
+ - Updated Theme "Tailwind" to 2.x format.
108
+ - Added sort option for dynamic enumSource.
109
+ - Added JavaScript callback templating support for enumSource: filter, title and value properties.
110
+ - Fix of #470 - Constant enumSource value specified as array of strings causes a template compilation error.
111
+ - Fix of #467 - child watches parent = infinite recursion.
112
+ - Select and Multiselect now uses requestAnimationFrame when applying special editor code to select field in order to prevent delays.
113
+ - Added missing validation messages and support for options infoText an compact in Multiselect editor.
114
+ - Refactored src/editors/multiselect.js and moved hardcoded support for Select2 into seperate editor files which then extends src/editors/multiselect.js
115
+ - Refactored src/editors/select.js and moved hardcoded support for special editors (Select2 and Selecttize) into seperate editor files which then extends src/editors/select.js
116
+ - Added new WYSIWYG editor [Jodit](https://xdsoft.net/jodit/) as a replacement for SCEditor.
117
+ - Jodit, Ace Editor, SimpleMDE and SCEditor can now be configured using global config options which can be overridden for single properties using schema options.
118
+ - Refactored src/editors/string.js and moved hardcoded support for special editors (Ace Editor, SimpleMDE and SCEditor) into seperate editor files which then extends src/editors/string.js.
119
+ - Fixed #408 - Now upload editor should be working again.
120
+ - Added Array events for table format, tests
121
+ - Fixed #408 - Now upload editor should be working again.
122
+ - Added [Choices.js](https://github.com/jshjohnson/Choices) support for array and select editors.
123
+ - Added 2 new config options: "disable_select2" and "disable_selectize" which can be used to disable select2/selectize on a specific property/field.
124
+ - Removed "rating" editor and updated "starrating" editor to accept/emulate "rating" editor options.
125
+ - Fixed #392 - Now setting checkbox value programmatically will trigger onchange correctly. (src/editors/checkbox.js)
126
+ - Fixed #231 - Now it is possible to use dots in field names (src/editor.js)
127
+ - Added new editor for uuid. If no uuid is supplied (startval), a random generated V4 uuid is created.
128
+ - Added support for compact option in src/objects.js to hide title.
129
+ - Added missing buttons to enable/disable state (src/array.js)
130
+ - Fixed problems with dependencies option not working with Boolean format (src/editor.js).
131
+ - Fixed problem with JSON and collapse buttons setting display: none; on button and not container. (src/object.js) So now compact in combination with hiding the buttons, will remove the "empty gap" in the layout.
132
+
133
+
134
+ ### 1.4.0-beta.0
135
+
136
+ - Updated docs
137
+ - cleanText function for theme descriptions
138
+ - Make sure array buttons are displayed without HTML
139
+ - Allow HTML in header if DOMPurify is loaded
140
+ - added link about ajaxCredentials
141
+ - Added missing options ajaxBase and ajaxCredentials
142
+ - #222 added enum support for selectize arrays, tests
143
+ - fix apply global selectize options to arraySelectize
144
+ - Added link to playground page
145
+ - Fix of #365
146
+ - Fix of #361
147
+ - link to radio button example
148
+ - Fix of #326
149
+ - add posibility to use radios instead of dropdown for enums + example
150
+ - Fixes for foundation 3 and 4 grids offsets
151
+ - changed “opt_in_optional_properties” to “show_opt_in”. When a property is added the property will be initially active and can be deactivated afterwards
152
+ - added documentation for show_opt_in
153
+ - added grid-strict documentation
154
+ - use label instead of span for labels
155
+ - Rows wraps columns if necessary; Added test for row_break, grid_columns (1-12) grid_offset (1-11); Added support for bootstrap 3, 4 and foundation.
156
+ - format grid-strict for objects (grid_columns, grid_offset, grid_break)
157
+ - DescribedBy Editor
158
+ - changed example from string to enum
159
+ - Added missing dependencies info
160
+ - Fix of #312 and #323
161
+ - Fix of #324
162
+ - Support underscore 1.7 and newer
163
+ - added missing Object Properties Translation
164
+ - DOMPurify support for description text #329
165
+ - updated packages (#339)
166
+
167
+ ---
168
+
169
+ > TODO: The changelog below is autogenerated and needs manual cleanup
170
+
171
+ ### (tag: 1.3.5)
172
+ - 1.3.5
173
+ - array editor editing events triggers (#317)
174
+ - Update issue_template (#316)
175
+ - json editor move event where child editors can subscribe (#315)
176
+ - Added link to ACE example and changed example options
177
+ - ACE Editor Example
178
+ - fixes ACE editor problems
179
+ - Fix of #309
180
+ - Make style uniform
181
+ - Move additionalProperties: false from schemaBase to each branch of schema.oneOf
182
+ - Use tabs format when items' value is an array of schemas, this improves readability
183
+ - Use the table format for arrays to make the editor layout more dense
184
+ - Remove duplicate keys in boolean and string schema properties
185
+ - Allow array of schemas in items keyword for arrays
186
+ - Fix default value in object and don't add default properties in options property
187
+ - Make Object the default JSON Schema selected, since it's the most used when getting started
188
+ - Remove the No Type schema to avoid ambiguities
189
+ - Make default require the correct value for any type
190
+ - Add properties section to null type definition
191
+ - Fix schemaBase definition
192
+ - Move schemaBase after all base data type definitions
193
+ - Added default upload handler (#301)
194
+
195
+ ### (tag: 1.3.4)
196
+ - 1.3.4
197
+ - on move event for editors that are moved within an array (and test) (#303)
198
+ - Add sqlserver editor format.
199
+ - Update README: introduce options.ace variable.
200
+ - Accept schema.options.ace for Ace Editor.
201
+ - Added CopyToClipboard in JSON Modal
202
+ - Added Cleave global instance + destroy
203
+ - Fix of #290
204
+ (origin/schmunk42-patch-1) - added link to issue template
205
+ - nonlocal #/definition/<something> refs support
206
+
207
+ ### (tag: 1.3.3)
208
+ - 1.3.3
209
+ - Fix of #162 (#282)
210
+ - Revert "Fix of #277"
211
+ - Revert "Fix of #277"
212
+ - Revert "Delete bootstrap4.js"
213
+ - Delete bootstrap4.js
214
+ - Fix of #277
215
+ - Fix of #277
216
+ - Fix of #276
217
+ - Update bootstrap4.js
218
+ - Fix bootstrap4 theme so errors are colored
219
+ - Close properties modal if clicked outside modal
220
+ - Fix of #262
221
+ - Added info on how to style buttons
222
+ - Fix of #270
223
+ - Revert fix of #270
224
+ - added typecasting on return value
225
+ - button title wrapped in span #148 - added classnames
226
+ - button title wrapped in span #148
227
+ - Revert "Set theme jekyll-theme-hacker"
228
+ - Revert "Set theme jekyll-theme-hacker"
229
+ - removed placeholder option in favour of inputAttributes
230
+ - fix of #270
231
+ - corrected uglify preserveComments
232
+ - Set theme jekyll-theme-hacker
233
+ - Set theme jekyll-theme-hacker
234
+ - Material Icons | Adding missed uploads icon
235
+ - Update CONTRIBUTING.md
236
+ - Rename function variable "protected"
237
+ - Added cleave lib to demo
238
+ - Updated CDN links
239
+
240
+ ### (tag: 1.3.2)
241
+ - 1.3.2
242
+ - fixed string-replace task
243
+
244
+ ### (tag: 1.3.1)
245
+ - 1.3.1
246
+ - fixed version bump
247
+
248
+ ### (tag: 1.3.0)
249
+ - 1.3.0
250
+ - fixed javascript path
251
+ - Moved function to editor.js + support for number and select
252
+ - Added support for cleave.js
253
+ - Added support for cleave.js
254
+ - Support fontawesome 5
255
+ - Merge remote-tracking branch 'json-editor/master'
256
+ - Revert commits to solve categories problems, simple fix to materialize.
257
+ - Improve performance of theme.setButtonText
258
+ - modified travis test
259
+ - Update string.js
260
+ - Update README.md
261
+ - upd
262
+ - Added documentation of inputAttributes option
263
+ - Modified inputAttributes format
264
+ - Actually run the version string replacement
265
+ - minor fixes to demo.html
266
+ - Updated interactive demo and replaced EpicEditor info with simpleMDE info i docs
267
+ - Remove deprecation notice from intro
268
+ - datetime update
269
+ - Fix of js link in signature editor example
270
+ - Updated links in README.MD
271
+ - Updated links in README.MD
272
+ - Added enable_array_copy to README.md
273
+ - Fixed setValue in datetime
274
+ - Fix of #169
275
+ - Fixed small bug in Foundation theme
276
+ - Fix of Tabs not working in Bootstrap4
277
+ - Added editor function to create valid ID values and fixed array.js + object.js
278
+ - Fix adding classes to DOMTokenList (#213)
279
+ - Refactoring className into classList (#210)
280
+ - Fixed bug: when no options are present the base64 editor will not load (#202)
281
+ - Fix of #140 - pattern of greater than 35 chars doesn't display properly
282
+
283
+ ### (tag: 1.2.1)
284
+ - 1.2.1
285
+ - added "Contributing Use-cases" (#199)
286
+ - Input custom attributes (#200)
287
+ - added wiki link (#198)
288
+ - Release 1.2.0 (#197)
289
+
290
+ ### (tag: 1.2.0)
291
+ - 1.2.0
292
+ - fixed vulnerability warnings
293
+ - updated build task (added "src/editors/signature.js" & code formatting) (#196)
294
+ - Added signature (canvas draw) editor using SignaturePad (#193)
295
+ - Improved base64.js editor to be able to upload multiple files to multiple array items (#183)
296
+ - Pmk65 matfix (#191)
297
+ - Added validation support for select (#190)
298
+ - fix of #131 (#189)
299
+ - fix of issues #30 and #185 (#186)
300
+ - Updated README.md & examples + starrating bugfix (#181)
301
+ - Pmk65 datetime (#176)
302
+ - Release (#174)
303
+
304
+ ### (tag: 1.1.0)
305
+ - 1.1.0
306
+ - updated lock file
307
+ - Pmk65 starrating (#173)
308
+ - Better comply with Bootstrap 4 grid columns spec (#164)
309
+ - Export as a UMD module (#161)
310
+ - Release 1.1.0-beta.4 (#153)
311
+
312
+ ### (tag: 1.1.0-beta.4)
313
+ - 1.1.0-beta.4
314
+ - Fixed array active tabs. Fixed reload image path bug (#152)
315
+ - Release 1.1.0-beta.3 (#151)
316
+
317
+ ### (tag: 1.1.0-beta.3)
318
+ - 1.1.0-beta.3
319
+ - fix refresh preview in array of update editors (#150)
320
+ - Array tests (#147)
321
+ - Read only fields and fix for issue #143 (#145)
322
+ - Fix categories format on bootstrap 3 (#101) (#103)
323
+ - relative filepaths + extended testsuite (#141)
324
+ - refactored tests. Added object tests. Added core tests. (#125)
325
+ - Added output element to display range values. Added tests for integers and numbers with default, number and range formats (#124)
326
+ - Confirm delete for table editors. Updated confirm messages. Renamed t… (#122)
327
+ - fix boolean bug + tests (#118)
328
+ - Release (#115)
329
+
330
+ ### (tag: 1.1.0-beta.2)
331
+ - 1.1.0-beta.2
332
+ - updated "docker-test" script
333
+ - prompt before delete + tests + read (#109)
334
+ - updated docs pages json-editor cdn from unplug to jsdelivr (#114)
335
+ - removed mocha testing packages, added standard js (#100)
336
+ - marked sceeditor array test as optional (#106)
337
+ - Hardened string-sceditor test (#104)
338
+ - step support for numbers, integers and numeric ranges (#99)
339
+ - Ace editor tests (#98)
340
+ - 1.1.0-beta.1 (#97)
341
+
342
+ ### (tag: 1.1.0-beta.1)
343
+ - 1.1.0-beta.1
344
+ - Update README.md (#95)
345
+ - Feature/bump version (#94)
346
+ - wysiwyg-sceditor tests (#93)
347
+ - Cleanup (#90)
348
+ (origin/marc7000-patch-1) - Update README.md
349
+
350
+ ### (tag: 1.1.0-beta.0)
351
+ - 1.1.0-beta.0
352
+ - Fix missing comma in resources list
353
+ (origin/feature/docker-test) - fixed npm script "docker-test"
354
+ - add prepare script; useful for e.g. git linking, see: https://docs.npmjs.com/misc/scripts#description (#75)
355
+ - Call event handlers with context
356
+ - Create issue_template
357
+ - Murb heatdutton changes cleaned (#85)
358
+ - added "password" into the format list in README
359
+ - Update README.md (#60)
360
+ - checkboxes display validation errors
361
+ - enum vs default bug fix
362
+
363
+ ### (tag: 1.0.0)
364
+ - 1.0.0
365
+ - added version & dockerized test scripts, cleanup
366
+ - added ".npmrc"
367
+ - added caching option for volume mounts
368
+ (feature/moved-example, develop) - moved example to docs
369
+ - Added missing var keyword
370
+ - Remove ECMAScript 6 for...of loop
371
+ - Allow required to overwrite required_by_default
372
+ - added "auto_upload" feature
373
+ - merged latest changes from dmstr-forks
374
+ - added .npmignore
375
+ - Fixed multiselect v4 detection
376
+ - Select2v4 API update w/ backwards compatibility
377
+ - debugging tests
378
+ - updated travis testing
379
+ - Merge remote-tracking branch 'pberger/develop' into develop
380
+ - Fixed linting error.
381
+ - Added color picker support, updated demo page.
382
+ - Tabbing support, added tabbed Cars section to source schema.
383
+ - Error messages support, styles fine tuning.
384
+ - Added select, checkboxes and modal support.
385
+ - Added support for Material Icons and Materialize CSS framework.
386
+ - Merge remote-tracking branch 'sk8/master' into develop
387
+ - Fixed multiselect v4 detection
388
+ - Select2v4 API update w/ backwards compatibility
389
+ - Fix: problem with Select2 v4
390
+ - ignored dist folder
391
+ - Merge remote-tracking branch 'm7000/feature/fixes' into develop
392
+ - updated repository info / url
393
+ - updated dist sources
394
+ - replaced deprecated "select2('val')" method
395
+ - updated dist sources
396
+ - fixed bracket
397
+ - added change handler
398
+ - updated test
399
+ - updated package.json; removed dist
400
+ - Merge remote-tracking branch 'sk8/v1.0.0' into develop
401
+ (origin/v1.0.0) - LV: Added travis badge. First steps toward #5
402
+ - LV: Added Travis CI build
403
+ - LV: Removed bower support. Updated build process
404
+ - LV: New namespace editor
405
+ (feature/testing) - updated testing setup
406
+ - updated packages (#28)
407
+ - Corrected borken Selectize link in README.md (#33)
408
+ - Develop -> Master (#27)
409
+ - Updated Readme
410
+ - Docs folder (#6)
411
+ - Clean up package.json
412
+ - Update README.md
413
+ - Added selenium tests with mocha
414
+ - Add dependency system
415
+ - Add empty object deletion
416
+ - fix for sending 0 and false with remove_empty_properties=true
417
+ - Added functionality to copy/paste objects from/to an array. The object will have a copy button and the array a paste button. It is not checking that the types match.
418
+ - Select editor onInputChange was not casting the input value, which caused the value not being found when the type was not a string.
419
+ - Casting more values to make the select editor safer.
420
+ - The select editor values type is not very consistent. The getValue function will cast it so that at least when saving the values the proper type will be used.
421
+ - Update theme.js
422
+ - Added hidden input support.
423
+ - Using strict comparison checks instead of type-converting comparison checks
424
+ - Resolved conflicts
425
+ - - better way to do it ...
426
+ - - added option ajaxCredentials to enable cors with credentials; set to true if ajax calls shall send credentials - added option ajaxBase to enable schema references to work eigther with or without cors; set to protocoll://host:port when api is served by different host
427
+ - Include expanded schemas options to include refs (#27)
428
+ - Add option to have info buttons (#24)
429
+ - Implemented template support for 'rel' property on href's schema #606 (#17)
430
+ - Update multiple.js (#21)
431
+ - Fixed to expand refs before creating root editor (#18)
432
+ - fix for issue 627 - selectize dropdown causes prop to dissapear - and issue 538 - create hardcoded to true (#19)
433
+ - Issue 488 fix disabled fields get enabled when using properties dropdown (#22)
434
+ - Resolved merge conflicts
435
+ - update submitted json when editing select fields via json manually to (#29)
436
+ - Copy Array Element Button (#4)
437
+ - Fixed #656; 2ndTime checked property not displayed in IE
438
+ - Fixed #656;2ndTime checked property not displayed in IE
439
+ - Cleaning with innerHTML='' causes issues on IE. So clean children one by one with removeChild (#11)
440
+ - proposed fixes for #391, #392
441
+ - proposed fix for #392
442
+ - proposed fix for #391
443
+ - :star::star::star::star::star: FEATURE: star rating editor
444
+ - Update with latest upstream
445
+ - Fix comment
446
+ - Support readonly option
447
+ - Do not use multiline strings
448
+ - Add editor for integer rating
449
+ - use hasOwnProperty instead of requiring a "true" value for startval (#30)
450
+ - added check for whether label is defined for checkbox (#8)
451
+ - Respect "minimum"/"maximum" and "exclusiveMinimum/Maximum" (#7)
452
+ - Undefined variable issue when using template (#15)
453
+ - Fix typo (#31)
454
+ - Fix for crash given schema {"enum":[null]} (#26)
455
+ - add option for lodash templates (#5)
456
+ - Add remove_empty_properties option in objects from pull request #565; fixes issue #450/#451; original pr repository is missing
457
+ - Changed grunt task name, serving files is also needed for the examples
458
+ - added minified files
459
+ - Changed tests to work with new grunt task
460
+ - Fix disappearing text when moving block, credit @xmiao
461
+ - Replace EpicEditor with SimpleMDE
462
+ - Added bootstrap 4 theme and option for it in demo.html
463
+ - Quickfix for Error "Cannot read property 'notifyWatchers' of null"
464
+
465
+ ### (tag: v0.7.28)
466
+ - Bump version to 0.7.28
467
+ - Add enum_titles support for multiselect editor. Closes #583 Closes #585
468
+ - Merge remote-tracking branch 'origin/pr/639' Closes #639
469
+ - Fix JS error "this.translate is not a function" (issue #637)
470
+ - Merge remote-tracking branch 'origin/pr/642' Closes #642
471
+ - fixes certain properties not showing up after delete row then add row
472
+
473
+ ### (tag: v0.7.27)
474
+ - Bump version to 0.7.27 Closes #605
475
+ - Merge remote-tracking branch 'origin/pr/605'
476
+ - make jsoneditor strict mode compliant
477
+ - Make JSONEditor strict mode compliant
478
+ - Update grunt, add reference meta schema, preliminary anyOf support, jshint fixes
479
+
480
+ ### (tag: v0.7.26)
481
+ - Version bump to 0.7.26
482
+ - Add option to set css classes for hyper schema links.
483
+ - Fix bugs - error when watch path is an empty array, keep values wasn't working as expected.
484
+ - Closes #611 - add display_required_only option
485
+ - Cleaned up display_required_only code, add option to demo.html.
486
+ - Add display_required_only option to editor
487
+ - Closes #600 - Add button translation for collapse and expand
488
+ - Add Expand translation & fix Collapse translation
489
+ - Closes #530 - fix for undefined matchKey on element Merge remote-tracking branch 'origin/pr/530'
490
+ - Fixed per feedback on PR
491
+ - fixed #522; broken check in theme processing
492
+ - Update docs to remove math.js as a required dependency
493
+
494
+ ### (tag: v0.7.25)
495
+ - Version bump to 0.7.25
496
+ - JSLint fixes, documentation updates.
497
+ - Undo dist file changes.
498
+ - fix removeInputError for foundation6 theme
499
+ - add foundation6 theme
500
+ - Remove redundant "disable_add_properties" option, clean up code, add to demo.html
501
+ - Add new options: * disable_array_delete_all_rows: hides the button to delete all rows in an array. Note that "disable_array_delete:true" over-rides "disable_array_delete_all_rows:false". * disable_array_delete_last_row: hides the button to delete the last row in an array. Note that "disable_array_delete:true" over-rides "disable_array_delete_last_rows:false". * disable_add_properties: hides the button to add properties.
502
+ - Cleanup download code, improve documentation.
503
+ - Add download attribute for link tag to transfer downloaded filename
504
+ - Merge remote-tracking branch 'origin/pr/574' Closes #574
505
+ - Add groovy support for editors
506
+ - Create jsoneditor.barebones-theme.js
507
+
508
+ ### (tag: v0.7.24)
509
+ - Version bump to 0.7.24
510
+ - Enhance regex error to show expected pattern
511
+ - proposed fix for #388 using math.js
512
+ - - added translation support for buttons shown by array editors
513
+
514
+ ### (tag: v0.7.23)
515
+ - Version bump to 0.7.23
516
+ - Add custom_validators option to set instance-specific custom validators. Fixes #503
517
+ - Move inline style to themes so it can be overridden. Fixes #509
518
+ - Infers that when type is not set but properties are defined, we can infer that type is actually object
519
+ - Fix gramatical error in validation message. Fixes #511
520
+ - Fire select2 change event on change instead of blur, reduce duplicate change firing for select editor. Closes #501
521
+ - Remove selectize from demo.html, tighten up resolver rules for selectizeArray
522
+ - Uses resolver for Selectize array editor
523
+ - Improved Selectize demo
524
+ - Avoid issue with splitting on commas
525
+ - Adds Selectize support for array and select editors
526
+
527
+ ### (tag: v0.7.22)
528
+ - Version bump to 0.7.22
529
+ - Allow spaces in template variables
530
+ - Avoid displaying string "undefined" when value is `undefined`
531
+ - Move switcher styles to theme.
532
+ - Check that regex matching template vars is not null
533
+ - Added the possibility filter on watched variables
534
+ - jslint fix
535
+ - optimize a few utility functions
536
+ - required as property list
537
+ - jshint
538
+ - optional select option on bool and enumerated properties
539
+ - Add documentation for `keep_oneof_values` option
540
+
541
+ ### (tag: v0.7.21)
542
+ - Version bump to 0.7.21
543
+ - Fix bug with enumSource
544
+ - Add class to property selector.
545
+ - Fixes #292
546
+ - Fix disabling additional properties per object
547
+ - Allow static items for enumSource
548
+ - Merge remote-tracking branch 'origin/pr/429'
549
+ - Remove moot `version` property from bower.json
550
+ - Update README
551
+
552
+ ### (tag: v0.7.20)
553
+ - Version bump to 0.7.20
554
+ - Fix vertical tabs in Foundation 5 theme. Fixes #401
555
+ - Allow url encoded $ref pointers. Fixes #402
556
+ - Fix oneOf bug with object length. Fixes #423
557
+ - Fix grunt watch to work with concat_sourcemap
558
+
559
+ ### (tag: v0.7.19)
560
+ - Bump version to 0.7.19
561
+ - Remove "container-{{key}}" class from object property editors. Fixes #419
562
+ - Drastic speed improvements for default template engine (up to 30x faster). Fixes #418. Alternative approach to #420.
563
+ - bugfix: schema with length field of integer type
564
+ - Generate sourcemap back to the original pre-concatenated files.
565
+ - No exceptions when adding unconstrained properties. Fixes #409.
566
+ - Fixed typo in CONTRIBUTING.md
567
+
568
+ ### (tag: v0.7.18)
569
+ - Version bump to 0.7.18
570
+ - Add support for additionalProperties schema. Fixes #285 #383
571
+ - Use window.jQuery instead of '$'. Add select2 multiselect example.
572
+ - Update multiselect.js
573
+ - Add validator context to custom_validators so that for example the this.translate method is usable within custom validators
574
+ - made IE9 compatible ; also works (sic) in IE8 - reserved keywords - jquery $isplainobject
575
+ - Allow HTML in Form Input Description
576
+
577
+ ### (tag: v0.7.17)
578
+ - Version bump to 0.7.17
579
+ - Add checkbox editor for boolean.
580
+ - Add html to description
581
+ - Update README.md
582
+ - Add type=button attribute to avoid <button> elements being treated as submit controls
583
+
584
+ ### (tag: v0.7.16)
585
+ - Version bump to 0.7.16
586
+ - Fix move down button of array editor being show even on the last element
587
+ - Fixed $ref handling in schema editing
588
+ - Type check element argument
589
+
590
+ ### (tag: v0.7.15)
591
+ - Version bump to 0.7.15
592
+ - Add option `keep_oneof_values`. Set to `false` to stop oneOf properties copying over when switching.
593
+ - Embed LZString library in demo.html. cdn.rawgit.com was not working reliably.
594
+ - Fix for when an object has a property named "length". Fixes #328
595
+
596
+ ### (tag: v0.7.14)
597
+ - Version bump to 0.7.14
598
+ - Fix table and propertyOrder support. Fixes #316
599
+ - Add documentation for various editor options.
600
+ - Fix null class being added to td elements.
601
+ - Add support for enum_titles with boolean fields.
602
+ - Fix bug wth array tab headerText not updating on startVal for all tabs.
603
+ - Add 'input_height' and 'expand_height' options for string based inputs (most useful for textareas).
604
+ - Add 'input_width' option for string based editors. Also works within table cells.
605
+ - Add 'grid_columns' option to explicitly set the width of a field.
606
+ - Update lz-string script url
607
+
608
+ ### (tag: v0.7.13)
609
+ - Version bump - 0.7.13
610
+ - Fixes #276, #277, #278
611
+ - use correct css class for latest foundation
612
+ - RequestAnimationFrame callbacks should double check if editor was destroyed meanwhile.
613
+
614
+ ### (tag: v0.7.12)
615
+ - Fix bug with object properties named "type". Fixes #183 Add setOption method (only works for `show_errors` currently). For #242 Make window.jsoneditor accessible from demo.html to help with debugging.
616
+
617
+ ### (tag: v0.7.11)
618
+ - Update documentation and version bump to 0.7.11
619
+ - Fix $extend to exclude prototype properties. Add fix for Firefox's Object.prototype.watch conflict. Fixes #256 Fixes #249
620
+
621
+ ### (tag: v0.7.10)
622
+ - Version bump to 0.7.10
623
+ - Add option to remove empty object properties from returned JSON. Fixes #220
624
+ - Fix array/minItems bug. Fixes #246
625
+ - Standardize all notify/change/watch calls. Fixes #247 Fixes #248
626
+ - Properly handle cases when number extremum is 0
627
+ - Register with npm
628
+
629
+ ### (tag: v0.7.9)
630
+ - Fix Select2 bugs, enum_titles support for strings, add Select2 example. Fixes #240 Related to #231
631
+
632
+ ### (tag: v0.7.8)
633
+ - Version bump 0.7.8
634
+ - Can now override sceditor options on a per-instance basis.
635
+ - Fix typo in enum editor. Add hide_display option to enum editor.
636
+ - Typo in filter property
637
+
638
+ ### (tag: v0.7.7)
639
+ - Version bump to 0.7.7
640
+ - Fix bug with no_additional_properties and nested arrays. Fixes #229
641
+ - Improve grid sizing of table and object editors. #224
642
+ - Fix LZString url in demo.
643
+ - Links are rendered using existing link editors
644
+ - Change format to url
645
+ - Allow custom title for download link
646
+ - Support readonly fields
647
+ - Only use upload editor if FileReader is available
648
+ - Move download link to separate the "current value" part from the "change value" part
649
+ - Disable upload button when upload is in progress
650
+ - Use the uploaded document URL as the download link text
651
+ - Use the format uri from the JSON Schema spec with an upload option for binary upload
652
+ - Handle failure
653
+ - Change file upload format to uploadUri
654
+ - Possibility to specify a theme
655
+ - Progress bar for Bootstrap2
656
+ - Progress bar for Foundation
657
+ - Progress bar for HTML5
658
+ - File upload example
659
+ - Add class for div with download link
660
+ - Create download link when available
661
+ - Upload callbacks grouped in callbacks object
662
+ - Progress bar updates for unknown remaining
663
+ - Add progress bar for Bootstrap3 theme
664
+ - Upload file success using configured upload handler
665
+ - Add upload editor based on base64
666
+
667
+ ### (tag: v0.7.6)
668
+ - Fix duplicate variable, bump version.
669
+ - Scopes the editor variable with var
670
+ - Fixes disabled properties and fixes property order
671
+ - Fix select2 support by moving initialization from `build` to `postBuild`.
672
+
673
+ ### (tag: v0.7.5)
674
+ - Add new WYSIWYG example. Version bump.
675
+ - Change table description format to match array's. Fixes #219
676
+ - Fix watched fields bug with string enum editor. Fixes #216
677
+ - Fix bug with the 0 not showing up in UI for integer fields. Fixes #215
678
+ - Use minLength and maxLength to determine grid columns for string editor. Fixes #212
679
+
680
+ ### (tag: v0.7.4)
681
+ - Make jshint more strict. Bump version number.
682
+ - Use proper "cssFloat" property for reserved word float (and CamelCase "marginLeft")
683
+ - Fix bug with headers not updating properly with oneOf. Fixes #203
684
+
685
+ ### (tag: v0.7.3)
686
+ - Fix typo in editor. Fixes #205
687
+ - Update CONTRIBUTING.md
688
+ - Create CONTRIBUTING.md
689
+
690
+ ### (tag: v0.7.2)
691
+ - Bump version number to 0.7.2
692
+ - number sanitizing allows scientific expression
693
+ - Start array title index at 1. Fixes #167
694
+ - Fixes #186 Array item form disappears when second to last item is deleted
695
+
696
+ ### (tag: v0.7.1)
697
+ - Add option for when to show validation errors. Changed default behavior to be on interaction. Fixes #194
698
+
699
+ ### (tag: v0.7.0)
700
+ - Don't submit a form when clicking a button. Allow JSON editor to be wrapped in form-tags (cherry picked from commit 7e73ccf)
701
+ - More "CSS skinnability" added class to "row", relates to issue #156 (cherry picked from commit bf2d3dd)
702
+ - Update demo to reflect my real age :)
703
+ - Add recursive schema and defaultProperties documentation. Change `complete.html` to `recursive.html` and just demonstrate the recursive schema support.
704
+ - Add support for defaultProprties, overhaul object properties modal, fix dynamic headers.
705
+ - New complete.html example (still a work in progress). More recursive schema fixes and code cleanup.
706
+ - More recursive schema work. Still needs work.
707
+ - Editor API restructure to enable easier recursive schema support.
708
+ - Partial support for recursive schemas. A lot of stuff is still broken.
709
+ - Initial setup of recursive schema support. DOESN'T WORK YET!
710
+
711
+ ### (tag: v0.6.19)
712
+ - Change validation error message for minLength: 1 to be "Value required". #158
713
+ - Fix checkbox alignment for Bootstrap 3.2.0
714
+ - Clean up string translation code. Rename `formatter` to `translate` to reduce naming confusion with the JSON Schema `format` keyword. Fixes #74
715
+ - Extracted the customization logic to a class that is instantiated in core.js. The instance is passed to the validator and the editors
716
+ - String customization OK for errors
717
+ - Extracted all messages from validator.js and added it to default.js associated with keys
718
+
719
+ ### (tag: v0.6.18)
720
+ - Add ability to set string format via options. #150
721
+ - update jsoneditor.js/jsoneditor.min.js
722
+ - put Array.isArray polyfill in ie9.js
723
+ - use Array.isArray() instead of instanceof Array
724
+
725
+ ### (tag: v0.6.17)
726
+ - Version bump.
727
+ - Allow for nested definitions. Fixes #127
728
+ - Fix collapsed option with array editor. Fixes #148
729
+
730
+ ### (tag: v0.6.16)
731
+ - Version bump.
732
+ - skip afterInputReady for temporary string editor
733
+ - Fix bug with multiselect and edit json button. Fixes #145
734
+ - Fix typo that was breaking arrays. Fixes #146
735
+
736
+ ### (tag: v0.6.15)
737
+ - Add options for hiding array controls (add row, delete row, move up/down). Fixes #139 Fix bug with table editor and minItems.
738
+ - Fix bug when multiselect is used within table editor. Fixes #141
739
+ - Fix table column ordering with `propertyOrder`. Fixes #143
740
+
741
+ ### (tag: v0.6.14)
742
+ - Version bump.
743
+ - Avoid "self" referring to "window"; adjust comment placement
744
+ - Add file upload editor for base64 strings.
745
+ - Change demo to use cdn.rawgit for lzstring library
746
+ - Change demo url to avoid abusing rawgit.com
747
+ - Fixes json in package.json
748
+
749
+ ### (tag: v0.6.13)
750
+ - Add propertyOrder support, fix SCEditor, fix validator ready bug.
751
+
752
+ ### (tag: v0.6.12)
753
+ - Add jshint to grunt build process. Remove CustomEvents check in utilities. Fixes #131 Add support for SCEditor initialization options. Bug fix in Class implementation checking for function toString support.
754
+ - HTML5 expects meta charset, and FF complains in console without it; should be before title in case special chars used within title
755
+
756
+ ### (tag: v0.6.11)
757
+ - Add disable_properties option, checkbox version of multiselect editor. Fixes #111 #105 #91
758
+
759
+ ### (tag: v0.6.10)
760
+ - Fix bug with validate API call.
761
+ - Fix validation when supplying value to validate()
762
+ - Update README.md
763
+
764
+ ### (tag: v0.6.9)
765
+ - Update bower version.
766
+ - Fix bugs with error messages not showing up. Fixes #114
767
+ - Add new multiselect editor for arrays of enumerated strings. Fixes #91
768
+ - Add 'hidden' option to all editors that stops it from being displayed in the UI.
769
+
770
+ ### (tag: v0.6)
771
+ - Fix #100
772
+ - Add bower.json file. For #101
773
+ - Add name attributes to form inputs so JSON Editor can be embedded in an HTML form.
774
+ - Fix bug with EpicEditor integration. Fixes #92
775
+ - Bump version number.
776
+ - Fixed default value when "type" is an array of types. Note: The expected default value should match the first type in the types array.
777
+ - Fix #93
778
+ - Performance improvement for multiple editor. Now using lazy loading of child editors.
779
+ - UI Improvements
780
+ - Now all buttons have a css-class specifying its function
781
+ - Fix bug with startval not firing change event on parent elements. Fixes #86
782
+ - Fix bug with link_watchers not being defined.
783
+ - Add support for hyper-schema `links` keyword.
784
+ - Fix error message when an invalid type is used. Add support for media keyword from Hyper Schema (for #68)
785
+ - Fix bug with constant values in enumSource.
786
+ - Fix bug with enumSource within array elements. For #82
787
+ - Add verbose form of enumSource property. Fixes #82
788
+ - Fix initial value for EpicEditor and Ace Editor.
789
+ - Integrate Ace editor for source code editing.
790
+ - Clean up demo code.
791
+ - Split IE9 polyfills to a separate file. For #79
792
+ - Fix dynamic header for objects.
793
+ - Fix bug with headerTemplate and bootstrap3 theme and tab arrays.
794
+ - Fix bug with enumSource watching a field before it's declared. Fixes #80
795
+ - Version bump.
796
+ - Enable/Disable buttons and links, update README and example.
797
+ - Basic implementation of enable/disable.
798
+ - Fix script src in validator test page.
799
+ - version bump
800
+ - Miscellaneous bug fixes for edge cases.
801
+ - Add filesize for production version to readme.
802
+ - Update README and examples. Fix a couple bugs.
803
+ - Fix bug with oneOf and registering editors.
804
+ - Add api methods for listening for ready/change events.
805
+ - Add backwards compatible syntax for setting JSON editor defaults.
806
+ - A bunch of bug fixes, performance improvements, and new api methods.
807
+ - Convert jqueryui theme to native javascript.
808
+ - Performance improvements and a few bug fixes.
809
+ - Fully remove jQuery dependency.
810
+ - Convert foundation themes and iconlibs to native javascript.
811
+ - Convert bootstrap2 and bootstrap3 themes to native javascript.
812
+ - Convert table, null, and enum editors to native javascript.
813
+ - Added native implementation of $.each and moved utilities to their own file.
814
+ - Add native implementation of $extend (http://andrewdupont.net/2009/08/28/deep-extending-objects-in-javascript/)
815
+ - Started converting to native javascript.
816
+ - Add support for Zepto (requires event and data modules only). First step to fully convert to native.
817
+ - Performance improvements with showing/hiding input validation errors with the bootstrap2 theme. Fixed order of properties when merging with $ref (before it was showing all the $ref properties first and then ones defined locally, not it does the opposite).
818
+ - Major performance improvements for large schemas (500% faster initialization in some cases).
819
+ - Performance improvements when deleting array elements from long arrays. Performance improvement when adding back previously deleted array elements.
820
+ - Fix bug with the multiple editor that wasn't choosing good display names for the drop down.
821
+ - Add support for dynamic headers. Fixes #67
822
+ - Fix typo with string format=textarea.
823
+ - Add support back for `collapsed` option. It was broken a while ago.
824
+ - Fixed bug with Validator.expandSchema not recursively expanding.
825
+ - Add validator support for required_by_default and no_additional_properties.
826
+ - Adding new `tabs` format for arrays.
827
+ - Moved example.html to demo.html and added examples directory. Fixed bug with minItems. Add support for relative URLs in $ref. Used to only support ones starting http://
828
+ - Clean up README overview and options
829
+ - Fix bug with string editor not always returning a string value when dynamic enums are used.
830
+ - Update README.md
831
+ - Improve styling of table and array editors. Fixes #64
832
+ - Add support for icon buttons. Fixes #65
833
+ - Fix bug with string editor and enumSource.
834
+ - Add support for the Select2 library.
835
+ - Add support for readOnly (version 4 hyper schema) and readonly (version 2 json schema) for string and select editors.
836
+ - Remove trailing comma.
837
+ - Fix padding around arrays in the Bootstrap2 theme.
838
+ - Fix bug with setting the value of an enumSource element before the select options have been set.
839
+ - Fix bug with watched fields not updating correctly within array rows.
840
+ - Add `no_additional_items` option for JSON Editor. Clean up documentation.
841
+ - Fix bug with `self` not being defined. Move `data-schematype` attribute to container instead of input.
842
+ - Add support for dynamic enum. Fixes #61
843
+ - Change `vars` to `watch` and moved it to AbstractEditor. Fixes #55
844
+ - Add editor support for allOf and extends. Fixes #49 Fix bug with refs not being expanded properly.
845
+ - Add editor support for disallow. Fixes #62 Add support for additional properties when setting the value for an object editor programatically. Clean up documentation.
846
+ - Add support for additionalProperties and patternProperties. Fixes #46 Clean up title controls for objects.
847
+ - Revert example page to use bootstrap.
848
+ - Show validation errors in the form. Fixes #43
849
+ - Update README.md
850
+ - Add enum support for booleans. Fixes #59 Move all select box logic to a 'select' editor and out of 'string'. Remove old 'boolean' editor and just use 'select' instead.
851
+ - Add support for editing markdown with EpicEditor. Fixes #57
852
+ - Add support for SCEditor for WYSIWYG editing of HTML and BBCode. For #57
853
+ - Add support for custom validation. Fixes #58
854
+ - Intelligently choose oneOf schema based on value being set. Fixes #56 Removed `editor` keyword. Fixes #54 Made validator synchronous by default and add `ajax` option. Fixes #53 Added `required_by_default` option. Cleaned up example code. Cleaned up documentation.
855
+ - Version bump.
856
+ - Add new `enum` editor that works for type `object` and `array`. Fixes #52 Fix small bug with boolean editor firing the `set` event too early.
857
+ - Add support for `oneOf` and better support for `type`. Fixes #48
858
+ - Fix broken null editor. Make all editors fire a set event when setValue is called. Make array editor work without items schema. Allow schema without type defined. Fix multiple editor when switching to array with a non-array value already set.
859
+ - Add editor support for min and max properties. Fixes #45
860
+ - Add full support for `items` and `additionalItems` keywords. Fixes #47
861
+ - Add editor support for pattern, minLength, and maxLength. Fixes #50
862
+ - Fix bug with required version 3 support.
863
+ - Made the Validator class self contained. Now, JSON Editor fully resolves all references before initialization. Added more validation test cases for $ref and definitions. Cleaned up the code.
864
+ - Restructured readme to be more user friendly and logically laid out. Fix typo with version 3's `require` keyword. Add optional parameter to validate api call that lets you pass in data to validate.
865
+ - Add validator support for dependencies, disallow, and extends. Fixed bugs and typos in validator. Add test script which tests the validator against every validation keyword. Add null editor. Remove `isValid` methods from all editors and replaced the `validate` api call to use the new Validator class instead. Change example to automatically validate on change and display the results instead of requiring a button click. Add support for type="any" in the multiple editor. Add support for arrays without `items` defined and objects without `properties` defined. Add support for the `required` attribute from version 3 of the spec.
866
+ - Finished implementing validation, but still needs testing.
867
+ - Add beginnings of validator class.
868
+ - Remove caveat about type support since we now support type arrays. Clean up headers in README.
869
+ - Add support for schemas with multiple types. Fixes #39
870
+ - Add support for minProperties and maxProperties. Fixes #38 Change documentation to only list the keywords we don't support and improve wording here and there.
871
+ - Add support for `required` schema keyword. Fixes #37 Support for `minProperties` and `maxProperties` can now be added and will come soon.
872
+ - Add startval example to README
873
+ - Bump version number.
874
+ - Fix typo with default template engine and spaces around the variable names. Add template field to example. Make specifying the schema id for a template optional and have it default to the root node. Fix bugs related to change events not firing and templates not re-generating when setting values programatically. Clean up example code. Make the template examples in README clearer.
875
+ - Add default simple template engine and disable auto-detection. Fixes #35 Change how the id schema keyword is used to be more inline with the JSON Schema spec. Fixes #36 Update documentation to reference these changes and improve the abstract at the top.
876
+ - Add description image to readme.
877
+ - Add description image.
878
+ - Update README.md
879
+ - Fix typo in README
880
+ - Add support for external urls with $ref. Fixes #34
881
+ - Modified grunt to preserve the license comment when uglifying. Fixes #33
882
+ - Bump version number.
883
+ - Add "Edit JSON" button to object editor when not in table row mode. Fixes #32 Change toggle button labels from show/hide to Collapse/Expand to make the meaning clearer. Made the Collapse buttons also hide the controls for the array and table editors.
884
+ - Fix invalid json in README.md.
885
+ - Add Foundation 3 theme. Improve html theme and set that as the default instead of bootstrap2. Clean up the example page. Improve documentation.
886
+ - Fix bug with templates inside array rows now updating when rearranging rows. Fix bug with templates inside table row. Add resolver classes to give more control over deciding which editor a schema should use. Fixes #29
887
+ - Add foundation4 and foundation5 themes. Fixes #25 Fixes #26
888
+ - Adding markdown template engine. Fixes #23
889
+ - Update README.md
890
+ - Implement isValid methods for all editors. Added 'validate' method to jsoneditor. Fixes #11 Fix bug with default values not being used when setting an incomplete value.
891
+ - Add support for popular template engines with auto-detection. Fixes #20 Ability to set global theme. Fixes #21 Ability to set per-instance template engine in addition to global template engine. Fixes #22 Removed `textarea` option and made it a `format` instead. Improved documentation.
892
+ - Update distribution file with correct version number and date.
893
+ - New editor and theme APIs for more flexibility down the line. Fixes #18 Improved styling for all included themes. Add support for arrays of things other than objects. Fixes #19 Add simple HTML theme.
894
+ - Add support for `multipleOf` when using range input. Fixes #17
895
+ - Fix README which accidentally got overridden in the last commit.
896
+ - Split file into multiple source files for easier code management. Add Grunt dependency for the build process. Fixes #10 Moved jquery.jsoneditor.js to dist directory along with new minified version. Improved readme and examples.
897
+ - Fix bug in bootstrap2 theme. Remove "Delete Last row" button in array/table editor when array is empty.
898
+ - Add bootstrap3 theme and improve jqueryui theme (for #12) Update documentation to reference themes and editor options.
899
+ - Fix Typo in JSON example
900
+ - Fix pass-by-reference bug with default values. Add preliminary support for a jqueryui theme (for #12)
901
+ - Add toggle button to table editor. Fixes #15 Add support for collapsed editor option on array and table editors. Fix bug with change event not firing for template fields
902
+ - Add support for setting editor options in a schema. Add 'collapsed' option to object editor that defaults the editor to collapsed. Fixes #13
903
+ - Add "Delete All Rows" button to array editor. Fixes #14 Hide delete buttons when an array is empty.
904
+ - Update readme to list out the supported formats
905
+ - Update README.md
906
+ - Update readme to point to an example that actually works.
907
+ - Made boolean editor separate from string editor and improve UI. Add value display for range format. Fixes #9
908
+ - Add support for format schema keyword. Fixes #4 Add partial support for minimum and maximum keywords, but they are only used when format is set to `range`. For #7 Make indentation more consistent in the code.
909
+ - Add support for definitions and references. Fixes #2
910
+ - Add support for different templating engines. Fixes #8 Update readme with instructions for changing the template engine. Expand list of supported schema keywords in readme (default, description, etc.)
911
+ - Add support for minItems and maxItems schema keywords for arrays. Fixes #1
912
+ - Fix bug with removing move down button in empty array. Add support for description and default schema keywords. Fixes #3
913
+ - Hide "move down" button for last item in array. Fixes #5
914
+ - Initial commit.
915
+ - Initial commit