@acorex/components 22.1.0 → 22.1.2

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.
@@ -727,7 +727,12 @@ class AXTreeViewComponent {
727
727
  */
728
728
  this.alternate = input(false, /* @ts-ignore */
729
729
  ...(ngDevMode ? [{ debugName: "alternate" }] : /* istanbul ignore next */ []));
730
- /** Custom template for tree items. Default: `undefined` */
730
+ /**
731
+ * Custom template for tree items. Default: `undefined`
732
+ *
733
+ * Context includes `highlightText`; the default node label is replaced by the template,
734
+ * so search highlighting must be rendered by the template itself.
735
+ */
731
736
  this.nodeTemplate = input(/* @ts-ignore */
732
737
  ...(ngDevMode ? [undefined, { debugName: "nodeTemplate" }] : /* istanbul ignore next */ []));
733
738
  /** Field name for node ID. Default: `'id'` */
@@ -1742,6 +1747,7 @@ class AXTreeViewComponent {
1742
1747
  dragEnabled,
1743
1748
  dragArea: dragAreaValue,
1744
1749
  showDragHandle,
1750
+ highlightText: this.highlightText(),
1745
1751
  };
1746
1752
  }
1747
1753
  /**