UNPKG

angular2-query-builder

Version:

A modernized Angular 2+ query builder based on jquery QueryBuilder

63 lines (53 loc) 2.39 kB
Angular2-QueryBuilder Changelog =============== Version 0.5.0 ----------- - Upgrade to Angular 8 - Add option to persist value on rule change (see documentation for details) Version 0.4.0 ----------- - Fix issue switching operators changing select to multiple and causing invalid value error. (#69) - Add a `coerceValueForOperator` to handle value changes between operator switches to `config` object. - Add `treeContainer`, `collapsed`, `arrowIcon`, `arrowIconButton` fields to `classNames` object. - Add `queryArrowIcon` structural directive to override collapse arrow icon. - Added `allowCollapse` to enable accordion/collapse mode. (#66) Version 0.3.3 ----------- - Fix `queryEmptyWarning` directive not being passed to nested rules Version 0.3.2 ----------- - Add `queryEmptyWarning` directive for customizing empty warning messages - Add `[emptyMessage]` to change the default empty message text Version 0.3.1 ----------- - Change: add Rule will use `defaultValue` of `Field` as the default - Updated Angular Materials to 6.0 in demos - Fix touched state not being updated when changing the query condition (AND/OR) - Add `[disabled]` feature #61 - Tweaks to Vanilla CSS styling Version 0.3.0 ----------- - Breaking: Renamed `changeField` callback to `onChange` for `queryField` directive. - Add `onChange` callback to `queryEntity`, `queryInput`, `queryOperator`, `queryInput` for proper reactive form validation and touched behavior on custom components - Add proper touched behavior to reactive form usage (See #49) - Add entity mode (See #22) - Fix `[value]` unrecognized property binding - Fix QueryBuilderClassNames not being exported as interface - Fix `in` operator causing multi-select to be displayed for all types (only limited to `category`, `boolean` now) - Minor tweaks to CSS styling of default component Version 0.2.5 ----------- - Fix root remove ruleset button showing - Fix default value bug where only the first character of the operator is shown - Fix inability to override multiselect operators (is in, is not in) Version 0.2.4 ----------- - Fix serious issue with validation causing `ngModel` value to be wrong - New `QueryBuilderClassNames` interface - Rewrite CSS for more extensible CSS classes - New bootstrap 4 example Version 0.2.3 ----------- - Fix IE11 not working (target ES5) - Fix invalid/valid state - New validator function on `Field` config