@ethlete/cdk 5.0.0-next.43 → 5.0.0-next.44
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/CHANGELOG.md +7 -0
- package/fesm2022/ethlete-cdk.mjs +35 -11
- package/fesm2022/ethlete-cdk.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ethlete-cdk.d.ts +9 -3
package/package.json
CHANGED
package/types/ethlete-cdk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { AfterContentChecked, AfterContentInit, AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, ElementRef, EnvironmentInjector, EventEmitter, InjectionToken, Injector, InputSignal, OnChanges, OnDestroy, OnInit, Optional, Provider, Signal, SimpleChanges, StaticProvider, TemplateRef, TrackByFunction, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { AfterContentChecked, AfterContentInit, AfterViewInit, ApplicationRef, ChangeDetectorRef, ComponentRef, DoCheck, ElementRef, EnvironmentInjector, EventEmitter, InjectionToken, Injector, InputSignal, OnChanges, OnDestroy, OnInit, Optional, Provider, Signal, SimpleChanges, StaticProvider, TemplateRef, TrackByFunction, ViewContainerRef } from "@angular/core";
|
|
3
3
|
import { CdkPortal, CdkPortalOutlet, ComponentPortal, ComponentType, TemplatePortal } from "@angular/cdk/portal";
|
|
4
4
|
import { MatchListView, MatchListViewUnion, RoundStageStructureView, RoundStageStructureWithMatchesView, RoundType } from "@ethlete/types";
|
|
5
5
|
import { BehaviorSubject, Observable, Subject, Subscriber, Subscription } from "rxjs";
|
|
@@ -5617,7 +5617,7 @@ export declare const INPUT_TOKEN: InjectionToken<InputDirective<unknown, HTMLEle
|
|
|
5617
5617
|
/**
|
|
5618
5618
|
* @deprecated `@ethlete/cdk` is in maintenance mode. Use the `@ethlete/components` equivalent instead - see https://ethlete-sdk-docs.web.app/cdk/migration, and run `nx g @ethlete/cdk:migrate-from-cdk` to rewrite the mechanical parts. Intent to remove in v6.
|
|
5619
5619
|
*/
|
|
5620
|
-
export declare class InputDirective<T = unknown, J extends HTMLElement = HTMLElement> implements OnInit, OnDestroy {
|
|
5620
|
+
export declare class InputDirective<T = unknown, J extends HTMLElement = HTMLElement> implements OnInit, DoCheck, OnDestroy {
|
|
5621
5621
|
private readonly _injector;
|
|
5622
5622
|
private readonly _inputStateService;
|
|
5623
5623
|
private readonly _formFieldStateService;
|
|
@@ -5628,6 +5628,8 @@ export declare class InputDirective<T = unknown, J extends HTMLElement = HTMLEle
|
|
|
5628
5628
|
private readonly _elementRef;
|
|
5629
5629
|
protected _neverEmptyInputs: string[];
|
|
5630
5630
|
private _implicitControl?;
|
|
5631
|
+
private _watchedControl?;
|
|
5632
|
+
private readonly _control$;
|
|
5631
5633
|
private get control();
|
|
5632
5634
|
private readonly _id;
|
|
5633
5635
|
readonly autocomplete: import("@angular/core").InputSignal<string | null>;
|
|
@@ -5671,6 +5673,8 @@ export declare class InputDirective<T = unknown, J extends HTMLElement = HTMLEle
|
|
|
5671
5673
|
readonly onInternalUpdate$: Observable<"internal">;
|
|
5672
5674
|
readonly onExternalUpdate$: Observable<"external">;
|
|
5673
5675
|
constructor();
|
|
5676
|
+
ngDoCheck(): void;
|
|
5677
|
+
private _syncControl;
|
|
5674
5678
|
ngOnInit(): void;
|
|
5675
5679
|
ngOnDestroy(): void;
|
|
5676
5680
|
focusInputVia(origin?: FocusOrigin): void;
|
|
@@ -11956,6 +11960,7 @@ export declare class SortDirective implements OnChanges, OnDestroy, OnInit {
|
|
|
11956
11960
|
private readonly _defaultOptions;
|
|
11957
11961
|
sortables: Map<string, Sortable>;
|
|
11958
11962
|
readonly _stateChanges: Subject<void>;
|
|
11963
|
+
private _controlSubscription;
|
|
11959
11964
|
_isInitialized: boolean;
|
|
11960
11965
|
_pendingSubscribers: Subscriber<void>[] | null;
|
|
11961
11966
|
initialized: Observable<void>;
|
|
@@ -11975,7 +11980,8 @@ export declare class SortDirective implements OnChanges, OnDestroy, OnInit {
|
|
|
11975
11980
|
sort(sortable: Sortable): void;
|
|
11976
11981
|
getNextSortDirection(sortable: Sortable): SortDirection;
|
|
11977
11982
|
ngOnInit(): void;
|
|
11978
|
-
|
|
11983
|
+
private _watchControls;
|
|
11984
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11979
11985
|
ngOnDestroy(): void;
|
|
11980
11986
|
_markInitialized(): void;
|
|
11981
11987
|
_notifySubscriber(subscriber: Subscriber<void>): void;
|