@ethlete/cdk 5.0.0-next.38 → 5.0.0-next.39

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/cdk",
3
- "version": "5.0.0-next.38",
3
+ "version": "5.0.0-next.39",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -6658,6 +6658,8 @@ type SelectionModelBinding<T extends SelectionModelTypes = any> = SelectionModel
6658
6658
  declare class SelectionModel<T extends SelectionModelTypes = unknown> {
6659
6659
  private readonly _destroy$;
6660
6660
  private _lastSelectionSetSubscription;
6661
+ get isSyncingSelectionFromValue(): boolean;
6662
+ private _isSyncingSelectionFromValue;
6661
6663
  get selection$(): Observable<T[]>;
6662
6664
  get selection(): T[];
6663
6665
  private readonly _selection$;
@@ -6689,6 +6691,10 @@ declare class SelectionModel<T extends SelectionModelTypes = unknown> {
6689
6691
  constructor();
6690
6692
  setSelection(selection: T | T[]): this;
6691
6693
  setSelectionFromValue(value: unknown): void;
6694
+ /**
6695
+ * Applies `value` once options are available. Until then, and while applying it, `isSyncingSelectionFromValue` is `true`.
6696
+ * Any user selection change cancels a pending sync.
6697
+ */
6692
6698
  setSelectionFromValue$(value: unknown): void;
6693
6699
  setValueBinding(fnOrPropertyPath: SelectionModelBinding<T> | null): this;
6694
6700
  setKeyBinding(fnOrPropertyPath: SelectionModelBinding<T> | null): this;
@@ -6744,6 +6750,7 @@ declare class SelectionModel<T extends SelectionModelTypes = unknown> {
6744
6750
  clearSelectedOptions(): void;
6745
6751
  toggleSelectedOption(option: T): void;
6746
6752
  toggleAllSelectedOptions(): void;
6753
+ private _cancelPendingSelectionFromValue;
6747
6754
  }
6748
6755
 
6749
6756
  declare class ActiveSelectionModel<T = unknown> {
@@ -6798,6 +6805,7 @@ declare class ComboboxDirective implements OnInit {
6798
6805
  set options(value: unknown[]);
6799
6806
  set initialValue(value: unknown);
6800
6807
  private _initialValue$;
6808
+ private _hasReceivedSelectionValue;
6801
6809
  get filterInternal(): boolean;
6802
6810
  set filterInternal(value: unknown);
6803
6811
  private _filterInternal$;