Released: Nov 27, 2024
19.1.0 での更新項目
機能
IgxBanner
- Introduced a new expanded input property, enabling dynamic control over the banner's state. The banner can now be programmatically set to 'expanded' (visible) or 'collapsed' (hidden) both initially and at runtime. Animations will trigger during runtime updates - the open animation plays when expanded is set to true, and the close animation plays when set to false. However, no animations will trigger when the property is set initially.
- The banner's event lifecycle (opening, opened, closing, closed) only triggers through user interactions (e.g., clicking to open/close). Programmatic updates using the expanded property will not fire any events.
- If the expanded property changes during an ongoing animation, the current animation will stop, and the opposite animation will begin from where the previous animation left off. For instance, if the open animation (10 seconds) is interrupted at 6 seconds and expanded is set to false, the close animation (5 seconds) will start from its 3rd second.
IgxQueryBuilderComponent
- Introduced the ability to create nested queries by specifying IN/NOT IN operators.
- Introduced the ability to reposition condition chips by dragging or using Arrow Up/Down.
- Added the entities property that accepts an array of EntityType objects describing an entity with its name and an array of fields. The fields input property has been deprecated and will be removed in a future version. Automatic migrations are available and will be applied on ng update.
- Added disableEntityChange property that can disable the entity selected on a root level after the initial selection. Defaults to false.
- Added disableReturnFieldsChange property that can be used to disable the fields combo on a root level. Defaults to false.
- Added the canCommit, commit and discard public methods, allowing the user to save/discard the current state of the expression tree.
- Added option to template the search value input.
- Behavioral Changes
- Expression enters edit mode on a single click, Enter or Space.
- Selecting conditions inside the IgxQueryBuilderComponent is no longer supported. Grouping/ungrouping expressions is now achieved via the newly exposed Drag & Drop functionality.
- Deleting multiple expressions through the context menu is no longer supported.
IgxQueryBuilderHeaderComponent
- Behavioral Change
- Legend is no longer shown.
- If the title input property is not set, by default it would be empty string.
- Deprecation
- The showLegend and resourceStrings input properties have been deprecated and will be removed in a future version. Automatic migrations are available and will be applied on ng update.
IFilteringExpression
- A new optional property called conditionName has been introduced. This would generally be equal to the existing condition.name.
IFilteringOperation
- A new optional property called isNestedQuery has been introduced. It's used to indicate whether the condition leads to a nested query creation.