@alauda/ui 6.0.1 → 6.0.2-beta.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.
@@ -3776,7 +3776,9 @@
3776
3776
  CheckboxGroupComponent.propDecorators = {
3777
3777
  direction: [{ type: i0.Input }],
3778
3778
  trackFn: [{ type: i0.Input }],
3779
- checkboxes: [{ type: i0.ContentChildren, args: [i0.forwardRef(function () { return CheckboxComponent; }),] }]
3779
+ checkboxes: [{ type: i0.ContentChildren, args: [i0.forwardRef(function () { return CheckboxComponent; }), {
3780
+ descendants: true,
3781
+ },] }]
3780
3782
  };
3781
3783
 
3782
3784
  var uniqueId$2 = 0;
@@ -5667,6 +5669,14 @@
5667
5669
  var _e = __read(_d, 2), customOptions = _e[0], contentOptions = _e[1];
5668
5670
  return __spread(customOptions.toArray(), contentOptions.toArray());
5669
5671
  }), operators.publishReplay(1), operators.refCount());
5672
+ // support dynamic options loading on filtering
5673
+ this.allOptions$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function () {
5674
+ if (_this.opened) {
5675
+ requestAnimationFrame(function () {
5676
+ _this.autoFocusFirstOption();
5677
+ });
5678
+ }
5679
+ });
5670
5680
  this.hasMatchedOption$ = rxjs.combineLatest([
5671
5681
  this.allOptions$.pipe(operators.map(function (customOptions) { return customOptions.filter(function (option) { return option !== _this.inputtingOption; }); }),
5672
5682
  // eslint-disable-next-line sonarjs/no-identical-functions