@ethlete/cdk 5.0.0-next.35 → 5.0.0-next.36

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.35",
3
+ "version": "5.0.0-next.36",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -4781,6 +4781,7 @@ declare class QueryButtonDirective {
4781
4781
  pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
4782
4782
  };
4783
4783
  constructor();
4784
+ private _clearCleanupTimeout;
4784
4785
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<QueryButtonDirective, never>;
4785
4786
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<QueryButtonDirective, never, ["etQueryButton"], { "skipSuccess": { "alias": "skipSuccess"; "required": false; }; "skipFailure": { "alias": "skipFailure"; "required": false; }; "skipLoading": { "alias": "skipLoading"; "required": false; }; "query": { "alias": "query"; "required": false; }; }, {}, never, never, true, never>;
4786
4787
  static ngAcceptInputType_skipSuccess: unknown;
@@ -7667,6 +7668,8 @@ type IconDefinition = {
7667
7668
  */
7668
7669
  declare const ICONS_TOKEN: InjectionToken<Record<string, IconDefinition>>;
7669
7670
  /**
7671
+ * Registers the icons `etIcon` can render. The SVG strings are inserted without sanitization, so pass only trusted, static SVG - never markup from an API or CMS.
7672
+ *
7670
7673
  * @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.
7671
7674
  */
7672
7675
  declare const provideIcons: (...icons: IconDefinition[]) => {
@@ -9820,6 +9823,12 @@ type PaginateOptions = {
9820
9823
  * @default 1
9821
9824
  */
9822
9825
  firstPage?: number;
9826
+ /**
9827
+ * The absolute url the page urls are built from. Pass it when calling `paginate` outside a browser.
9828
+ *
9829
+ * @default window.location.href
9830
+ */
9831
+ currentUrl?: string;
9823
9832
  };
9824
9833
  /**
9825
9834
  * @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.
@@ -9848,6 +9857,7 @@ type PaginationHeadServiceConfig = {
9848
9857
  declare class PaginationComponent implements OnInit, OnDestroy {
9849
9858
  private _pageControlSubscription;
9850
9859
  private _paginationHeadService;
9860
+ private _document;
9851
9861
  get pageControl(): FormControl<number | null> | null;
9852
9862
  set pageControl(v: FormControl<number | null> | null);
9853
9863
  private _pageControl;