@json-editor/json-editor 1.3.5 → 1.17.0

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 (436) hide show
  1. package/.claude/settings.local.json +8 -0
  2. package/.env +2 -0
  3. package/.env-dist +2 -0
  4. package/.eslintrc +10 -0
  5. package/.github/PULL_REQUEST_TEMPLATE.md +9 -0
  6. package/.github/workflows/build.yml +70 -0
  7. package/.travis.yml +63 -9
  8. package/CHANGELOG.md +1152 -0
  9. package/CONTRIBUTING.md +44 -5
  10. package/Makefile +26 -0
  11. package/README.md +765 -138
  12. package/README_ADDON.md +577 -0
  13. package/UPGRADING.md +46 -0
  14. package/build/CssToJson.js +55 -0
  15. package/codecept.conf.js +35 -0
  16. package/config/.eslintrc +7 -0
  17. package/config/codeceptjs_helpers.js +146 -0
  18. package/config/helpers.js +10 -0
  19. package/config/karma.conf.js +89 -0
  20. package/config/readme.md +31 -0
  21. package/config/webpack.common.js +71 -0
  22. package/config/webpack.dev.js +15 -0
  23. package/config/webpack.nonmin.js +19 -0
  24. package/config/webpack.prod.js +24 -0
  25. package/dist/jsoneditor.js +2 -11013
  26. package/dist/jsoneditor.js.LICENSE.txt +15 -0
  27. package/dist/nonmin/jsoneditor.js +31392 -0
  28. package/dist/nonmin/jsoneditor.js.map +1 -0
  29. package/docs/basic.html +2 -2
  30. package/docs/basic_person.json +2 -1
  31. package/docs/choices.html +86 -0
  32. package/docs/cleave.html +11 -19
  33. package/docs/colorpicker.html +194 -0
  34. package/docs/css_integration.html +56 -54
  35. package/docs/custom-editor.html +92 -0
  36. package/docs/datetime.html +48 -21
  37. package/docs/describedby.html +161 -0
  38. package/docs/enumsource.html +67 -0
  39. package/docs/form-submission.html +162 -0
  40. package/docs/imask.html +192 -0
  41. package/docs/index.html +606 -423
  42. package/docs/materialize_css.html +1 -1
  43. package/docs/meta-schema.html +793 -0
  44. package/docs/meta_schema.json +446 -400
  45. package/docs/polyfills/assign.js +29 -0
  46. package/docs/radio.html +156 -0
  47. package/docs/recursive.html +15 -17
  48. package/docs/scripts/ajv-validator.js +8695 -0
  49. package/docs/select2.html +15 -9
  50. package/docs/selectize.html +11 -9
  51. package/docs/signature.html +12 -11
  52. package/docs/starrating.html +5 -17
  53. package/docs/upload.html +33 -23
  54. package/docs/uuid.html +70 -0
  55. package/docs/wysiwyg.html +14 -7
  56. package/jasmine.json +11 -0
  57. package/package.json +74 -25
  58. package/release-notes.md +90 -0
  59. package/src/core.js +411 -611
  60. package/src/defaults.js +385 -306
  61. package/src/editor.js +761 -520
  62. package/src/editors/ace.js +90 -0
  63. package/src/editors/array/choices.js +104 -0
  64. package/src/editors/array/select2.js +112 -0
  65. package/src/editors/array/selectize.js +108 -86
  66. package/src/editors/array.css +9 -0
  67. package/src/editors/array.css.js +3 -0
  68. package/src/editors/array.js +812 -695
  69. package/src/editors/autocomplete.js +59 -0
  70. package/src/editors/base64.js +148 -129
  71. package/src/editors/button.js +104 -0
  72. package/src/editors/checkbox.js +111 -76
  73. package/src/editors/choices.css +3 -0
  74. package/src/editors/choices.css.js +3 -0
  75. package/src/editors/choices.js +71 -0
  76. package/src/editors/colorpicker.js +105 -0
  77. package/src/editors/datetime.js +93 -79
  78. package/src/editors/describedby.js +190 -0
  79. package/src/editors/enum.js +131 -116
  80. package/src/editors/hidden.js +100 -86
  81. package/src/editors/index.js +81 -0
  82. package/src/editors/info.js +28 -0
  83. package/src/editors/integer.js +21 -8
  84. package/src/editors/ip.js +36 -0
  85. package/src/editors/jodit.js +66 -0
  86. package/src/editors/multiple.js +380 -241
  87. package/src/editors/multiselect.js +207 -207
  88. package/src/editors/null.js +15 -11
  89. package/src/editors/number.js +39 -30
  90. package/src/editors/object.css +41 -0
  91. package/src/editors/object.css.js +3 -0
  92. package/src/editors/object.js +1209 -1007
  93. package/src/editors/radio.js +128 -0
  94. package/src/editors/sceditor.js +74 -0
  95. package/src/editors/select.js +318 -342
  96. package/src/editors/select2.js +112 -0
  97. package/src/editors/selectize.js +89 -338
  98. package/src/editors/signature.js +100 -104
  99. package/src/editors/simplemde.js +103 -0
  100. package/src/{styles → editors}/starrating.css +11 -2
  101. package/src/editors/starrating.css.js +3 -0
  102. package/src/editors/starrating.js +126 -95
  103. package/src/editors/stepper.js +27 -0
  104. package/src/editors/string.js +352 -426
  105. package/src/editors/table.js +486 -410
  106. package/src/editors/upload.js +297 -131
  107. package/src/editors/uuid.js +49 -0
  108. package/src/iconlib.js +22 -27
  109. package/src/iconlibs/bootstrap.js +28 -0
  110. package/src/iconlibs/bootstrap2.js +28 -17
  111. package/src/iconlibs/bootstrap3.js +28 -17
  112. package/src/iconlibs/fontawesome3.js +28 -17
  113. package/src/iconlibs/fontawesome4.js +28 -18
  114. package/src/iconlibs/fontawesome5.js +28 -18
  115. package/src/iconlibs/foundation2.js +24 -17
  116. package/src/iconlibs/foundation3.js +28 -17
  117. package/src/iconlibs/index.js +27 -0
  118. package/src/iconlibs/jqueryui.js +28 -17
  119. package/src/iconlibs/materialicons.js +49 -44
  120. package/src/iconlibs/openiconic.js +28 -0
  121. package/src/iconlibs/spectre.js +28 -0
  122. package/src/resolvers.js +135 -0
  123. package/src/schemaloader.js +639 -0
  124. package/src/style.css +157 -0
  125. package/src/style.css.js +3 -0
  126. package/src/templates/default.js +46 -51
  127. package/src/templates/ejs.js +8 -10
  128. package/src/templates/handlebars.js +1 -3
  129. package/src/templates/hogan.js +7 -9
  130. package/src/templates/index.js +21 -0
  131. package/src/templates/lodash.js +6 -8
  132. package/src/templates/markup.js +6 -8
  133. package/src/templates/mustache.js +6 -8
  134. package/src/templates/swig.js +1 -3
  135. package/src/templates/underscore.js +6 -8
  136. package/src/theme.js +717 -426
  137. package/src/themes/barebones.css +35 -0
  138. package/src/themes/barebones.css.js +3 -0
  139. package/src/themes/barebones.js +31 -0
  140. package/src/themes/bootstrap2.js +302 -264
  141. package/src/themes/bootstrap3.css +53 -0
  142. package/src/themes/bootstrap3.css.js +3 -0
  143. package/src/themes/bootstrap3.js +356 -259
  144. package/src/themes/bootstrap4.css +89 -0
  145. package/src/themes/bootstrap4.css.js +3 -0
  146. package/src/themes/bootstrap4.js +744 -234
  147. package/src/themes/bootstrap5.css +97 -0
  148. package/src/themes/bootstrap5.css.js +3 -0
  149. package/src/themes/bootstrap5.js +687 -0
  150. package/src/themes/foundation.js +539 -465
  151. package/src/themes/html.css +60 -0
  152. package/src/themes/html.css.js +3 -0
  153. package/src/themes/html.js +69 -82
  154. package/src/themes/index.js +29 -0
  155. package/src/themes/jqueryui.js +181 -166
  156. package/src/themes/materialize.js +263 -291
  157. package/src/themes/spectre.css +208 -0
  158. package/src/themes/spectre.css.js +3 -0
  159. package/src/themes/spectre.js +443 -0
  160. package/src/themes/tailwind.css +303 -0
  161. package/src/themes/tailwind.css.js +3 -0
  162. package/src/themes/tailwind.js +469 -0
  163. package/src/utilities.js +127 -68
  164. package/src/validator.js +914 -551
  165. package/src/validators/ip-validator.js +51 -0
  166. package/tests/Dockerfile +3 -0
  167. package/tests/README.md +27 -6
  168. package/tests/codeceptjs/codecept.json +29 -5
  169. package/tests/codeceptjs/constrains/contains_test.js +37 -0
  170. package/tests/codeceptjs/constrains/dependentRequired_test.js +33 -0
  171. package/tests/codeceptjs/constrains/dependentSchemas_test.js +16 -0
  172. package/tests/codeceptjs/constrains/if-then-else_test.js +186 -0
  173. package/tests/codeceptjs/core_test.js +534 -68
  174. package/tests/codeceptjs/editors/advanced_test.js +12 -10
  175. package/tests/codeceptjs/editors/array_any_of_test.js +50 -0
  176. package/tests/codeceptjs/editors/array_test.js +935 -677
  177. package/tests/codeceptjs/editors/autocomplete_test.js +15 -0
  178. package/tests/codeceptjs/editors/button_test.js +50 -0
  179. package/tests/codeceptjs/editors/checkbox_test.js +21 -8
  180. package/tests/codeceptjs/editors/colorpicker_test.js +29 -0
  181. package/tests/codeceptjs/editors/datetime_test.js +33 -0
  182. package/tests/codeceptjs/editors/inheritance_test.js +10 -0
  183. package/tests/codeceptjs/editors/integer_test.js +82 -71
  184. package/tests/codeceptjs/editors/jodit_test.js +23 -0
  185. package/tests/codeceptjs/editors/multiple_test.js +27 -0
  186. package/tests/codeceptjs/editors/multiselect_test.js +6 -9
  187. package/tests/codeceptjs/editors/number_test.js +75 -67
  188. package/tests/codeceptjs/editors/object_test.js +337 -28
  189. package/tests/codeceptjs/editors/option-no_default_values_test.js +42 -0
  190. package/tests/codeceptjs/editors/programmatic-changes_test.js +20 -0
  191. package/tests/codeceptjs/editors/purify_test.js +26 -0
  192. package/tests/codeceptjs/editors/radio_test.js +9 -0
  193. package/tests/codeceptjs/editors/range_test.js +10 -0
  194. package/tests/codeceptjs/editors/rating_test.js +10 -16
  195. package/tests/codeceptjs/editors/select_test.js +46 -23
  196. package/tests/codeceptjs/editors/starrating_test.js +15 -0
  197. package/tests/codeceptjs/editors/stepper_test.js +37 -0
  198. package/tests/codeceptjs/editors/string_test.js +108 -101
  199. package/tests/codeceptjs/editors/table-confirm-delete_test.js +60 -55
  200. package/tests/codeceptjs/editors/tabs_test.js +14 -11
  201. package/tests/codeceptjs/editors/uuid_test.js +48 -0
  202. package/tests/codeceptjs/editors/validation_test.js +13 -9
  203. package/tests/codeceptjs/issues/issue-gh-1133_test.js +9 -0
  204. package/tests/codeceptjs/issues/issue-gh-1158-2_test.js +10 -0
  205. package/tests/codeceptjs/issues/issue-gh-1158_test.js +8 -0
  206. package/tests/codeceptjs/issues/issue-gh-1164_test.js +9 -0
  207. package/tests/codeceptjs/issues/issue-gh-1171_test.js +11 -0
  208. package/tests/codeceptjs/issues/issue-gh-1211_test.js +17 -0
  209. package/tests/codeceptjs/issues/issue-gh-1257_test.js +11 -0
  210. package/tests/codeceptjs/issues/issue-gh-1272_test.js +21 -0
  211. package/tests/codeceptjs/issues/issue-gh-1330_test.js +8 -0
  212. package/tests/codeceptjs/issues/issue-gh-1338_test.js +18 -0
  213. package/tests/codeceptjs/issues/issue-gh-1347_test.js +8 -0
  214. package/tests/codeceptjs/issues/issue-gh-1364_test.js +13 -0
  215. package/tests/codeceptjs/issues/issue-gh-1367_test.js +11 -0
  216. package/tests/codeceptjs/issues/issue-gh-1383_test.js +9 -0
  217. package/tests/codeceptjs/issues/issue-gh-1384_test.js +9 -0
  218. package/tests/codeceptjs/issues/issue-gh-1410_test.js +13 -0
  219. package/tests/codeceptjs/issues/issue-gh-1422_test.js +9 -0
  220. package/tests/codeceptjs/issues/issue-gh-1431_test.js +12 -0
  221. package/tests/codeceptjs/issues/issue-gh-1439_test.js +12 -0
  222. package/tests/codeceptjs/issues/issue-gh-1452_test.js +10 -0
  223. package/tests/codeceptjs/issues/issue-gh-1453_test.js +18 -0
  224. package/tests/codeceptjs/issues/issue-gh-1461_test.js +14 -0
  225. package/tests/codeceptjs/issues/issue-gh-1463_test.js +9 -0
  226. package/tests/codeceptjs/issues/issue-gh-1471_test.js +17 -0
  227. package/tests/codeceptjs/issues/issue-gh-1485_test.js +13 -0
  228. package/tests/codeceptjs/issues/issue-gh-1491_test.js +9 -0
  229. package/tests/codeceptjs/issues/issue-gh-1525_test.js +9 -0
  230. package/tests/codeceptjs/issues/issue-gh-1536_test.js +12 -0
  231. package/tests/codeceptjs/issues/issue-gh-1538_test.js +10 -0
  232. package/tests/codeceptjs/issues/issue-gh-1541_test.js +8 -0
  233. package/tests/codeceptjs/issues/issue-gh-1559_test.js +15 -0
  234. package/tests/codeceptjs/issues/issue-gh-1562_test.js +12 -0
  235. package/tests/codeceptjs/issues/issue-gh-1586_test.js +15 -0
  236. package/tests/codeceptjs/issues/issue-gh-1636_test.js +9 -0
  237. package/tests/codeceptjs/issues/issue-gh-795_test.js +13 -0
  238. package/tests/codeceptjs/issues/issue-gh-810_test.js +52 -0
  239. package/tests/codeceptjs/issues/issue-gh-812_test.js +25 -0
  240. package/tests/codeceptjs/meta-schema_test.js +85 -0
  241. package/tests/codeceptjs/schemaloader_test.js +14 -0
  242. package/tests/codeceptjs/steps.d.ts +13 -0
  243. package/tests/codeceptjs/steps_file.js +4 -4
  244. package/tests/codeceptjs/test-config.js +3 -0
  245. package/tests/codeceptjs/themes_test.js +564 -0
  246. package/tests/docker-compose-local.yml +5 -0
  247. package/tests/docker-compose.yml +23 -17
  248. package/tests/fixtures/basic_person.json +2 -1
  249. package/tests/fixtures/definitions.json +22 -0
  250. package/tests/fixtures/nested_object.json +26 -0
  251. package/tests/fixtures/properties.json +20 -0
  252. package/tests/fixtures/some_types.json +32 -0
  253. package/tests/fixtures/validation.json +1347 -0
  254. package/tests/pages/_demo.html +475 -0
  255. package/tests/pages/advanced.html +1 -1
  256. package/tests/pages/anyof-2.html +91 -0
  257. package/tests/pages/anyof.html +82 -0
  258. package/tests/pages/array-anyof.html +145 -0
  259. package/tests/pages/array-checkboxes-infotext.html +55 -0
  260. package/tests/pages/array-checkboxes.html +5 -2
  261. package/tests/pages/array-choices.html +48 -0
  262. package/tests/pages/array-events-table.html +70 -0
  263. package/tests/pages/array-events.html +75 -0
  264. package/tests/pages/array-header-template.html +60 -0
  265. package/tests/pages/array-integers.html +5 -2
  266. package/tests/pages/array-multiselects.html +5 -2
  267. package/tests/pages/array-nested-arrays.html +5 -2
  268. package/tests/pages/array-numbers.html +5 -2
  269. package/tests/pages/array-objects.html +5 -2
  270. package/tests/pages/array-ratings.html +5 -2
  271. package/tests/pages/array-selectize-create.html +63 -0
  272. package/tests/pages/array-selectize.html +54 -0
  273. package/tests/pages/array-selects.html +5 -2
  274. package/tests/pages/array-strings.html +5 -2
  275. package/tests/pages/array-table-responsive.html +66 -0
  276. package/tests/pages/array-unique-items-sort.html +81 -0
  277. package/tests/pages/array.html +5 -2
  278. package/tests/pages/assets/autocomplete.css +1 -0
  279. package/tests/pages/assets/autocomplete.min.js +1 -0
  280. package/tests/pages/assets/pages.css +130 -0
  281. package/tests/pages/autocomplete.html +72 -0
  282. package/tests/pages/button-callbacks.html +79 -0
  283. package/tests/pages/button-icons.html +39 -0
  284. package/tests/pages/button_state_mode_1.html +35 -0
  285. package/tests/pages/button_state_mode_2.html +36 -0
  286. package/tests/pages/checkbox-labels.html +116 -0
  287. package/tests/pages/colorpicker-no-3rd-party.html +45 -0
  288. package/tests/pages/colorpicker-use-vanilla-picker.html +52 -0
  289. package/tests/pages/container-attributes.html +51 -0
  290. package/tests/pages/contains.html +39 -0
  291. package/tests/pages/core.html +14 -7
  292. package/tests/pages/datetime.html +78 -0
  293. package/tests/pages/dependentRequired.html +72 -0
  294. package/tests/pages/dependentSchemas.html +53 -0
  295. package/tests/pages/disable-button-in-object-editors.html +57 -0
  296. package/tests/pages/editor-show-validation-errors.html +54 -0
  297. package/tests/pages/enforce-const.html +168 -0
  298. package/tests/pages/error-messages.html +48 -0
  299. package/tests/pages/form-name.html +111 -0
  300. package/tests/pages/grid-strict.html +308 -0
  301. package/tests/pages/grid.html +281 -0
  302. package/tests/pages/if-else.html +58 -0
  303. package/tests/pages/if-then-else-allOf.html +118 -0
  304. package/tests/pages/if-then-else-disable-fields.html +70 -0
  305. package/tests/pages/if-then-else.html +65 -0
  306. package/tests/pages/if-then.html +58 -0
  307. package/tests/pages/inheritance.html +80 -0
  308. package/tests/pages/integer.html +17 -10
  309. package/tests/pages/issues/_template.html +50 -0
  310. package/tests/pages/issues/issue-gh-1133.html +64 -0
  311. package/tests/pages/issues/issue-gh-1158-2.html +189 -0
  312. package/tests/pages/issues/issue-gh-1158.html +50 -0
  313. package/tests/pages/issues/issue-gh-1164.html +71 -0
  314. package/tests/pages/issues/issue-gh-1165.html +63 -0
  315. package/tests/pages/issues/issue-gh-1165.json +8 -0
  316. package/tests/pages/issues/issue-gh-1171.html +39 -0
  317. package/tests/pages/issues/issue-gh-1211.html +1022 -0
  318. package/tests/pages/issues/issue-gh-1233-failing.html +46 -0
  319. package/tests/pages/issues/issue-gh-1233-passing.html +49 -0
  320. package/tests/pages/issues/issue-gh-1257.html +77 -0
  321. package/tests/pages/issues/issue-gh-1272.html +167 -0
  322. package/tests/pages/issues/issue-gh-1330.html +52 -0
  323. package/tests/pages/issues/issue-gh-1338.html +74 -0
  324. package/tests/pages/issues/issue-gh-1347.html +142 -0
  325. package/tests/pages/issues/issue-gh-1364.html +64 -0
  326. package/tests/pages/issues/issue-gh-1367.html +49 -0
  327. package/tests/pages/issues/issue-gh-1383.html +31 -0
  328. package/tests/pages/issues/issue-gh-1383.json +14 -0
  329. package/tests/pages/issues/issue-gh-1384.html +31 -0
  330. package/tests/pages/issues/issue-gh-1384.json +36 -0
  331. package/tests/pages/issues/issue-gh-1410.html +57 -0
  332. package/tests/pages/issues/issue-gh-1422.html +68 -0
  333. package/tests/pages/issues/issue-gh-1431.html +49 -0
  334. package/tests/pages/issues/issue-gh-1439.html +69 -0
  335. package/tests/pages/issues/issue-gh-1452.html +98 -0
  336. package/tests/pages/issues/issue-gh-1453.html +45 -0
  337. package/tests/pages/issues/issue-gh-1461.html +55 -0
  338. package/tests/pages/issues/issue-gh-1463.html +41 -0
  339. package/tests/pages/issues/issue-gh-1466.html +63 -0
  340. package/tests/pages/issues/issue-gh-1471.html +49 -0
  341. package/tests/pages/issues/issue-gh-1485.html +59 -0
  342. package/tests/pages/issues/issue-gh-1491.html +59 -0
  343. package/tests/pages/issues/issue-gh-1525.html +62 -0
  344. package/tests/pages/issues/issue-gh-1536.html +55 -0
  345. package/tests/pages/issues/issue-gh-1538.html +56 -0
  346. package/tests/pages/issues/issue-gh-1541.html +51 -0
  347. package/tests/pages/issues/issue-gh-1541.json +9 -0
  348. package/tests/pages/issues/issue-gh-1559.html +68 -0
  349. package/tests/pages/issues/issue-gh-1562.html +170 -0
  350. package/tests/pages/issues/issue-gh-1586.html +48 -0
  351. package/tests/pages/issues/issue-gh-1636.html +52 -0
  352. package/tests/pages/issues/issue-gh-795.html +58 -0
  353. package/tests/pages/issues/issue-gh-810.html +149 -0
  354. package/tests/pages/issues/issue-gh-812.html +113 -0
  355. package/tests/pages/issues/issue-gh-823-meta-schema.html +35 -0
  356. package/tests/pages/issues/issue-gh-848.html +81 -0
  357. package/tests/pages/keep_only_existing_values.html +81 -0
  358. package/tests/pages/load-events.html +61 -0
  359. package/tests/pages/maxContains.html +40 -0
  360. package/tests/pages/meta-schema.html +793 -0
  361. package/tests/pages/meta_schema.json +740 -0
  362. package/tests/pages/minContains.html +40 -0
  363. package/tests/pages/number.html +53 -6
  364. package/tests/pages/object-case-sensitive-property-search-false.html +42 -0
  365. package/tests/pages/object-case-sensitive-property-search-true.html +42 -0
  366. package/tests/pages/object-no-additional-properties.html +68 -0
  367. package/tests/pages/object-no-duplicated-id.html +70 -0
  368. package/tests/pages/object-required-properties.html +261 -0
  369. package/tests/pages/object-show-opt-in.html +111 -0
  370. package/tests/pages/object-with-dependencies-array.html +58 -0
  371. package/tests/pages/object-with-dependencies.html +62 -0
  372. package/tests/pages/object.html +5 -3
  373. package/tests/pages/oneof-2.html +91 -0
  374. package/tests/pages/oneof.html +105 -0
  375. package/tests/pages/opt-in-widget.html +134 -0
  376. package/tests/pages/option-dependencies.html +107 -0
  377. package/tests/pages/option-no_default_values.html +60 -0
  378. package/tests/pages/per-editor-options.html +44 -0
  379. package/tests/pages/placeholder-options.html +57 -0
  380. package/tests/pages/programmatic-changes.html +121 -0
  381. package/tests/pages/prompt-paste-max-length-reached.html +51 -0
  382. package/tests/pages/purify.html +66 -0
  383. package/tests/pages/range.html +62 -0
  384. package/tests/pages/read-only.html +60 -8
  385. package/tests/pages/ready.html +44 -0
  386. package/tests/pages/references.html +168 -0
  387. package/tests/pages/remove-false-properties.html +85 -0
  388. package/tests/pages/select-values.html +91 -0
  389. package/tests/pages/select.html +4 -3
  390. package/tests/pages/show-validation-errors.html +73 -0
  391. package/tests/pages/starrating.html +86 -0
  392. package/tests/pages/stepper-manual.html +59 -0
  393. package/tests/pages/stepper.html +61 -0
  394. package/tests/pages/string-ace-editor.html +7 -3
  395. package/tests/pages/string-cleave.html +48 -0
  396. package/tests/pages/string-custom-attributes.html +9 -6
  397. package/tests/pages/string-formats.html +54 -0
  398. package/tests/pages/string-formats2.html +59 -0
  399. package/tests/pages/{array-move-events.html → string-jodit-editor.html} +21 -29
  400. package/tests/pages/string-sceditor.html +9 -7
  401. package/tests/pages/string-simplemde-editor.html +83 -0
  402. package/tests/pages/switcher-option.html +69 -0
  403. package/tests/pages/table.html +4 -2
  404. package/tests/pages/tabs.html +1 -1
  405. package/tests/pages/themes.html +517 -0
  406. package/tests/pages/title-hidden.html +75 -0
  407. package/tests/pages/translate-property.html +248 -0
  408. package/tests/pages/urn.html +98 -0
  409. package/tests/pages/use-name-attributes.html +207 -0
  410. package/tests/pages/uuid.html +113 -0
  411. package/tests/pages/validation-messages.json +705 -0
  412. package/tests/pages/validation.html +20 -730
  413. package/tests/unit/.eslintrc +8 -0
  414. package/tests/unit/core.spec.js +320 -0
  415. package/tests/unit/defaults.spec.js +40 -0
  416. package/tests/unit/editor.spec.js +172 -0
  417. package/tests/unit/editors/array.spec.js +87 -0
  418. package/tests/unit/editors/object.spec.js +81 -0
  419. package/tests/unit/editors/table.spec.js +93 -0
  420. package/tests/unit/readme.md +35 -0
  421. package/tests/unit/schemaloader.spec.js +576 -0
  422. package/tests/unit/validator.spec.js +104 -0
  423. package/tests/unit/validators/ip-validator.spec.js +62 -0
  424. package/Gruntfile.js +0 -226
  425. package/dist/css/jsoneditor.min.css +0 -1
  426. package/dist/jsoneditor.js.map +0 -1
  427. package/dist/jsoneditor.min.js +0 -19
  428. package/dist/jsoneditor.min.js.map +0 -1
  429. package/docs/demo.html +0 -646
  430. package/src/class.js +0 -68
  431. package/src/editors/rating.js +0 -152
  432. package/src/ie9.js +0 -51
  433. package/src/intro.js +0 -23
  434. package/src/jquery.js +0 -64
  435. package/src/outro.js +0 -2
  436. package/src/themes/jsoneditor.barebones-theme.js +0 -60
package/CHANGELOG.md ADDED
@@ -0,0 +1,1152 @@
1
+ ### Unreleased
2
+
3
+ ### 2.17.0
4
+
5
+ - fix: generate new uuids when copying item of an array
6
+
7
+ ### 2.16.0
8
+
9
+ - Purify values if DOMPurify is available
10
+
11
+ ### 2.15.3
12
+
13
+ - Added maintenance mode notice to README, CONTRIBUTING.md, and documentation
14
+ - Fixed #1559 and #1621 field dependent on false should now display
15
+ - Fixed form-submission.html example documentation
16
+
17
+ ### 2.15.2
18
+
19
+ - Support drag and drop for array item
20
+ - Updated to docker compose commands
21
+ - Updated to docker compose commands
22
+ - Added schema switcher option
23
+ - Added opt_in_widget option (checkboxes and switches for opt int activators)
24
+ - Added enforce_const option
25
+ - Added enforce_const option
26
+ - ShowErrorMessages method
27
+ - Recursively deactivate non required properties, when adding a new row in an array
28
+ - Fixed error in Playground
29
+ - Fixed simpleMde exception
30
+ - Support drag and drop for array item
31
+
32
+ ### 2.15.1
33
+
34
+ - Fixed #1563 and #1558. Select values not displayed
35
+
36
+ ### 2.15.0
37
+
38
+ - Added option enforce_const
39
+ - Fixed #1525 select2 setValue append new item
40
+ - Added remove_false_properties object option
41
+ - Updated GitHub workflows
42
+ - Added prompt_paste_max_length_reached option
43
+ - Fixed #1512 "dependencies" autocomplete inside array tables cropping
44
+ - Allow for Base64 custom input attributes
45
+ - Added 'add' and 'switch' events
46
+ - Fixed "dependencies" issues
47
+ - Fixed npm audits and packages upgrades
48
+ - Fixed issue #1541 Failure to parse schema with "default"
49
+ - Fixed rating "undefined" value when type of integer
50
+ - Added meta-schema example to the readme
51
+ - Fixed issue #1514 Cannot use more than one class in "class" option for links
52
+ - Fixed info disable/enable
53
+ - Added options: "has_placeholder_option" and "placeholder_option_text"
54
+ - Fixed issue #1498 Dependant fields not created after JSON update at change of the controlling field
55
+ - Added 'copyRow' event
56
+
57
+ ### 2.14.1
58
+
59
+ - Fixed issue #1272 Multiple editor incorrect dependency inheritance
60
+ - Improved Multiple editor accessibility
61
+ - Fixed issue #1485 Infinite loop due to template rendering bug
62
+ - Fixed issue #1171 Radio inputs without names having multiple checking marks
63
+ - Fixed issue #1491 Wrong error messages displayed in some edge scenarios
64
+ - Fixed issue #1466 memory leak in array editor
65
+
66
+ ### 2.14.0
67
+
68
+ - Added new editor option "titleHidden"
69
+ - Integrated "readOnly" for array and object editors
70
+ - Fixed date, time and datetime-local validator
71
+ - Fixed several accessibility issues. Note: Some forms may have new/modified attributes ("aria", "id", "for" and more)
72
+ - Updated "format": "info" editors documentation
73
+
74
+ ### 2.13.2
75
+
76
+ - Fixed early validation with boolean types
77
+ - Refactored copy command using navigator
78
+ - Fixed const validator when validating arrays and objects
79
+ - Fixed issue format buttons disable state
80
+ - Fixed issue #1453 setup buttons in array editor correctly if editor is initially collapsed
81
+ - Fixed issue #1461 setup buttons in array editor correctly if there exists another enum-typed property for which the default value does not equal to the first value
82
+ - Fixed issue #1466 memory leak in array editor
83
+
84
+ ### 2.13.1
85
+
86
+ - Fixed bug in enumTitle for headerTemplates
87
+
88
+ ### 2.13.0
89
+
90
+ - Added feature #1448 enumTitle for headerTemplates
91
+ - Fixed issue #1442 tpe button editors
92
+ - Fixed issue #1433 simplemde editor data sync
93
+ - Added schema validation in playground
94
+ - Fixed tests timing issues
95
+
96
+ ### 2.12.0
97
+
98
+ - Fixed issue #1422: use_default_values: false deletes valid values while true sets invalid default values
99
+ - Added feature: load-events
100
+ - Fixed issue #1410: Schema for "additionalProperties" does not override "no_additional_properties: true"
101
+ - Added feature: table-responsive
102
+ - Fixed readme-broken-link
103
+ - Updated integrity checks in example pages
104
+
105
+ ### 2.11.0
106
+
107
+ - Fixed issue #746 and #645: Selectize with create = true should add items
108
+ - Added case_sensitive_property_search option
109
+ - Added specialized editors for ace (PRQL, Rust, TypeScript, Zig)
110
+ - Fixed bug: items schemas not being expanded on time when using $ref
111
+ - Added tests for schema loader
112
+ - Added docs for if-then-else
113
+ - Updated playground ace editor config
114
+ - Added button_state_mode options
115
+ - Added support for case-insensitive properties search
116
+ - Fixed issue #746 and #645 Selectize with create = true should add Items
117
+ - Added support for case insensitive properties search
118
+ - Added support for dependentRequired constrains
119
+ - Fixed issue #1367: Signature editor not returning base64 data
120
+ - Fixed issue #1237: more coherent ui for Base64 editor
121
+ - Fixed issue #1364: getValue() with dependencies
122
+ - Added new languages: PRQL, Rust, TypeScript and Zig.
123
+
124
+ ### 2.10.1
125
+
126
+ - Added keep_only_existing_values option
127
+ - Fixed if-then-else edge case bug with disabled fields
128
+
129
+ ### 2.10.0
130
+
131
+ - Fixed schema loader bug and added test for relative issues
132
+ - Using multiple for schemas with if-then-else
133
+ - Added support for shell script highlighting
134
+ - Added support for contains, minContains and maxContains constrains
135
+ - Added support for if-then-else constrains
136
+ - Added support for dependentSchemas constrains
137
+ - Added support for absolute paths in dependencies
138
+ - Added support for bootstrap icons
139
+ - Added custom editor example page
140
+ - Added bootstrap 5 theme option in example page
141
+ - Fixed property checkboxes display
142
+ - Updated array delete message
143
+ - Refactored tests with codeceptjs native waitForValue()
144
+ - Fixed bootstrap 3 import warnings
145
+ - Updated autocomplete example with library css
146
+
147
+ ### 2.9.1
148
+
149
+ - Fixed past merge
150
+
151
+ ### 2.9.0
152
+
153
+ - Updated datetime example page
154
+ - Updated packages
155
+ - Fixed issue #1133: default values for each of the oneOf options
156
+ - Upgraded codeceptjs from 2 to 3
157
+ - Fixed npm audit issues
158
+ - Fixed unnecessary Null values included in enums
159
+ - Fixed radio editors not recognising numerical values
160
+
161
+ ### 2.9.0-beta.1
162
+
163
+ - Fixed editors default values bug
164
+ - Fixed typo in example schema
165
+ - Fixed color editors default value bug
166
+ - Improved docs page UI with ACE editor and some spacing
167
+ - Fixed hidden option for upload editor
168
+ - Fixed array editors events and callbacks params
169
+ - Added link to GitHub repo in docs page
170
+ - Fixed typo in code
171
+ - Added test for meta-schema scenario
172
+ - Added test for $ref schema with oneOf/anyOf scenario
173
+ - Added Bootstrap 5 theme
174
+ - Removed !important flags from CSS
175
+ - Added upload translations
176
+ - Updated SCEditor documentation
177
+ - Fixed test waits
178
+ - Fixed per editor Options
179
+ - Fixed bug in tailwind and barebones theme. Append errors to element that exist.
180
+ - Fixed #1194 Event listener removed after destroy
181
+ - Added setContainerAttributes option
182
+ - Fixed select2/selectize cannnot add new option
183
+
184
+ ### 2.9.0-beta.0
185
+
186
+ - Enh #1162 Added cache system for schema loader (chhill-redhat)
187
+ - Added warnings undefined callbacks
188
+
189
+ ### 2.8.0
190
+
191
+ - Added feature: use_name_attributes option
192
+
193
+ ### 2.7.0
194
+
195
+ - Fixed array uniqueItems sorting bug
196
+ - Configurable icons for type button editors
197
+ - Fixed autocomplete options rendering
198
+ - Editor gets .je-ready class when ready
199
+ - Regenerate unique UUID when copying arrays
200
+ - Added infoText for checkbox on "Spectre" and "Bootstrap 3" Themes
201
+ - Added configurable error messages at editor schema level feature
202
+ - Added form submission case study and linked it in the readme
203
+ - Fixed range output value rendering
204
+ - Added automated test for references
205
+ - Added SimpleMDE test page
206
+ - JSON pointers support for definitions
207
+ - Added infoText for multiselect enum
208
+ - Updated packages and fixed npm audits
209
+ - Using latest jquery in docs to resolve vulnerabilities
210
+ - fixed bug in upload editor
211
+ - Updated release-motes.md
212
+ - Added feature: override error messages in schema options
213
+ - fixed arbitrary JSON pointers not returning the schema at the pointer path
214
+ - Add infoText for enums with format `checkbox` (default)
215
+ - updated `jodit` devDependency (jodit markup changes)
216
+
217
+ ### 2.6.1
218
+
219
+ - Fix for #900 to close the properties modal when we click outside modal
220
+ - fix: Rework use of event.path to prevent a ReferenceError in Safari
221
+ - Fix for dependencies when dependency is an array
222
+
223
+ ### 2.6.0
224
+
225
+ - set show_opt_in per object editor
226
+ - stepper manual set init fix
227
+ - don't validate dependant editors when not visible (dependency not fulfilled)
228
+ - hardened tests
229
+ - bootstra3 tabs fix
230
+ - removed datetime from metaschema and readmy (deprecated)
231
+ - not forced required for radios
232
+ - audit fixes
233
+ - pass additional pathDepth parameter to getHeader() to allow themes to render headings hierarchically
234
+ - add Open Iconic iconlib
235
+ - switched CI to Github Actions
236
+ - read-only base64 editors respect enum values when calling setValue()
237
+ - fix bug in validator.fitTest where anyOf schemata were not handled correctly
238
+ - fixes accessibility support for thead that consist of an empty string
239
+ - fix bug in validation where invalid schemata with a good fitTestResult were preferred to valid schemata
240
+
241
+ ### 2.5.4
242
+
243
+ - fixes #997 add accessibility support for string input types
244
+
245
+ ### 2.5.3
246
+
247
+ - fix oneOf and anyOf error messages
248
+ - fix 159 set value
249
+ - Added more read-only tests for #831
250
+ - Update PULL_REQUEST_TEMPLATE.md
251
+ - fixes #922 - translate all buttons; translator no longer throws error
252
+ - fixes #159, #285, #820 - setting array with 0, false, or ""
253
+ - fixes #379 and #923 - strip #fragment from URI so json pointers resolve correctly
254
+ - add Open Iconic iconlib
255
+ - fix for #811 Property names
256
+
257
+ ### 2.5.2
258
+
259
+ - Fixed stepper editor safari bug
260
+ - Added release notes
261
+ - Fixed form_name_root option behaviour
262
+
263
+ ### 2.5.1
264
+
265
+ - Fix for #837 and chekboxes not displaying error messages #843
266
+
267
+ ### 2.5.0
268
+
269
+ - added new stepper editor (with default HTML & Bootstrap 4 Theme)
270
+ - fixed babel transpiling bug
271
+ - updated docs
272
+
273
+ ### 2.4.0
274
+
275
+ - added option `max_depth` used to specify the maximum depth of level's schema that have to be rendered
276
+ - added option `use_default_values` used to specify if default values based on the "type" of the property have to be used
277
+ - when `use_default_values` is false, number and integer fields have undefined value when input is empty
278
+ - 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
279
+ - Fixed using multiple dependencies for an editor. Fix #703
280
+ - Evaluate all dependencies for an editor to determine visibility
281
+ - Fixed meta-schema usage
282
+ - Added `min`, `max` for `dateTime`
283
+
284
+ ### 2.3.0
285
+
286
+ - Removed codeception container, use `codeceptjs` as node-dev module
287
+ - Enabled Bootstrap 3 theme/icons
288
+
289
+ ### 2.2.1-current
290
+
291
+ - AbstractEditor, AbstractTheme, AbstractIconlib had been removed, re-expose them
292
+ - fix static property #724 #723
293
+ - fix option remove_empty_properties #725 #728
294
+
295
+ ### 2.2.0
296
+
297
+ - Removed Class.js in favour Javascript class declaration.
298
+ - Ability to add style rules for editors (i.e. StarratingEditor)
299
+ - 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.
300
+ - Unified how styles are loaded for themes and editors,
301
+ - Style rules are stored in class static property ‘rules’
302
+ - Rules are loaded as ESM Module,
303
+ - Generated @ build stage (stylesheet-filename.css.js) or
304
+ - Written manually.
305
+ - Cleaned src/defaults.js and move resolvers to a separate module, src/resolvers.js
306
+ - Cleaned how default themes, iconlibs, editors and templates are imported to JSONEditor
307
+ - Added ability to attache editors and themes style rules to the shadowRoot if the editor is inside a Web Component.
308
+ - Fix of #701 - editors/number.js and editors/integer.js don't change values when validation is failed
309
+ - Fix of #716 - add ignore for allOf to fall in line with existing ignores of anyOf/oneOf for additionalProperties validation
310
+ - Fix of #714 - Checkboxes inside object tables duplicate labels from heading
311
+ - Added copy button to arrays in table format
312
+
313
+ ### 2.1.0
314
+ - fixed vulnerability in "http-server" package (origin/feature/merges-20200227, feature/merges-20200227) - using latest node LTS
315
+ - extract css
316
+ - Add webpack plugin to support theme development
317
+ - css-loader can be omitted
318
+ - Fix some eslint warnings
319
+ - Remove comments from css in production mode (germanbisurgi-master) - updated readme
320
+ - lib loader
321
+ - better interactive page
322
+ - codeceptjs output directory added to npm ignore list
323
+
324
+ ### 2.0.0
325
+ - Fix of #643 - Allow use of themes not compiled directly into the build
326
+ - Removed Themes and IconSets that have not been updated to 2.0 format.
327
+ - Fix of #618 - links are placed AFTER the description. Now places the link BEFORE description (if available) or at bottom of container
328
+ - Changes to Vallilla Colorpicker editor.
329
+ - Added support for 'setValue'
330
+ - Added better enable/disable methods.
331
+ - Removed "onChange" function from list of required options so it can be overidden using schema options.
332
+ - 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.
333
+ - Fix of #629 - BS4 theme bug where basic tab was placed outside tabs container.
334
+ - Improved IMask support for `Date`, `Number`, `IMask.MaskedEnum`, `IMask.MaskedRange` and regular expression masks. #591
335
+ - Added support for recursive callback options.
336
+ - 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.
337
+
338
+ ### 2.0.0-alpha-1
339
+
340
+ - Added remove_button_labels option.
341
+ - Added Spectre Theme styling for `anyOf`, `oneOf` and `allOf` selectbox.
342
+ - 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.)
343
+ - Added new 2.x Theme "Spectre".
344
+ - Updated Theme "Tailwind" to 2.x format.
345
+ - Added sort option for dynamic enumSource.
346
+ - Added JavaScript callback templating support for enumSource: filter, title and value properties.
347
+ - Fix of #470 - Constant enumSource value specified as array of strings causes a template compilation error.
348
+ - Fix of #467 - child watches parent = infinite recursion.
349
+ - Select and Multiselect now uses requestAnimationFrame when applying special editor code to select field in order to prevent delays.
350
+ - Added missing validation messages and support for options infoText an compact in Multiselect editor.
351
+ - Refactored src/editors/multiselect.js and moved hardcoded support for Select2 into seperate editor files which then extends src/editors/multiselect.js
352
+ - 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
353
+ - Added new WYSIWYG editor [Jodit](https://xdsoft.net/jodit/) as a replacement for SCEditor.
354
+ - Jodit, Ace Editor, SimpleMDE and SCEditor can now be configured using global config options which can be overridden for single properties using schema options.
355
+ - 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.
356
+ - Fixed #408 - Now upload editor should be working again.
357
+ - Added Array events for table format, tests
358
+ - Fixed #408 - Now upload editor should be working again.
359
+ - Added [Choices.js](https://github.com/jshjohnson/Choices) support for array and select editors.
360
+ - Added 2 new config options: "disable_select2" and "disable_selectize" which can be used to disable select2/selectize on a specific property/field.
361
+ - Removed "rating" editor and updated "starrating" editor to accept/emulate "rating" editor options.
362
+ - Fixed #392 - Now setting checkbox value programmatically will trigger onchange correctly. (src/editors/checkbox.js)
363
+ - Fixed #231 - Now it is possible to use dots in field names (src/editor.js)
364
+ - Added new editor for uuid. If no uuid is supplied (startval), a random generated V4 uuid is created.
365
+ - Added support for compact option in src/objects.js to hide title.
366
+ - Added missing buttons to enable/disable state (src/array.js)
367
+ - Fixed problems with dependencies option not working with Boolean format (src/editor.js).
368
+ - 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.
369
+
370
+
371
+ ### 1.4.0-beta.0
372
+
373
+ - Updated docs
374
+ - cleanText function for theme descriptions
375
+ - Make sure array buttons are displayed without HTML
376
+ - Allow HTML in header if DOMPurify is loaded
377
+ - added link about ajaxCredentials
378
+ - Added missing options ajaxBase and ajaxCredentials
379
+ - #222 added enum support for selectize arrays, tests
380
+ - fix apply global selectize options to arraySelectize
381
+ - Added link to playground page
382
+ - Fix of #365
383
+ - Fix of #361
384
+ - link to radio button example
385
+ - Fix of #326
386
+ - add posibility to use radios instead of dropdown for enums + example
387
+ - Fixes for foundation 3 and 4 grids offsets
388
+ - 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
389
+ - added documentation for show_opt_in
390
+ - added grid-strict documentation
391
+ - use label instead of span for labels
392
+ - 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.
393
+ - format grid-strict for objects (grid_columns, grid_offset, grid_break)
394
+ - DescribedBy Editor
395
+ - changed example from string to enum
396
+ - Added missing dependencies info
397
+ - Fix of #312 and #323
398
+ - Fix of #324
399
+ - Support underscore 1.7 and newer
400
+ - added missing Object Properties Translation
401
+ - DOMPurify support for description text #329
402
+ - updated packages (#339)
403
+
404
+ ---
405
+
406
+ > TODO: The changelog below is autogenerated and needs manual cleanup
407
+
408
+ ### (tag: 1.3.5)
409
+ - 1.3.5
410
+ - array editor editing events triggers (#317)
411
+ - Update issue_template (#316)
412
+ - json editor move event where child editors can subscribe (#315)
413
+ - Added link to ACE example and changed example options
414
+ - ACE Editor Example
415
+ - fixes ACE editor problems
416
+ - Fix of #309
417
+ - Make style uniform
418
+ - Move additionalProperties: false from schemaBase to each branch of schema.oneOf
419
+ - Use tabs format when items' value is an array of schemas, this improves readability
420
+ - Use the table format for arrays to make the editor layout more dense
421
+ - Remove duplicate keys in boolean and string schema properties
422
+ - Allow array of schemas in items keyword for arrays
423
+ - Fix default value in object and don't add default properties in options property
424
+ - Make Object the default JSON Schema selected, since it's the most used when getting started
425
+ - Remove the No Type schema to avoid ambiguities
426
+ - Make default require the correct value for any type
427
+ - Add properties section to null type definition
428
+ - Fix schemaBase definition
429
+ - Move schemaBase after all base data type definitions
430
+ - Added default upload handler (#301)
431
+
432
+ ### (tag: 1.3.4)
433
+ - 1.3.4
434
+ - on move event for editors that are moved within an array (and test) (#303)
435
+ - Add sqlserver editor format.
436
+ - Update README: introduce options.ace variable.
437
+ - Accept schema.options.ace for Ace Editor.
438
+ - Added CopyToClipboard in JSON Modal
439
+ - Added Cleave global instance + destroy
440
+ - Fix of #290
441
+ (origin/schmunk42-patch-1) - added link to issue template
442
+ - nonlocal #/definition/<something> refs support
443
+
444
+ ### (tag: 1.3.3)
445
+ - 1.3.3
446
+ - Fix of #162 (#282)
447
+ - Revert "Fix of #277"
448
+ - Revert "Fix of #277"
449
+ - Revert "Delete bootstrap4.js"
450
+ - Delete bootstrap4.js
451
+ - Fix of #277
452
+ - Fix of #277
453
+ - Fix of #276
454
+ - Update bootstrap4.js
455
+ - Fix bootstrap4 theme so errors are colored
456
+ - Close properties modal if clicked outside modal
457
+ - Fix of #262
458
+ - Added info on how to style buttons
459
+ - Fix of #270
460
+ - Revert fix of #270
461
+ - added typecasting on return value
462
+ - button title wrapped in span #148 - added classnames
463
+ - button title wrapped in span #148
464
+ - Revert "Set theme jekyll-theme-hacker"
465
+ - Revert "Set theme jekyll-theme-hacker"
466
+ - removed placeholder option in favour of inputAttributes
467
+ - fix of #270
468
+ - corrected uglify preserveComments
469
+ - Set theme jekyll-theme-hacker
470
+ - Set theme jekyll-theme-hacker
471
+ - Material Icons | Adding missed uploads icon
472
+ - Update CONTRIBUTING.md
473
+ - Rename function variable "protected"
474
+ - Added cleave lib to demo
475
+ - Updated CDN links
476
+
477
+ ### (tag: 1.3.2)
478
+ - 1.3.2
479
+ - fixed string-replace task
480
+
481
+ ### (tag: 1.3.1)
482
+ - 1.3.1
483
+ - fixed version bump
484
+
485
+ ### (tag: 1.3.0)
486
+ - 1.3.0
487
+ - fixed javascript path
488
+ - Moved function to editor.js + support for number and select
489
+ - Added support for cleave.js
490
+ - Added support for cleave.js
491
+ - Support fontawesome 5
492
+ - Merge remote-tracking branch 'json-editor/master'
493
+ - Revert commits to solve categories problems, simple fix to materialize.
494
+ - Improve performance of theme.setButtonText
495
+ - modified travis test
496
+ - Update string.js
497
+ - Update README.md
498
+ - upd
499
+ - Added documentation of inputAttributes option
500
+ - Modified inputAttributes format
501
+ - Actually run the version string replacement
502
+ - minor fixes to demo.html
503
+ - Updated interactive demo and replaced EpicEditor info with simpleMDE info i docs
504
+ - Remove deprecation notice from intro
505
+ - datetime update
506
+ - Fix of js link in signature editor example
507
+ - Updated links in README.MD
508
+ - Updated links in README.MD
509
+ - Added enable_array_copy to README.md
510
+ - Fixed setValue in datetime
511
+ - Fix of #169
512
+ - Fixed small bug in Foundation theme
513
+ - Fix of Tabs not working in Bootstrap4
514
+ - Added editor function to create valid ID values and fixed array.js + object.js
515
+ - Fix adding classes to DOMTokenList (#213)
516
+ - Refactoring className into classList (#210)
517
+ - Fixed bug: when no options are present the base64 editor will not load (#202)
518
+ - Fix of #140 - pattern of greater than 35 chars doesn't display properly
519
+
520
+ ### (tag: 1.2.1)
521
+ - 1.2.1
522
+ - added "Contributing Use-cases" (#199)
523
+ - Input custom attributes (#200)
524
+ - added wiki link (#198)
525
+ - Release 1.2.0 (#197)
526
+
527
+ ### (tag: 1.2.0)
528
+ - 1.2.0
529
+ - fixed vulnerability warnings
530
+ - updated build task (added "src/editors/signature.js" & code formatting) (#196)
531
+ - Added signature (canvas draw) editor using SignaturePad (#193)
532
+ - Improved base64.js editor to be able to upload multiple files to multiple array items (#183)
533
+ - Pmk65 matfix (#191)
534
+ - Added validation support for select (#190)
535
+ - fix of #131 (#189)
536
+ - fix of issues #30 and #185 (#186)
537
+ - Updated README.md & examples + starrating bugfix (#181)
538
+ - Pmk65 datetime (#176)
539
+ - Release (#174)
540
+
541
+ ### (tag: 1.1.0)
542
+ - 1.1.0
543
+ - updated lock file
544
+ - Pmk65 starrating (#173)
545
+ - Better comply with Bootstrap 4 grid columns spec (#164)
546
+ - Export as a UMD module (#161)
547
+ - Release 1.1.0-beta.4 (#153)
548
+
549
+ ### (tag: 1.1.0-beta.4)
550
+ - 1.1.0-beta.4
551
+ - Fixed array active tabs. Fixed reload image path bug (#152)
552
+ - Release 1.1.0-beta.3 (#151)
553
+
554
+ ### (tag: 1.1.0-beta.3)
555
+ - 1.1.0-beta.3
556
+ - fix refresh preview in array of update editors (#150)
557
+ - Array tests (#147)
558
+ - Read only fields and fix for issue #143 (#145)
559
+ - Fix categories format on bootstrap 3 (#101) (#103)
560
+ - relative filepaths + extended testsuite (#141)
561
+ - refactored tests. Added object tests. Added core tests. (#125)
562
+ - Added output element to display range values. Added tests for integers and numbers with default, number and range formats (#124)
563
+ - Confirm delete for table editors. Updated confirm messages. Renamed t… (#122)
564
+ - fix boolean bug + tests (#118)
565
+ - Release (#115)
566
+
567
+ ### (tag: 1.1.0-beta.2)
568
+ - 1.1.0-beta.2
569
+ - updated "docker-test" script
570
+ - prompt before delete + tests + read (#109)
571
+ - updated docs pages json-editor cdn from unplug to jsdelivr (#114)
572
+ - removed mocha testing packages, added standard js (#100)
573
+ - marked sceeditor array test as optional (#106)
574
+ - Hardened string-sceditor test (#104)
575
+ - step support for numbers, integers and numeric ranges (#99)
576
+ - Ace editor tests (#98)
577
+ - 1.1.0-beta.1 (#97)
578
+
579
+ ### (tag: 1.1.0-beta.1)
580
+ - 1.1.0-beta.1
581
+ - Update README.md (#95)
582
+ - Feature/bump version (#94)
583
+ - wysiwyg-sceditor tests (#93)
584
+ - Cleanup (#90)
585
+ (origin/marc7000-patch-1) - Update README.md
586
+
587
+ ### (tag: 1.1.0-beta.0)
588
+ - 1.1.0-beta.0
589
+ - Fix missing comma in resources list
590
+ (origin/feature/docker-test) - fixed npm script "docker-test"
591
+ - add prepare script; useful for e.g. git linking, see: https://docs.npmjs.com/misc/scripts#description (#75)
592
+ - Call event handlers with context
593
+ - Create issue_template
594
+ - Murb heatdutton changes cleaned (#85)
595
+ - added "password" into the format list in README
596
+ - Update README.md (#60)
597
+ - checkboxes display validation errors
598
+ - enum vs default bug fix
599
+
600
+ ### (tag: 1.0.0)
601
+ - 1.0.0
602
+ - added version & dockerized test scripts, cleanup
603
+ - added ".npmrc"
604
+ - added caching option for volume mounts
605
+ (feature/moved-example, develop) - moved example to docs
606
+ - Added missing var keyword
607
+ - Remove ECMAScript 6 for...of loop
608
+ - Allow required to overwrite required_by_default
609
+ - added "auto_upload" feature
610
+ - merged latest changes from dmstr-forks
611
+ - added .npmignore
612
+ - Fixed multiselect v4 detection
613
+ - Select2v4 API update w/ backwards compatibility
614
+ - debugging tests
615
+ - updated travis testing
616
+ - Merge remote-tracking branch 'pberger/develop' into develop
617
+ - Fixed linting error.
618
+ - Added color picker support, updated demo page.
619
+ - Tabbing support, added tabbed Cars section to source schema.
620
+ - Error messages support, styles fine tuning.
621
+ - Added select, checkboxes and modal support.
622
+ - Added support for Material Icons and Materialize CSS framework.
623
+ - Merge remote-tracking branch 'sk8/master' into develop
624
+ - Fixed multiselect v4 detection
625
+ - Select2v4 API update w/ backwards compatibility
626
+ - Fix: problem with Select2 v4
627
+ - ignored dist folder
628
+ - Merge remote-tracking branch 'm7000/feature/fixes' into develop
629
+ - updated repository info / url
630
+ - updated dist sources
631
+ - replaced deprecated "select2('val')" method
632
+ - updated dist sources
633
+ - fixed bracket
634
+ - added change handler
635
+ - updated test
636
+ - updated package.json; removed dist
637
+ - Merge remote-tracking branch 'sk8/v1.0.0' into develop
638
+ (origin/v1.0.0) - LV: Added travis badge. First steps toward #5
639
+ - LV: Added Travis CI build
640
+ - LV: Removed bower support. Updated build process
641
+ - LV: New namespace editor
642
+ (feature/testing) - updated testing setup
643
+ - updated packages (#28)
644
+ - Corrected borken Selectize link in README.md (#33)
645
+ - Develop -> Master (#27)
646
+ - Updated Readme
647
+ - Docs folder (#6)
648
+ - Clean up package.json
649
+ - Update README.md
650
+ - Added selenium tests with mocha
651
+ - Add dependency system
652
+ - Add empty object deletion
653
+ - fix for sending 0 and false with remove_empty_properties=true
654
+ - 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.
655
+ - Select editor onInputChange was not casting the input value, which caused the value not being found when the type was not a string.
656
+ - Casting more values to make the select editor safer.
657
+ - 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.
658
+ - Update theme.js
659
+ - Added hidden input support.
660
+ - Using strict comparison checks instead of type-converting comparison checks
661
+ - Resolved conflicts
662
+ - - better way to do it ...
663
+ - - 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
664
+ - Include expanded schemas options to include refs (#27)
665
+ - Add option to have info buttons (#24)
666
+ - Implemented template support for 'rel' property on href's schema #606 (#17)
667
+ - Update multiple.js (#21)
668
+ - Fixed to expand refs before creating root editor (#18)
669
+ - fix for issue 627 - selectize dropdown causes prop to dissapear - and issue 538 - create hardcoded to true (#19)
670
+ - Issue 488 fix disabled fields get enabled when using properties dropdown (#22)
671
+ - Resolved merge conflicts
672
+ - update submitted json when editing select fields via json manually to (#29)
673
+ - Copy Array Element Button (#4)
674
+ - Fixed #656; 2ndTime checked property not displayed in IE
675
+ - Fixed #656;2ndTime checked property not displayed in IE
676
+ - Cleaning with innerHTML='' causes issues on IE. So clean children one by one with removeChild (#11)
677
+ - proposed fixes for #391, #392
678
+ - proposed fix for #392
679
+ - proposed fix for #391
680
+ - :star::star::star::star::star: FEATURE: star rating editor
681
+ - Update with latest upstream
682
+ - Fix comment
683
+ - Support readonly option
684
+ - Do not use multiline strings
685
+ - Add editor for integer rating
686
+ - use hasOwnProperty instead of requiring a "true" value for startval (#30)
687
+ - added check for whether label is defined for checkbox (#8)
688
+ - Respect "minimum"/"maximum" and "exclusiveMinimum/Maximum" (#7)
689
+ - Undefined variable issue when using template (#15)
690
+ - Fix typo (#31)
691
+ - Fix for crash given schema {"enum":[null]} (#26)
692
+ - add option for lodash templates (#5)
693
+ - Add remove_empty_properties option in objects from pull request #565; fixes issue #450/#451; original pr repository is missing
694
+ - Changed grunt task name, serving files is also needed for the examples
695
+ - added minified files
696
+ - Changed tests to work with new grunt task
697
+ - Fix disappearing text when moving block, credit @xmiao
698
+ - Replace EpicEditor with SimpleMDE
699
+ - Added bootstrap 4 theme and option for it in demo.html
700
+ - Quickfix for Error "Cannot read property 'notifyWatchers' of null"
701
+
702
+ ### (tag: v0.7.28)
703
+ - Bump version to 0.7.28
704
+ - Add enum_titles support for multiselect editor. Closes #583 Closes #585
705
+ - Merge remote-tracking branch 'origin/pr/639' Closes #639
706
+ - Fix JS error "this.translate is not a function" (issue #637)
707
+ - Merge remote-tracking branch 'origin/pr/642' Closes #642
708
+ - fixes certain properties not showing up after delete row then add row
709
+
710
+ ### (tag: v0.7.27)
711
+ - Bump version to 0.7.27 Closes #605
712
+ - Merge remote-tracking branch 'origin/pr/605'
713
+ - make jsoneditor strict mode compliant
714
+ - Make JSONEditor strict mode compliant
715
+ - Update grunt, add reference meta schema, preliminary anyOf support, jshint fixes
716
+
717
+ ### (tag: v0.7.26)
718
+ - Version bump to 0.7.26
719
+ - Add option to set css classes for hyper schema links.
720
+ - Fix bugs - error when watch path is an empty array, keep values wasn't working as expected.
721
+ - Closes #611 - add display_required_only option
722
+ - Cleaned up display_required_only code, add option to demo.html.
723
+ - Add display_required_only option to editor
724
+ - Closes #600 - Add button translation for collapse and expand
725
+ - Add Expand translation & fix Collapse translation
726
+ - Closes #530 - fix for undefined matchKey on element Merge remote-tracking branch 'origin/pr/530'
727
+ - Fixed per feedback on PR
728
+ - fixed #522; broken check in theme processing
729
+ - Update docs to remove math.js as a required dependency
730
+
731
+ ### (tag: v0.7.25)
732
+ - Version bump to 0.7.25
733
+ - JSLint fixes, documentation updates.
734
+ - Undo dist file changes.
735
+ - fix removeInputError for foundation6 theme
736
+ - add foundation6 theme
737
+ - Remove redundant "disable_add_properties" option, clean up code, add to demo.html
738
+ - 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.
739
+ - Cleanup download code, improve documentation.
740
+ - Add download attribute for link tag to transfer downloaded filename
741
+ - Merge remote-tracking branch 'origin/pr/574' Closes #574
742
+ - Add groovy support for editors
743
+ - Create jsoneditor.barebones-theme.js
744
+
745
+ ### (tag: v0.7.24)
746
+ - Version bump to 0.7.24
747
+ - Enhance regex error to show expected pattern
748
+ - proposed fix for #388 using math.js
749
+ - - added translation support for buttons shown by array editors
750
+
751
+ ### (tag: v0.7.23)
752
+ - Version bump to 0.7.23
753
+ - Add custom_validators option to set instance-specific custom validators. Fixes #503
754
+ - Move inline style to themes so it can be overridden. Fixes #509
755
+ - Infers that when type is not set but properties are defined, we can infer that type is actually object
756
+ - Fix gramatical error in validation message. Fixes #511
757
+ - Fire select2 change event on change instead of blur, reduce duplicate change firing for select editor. Closes #501
758
+ - Remove selectize from demo.html, tighten up resolver rules for selectizeArray
759
+ - Uses resolver for Selectize array editor
760
+ - Improved Selectize demo
761
+ - Avoid issue with splitting on commas
762
+ - Adds Selectize support for array and select editors
763
+
764
+ ### (tag: v0.7.22)
765
+ - Version bump to 0.7.22
766
+ - Allow spaces in template variables
767
+ - Avoid displaying string "undefined" when value is `undefined`
768
+ - Move switcher styles to theme.
769
+ - Check that regex matching template vars is not null
770
+ - Added the possibility filter on watched variables
771
+ - jslint fix
772
+ - optimize a few utility functions
773
+ - required as property list
774
+ - jshint
775
+ - optional select option on bool and enumerated properties
776
+ - Add documentation for `keep_oneof_values` option
777
+
778
+ ### (tag: v0.7.21)
779
+ - Version bump to 0.7.21
780
+ - Fix bug with enumSource
781
+ - Add class to property selector.
782
+ - Fixes #292
783
+ - Fix disabling additional properties per object
784
+ - Allow static items for enumSource
785
+ - Merge remote-tracking branch 'origin/pr/429'
786
+ - Remove moot `version` property from bower.json
787
+ - Update README
788
+
789
+ ### (tag: v0.7.20)
790
+ - Version bump to 0.7.20
791
+ - Fix vertical tabs in Foundation 5 theme. Fixes #401
792
+ - Allow url encoded $ref pointers. Fixes #402
793
+ - Fix oneOf bug with object length. Fixes #423
794
+ - Fix grunt watch to work with concat_sourcemap
795
+
796
+ ### (tag: v0.7.19)
797
+ - Bump version to 0.7.19
798
+ - Remove "container-{{key}}" class from object property editors. Fixes #419
799
+ - Drastic speed improvements for default template engine (up to 30x faster). Fixes #418. Alternative approach to #420.
800
+ - bugfix: schema with length field of integer type
801
+ - Generate sourcemap back to the original pre-concatenated files.
802
+ - No exceptions when adding unconstrained properties. Fixes #409.
803
+ - Fixed typo in CONTRIBUTING.md
804
+
805
+ ### (tag: v0.7.18)
806
+ - Version bump to 0.7.18
807
+ - Add support for additionalProperties schema. Fixes #285 #383
808
+ - Use window.jQuery instead of '$'. Add select2 multiselect example.
809
+ - Update multiselect.js
810
+ - Add validator context to custom_validators so that for example the this.translate method is usable within custom validators
811
+ - made IE9 compatible ; also works (sic) in IE8 - reserved keywords - jquery $isplainobject
812
+ - Allow HTML in Form Input Description
813
+
814
+ ### (tag: v0.7.17)
815
+ - Version bump to 0.7.17
816
+ - Add checkbox editor for boolean.
817
+ - Add html to description
818
+ - Update README.md
819
+ - Add type=button attribute to avoid <button> elements being treated as submit controls
820
+
821
+ ### (tag: v0.7.16)
822
+ - Version bump to 0.7.16
823
+ - Fix move down button of array editor being show even on the last element
824
+ - Fixed $ref handling in schema editing
825
+ - Type check element argument
826
+
827
+ ### (tag: v0.7.15)
828
+ - Version bump to 0.7.15
829
+ - Add option `keep_oneof_values`. Set to `false` to stop oneOf properties copying over when switching.
830
+ - Embed LZString library in demo.html. cdn.rawgit.com was not working reliably.
831
+ - Fix for when an object has a property named "length". Fixes #328
832
+
833
+ ### (tag: v0.7.14)
834
+ - Version bump to 0.7.14
835
+ - Fix table and propertyOrder support. Fixes #316
836
+ - Add documentation for various editor options.
837
+ - Fix null class being added to td elements.
838
+ - Add support for enum_titles with boolean fields.
839
+ - Fix bug wth array tab headerText not updating on startVal for all tabs.
840
+ - Add 'input_height' and 'expand_height' options for string based inputs (most useful for textareas).
841
+ - Add 'input_width' option for string based editors. Also works within table cells.
842
+ - Add 'grid_columns' option to explicitly set the width of a field.
843
+ - Update lz-string script url
844
+
845
+ ### (tag: v0.7.13)
846
+ - Version bump - 0.7.13
847
+ - Fixes #276, #277, #278
848
+ - use correct css class for latest foundation
849
+ - RequestAnimationFrame callbacks should double check if editor was destroyed meanwhile.
850
+
851
+ ### (tag: v0.7.12)
852
+ - 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.
853
+
854
+ ### (tag: v0.7.11)
855
+ - Update documentation and version bump to 0.7.11
856
+ - Fix $extend to exclude prototype properties. Add fix for Firefox's Object.prototype.watch conflict. Fixes #256 Fixes #249
857
+
858
+ ### (tag: v0.7.10)
859
+ - Version bump to 0.7.10
860
+ - Add option to remove empty object properties from returned JSON. Fixes #220
861
+ - Fix array/minItems bug. Fixes #246
862
+ - Standardize all notify/change/watch calls. Fixes #247 Fixes #248
863
+ - Properly handle cases when number extremum is 0
864
+ - Register with npm
865
+
866
+ ### (tag: v0.7.9)
867
+ - Fix Select2 bugs, enum_titles support for strings, add Select2 example. Fixes #240 Related to #231
868
+
869
+ ### (tag: v0.7.8)
870
+ - Version bump 0.7.8
871
+ - Can now override sceditor options on a per-instance basis.
872
+ - Fix typo in enum editor. Add hide_display option to enum editor.
873
+ - Typo in filter property
874
+
875
+ ### (tag: v0.7.7)
876
+ - Version bump to 0.7.7
877
+ - Fix bug with no_additional_properties and nested arrays. Fixes #229
878
+ - Improve grid sizing of table and object editors. #224
879
+ - Fix LZString url in demo.
880
+ - Links are rendered using existing link editors
881
+ - Change format to url
882
+ - Allow custom title for download link
883
+ - Support readonly fields
884
+ - Only use upload editor if FileReader is available
885
+ - Move download link to separate the "current value" part from the "change value" part
886
+ - Disable upload button when upload is in progress
887
+ - Use the uploaded document URL as the download link text
888
+ - Use the format uri from the JSON Schema spec with an upload option for binary upload
889
+ - Handle failure
890
+ - Change file upload format to uploadUri
891
+ - Possibility to specify a theme
892
+ - Progress bar for Bootstrap2
893
+ - Progress bar for Foundation
894
+ - Progress bar for HTML5
895
+ - File upload example
896
+ - Add class for div with download link
897
+ - Create download link when available
898
+ - Upload callbacks grouped in callbacks object
899
+ - Progress bar updates for unknown remaining
900
+ - Add progress bar for Bootstrap3 theme
901
+ - Upload file success using configured upload handler
902
+ - Add upload editor based on base64
903
+
904
+ ### (tag: v0.7.6)
905
+ - Fix duplicate variable, bump version.
906
+ - Scopes the editor variable with var
907
+ - Fixes disabled properties and fixes property order
908
+ - Fix select2 support by moving initialization from `build` to `postBuild`.
909
+
910
+ ### (tag: v0.7.5)
911
+ - Add new WYSIWYG example. Version bump.
912
+ - Change table description format to match array's. Fixes #219
913
+ - Fix watched fields bug with string enum editor. Fixes #216
914
+ - Fix bug with the 0 not showing up in UI for integer fields. Fixes #215
915
+ - Use minLength and maxLength to determine grid columns for string editor. Fixes #212
916
+
917
+ ### (tag: v0.7.4)
918
+ - Make jshint more strict. Bump version number.
919
+ - Use proper "cssFloat" property for reserved word float (and CamelCase "marginLeft")
920
+ - Fix bug with headers not updating properly with oneOf. Fixes #203
921
+
922
+ ### (tag: v0.7.3)
923
+ - Fix typo in editor. Fixes #205
924
+ - Update CONTRIBUTING.md
925
+ - Create CONTRIBUTING.md
926
+
927
+ ### (tag: v0.7.2)
928
+ - Bump version number to 0.7.2
929
+ - number sanitizing allows scientific expression
930
+ - Start array title index at 1. Fixes #167
931
+ - Fixes #186 Array item form disappears when second to last item is deleted
932
+
933
+ ### (tag: v0.7.1)
934
+ - Add option for when to show validation errors. Changed default behavior to be on interaction. Fixes #194
935
+
936
+ ### (tag: v0.7.0)
937
+ - Don't submit a form when clicking a button. Allow JSON editor to be wrapped in form-tags (cherry picked from commit 7e73ccf)
938
+ - More "CSS skinnability" added class to "row", relates to issue #156 (cherry picked from commit bf2d3dd)
939
+ - Update demo to reflect my real age :)
940
+ - Add recursive schema and defaultProperties documentation. Change `complete.html` to `recursive.html` and just demonstrate the recursive schema support.
941
+ - Add support for defaultProprties, overhaul object properties modal, fix dynamic headers.
942
+ - New complete.html example (still a work in progress). More recursive schema fixes and code cleanup.
943
+ - More recursive schema work. Still needs work.
944
+ - Editor API restructure to enable easier recursive schema support.
945
+ - Partial support for recursive schemas. A lot of stuff is still broken.
946
+ - Initial setup of recursive schema support. DOESN'T WORK YET!
947
+
948
+ ### (tag: v0.6.19)
949
+ - Change validation error message for minLength: 1 to be "Value required". #158
950
+ - Fix checkbox alignment for Bootstrap 3.2.0
951
+ - Clean up string translation code. Rename `formatter` to `translate` to reduce naming confusion with the JSON Schema `format` keyword. Fixes #74
952
+ - Extracted the customization logic to a class that is instantiated in core.js. The instance is passed to the validator and the editors
953
+ - String customization OK for errors
954
+ - Extracted all messages from validator.js and added it to default.js associated with keys
955
+
956
+ ### (tag: v0.6.18)
957
+ - Add ability to set string format via options. #150
958
+ - update jsoneditor.js/jsoneditor.min.js
959
+ - put Array.isArray polyfill in ie9.js
960
+ - use Array.isArray() instead of instanceof Array
961
+
962
+ ### (tag: v0.6.17)
963
+ - Version bump.
964
+ - Allow for nested definitions. Fixes #127
965
+ - Fix collapsed option with array editor. Fixes #148
966
+
967
+ ### (tag: v0.6.16)
968
+ - Version bump.
969
+ - skip afterInputReady for temporary string editor
970
+ - Fix bug with multiselect and edit json button. Fixes #145
971
+ - Fix typo that was breaking arrays. Fixes #146
972
+
973
+ ### (tag: v0.6.15)
974
+ - Add options for hiding array controls (add row, delete row, move up/down). Fixes #139 Fix bug with table editor and minItems.
975
+ - Fix bug when multiselect is used within table editor. Fixes #141
976
+ - Fix table column ordering with `propertyOrder`. Fixes #143
977
+
978
+ ### (tag: v0.6.14)
979
+ - Version bump.
980
+ - Avoid "self" referring to "window"; adjust comment placement
981
+ - Add file upload editor for base64 strings.
982
+ - Change demo to use cdn.rawgit for lzstring library
983
+ - Change demo url to avoid abusing rawgit.com
984
+ - Fixes json in package.json
985
+
986
+ ### (tag: v0.6.13)
987
+ - Add propertyOrder support, fix SCEditor, fix validator ready bug.
988
+
989
+ ### (tag: v0.6.12)
990
+ - 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.
991
+ - HTML5 expects meta charset, and FF complains in console without it; should be before title in case special chars used within title
992
+
993
+ ### (tag: v0.6.11)
994
+ - Add disable_properties option, checkbox version of multiselect editor. Fixes #111 #105 #91
995
+
996
+ ### (tag: v0.6.10)
997
+ - Fix bug with validate API call.
998
+ - Fix validation when supplying value to validate()
999
+ - Update README.md
1000
+
1001
+ ### (tag: v0.6.9)
1002
+ - Update bower version.
1003
+ - Fix bugs with error messages not showing up. Fixes #114
1004
+ - Add new multiselect editor for arrays of enumerated strings. Fixes #91
1005
+ - Add 'hidden' option to all editors that stops it from being displayed in the UI.
1006
+
1007
+ ### (tag: v0.6)
1008
+ - Fix #100
1009
+ - Add bower.json file. For #101
1010
+ - Add name attributes to form inputs so JSON Editor can be embedded in an HTML form.
1011
+ - Fix bug with EpicEditor integration. Fixes #92
1012
+ - Bump version number.
1013
+ - Fixed default value when "type" is an array of types. Note: The expected default value should match the first type in the types array.
1014
+ - Fix #93
1015
+ - Performance improvement for multiple editor. Now using lazy loading of child editors.
1016
+ - UI Improvements
1017
+ - Now all buttons have a css-class specifying its function
1018
+ - Fix bug with startval not firing change event on parent elements. Fixes #86
1019
+ - Fix bug with link_watchers not being defined.
1020
+ - Add support for hyper-schema `links` keyword.
1021
+ - Fix error message when an invalid type is used. Add support for media keyword from Hyper Schema (for #68)
1022
+ - Fix bug with constant values in enumSource.
1023
+ - Fix bug with enumSource within array elements. For #82
1024
+ - Add verbose form of enumSource property. Fixes #82
1025
+ - Fix initial value for EpicEditor and Ace Editor.
1026
+ - Integrate Ace editor for source code editing.
1027
+ - Clean up demo code.
1028
+ - Split IE9 polyfills to a separate file. For #79
1029
+ - Fix dynamic header for objects.
1030
+ - Fix bug with headerTemplate and bootstrap3 theme and tab arrays.
1031
+ - Fix bug with enumSource watching a field before it's declared. Fixes #80
1032
+ - Version bump.
1033
+ - Enable/Disable buttons and links, update README and example.
1034
+ - Basic implementation of enable/disable.
1035
+ - Fix script src in validator test page.
1036
+ - version bump
1037
+ - Miscellaneous bug fixes for edge cases.
1038
+ - Add filesize for production version to readme.
1039
+ - Update README and examples. Fix a couple bugs.
1040
+ - Fix bug with oneOf and registering editors.
1041
+ - Add api methods for listening for ready/change events.
1042
+ - Add backwards compatible syntax for setting JSON editor defaults.
1043
+ - A bunch of bug fixes, performance improvements, and new api methods.
1044
+ - Convert jqueryui theme to native javascript.
1045
+ - Performance improvements and a few bug fixes.
1046
+ - Fully remove jQuery dependency.
1047
+ - Convert foundation themes and iconlibs to native javascript.
1048
+ - Convert bootstrap2 and bootstrap3 themes to native javascript.
1049
+ - Convert table, null, and enum editors to native javascript.
1050
+ - Added native implementation of $.each and moved utilities to their own file.
1051
+ - Add native implementation of $extend (http://andrewdupont.net/2009/08/28/deep-extending-objects-in-javascript/)
1052
+ - Started converting to native javascript.
1053
+ - Add support for Zepto (requires event and data modules only). First step to fully convert to native.
1054
+ - 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).
1055
+ - Major performance improvements for large schemas (500% faster initialization in some cases).
1056
+ - Performance improvements when deleting array elements from long arrays. Performance improvement when adding back previously deleted array elements.
1057
+ - Fix bug with the multiple editor that wasn't choosing good display names for the drop down.
1058
+ - Add support for dynamic headers. Fixes #67
1059
+ - Fix typo with string format=textarea.
1060
+ - Add support back for `collapsed` option. It was broken a while ago.
1061
+ - Fixed bug with Validator.expandSchema not recursively expanding.
1062
+ - Add validator support for required_by_default and no_additional_properties.
1063
+ - Adding new `tabs` format for arrays.
1064
+ - 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://
1065
+ - Clean up README overview and options
1066
+ - Fix bug with string editor not always returning a string value when dynamic enums are used.
1067
+ - Update README.md
1068
+ - Improve styling of table and array editors. Fixes #64
1069
+ - Add support for icon buttons. Fixes #65
1070
+ - Fix bug with string editor and enumSource.
1071
+ - Add support for the Select2 library.
1072
+ - Add support for readOnly (version 4 hyper schema) and readonly (version 2 json schema) for string and select editors.
1073
+ - Remove trailing comma.
1074
+ - Fix padding around arrays in the Bootstrap2 theme.
1075
+ - Fix bug with setting the value of an enumSource element before the select options have been set.
1076
+ - Fix bug with watched fields not updating correctly within array rows.
1077
+ - Add `no_additional_items` option for JSON Editor. Clean up documentation.
1078
+ - Fix bug with `self` not being defined. Move `data-schematype` attribute to container instead of input.
1079
+ - Add support for dynamic enum. Fixes #61
1080
+ - Change `vars` to `watch` and moved it to AbstractEditor. Fixes #55
1081
+ - Add editor support for allOf and extends. Fixes #49 Fix bug with refs not being expanded properly.
1082
+ - Add editor support for disallow. Fixes #62 Add support for additional properties when setting the value for an object editor programatically. Clean up documentation.
1083
+ - Add support for additionalProperties and patternProperties. Fixes #46 Clean up title controls for objects.
1084
+ - Revert example page to use bootstrap.
1085
+ - Show validation errors in the form. Fixes #43
1086
+ - Update README.md
1087
+ - 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.
1088
+ - Add support for editing markdown with EpicEditor. Fixes #57
1089
+ - Add support for SCEditor for WYSIWYG editing of HTML and BBCode. For #57
1090
+ - Add support for custom validation. Fixes #58
1091
+ - 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.
1092
+ - Version bump.
1093
+ - 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.
1094
+ - Add support for `oneOf` and better support for `type`. Fixes #48
1095
+ - 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.
1096
+ - Add editor support for min and max properties. Fixes #45
1097
+ - Add full support for `items` and `additionalItems` keywords. Fixes #47
1098
+ - Add editor support for pattern, minLength, and maxLength. Fixes #50
1099
+ - Fix bug with required version 3 support.
1100
+ - 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.
1101
+ - 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.
1102
+ - 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.
1103
+ - Finished implementing validation, but still needs testing.
1104
+ - Add beginnings of validator class.
1105
+ - Remove caveat about type support since we now support type arrays. Clean up headers in README.
1106
+ - Add support for schemas with multiple types. Fixes #39
1107
+ - 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.
1108
+ - Add support for `required` schema keyword. Fixes #37 Support for `minProperties` and `maxProperties` can now be added and will come soon.
1109
+ - Add startval example to README
1110
+ - Bump version number.
1111
+ - 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.
1112
+ - 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.
1113
+ - Add description image to readme.
1114
+ - Add description image.
1115
+ - Update README.md
1116
+ - Fix typo in README
1117
+ - Add support for external urls with $ref. Fixes #34
1118
+ - Modified grunt to preserve the license comment when uglifying. Fixes #33
1119
+ - Bump version number.
1120
+ - 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.
1121
+ - Fix invalid json in README.md.
1122
+ - Add Foundation 3 theme. Improve html theme and set that as the default instead of bootstrap2. Clean up the example page. Improve documentation.
1123
+ - 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
1124
+ - Add foundation4 and foundation5 themes. Fixes #25 Fixes #26
1125
+ - Adding markdown template engine. Fixes #23
1126
+ - Update README.md
1127
+ - 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.
1128
+ - 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.
1129
+ - Update distribution file with correct version number and date.
1130
+ - 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.
1131
+ - Add support for `multipleOf` when using range input. Fixes #17
1132
+ - Fix README which accidentally got overridden in the last commit.
1133
+ - 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.
1134
+ - Fix bug in bootstrap2 theme. Remove "Delete Last row" button in array/table editor when array is empty.
1135
+ - Add bootstrap3 theme and improve jqueryui theme (for #12) Update documentation to reference themes and editor options.
1136
+ - Fix Typo in JSON example
1137
+ - Fix pass-by-reference bug with default values. Add preliminary support for a jqueryui theme (for #12)
1138
+ - 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
1139
+ - Add support for setting editor options in a schema. Add 'collapsed' option to object editor that defaults the editor to collapsed. Fixes #13
1140
+ - Add "Delete All Rows" button to array editor. Fixes #14 Hide delete buttons when an array is empty.
1141
+ - Update readme to list out the supported formats
1142
+ - Update README.md
1143
+ - Update readme to point to an example that actually works.
1144
+ - Made boolean editor separate from string editor and improve UI. Add value display for range format. Fixes #9
1145
+ - 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.
1146
+ - Add support for definitions and references. Fixes #2
1147
+ - 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.)
1148
+ - Add support for minItems and maxItems schema keywords for arrays. Fixes #1
1149
+ - Fix bug with removing move down button in empty array. Add support for description and default schema keywords. Fixes #3
1150
+ - Hide "move down" button for last item in array. Fixes #5
1151
+ - Initial commit.
1152
+ - Initial commit