Skip to content

Releases: leezng/vue-json-pretty

1.6.2

Choose a tag to compare

@leezng leezng released this 31 Aug 07:42
6c735eb
  • Fixed #42 Parse error when data is simple(sucha as string).
  • Fixed #44 Multiple select not work.

1.6.1

Choose a tag to compare

@leezng leezng released this 25 Aug 02:57
ea8f0cd
  • The click event of the child node does not stopPropagation, so that user can listen the native click event(Temporarily solved by uid, and then proceed to improve).
  • Some devDependencies upgrades.

1.6.0

Choose a tag to compare

@leezng leezng released this 31 Mar 14:06
208790e

Why is it 1.6? Because I have added a lot of new attributes, and at the same time modified the existing selection methods, unified into single, multiple or pure display (no need to select), which brings some changes in attribute values. I think this is a jump, so I skipped 1.5.

  • I have unified the selection specification, and the selectableType only supports: single|multiple|""(default).
  • Add radio selector.
  • Add v-model to define the value when the tree can be selected.
  • Add prop "showDoubleQuotes" to configure whether display doublequotes on key(default: true). #17
  • Add prop "highlightSelectedNode" to highlight the selected item. #19
  • Add prop "highlightMouseoverNode" to highlight the item when mouseover.
  • Add prop "showLine" to configure whether the indented lines are displayed.
  • Add class "vjs-key", "vjs-value" to node so you can customize the style. #20
  • Add prop "showSelectController" to configure whether the selectors are displayed.
  • Add prop "selectOnClickNode" to configure whether click-node events affect selection changes.
  • Update the minimum compatible version of vue to 2.5.0, because I use the new Lifecycle Hooks called errorCaptured.
  • Fixed showLength attribute performance error.

1.4.1

Choose a tag to compare

@leezng leezng released this 26 Aug 13:47
  • Fixed the problem that the deep attribute can't respond.

1.4.0

Choose a tag to compare

@leezng leezng released this 22 Jul 14:17
8d95478
  • Add count for length of array or object keys enhancement, see showLength
  • Fixed code version error

1.3.5

Choose a tag to compare

@leezng leezng released this 31 May 14:05
  • Fixed commas and quotes missing when selected.

1.3.4

Choose a tag to compare

@leezng leezng released this 01 Feb 13:46
  • Add deep to define the maximum depth of data.

1.3.3

Choose a tag to compare

@leezng leezng released this 22 Nov 09:00
  • Turn off data selection by default.
  • Style optimization, remove bold fonts, optimize line spacing.

1.3.2

Choose a tag to compare

@leezng leezng released this 10 Nov 06:40
  • Fixed the dataType of Boolean has no style beautification.

1.3.1

Choose a tag to compare

@leezng leezng released this 07 Nov 15:00

1.3.1