@angular/cdk 18.0.0-rc.2 → 18.0.0

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.
Files changed (162) hide show
  1. package/a11y/index.d.ts +6 -1
  2. package/dialog/index.d.ts +0 -1
  3. package/drag-drop/index.d.ts +4 -4
  4. package/esm2022/a11y/a11y-module.mjs +5 -5
  5. package/esm2022/a11y/aria-describer/aria-describer.mjs +4 -4
  6. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +7 -7
  7. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  8. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  9. package/esm2022/a11y/focus-trap/focus-trap.mjs +35 -13
  10. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  11. package/esm2022/a11y/input-modality/input-modality-detector.mjs +4 -4
  12. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  13. package/esm2022/a11y/live-announcer/live-announcer.mjs +7 -7
  14. package/esm2022/accordion/accordion-item.mjs +4 -4
  15. package/esm2022/accordion/accordion-module.mjs +5 -5
  16. package/esm2022/accordion/accordion.mjs +4 -4
  17. package/esm2022/bidi/bidi-module.mjs +5 -5
  18. package/esm2022/bidi/dir.mjs +4 -4
  19. package/esm2022/bidi/directionality.mjs +4 -4
  20. package/esm2022/clipboard/clipboard-module.mjs +5 -5
  21. package/esm2022/clipboard/clipboard.mjs +4 -4
  22. package/esm2022/clipboard/copy-to-clipboard.mjs +4 -4
  23. package/esm2022/collections/unique-selection-dispatcher.mjs +4 -4
  24. package/esm2022/dialog/dialog-container.mjs +9 -31
  25. package/esm2022/dialog/dialog-module.mjs +5 -5
  26. package/esm2022/dialog/dialog.mjs +4 -4
  27. package/esm2022/drag-drop/directives/drag-handle.mjs +4 -4
  28. package/esm2022/drag-drop/directives/drag-placeholder.mjs +4 -4
  29. package/esm2022/drag-drop/directives/drag-preview.mjs +4 -4
  30. package/esm2022/drag-drop/directives/drag.mjs +4 -4
  31. package/esm2022/drag-drop/directives/drop-list-group.mjs +4 -4
  32. package/esm2022/drag-drop/directives/drop-list.mjs +4 -4
  33. package/esm2022/drag-drop/drag-drop-module.mjs +5 -5
  34. package/esm2022/drag-drop/drag-drop-registry.mjs +38 -5
  35. package/esm2022/drag-drop/drag-drop.mjs +5 -38
  36. package/esm2022/drag-drop/public-api.mjs +2 -2
  37. package/esm2022/layout/breakpoints-observer.mjs +4 -4
  38. package/esm2022/layout/layout-module.mjs +5 -5
  39. package/esm2022/layout/media-matcher.mjs +4 -4
  40. package/esm2022/listbox/listbox-module.mjs +5 -5
  41. package/esm2022/listbox/listbox.mjs +7 -7
  42. package/esm2022/menu/context-menu-trigger.mjs +10 -8
  43. package/esm2022/menu/menu-aim.mjs +7 -7
  44. package/esm2022/menu/menu-bar.mjs +4 -4
  45. package/esm2022/menu/menu-base.mjs +4 -4
  46. package/esm2022/menu/menu-group.mjs +4 -4
  47. package/esm2022/menu/menu-item-checkbox.mjs +4 -4
  48. package/esm2022/menu/menu-item-radio.mjs +4 -4
  49. package/esm2022/menu/menu-item-selectable.mjs +4 -4
  50. package/esm2022/menu/menu-item.mjs +4 -4
  51. package/esm2022/menu/menu-module.mjs +5 -5
  52. package/esm2022/menu/menu-stack.mjs +4 -4
  53. package/esm2022/menu/menu-trigger-base.mjs +4 -4
  54. package/esm2022/menu/menu-trigger.mjs +4 -4
  55. package/esm2022/menu/menu.mjs +4 -4
  56. package/esm2022/observers/observe-content.mjs +14 -14
  57. package/esm2022/observers/private/shared-resize-observer.mjs +4 -4
  58. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  59. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  60. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  61. package/esm2022/overlay/fullscreen-overlay-container.mjs +4 -4
  62. package/esm2022/overlay/overlay-container.mjs +4 -4
  63. package/esm2022/overlay/overlay-directives.mjs +7 -7
  64. package/esm2022/overlay/overlay-module.mjs +5 -5
  65. package/esm2022/overlay/overlay.mjs +4 -4
  66. package/esm2022/overlay/position/overlay-position-builder.mjs +4 -4
  67. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +4 -4
  68. package/esm2022/platform/platform-module.mjs +5 -5
  69. package/esm2022/platform/platform.mjs +4 -4
  70. package/esm2022/portal/portal-directives.mjs +17 -17
  71. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  72. package/esm2022/scrolling/scroll-dispatcher.mjs +4 -4
  73. package/esm2022/scrolling/scrollable.mjs +4 -4
  74. package/esm2022/scrolling/scrolling-module.mjs +9 -9
  75. package/esm2022/scrolling/viewport-ruler.mjs +4 -4
  76. package/esm2022/scrolling/virtual-for-of.mjs +4 -4
  77. package/esm2022/scrolling/virtual-scroll-viewport.mjs +4 -4
  78. package/esm2022/scrolling/virtual-scrollable-element.mjs +4 -4
  79. package/esm2022/scrolling/virtual-scrollable-window.mjs +4 -4
  80. package/esm2022/scrolling/virtual-scrollable.mjs +4 -4
  81. package/esm2022/stepper/step-header.mjs +4 -4
  82. package/esm2022/stepper/step-label.mjs +4 -4
  83. package/esm2022/stepper/stepper-button.mjs +7 -7
  84. package/esm2022/stepper/stepper-module.mjs +5 -5
  85. package/esm2022/stepper/stepper.mjs +7 -7
  86. package/esm2022/table/cell.mjs +22 -22
  87. package/esm2022/table/coalesced-style-scheduler.mjs +4 -4
  88. package/esm2022/table/row.mjs +28 -28
  89. package/esm2022/table/table-module.mjs +5 -5
  90. package/esm2022/table/table.mjs +19 -19
  91. package/esm2022/table/text-column.mjs +4 -4
  92. package/esm2022/text-field/autofill.mjs +7 -7
  93. package/esm2022/text-field/autosize.mjs +4 -4
  94. package/esm2022/text-field/text-field-module.mjs +5 -5
  95. package/esm2022/tree/nested-node.mjs +4 -4
  96. package/esm2022/tree/node.mjs +4 -4
  97. package/esm2022/tree/outlet.mjs +4 -4
  98. package/esm2022/tree/padding.mjs +4 -4
  99. package/esm2022/tree/toggle.mjs +4 -4
  100. package/esm2022/tree/tree-module.mjs +5 -5
  101. package/esm2022/tree/tree.mjs +7 -7
  102. package/esm2022/version.mjs +1 -1
  103. package/fesm2022/a11y.mjs +68 -46
  104. package/fesm2022/a11y.mjs.map +1 -1
  105. package/fesm2022/accordion.mjs +10 -10
  106. package/fesm2022/accordion.mjs.map +1 -1
  107. package/fesm2022/bidi.mjs +10 -10
  108. package/fesm2022/bidi.mjs.map +1 -1
  109. package/fesm2022/cdk.mjs +1 -1
  110. package/fesm2022/cdk.mjs.map +1 -1
  111. package/fesm2022/clipboard.mjs +10 -10
  112. package/fesm2022/clipboard.mjs.map +1 -1
  113. package/fesm2022/collections.mjs +3 -3
  114. package/fesm2022/collections.mjs.map +1 -1
  115. package/fesm2022/dialog.mjs +16 -37
  116. package/fesm2022/dialog.mjs.map +1 -1
  117. package/fesm2022/drag-drop.mjs +62 -62
  118. package/fesm2022/drag-drop.mjs.map +1 -1
  119. package/fesm2022/layout.mjs +10 -10
  120. package/fesm2022/layout.mjs.map +1 -1
  121. package/fesm2022/listbox.mjs +10 -10
  122. package/fesm2022/listbox.mjs.map +1 -1
  123. package/fesm2022/menu.mjs +51 -49
  124. package/fesm2022/menu.mjs.map +1 -1
  125. package/fesm2022/observers/private.mjs +3 -3
  126. package/fesm2022/observers/private.mjs.map +1 -1
  127. package/fesm2022/observers.mjs +13 -13
  128. package/fesm2022/observers.mjs.map +1 -1
  129. package/fesm2022/overlay.mjs +34 -34
  130. package/fesm2022/overlay.mjs.map +1 -1
  131. package/fesm2022/platform.mjs +7 -7
  132. package/fesm2022/platform.mjs.map +1 -1
  133. package/fesm2022/portal.mjs +16 -16
  134. package/fesm2022/portal.mjs.map +1 -1
  135. package/fesm2022/scrolling.mjs +35 -35
  136. package/fesm2022/scrolling.mjs.map +1 -1
  137. package/fesm2022/stepper.mjs +22 -22
  138. package/fesm2022/stepper.mjs.map +1 -1
  139. package/fesm2022/table.mjs +76 -76
  140. package/fesm2022/table.mjs.map +1 -1
  141. package/fesm2022/text-field.mjs +13 -13
  142. package/fesm2022/text-field.mjs.map +1 -1
  143. package/fesm2022/tree.mjs +25 -25
  144. package/fesm2022/tree.mjs.map +1 -1
  145. package/menu/index.d.ts +1 -0
  146. package/package.json +3 -3
  147. package/schematics/ng-add/index.js +1 -1
  148. package/schematics/ng-add/index.mjs +1 -1
  149. package/schematics/ng-update/data/css-tokens.d.ts +27 -0
  150. package/schematics/ng-update/data/css-tokens.js +12 -0
  151. package/schematics/ng-update/data/css-tokens.mjs +12 -0
  152. package/schematics/ng-update/data/index.d.ts +1 -0
  153. package/schematics/ng-update/data/index.js +2 -1
  154. package/schematics/ng-update/data/index.mjs +2 -1
  155. package/schematics/ng-update/devkit-migration-rule.js +3 -1
  156. package/schematics/ng-update/devkit-migration-rule.mjs +3 -1
  157. package/schematics/ng-update/migrations/css-tokens.d.ts +26 -0
  158. package/schematics/ng-update/migrations/css-tokens.js +80 -0
  159. package/schematics/ng-update/migrations/css-tokens.mjs +80 -0
  160. package/schematics/ng-update/upgrade-data.d.ts +2 -1
  161. package/schematics/ng-update/upgrade-data.js +2 -1
  162. package/schematics/ng-update/upgrade-data.mjs +2 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Inject, Component, ViewEncapsulation, ChangeDetectionStrategy, inject, ApplicationRef, EnvironmentInjector, createComponent, InjectionToken, booleanAttribute, Directive, Optional, SkipSelf, Input, EventEmitter, Injector, afterNextRender, Self, Output, NgModule } from '@angular/core';
2
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, inject, ApplicationRef, EnvironmentInjector, createComponent, Injectable, Inject, InjectionToken, booleanAttribute, Directive, Optional, SkipSelf, Input, EventEmitter, Injector, afterNextRender, Self, Output, NgModule } from '@angular/core';
3
3
  import { DOCUMENT } from '@angular/common';
4
4
  import * as i1 from '@angular/cdk/scrolling';
5
5
  import { CdkScrollableModule } from '@angular/cdk/scrolling';
@@ -2480,6 +2480,20 @@ const activeCapturingEventOptions = normalizePassiveListenerOptions({
2480
2480
  passive: false,
2481
2481
  capture: true,
2482
2482
  });
2483
+ /** Keeps track of the apps currently containing drag items. */
2484
+ const activeApps = new Set();
2485
+ /**
2486
+ * Component used to load the drag&drop reset styles.
2487
+ * @docs-private
2488
+ */
2489
+ class _ResetsLoader {
2490
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: _ResetsLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2491
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0", type: _ResetsLoader, isStandalone: true, selector: "ng-component", host: { attributes: { "cdk-drag-resets-container": "" } }, ngImport: i0, template: '', isInline: true, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2492
+ }
2493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: _ResetsLoader, decorators: [{
2494
+ type: Component,
2495
+ args: [{ standalone: true, encapsulation: ViewEncapsulation.None, template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: { 'cdk-drag-resets-container': '' }, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"] }]
2496
+ }] });
2483
2497
  /**
2484
2498
  * Service that keeps track of all the drag item and drop container
2485
2499
  * instances, and manages global event listeners on the `document`.
@@ -2491,6 +2505,8 @@ const activeCapturingEventOptions = normalizePassiveListenerOptions({
2491
2505
  class DragDropRegistry {
2492
2506
  constructor(_ngZone, _document) {
2493
2507
  this._ngZone = _ngZone;
2508
+ this._appRef = inject(ApplicationRef);
2509
+ this._environmentInjector = inject(EnvironmentInjector);
2494
2510
  /** Registered drop container instances. */
2495
2511
  this._dropInstances = new Set();
2496
2512
  /** Registered drag item instances. */
@@ -2585,6 +2601,7 @@ class DragDropRegistry {
2585
2601
  if (this._activeDragInstances.indexOf(drag) > -1) {
2586
2602
  return;
2587
2603
  }
2604
+ this._loadResets();
2588
2605
  this._activeDragInstances.push(drag);
2589
2606
  if (this._activeDragInstances.length === 1) {
2590
2607
  const isTouchEvent = event.type.startsWith('touch');
@@ -2683,10 +2700,26 @@ class DragDropRegistry {
2683
2700
  });
2684
2701
  this._globalListeners.clear();
2685
2702
  }
2686
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2687
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropRegistry, providedIn: 'root' }); }
2703
+ // TODO(crisbeto): abstract this away into something reusable.
2704
+ /** Loads the CSS resets needed for the module to work correctly. */
2705
+ _loadResets() {
2706
+ if (!activeApps.has(this._appRef)) {
2707
+ activeApps.add(this._appRef);
2708
+ const componentRef = createComponent(_ResetsLoader, {
2709
+ environmentInjector: this._environmentInjector,
2710
+ });
2711
+ this._appRef.onDestroy(() => {
2712
+ activeApps.delete(this._appRef);
2713
+ if (activeApps.size === 0) {
2714
+ componentRef.destroy();
2715
+ }
2716
+ });
2717
+ }
2718
+ }
2719
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2720
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropRegistry, providedIn: 'root' }); }
2688
2721
  }
2689
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropRegistry, decorators: [{
2722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropRegistry, decorators: [{
2690
2723
  type: Injectable,
2691
2724
  args: [{ providedIn: 'root' }]
2692
2725
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: undefined, decorators: [{
@@ -2699,20 +2732,6 @@ const DEFAULT_CONFIG = {
2699
2732
  dragStartThreshold: 5,
2700
2733
  pointerDirectionChangeThreshold: 5,
2701
2734
  };
2702
- /** Keeps track of the apps currently containing badges. */
2703
- const activeApps = new Set();
2704
- /**
2705
- * Component used to load the drag&drop reset styles.
2706
- * @docs-private
2707
- */
2708
- class _ResetsLoader {
2709
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: _ResetsLoader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2710
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: _ResetsLoader, isStandalone: true, selector: "ng-component", host: { attributes: { "cdk-drag-resets-container": "" } }, ngImport: i0, template: '', isInline: true, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
2711
- }
2712
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: _ResetsLoader, decorators: [{
2713
- type: Component,
2714
- args: [{ standalone: true, encapsulation: ViewEncapsulation.None, template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: { 'cdk-drag-resets-container': '' }, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit}}"] }]
2715
- }] });
2716
2735
  /**
2717
2736
  * Service that allows for drag-and-drop functionality to be attached to DOM elements.
2718
2737
  */
@@ -2722,8 +2741,6 @@ class DragDrop {
2722
2741
  this._ngZone = _ngZone;
2723
2742
  this._viewportRuler = _viewportRuler;
2724
2743
  this._dragDropRegistry = _dragDropRegistry;
2725
- this._appRef = inject(ApplicationRef);
2726
- this._environmentInjector = inject(EnvironmentInjector);
2727
2744
  }
2728
2745
  /**
2729
2746
  * Turns an element into a draggable item.
@@ -2731,7 +2748,6 @@ class DragDrop {
2731
2748
  * @param config Object used to configure the dragging behavior.
2732
2749
  */
2733
2750
  createDrag(element, config = DEFAULT_CONFIG) {
2734
- this._loadResets();
2735
2751
  return new DragRef(element, config, this._document, this._ngZone, this._viewportRuler, this._dragDropRegistry);
2736
2752
  }
2737
2753
  /**
@@ -2741,26 +2757,10 @@ class DragDrop {
2741
2757
  createDropList(element) {
2742
2758
  return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
2743
2759
  }
2744
- // TODO(crisbeto): abstract this away into something reusable.
2745
- /** Loads the CSS resets needed for the module to work correctly. */
2746
- _loadResets() {
2747
- if (!activeApps.has(this._appRef)) {
2748
- activeApps.add(this._appRef);
2749
- const componentRef = createComponent(_ResetsLoader, {
2750
- environmentInjector: this._environmentInjector,
2751
- });
2752
- this._appRef.onDestroy(() => {
2753
- activeApps.delete(this._appRef);
2754
- if (activeApps.size === 0) {
2755
- componentRef.destroy();
2756
- }
2757
- });
2758
- }
2759
- }
2760
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable }); }
2761
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDrop, providedIn: 'root' }); }
2760
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable }); }
2761
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDrop, providedIn: 'root' }); }
2762
2762
  }
2763
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDrop, decorators: [{
2763
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDrop, decorators: [{
2764
2764
  type: Injectable,
2765
2765
  args: [{ providedIn: 'root' }]
2766
2766
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -2818,10 +2818,10 @@ class CdkDragHandle {
2818
2818
  this._parentDrag?._removeHandle(this);
2819
2819
  this._stateChanges.complete();
2820
2820
  }
2821
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
2822
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkDragHandle, isStandalone: true, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled", booleanAttribute] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 }); }
2821
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
2822
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0", type: CdkDragHandle, isStandalone: true, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled", booleanAttribute] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 }); }
2823
2823
  }
2824
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragHandle, decorators: [{
2824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragHandle, decorators: [{
2825
2825
  type: Directive,
2826
2826
  args: [{
2827
2827
  selector: '[cdkDragHandle]',
@@ -3234,10 +3234,10 @@ class CdkDrag {
3234
3234
  handleInstance.disabled ? dragRef.disableHandle(handle) : dragRef.enableHandle(handle);
3235
3235
  });
3236
3236
  }
3237
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i1$1.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
3238
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkDrag, isStandalone: true, selector: "[cdkDrag]", inputs: { data: ["cdkDragData", "data"], lockAxis: ["cdkDragLockAxis", "lockAxis"], rootElementSelector: ["cdkDragRootElement", "rootElementSelector"], boundaryElement: ["cdkDragBoundary", "boundaryElement"], dragStartDelay: ["cdkDragStartDelay", "dragStartDelay"], freeDragPosition: ["cdkDragFreeDragPosition", "freeDragPosition"], disabled: ["cdkDragDisabled", "disabled", booleanAttribute], constrainPosition: ["cdkDragConstrainPosition", "constrainPosition"], previewClass: ["cdkDragPreviewClass", "previewClass"], previewContainer: ["cdkDragPreviewContainer", "previewContainer"] }, outputs: { started: "cdkDragStarted", released: "cdkDragReleased", ended: "cdkDragEnded", entered: "cdkDragEntered", exited: "cdkDragExited", dropped: "cdkDragDropped", moved: "cdkDragMoved" }, host: { properties: { "class.cdk-drag-disabled": "disabled", "class.cdk-drag-dragging": "_dragRef.isDragging()" }, classAttribute: "cdk-drag" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], exportAs: ["cdkDrag"], usesOnChanges: true, ngImport: i0 }); }
3237
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDrag, deps: [{ token: i0.ElementRef }, { token: CDK_DROP_LIST, optional: true, skipSelf: true }, { token: DOCUMENT }, { token: i0.NgZone }, { token: i0.ViewContainerRef }, { token: CDK_DRAG_CONFIG, optional: true }, { token: i1$1.Directionality, optional: true }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: CDK_DRAG_HANDLE, optional: true, self: true }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
3238
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0", type: CdkDrag, isStandalone: true, selector: "[cdkDrag]", inputs: { data: ["cdkDragData", "data"], lockAxis: ["cdkDragLockAxis", "lockAxis"], rootElementSelector: ["cdkDragRootElement", "rootElementSelector"], boundaryElement: ["cdkDragBoundary", "boundaryElement"], dragStartDelay: ["cdkDragStartDelay", "dragStartDelay"], freeDragPosition: ["cdkDragFreeDragPosition", "freeDragPosition"], disabled: ["cdkDragDisabled", "disabled", booleanAttribute], constrainPosition: ["cdkDragConstrainPosition", "constrainPosition"], previewClass: ["cdkDragPreviewClass", "previewClass"], previewContainer: ["cdkDragPreviewContainer", "previewContainer"] }, outputs: { started: "cdkDragStarted", released: "cdkDragReleased", ended: "cdkDragEnded", entered: "cdkDragEntered", exited: "cdkDragExited", dropped: "cdkDragDropped", moved: "cdkDragMoved" }, host: { properties: { "class.cdk-drag-disabled": "disabled", "class.cdk-drag-dragging": "_dragRef.isDragging()" }, classAttribute: "cdk-drag" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], exportAs: ["cdkDrag"], usesOnChanges: true, ngImport: i0 }); }
3239
3239
  }
3240
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDrag, decorators: [{
3240
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDrag, decorators: [{
3241
3241
  type: Directive,
3242
3242
  args: [{
3243
3243
  selector: '[cdkDrag]',
@@ -3356,10 +3356,10 @@ class CdkDropListGroup {
3356
3356
  ngOnDestroy() {
3357
3357
  this._items.clear();
3358
3358
  }
3359
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3360
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkDropListGroup, isStandalone: true, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled", booleanAttribute] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 }); }
3359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3360
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0", type: CdkDropListGroup, isStandalone: true, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled", booleanAttribute] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 }); }
3361
3361
  }
3362
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDropListGroup, decorators: [{
3362
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDropListGroup, decorators: [{
3363
3363
  type: Directive,
3364
3364
  args: [{
3365
3365
  selector: '[cdkDropListGroup]',
@@ -3605,14 +3605,14 @@ class CdkDropList {
3605
3605
  _syncItemsWithRef() {
3606
3606
  this._dropListRef.withItems(this.getSortedItems().map(item => item._dragRef));
3607
3607
  }
3608
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i1$1.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
3609
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkDropList, isStandalone: true, selector: "[cdkDropList], cdk-drop-list", inputs: { connectedTo: ["cdkDropListConnectedTo", "connectedTo"], data: ["cdkDropListData", "data"], orientation: ["cdkDropListOrientation", "orientation"], id: "id", lockAxis: ["cdkDropListLockAxis", "lockAxis"], disabled: ["cdkDropListDisabled", "disabled", booleanAttribute], sortingDisabled: ["cdkDropListSortingDisabled", "sortingDisabled", booleanAttribute], enterPredicate: ["cdkDropListEnterPredicate", "enterPredicate"], sortPredicate: ["cdkDropListSortPredicate", "sortPredicate"], autoScrollDisabled: ["cdkDropListAutoScrollDisabled", "autoScrollDisabled", booleanAttribute], autoScrollStep: ["cdkDropListAutoScrollStep", "autoScrollStep"] }, outputs: { dropped: "cdkDropListDropped", entered: "cdkDropListEntered", exited: "cdkDropListExited", sorted: "cdkDropListSorted" }, host: { properties: { "attr.id": "id", "class.cdk-drop-list-disabled": "disabled", "class.cdk-drop-list-dragging": "_dropListRef.isDragging()", "class.cdk-drop-list-receiving": "_dropListRef.isReceiving()" }, classAttribute: "cdk-drop-list" }, providers: [
3608
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDropList, deps: [{ token: i0.ElementRef }, { token: DragDrop }, { token: i0.ChangeDetectorRef }, { token: i1.ScrollDispatcher }, { token: i1$1.Directionality, optional: true }, { token: CDK_DROP_LIST_GROUP, optional: true, skipSelf: true }, { token: CDK_DRAG_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
3609
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0", type: CdkDropList, isStandalone: true, selector: "[cdkDropList], cdk-drop-list", inputs: { connectedTo: ["cdkDropListConnectedTo", "connectedTo"], data: ["cdkDropListData", "data"], orientation: ["cdkDropListOrientation", "orientation"], id: "id", lockAxis: ["cdkDropListLockAxis", "lockAxis"], disabled: ["cdkDropListDisabled", "disabled", booleanAttribute], sortingDisabled: ["cdkDropListSortingDisabled", "sortingDisabled", booleanAttribute], enterPredicate: ["cdkDropListEnterPredicate", "enterPredicate"], sortPredicate: ["cdkDropListSortPredicate", "sortPredicate"], autoScrollDisabled: ["cdkDropListAutoScrollDisabled", "autoScrollDisabled", booleanAttribute], autoScrollStep: ["cdkDropListAutoScrollStep", "autoScrollStep"] }, outputs: { dropped: "cdkDropListDropped", entered: "cdkDropListEntered", exited: "cdkDropListExited", sorted: "cdkDropListSorted" }, host: { properties: { "attr.id": "id", "class.cdk-drop-list-disabled": "disabled", "class.cdk-drop-list-dragging": "_dropListRef.isDragging()", "class.cdk-drop-list-receiving": "_dropListRef.isReceiving()" }, classAttribute: "cdk-drop-list" }, providers: [
3610
3610
  // Prevent child drop lists from picking up the same group as their parent.
3611
3611
  { provide: CDK_DROP_LIST_GROUP, useValue: undefined },
3612
3612
  { provide: CDK_DROP_LIST, useExisting: CdkDropList },
3613
3613
  ], exportAs: ["cdkDropList"], ngImport: i0 }); }
3614
3614
  }
3615
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDropList, decorators: [{
3615
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDropList, decorators: [{
3616
3616
  type: Directive,
3617
3617
  args: [{
3618
3618
  selector: '[cdkDropList], cdk-drop-list',
@@ -3712,10 +3712,10 @@ class CdkDragPreview {
3712
3712
  ngOnDestroy() {
3713
3713
  this._drag?._resetPreviewTemplate(this);
3714
3714
  }
3715
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3716
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkDragPreview, isStandalone: true, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: ["matchSize", "matchSize", booleanAttribute] }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 }); }
3715
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3716
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0", type: CdkDragPreview, isStandalone: true, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: ["matchSize", "matchSize", booleanAttribute] }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 }); }
3717
3717
  }
3718
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragPreview, decorators: [{
3718
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragPreview, decorators: [{
3719
3719
  type: Directive,
3720
3720
  args: [{
3721
3721
  selector: 'ng-template[cdkDragPreview]',
@@ -3748,10 +3748,10 @@ class CdkDragPlaceholder {
3748
3748
  ngOnDestroy() {
3749
3749
  this._drag?._resetPlaceholderTemplate(this);
3750
3750
  }
3751
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3752
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: CdkDragPlaceholder, isStandalone: true, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 }); }
3751
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3752
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0", type: CdkDragPlaceholder, isStandalone: true, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 }); }
3753
3753
  }
3754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
3754
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
3755
3755
  type: Directive,
3756
3756
  args: [{
3757
3757
  selector: 'ng-template[cdkDragPlaceholder]',
@@ -3771,8 +3771,8 @@ const DRAG_DROP_DIRECTIVES = [
3771
3771
  CdkDragPlaceholder,
3772
3772
  ];
3773
3773
  class DragDropModule {
3774
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3775
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropModule, imports: [CdkDropList,
3774
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3775
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0", ngImport: i0, type: DragDropModule, imports: [CdkDropList,
3776
3776
  CdkDropListGroup,
3777
3777
  CdkDrag,
3778
3778
  CdkDragHandle,
@@ -3783,9 +3783,9 @@ class DragDropModule {
3783
3783
  CdkDragHandle,
3784
3784
  CdkDragPreview,
3785
3785
  CdkDragPlaceholder] }); }
3786
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] }); }
3786
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] }); }
3787
3787
  }
3788
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: DragDropModule, decorators: [{
3788
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DragDropModule, decorators: [{
3789
3789
  type: NgModule,
3790
3790
  args: [{
3791
3791
  imports: DRAG_DROP_DIRECTIVES,