@ethlete/cdk 5.0.0-next.34 → 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.
@@ -22,7 +22,9 @@ const CSS_REPLACEMENTS = [
22
22
  // Theming-related exports that moved from @ethlete/theming and @ethlete/cdk to @ethlete/core
23
23
  const THEMING_EXPORTS = new Set([
24
24
  'ProvideThemeDirective',
25
+ 'ProvideColorDirective',
25
26
  'THEME_PROVIDER',
27
+ 'COLOR_PROVIDER',
26
28
  'Theme',
27
29
  'ThemeSwatch',
28
30
  'OnThemeColorMap',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/cdk",
3
- "version": "5.0.0-next.34",
3
+ "version": "5.0.0-next.36",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -4478,7 +4478,7 @@ type NewBracketConfig<TRoundData = any, TMatchData = any> = {
4478
4478
  /**
4479
4479
  * @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.
4480
4480
  */
4481
- declare const provideNewBracketConfig: (valueOverride?: Partial<NewBracketConfig<any, any>> | undefined) => _angular_core.Provider[];
4481
+ declare const provideNewBracketConfig: (valueOverride?: Partial<NewBracketConfig<any, any>> | undefined) => _angular_core.StaticProvider[];
4482
4482
  /**
4483
4483
  * @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.
4484
4484
  */
@@ -4692,7 +4692,7 @@ declare const BreadcrumbImports: readonly [typeof BreadcrumbOutletComponent, typ
4692
4692
  /**
4693
4693
  * @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.
4694
4694
  */
4695
- declare const provideBreadcrumbManager: () => _angular_core.Provider[];
4695
+ declare const provideBreadcrumbManager: () => _angular_core.StaticProvider[];
4696
4696
  /**
4697
4697
  * @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.
4698
4698
  */
@@ -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[]) => {
@@ -8447,7 +8450,7 @@ declare const getOriginCoordinatesAndDimensions: (origin: HTMLElement | Event |
8447
8450
  /**
8448
8451
  * @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.
8449
8452
  */
8450
- declare const provideAnchoredDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8453
+ declare const provideAnchoredDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8451
8454
  /**
8452
8455
  * @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.
8453
8456
  */
@@ -8455,7 +8458,7 @@ declare const injectAnchoredDialogStrategyDefaults: _ethlete_core.InjectFn<Overl
8455
8458
  /**
8456
8459
  * @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.
8457
8460
  */
8458
- declare const provideAnchoredDialogStrategy: () => _angular_core.Provider[];
8461
+ declare const provideAnchoredDialogStrategy: () => _angular_core.StaticProvider[];
8459
8462
  /**
8460
8463
  * @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.
8461
8464
  */
@@ -8470,7 +8473,7 @@ declare const anchoredDialogOverlayStrategy: (config?: Partial<OverlayBreakpoint
8470
8473
  /**
8471
8474
  * @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.
8472
8475
  */
8473
- declare const provideBottomSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8476
+ declare const provideBottomSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8474
8477
  /**
8475
8478
  * @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.
8476
8479
  */
@@ -8478,7 +8481,7 @@ declare const injectBottomSheetStrategyDefaults: _ethlete_core.InjectFn<OverlayB
8478
8481
  /**
8479
8482
  * @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.
8480
8483
  */
8481
- declare const provideBottomSheetStrategy: () => _angular_core.Provider[];
8484
+ declare const provideBottomSheetStrategy: () => _angular_core.StaticProvider[];
8482
8485
  /**
8483
8486
  * @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.
8484
8487
  */
@@ -8493,7 +8496,7 @@ declare const bottomSheetOverlayStrategy: (config?: Partial<OverlayBreakpointCon
8493
8496
  /**
8494
8497
  * @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.
8495
8498
  */
8496
- declare const provideDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8499
+ declare const provideDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8497
8500
  /**
8498
8501
  * @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.
8499
8502
  */
@@ -8501,7 +8504,7 @@ declare const injectDialogStrategyDefaults: _ethlete_core.InjectFn<OverlayBreakp
8501
8504
  /**
8502
8505
  * @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.
8503
8506
  */
8504
- declare const provideDialogStrategy: () => _angular_core.Provider[];
8507
+ declare const provideDialogStrategy: () => _angular_core.StaticProvider[];
8505
8508
  /**
8506
8509
  * @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.
8507
8510
  */
@@ -8516,7 +8519,7 @@ declare const dialogOverlayStrategy: (config?: Partial<OverlayBreakpointConfig>)
8516
8519
  /**
8517
8520
  * @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.
8518
8521
  */
8519
- declare const provideFullscreenDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8522
+ declare const provideFullscreenDialogStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8520
8523
  /**
8521
8524
  * @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.
8522
8525
  */
@@ -8524,7 +8527,7 @@ declare const injectFullscreenDialogStrategyDefaults: _ethlete_core.InjectFn<Ove
8524
8527
  /**
8525
8528
  * @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.
8526
8529
  */
8527
- declare const provideFullscreenDialogStrategy: () => _angular_core.Provider[];
8530
+ declare const provideFullscreenDialogStrategy: () => _angular_core.StaticProvider[];
8528
8531
  /**
8529
8532
  * @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.
8530
8533
  */
@@ -8539,7 +8542,7 @@ declare const fullScreenDialogOverlayStrategy: (config?: Partial<OverlayBreakpoi
8539
8542
  /**
8540
8543
  * @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.
8541
8544
  */
8542
- declare const provideLeftSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8545
+ declare const provideLeftSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8543
8546
  /**
8544
8547
  * @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.
8545
8548
  */
@@ -8547,7 +8550,7 @@ declare const injectLeftSheetStrategyDefaults: _ethlete_core.InjectFn<OverlayBre
8547
8550
  /**
8548
8551
  * @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.
8549
8552
  */
8550
- declare const provideLeftSheetStrategy: () => _angular_core.Provider[];
8553
+ declare const provideLeftSheetStrategy: () => _angular_core.StaticProvider[];
8551
8554
  /**
8552
8555
  * @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.
8553
8556
  */
@@ -8587,7 +8590,7 @@ declare const transformingFullScreenDialogToDialogOverlayStrategy: (customConfig
8587
8590
  /**
8588
8591
  * @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.
8589
8592
  */
8590
- declare const provideRightSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8593
+ declare const provideRightSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8591
8594
  /**
8592
8595
  * @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.
8593
8596
  */
@@ -8595,7 +8598,7 @@ declare const injectRightSheetStrategyDefaults: _ethlete_core.InjectFn<OverlayBr
8595
8598
  /**
8596
8599
  * @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.
8597
8600
  */
8598
- declare const provideRightSheetStrategy: () => _angular_core.Provider[];
8601
+ declare const provideRightSheetStrategy: () => _angular_core.StaticProvider[];
8599
8602
  /**
8600
8603
  * @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.
8601
8604
  */
@@ -8610,7 +8613,7 @@ declare const rightSheetOverlayStrategy: (config?: Partial<OverlayBreakpointConf
8610
8613
  /**
8611
8614
  * @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.
8612
8615
  */
8613
- declare const provideTopSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.Provider[];
8616
+ declare const provideTopSheetStrategyDefaults: (valueOverride?: Partial<OverlayBreakpointConfig> | undefined) => _angular_core.StaticProvider[];
8614
8617
  /**
8615
8618
  * @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.
8616
8619
  */
@@ -8618,7 +8621,7 @@ declare const injectTopSheetStrategyDefaults: _ethlete_core.InjectFn<OverlayBrea
8618
8621
  /**
8619
8622
  * @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.
8620
8623
  */
8621
- declare const provideTopSheetStrategy: () => _angular_core.Provider[];
8624
+ declare const provideTopSheetStrategy: () => _angular_core.StaticProvider[];
8622
8625
  /**
8623
8626
  * @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.
8624
8627
  */
@@ -9068,7 +9071,7 @@ declare const OVERLAY_CONFIG: InjectionToken<OverlayConfig>;
9068
9071
  /**
9069
9072
  * @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.
9070
9073
  */
9071
- declare const provideOverlayManager: () => _angular_core.Provider[];
9074
+ declare const provideOverlayManager: () => _angular_core.StaticProvider[];
9072
9075
  /**
9073
9076
  * @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.
9074
9077
  */
@@ -9419,7 +9422,7 @@ declare const provideOverlay: () => (typeof Dialog | _angular_core.EnvironmentPr
9419
9422
  /**
9420
9423
  * @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.
9421
9424
  */
9422
- declare const provideOverlayScrollBlocker: () => _angular_core.Provider[];
9425
+ declare const provideOverlayScrollBlocker: () => _angular_core.StaticProvider[];
9423
9426
  /**
9424
9427
  * @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.
9425
9428
  */
@@ -9701,7 +9704,7 @@ type FocusElementRegistryEntry = {
9701
9704
  /**
9702
9705
  * @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.
9703
9706
  */
9704
- declare const provideFocusRegistry: () => _angular_core.Provider[];
9707
+ declare const provideFocusRegistry: () => _angular_core.StaticProvider[];
9705
9708
  /**
9706
9709
  * @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.
9707
9710
  */
@@ -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;