- 1.2.0
- Added
treeselect
andtreemultiselect
types - Changed format of
listValues
from{<value>: <title>}
to[{value, title}]
(old is supported). Tree select also uselistValues
, format is compatible with simple select -[{value, title, parent}]
- Added
- 1.1.3
- Fixed console warnings
- Fixed dev hot reload: now state is preserving
- Added render hoooks to
config.settings
:renderBeforeWidget
,renderAfterWidget
,renderBeforeActions
,renderAfterActions
- 1.1.2
- Added import from JsonLogic
- 1.1.1
- Optimized
$eq
and$and
in MongoDb query export - Fixed error if query value is empty
- Added API in readme
- Optimized
- 1.1.0
- Added export to JsonLogic
- 1.0.12
- Added
sqlFormatFunc
,mongoFormatFunc
,renderBrackets
,renderSeps
(for func),funcs
(for field)
- Added
- 1.0.11
- Added css-class
qb-lite
for query builder (see readme if you wanna use it)
- Added css-class
- 1.0.10
- Fix when using cascader for func selection
- 1.0.9
- Allow group of functions (like with fields -
type == '!struct'
andsubfields
)
- Allow group of functions (like with fields -
- 1.0.8
- Added support for your custom functions as value source (args can be values/fields/funcs), see new section
funcs
inconfig
- Improved Mongo format: now can compare with field & use funcs with help of
$expr
- (breaking)
mongoFormatOp
- inserted arguseExpr
at 4th position - Added
hideForSelect
,hideForCompare
for field config
- Added support for your custom functions as value source (args can be values/fields/funcs), see new section
- 1.0.7
- Fixed Babel
- 1.0.6
- Added TypeScript support (
examples
uses TS,sandbox
uses JS) - Updated Babel, Webpack
- For
field
widget slightly changed format offormatValue()
andsqlFormatValue()
functions - argumentrightFieldDef
is now last one - Added
defaultValue
in field config - All
fieldSettings
will be now passed to widget props listValues
andallowCustomValues
moved insidefieldSettings
- Added TypeScript support (
- 1.0.4
- Added
QbUtils.sqlFormat()
(issue #29) - Added
like
andnot_like
operators - Added 2 params
string op, Object opDef
to end offormatValue()
,mongoFormatValue()
- Added
- 1.0.3
- Completely removed auto-loading of antd styles (issue #50)
- 1.0.2
- Fixed bug with running examples app via react-scripts
- 1.0.1
- Fixed bug with importing React
- 1.0.0
- Don't include AntDesign styles automatically (issues #50, #93)
- added:
allowCustomValues
(issue #88) - change: removed
renderFieldAndOpAsDropdown
, replaced byrenderField
(issue #109) - added
renderOperator
(issue #89) - change: query value now can be exported to JSON (instead of
Immutable.Map
), and loaded withloadTree
(old format is supported) (issue #61) - added:
canRegroup
- rename:
readonlyMode
->immutableGroupsMode
- rename:
get_children
->renderBuilder
- removed: unused
<Preview />
component and.query-preview
class - optimized renders & dragging