@angular/cdk 19.0.0-next.4 → 19.0.0-next.5

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 (288) hide show
  1. package/a11y/index.d.ts +19 -37
  2. package/accordion/index.d.ts +5 -4
  3. package/bidi/index.d.ts +2 -2
  4. package/clipboard/index.d.ts +3 -4
  5. package/dialog/index.d.ts +6 -9
  6. package/drag-drop/index.d.ts +16 -33
  7. package/fesm2022/a11y.mjs +81 -139
  8. package/fesm2022/a11y.mjs.map +1 -1
  9. package/fesm2022/accordion.mjs +11 -16
  10. package/fesm2022/accordion.mjs.map +1 -1
  11. package/fesm2022/bidi.mjs +5 -9
  12. package/fesm2022/bidi.mjs.map +1 -1
  13. package/fesm2022/cdk.mjs +1 -1
  14. package/fesm2022/cdk.mjs.map +1 -1
  15. package/fesm2022/clipboard.mjs +11 -18
  16. package/fesm2022/clipboard.mjs.map +1 -1
  17. package/fesm2022/coercion/private.mjs.map +1 -1
  18. package/fesm2022/coercion.mjs.map +1 -1
  19. package/fesm2022/collections.mjs.map +1 -1
  20. package/fesm2022/dialog.mjs +25 -45
  21. package/fesm2022/dialog.mjs.map +1 -1
  22. package/fesm2022/drag-drop.mjs +66 -125
  23. package/fesm2022/drag-drop.mjs.map +1 -1
  24. package/fesm2022/keycodes.mjs.map +1 -1
  25. package/fesm2022/layout.mjs +13 -18
  26. package/fesm2022/layout.mjs.map +1 -1
  27. package/fesm2022/listbox.mjs +7 -1
  28. package/fesm2022/listbox.mjs.map +1 -1
  29. package/fesm2022/menu.mjs.map +1 -1
  30. package/fesm2022/observers/private.mjs.map +1 -1
  31. package/fesm2022/observers.mjs +10 -10
  32. package/fesm2022/observers.mjs.map +1 -1
  33. package/fesm2022/overlay.mjs +73 -121
  34. package/fesm2022/overlay.mjs.map +1 -1
  35. package/fesm2022/platform.mjs.map +1 -1
  36. package/fesm2022/portal.mjs +45 -44
  37. package/fesm2022/portal.mjs.map +1 -1
  38. package/fesm2022/private.mjs.map +1 -1
  39. package/fesm2022/scrolling.mjs +59 -99
  40. package/fesm2022/scrolling.mjs.map +1 -1
  41. package/fesm2022/stepper.mjs +31 -40
  42. package/fesm2022/stepper.mjs.map +1 -1
  43. package/fesm2022/table.mjs +113 -171
  44. package/fesm2022/table.mjs.map +1 -1
  45. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  46. package/fesm2022/testing/testbed.mjs.map +1 -1
  47. package/fesm2022/testing.mjs.map +1 -1
  48. package/fesm2022/text-field.mjs +20 -27
  49. package/fesm2022/text-field.mjs.map +1 -1
  50. package/fesm2022/tree.mjs +50 -53
  51. package/fesm2022/tree.mjs.map +1 -1
  52. package/layout/index.d.ts +5 -7
  53. package/observers/index.d.ts +2 -2
  54. package/overlay/_index.scss +44 -11
  55. package/overlay/index.d.ts +16 -34
  56. package/overlay-prebuilt.css +1 -1
  57. package/package.json +1 -1
  58. package/portal/index.d.ts +21 -18
  59. package/schematics/index.d.ts +1 -1
  60. package/schematics/index.js +2 -2
  61. package/schematics/index.mjs +2 -2
  62. package/schematics/ng-add/index.d.ts +1 -1
  63. package/schematics/ng-add/index.js +3 -3
  64. package/schematics/ng-add/index.mjs +3 -3
  65. package/schematics/ng-add/package-config.d.ts +1 -1
  66. package/schematics/ng-add/package-config.js +2 -2
  67. package/schematics/ng-add/package-config.mjs +2 -2
  68. package/schematics/ng-add/schema.d.ts +1 -1
  69. package/schematics/ng-add/schema.js +2 -2
  70. package/schematics/ng-add/schema.mjs +2 -2
  71. package/schematics/ng-generate/drag-drop/index.d.ts +1 -1
  72. package/schematics/ng-generate/drag-drop/index.js +2 -2
  73. package/schematics/ng-generate/drag-drop/index.mjs +2 -2
  74. package/schematics/ng-generate/drag-drop/schema.d.ts +1 -1
  75. package/schematics/ng-generate/drag-drop/schema.js +2 -2
  76. package/schematics/ng-generate/drag-drop/schema.mjs +2 -2
  77. package/schematics/ng-update/data/attribute-selectors.d.ts +1 -1
  78. package/schematics/ng-update/data/attribute-selectors.js +2 -2
  79. package/schematics/ng-update/data/attribute-selectors.mjs +2 -2
  80. package/schematics/ng-update/data/class-names.d.ts +1 -1
  81. package/schematics/ng-update/data/class-names.js +2 -2
  82. package/schematics/ng-update/data/class-names.mjs +2 -2
  83. package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
  84. package/schematics/ng-update/data/constructor-checks.js +2 -2
  85. package/schematics/ng-update/data/constructor-checks.mjs +2 -2
  86. package/schematics/ng-update/data/css-selectors.d.ts +1 -1
  87. package/schematics/ng-update/data/css-selectors.js +2 -2
  88. package/schematics/ng-update/data/css-selectors.mjs +2 -2
  89. package/schematics/ng-update/data/css-tokens.d.ts +1 -1
  90. package/schematics/ng-update/data/css-tokens.js +2 -2
  91. package/schematics/ng-update/data/css-tokens.mjs +2 -2
  92. package/schematics/ng-update/data/element-selectors.d.ts +1 -1
  93. package/schematics/ng-update/data/element-selectors.js +2 -2
  94. package/schematics/ng-update/data/element-selectors.mjs +2 -2
  95. package/schematics/ng-update/data/index.d.ts +1 -1
  96. package/schematics/ng-update/data/index.js +2 -2
  97. package/schematics/ng-update/data/index.mjs +2 -2
  98. package/schematics/ng-update/data/input-names.d.ts +1 -1
  99. package/schematics/ng-update/data/input-names.js +2 -2
  100. package/schematics/ng-update/data/input-names.mjs +2 -2
  101. package/schematics/ng-update/data/method-call-checks.d.ts +1 -1
  102. package/schematics/ng-update/data/method-call-checks.js +2 -2
  103. package/schematics/ng-update/data/method-call-checks.mjs +2 -2
  104. package/schematics/ng-update/data/output-names.d.ts +1 -1
  105. package/schematics/ng-update/data/output-names.js +2 -2
  106. package/schematics/ng-update/data/output-names.mjs +2 -2
  107. package/schematics/ng-update/data/property-names.d.ts +1 -1
  108. package/schematics/ng-update/data/property-names.js +2 -2
  109. package/schematics/ng-update/data/property-names.mjs +2 -2
  110. package/schematics/ng-update/data/symbol-removal.d.ts +1 -1
  111. package/schematics/ng-update/data/symbol-removal.js +2 -2
  112. package/schematics/ng-update/data/symbol-removal.mjs +2 -2
  113. package/schematics/ng-update/devkit-file-system.d.ts +1 -1
  114. package/schematics/ng-update/devkit-file-system.js +2 -2
  115. package/schematics/ng-update/devkit-file-system.mjs +2 -2
  116. package/schematics/ng-update/devkit-migration-rule.d.ts +1 -1
  117. package/schematics/ng-update/devkit-migration-rule.js +2 -2
  118. package/schematics/ng-update/devkit-migration-rule.mjs +2 -2
  119. package/schematics/ng-update/devkit-migration.d.ts +1 -1
  120. package/schematics/ng-update/devkit-migration.js +2 -2
  121. package/schematics/ng-update/devkit-migration.mjs +2 -2
  122. package/schematics/ng-update/find-stylesheets.d.ts +1 -1
  123. package/schematics/ng-update/find-stylesheets.js +2 -2
  124. package/schematics/ng-update/find-stylesheets.mjs +2 -2
  125. package/schematics/ng-update/html-parsing/angular.d.ts +1 -1
  126. package/schematics/ng-update/html-parsing/angular.js +2 -2
  127. package/schematics/ng-update/html-parsing/angular.mjs +2 -2
  128. package/schematics/ng-update/html-parsing/elements.d.ts +1 -1
  129. package/schematics/ng-update/html-parsing/elements.js +2 -2
  130. package/schematics/ng-update/html-parsing/elements.mjs +2 -2
  131. package/schematics/ng-update/index.d.ts +1 -1
  132. package/schematics/ng-update/index.js +2 -2
  133. package/schematics/ng-update/index.mjs +2 -2
  134. package/schematics/ng-update/migrations/attribute-selectors.d.ts +1 -1
  135. package/schematics/ng-update/migrations/attribute-selectors.js +2 -2
  136. package/schematics/ng-update/migrations/attribute-selectors.mjs +2 -2
  137. package/schematics/ng-update/migrations/class-inheritance.d.ts +1 -1
  138. package/schematics/ng-update/migrations/class-inheritance.js +2 -2
  139. package/schematics/ng-update/migrations/class-inheritance.mjs +2 -2
  140. package/schematics/ng-update/migrations/class-names.d.ts +1 -1
  141. package/schematics/ng-update/migrations/class-names.js +2 -2
  142. package/schematics/ng-update/migrations/class-names.mjs +2 -2
  143. package/schematics/ng-update/migrations/constructor-signature.d.ts +1 -1
  144. package/schematics/ng-update/migrations/constructor-signature.js +2 -2
  145. package/schematics/ng-update/migrations/constructor-signature.mjs +2 -2
  146. package/schematics/ng-update/migrations/css-selectors.d.ts +1 -1
  147. package/schematics/ng-update/migrations/css-selectors.js +2 -2
  148. package/schematics/ng-update/migrations/css-selectors.mjs +2 -2
  149. package/schematics/ng-update/migrations/css-tokens.d.ts +1 -1
  150. package/schematics/ng-update/migrations/css-tokens.js +2 -2
  151. package/schematics/ng-update/migrations/css-tokens.mjs +2 -2
  152. package/schematics/ng-update/migrations/element-selectors.d.ts +1 -1
  153. package/schematics/ng-update/migrations/element-selectors.js +2 -2
  154. package/schematics/ng-update/migrations/element-selectors.mjs +2 -2
  155. package/schematics/ng-update/migrations/input-names.d.ts +1 -1
  156. package/schematics/ng-update/migrations/input-names.js +2 -2
  157. package/schematics/ng-update/migrations/input-names.mjs +2 -2
  158. package/schematics/ng-update/migrations/method-call-arguments.d.ts +1 -1
  159. package/schematics/ng-update/migrations/method-call-arguments.js +2 -2
  160. package/schematics/ng-update/migrations/method-call-arguments.mjs +2 -2
  161. package/schematics/ng-update/migrations/misc-template.d.ts +1 -1
  162. package/schematics/ng-update/migrations/misc-template.js +2 -2
  163. package/schematics/ng-update/migrations/misc-template.mjs +2 -2
  164. package/schematics/ng-update/migrations/output-names.d.ts +1 -1
  165. package/schematics/ng-update/migrations/output-names.js +2 -2
  166. package/schematics/ng-update/migrations/output-names.mjs +2 -2
  167. package/schematics/ng-update/migrations/property-names.d.ts +1 -1
  168. package/schematics/ng-update/migrations/property-names.js +2 -2
  169. package/schematics/ng-update/migrations/property-names.mjs +2 -2
  170. package/schematics/ng-update/migrations/symbol-removal.d.ts +1 -1
  171. package/schematics/ng-update/migrations/symbol-removal.js +2 -2
  172. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -2
  173. package/schematics/ng-update/public-api.d.ts +1 -1
  174. package/schematics/ng-update/public-api.js +2 -2
  175. package/schematics/ng-update/public-api.mjs +2 -2
  176. package/schematics/ng-update/typescript/base-types.d.ts +1 -1
  177. package/schematics/ng-update/typescript/base-types.js +2 -2
  178. package/schematics/ng-update/typescript/base-types.mjs +2 -2
  179. package/schematics/ng-update/typescript/imports.d.ts +1 -1
  180. package/schematics/ng-update/typescript/imports.js +2 -2
  181. package/schematics/ng-update/typescript/imports.mjs +2 -2
  182. package/schematics/ng-update/typescript/literal.d.ts +1 -1
  183. package/schematics/ng-update/typescript/literal.js +2 -2
  184. package/schematics/ng-update/typescript/literal.mjs +2 -2
  185. package/schematics/ng-update/typescript/module-specifiers.d.ts +1 -1
  186. package/schematics/ng-update/typescript/module-specifiers.js +2 -2
  187. package/schematics/ng-update/typescript/module-specifiers.mjs +2 -2
  188. package/schematics/ng-update/upgrade-data.d.ts +1 -1
  189. package/schematics/ng-update/upgrade-data.js +2 -2
  190. package/schematics/ng-update/upgrade-data.mjs +2 -2
  191. package/schematics/paths.d.ts +1 -1
  192. package/schematics/paths.js +2 -2
  193. package/schematics/paths.mjs +2 -2
  194. package/schematics/update-tool/component-resource-collector.d.ts +1 -1
  195. package/schematics/update-tool/component-resource-collector.js +2 -2
  196. package/schematics/update-tool/component-resource-collector.mjs +2 -2
  197. package/schematics/update-tool/file-system.d.ts +1 -1
  198. package/schematics/update-tool/file-system.js +2 -2
  199. package/schematics/update-tool/file-system.mjs +2 -2
  200. package/schematics/update-tool/index.d.ts +1 -1
  201. package/schematics/update-tool/index.js +2 -2
  202. package/schematics/update-tool/index.mjs +2 -2
  203. package/schematics/update-tool/logger.d.ts +1 -1
  204. package/schematics/update-tool/logger.js +2 -2
  205. package/schematics/update-tool/logger.mjs +2 -2
  206. package/schematics/update-tool/migration.d.ts +1 -1
  207. package/schematics/update-tool/migration.js +2 -2
  208. package/schematics/update-tool/migration.mjs +2 -2
  209. package/schematics/update-tool/public-api.d.ts +1 -1
  210. package/schematics/update-tool/public-api.js +2 -2
  211. package/schematics/update-tool/public-api.mjs +2 -2
  212. package/schematics/update-tool/target-version.d.ts +1 -1
  213. package/schematics/update-tool/target-version.js +2 -2
  214. package/schematics/update-tool/target-version.mjs +2 -2
  215. package/schematics/update-tool/update-recorder.d.ts +1 -1
  216. package/schematics/update-tool/update-recorder.js +2 -2
  217. package/schematics/update-tool/update-recorder.mjs +2 -2
  218. package/schematics/update-tool/utils/decorators.d.ts +1 -1
  219. package/schematics/update-tool/utils/decorators.js +2 -2
  220. package/schematics/update-tool/utils/decorators.mjs +2 -2
  221. package/schematics/update-tool/utils/diagnostics.d.ts +1 -1
  222. package/schematics/update-tool/utils/diagnostics.js +2 -2
  223. package/schematics/update-tool/utils/diagnostics.mjs +2 -2
  224. package/schematics/update-tool/utils/functions.d.ts +1 -1
  225. package/schematics/update-tool/utils/functions.js +2 -2
  226. package/schematics/update-tool/utils/functions.mjs +2 -2
  227. package/schematics/update-tool/utils/imports.d.ts +1 -1
  228. package/schematics/update-tool/utils/imports.js +2 -2
  229. package/schematics/update-tool/utils/imports.mjs +2 -2
  230. package/schematics/update-tool/utils/line-mappings.d.ts +1 -1
  231. package/schematics/update-tool/utils/line-mappings.js +2 -2
  232. package/schematics/update-tool/utils/line-mappings.mjs +2 -2
  233. package/schematics/update-tool/utils/parse-tsconfig.d.ts +1 -1
  234. package/schematics/update-tool/utils/parse-tsconfig.js +2 -2
  235. package/schematics/update-tool/utils/parse-tsconfig.mjs +2 -2
  236. package/schematics/update-tool/utils/property-name.d.ts +1 -1
  237. package/schematics/update-tool/utils/property-name.js +2 -2
  238. package/schematics/update-tool/utils/property-name.mjs +2 -2
  239. package/schematics/update-tool/utils/virtual-host.d.ts +1 -1
  240. package/schematics/update-tool/utils/virtual-host.js +2 -2
  241. package/schematics/update-tool/utils/virtual-host.mjs +2 -2
  242. package/schematics/update-tool/version-changes.d.ts +1 -1
  243. package/schematics/update-tool/version-changes.js +2 -2
  244. package/schematics/update-tool/version-changes.mjs +2 -2
  245. package/schematics/utils/ast/ng-module-imports.d.ts +1 -1
  246. package/schematics/utils/ast/ng-module-imports.js +2 -2
  247. package/schematics/utils/ast/ng-module-imports.mjs +2 -2
  248. package/schematics/utils/ast.d.ts +1 -1
  249. package/schematics/utils/ast.js +2 -2
  250. package/schematics/utils/ast.mjs +2 -2
  251. package/schematics/utils/build-component.d.ts +1 -1
  252. package/schematics/utils/build-component.js +2 -2
  253. package/schematics/utils/build-component.mjs +2 -2
  254. package/schematics/utils/get-project.d.ts +1 -1
  255. package/schematics/utils/get-project.js +2 -2
  256. package/schematics/utils/get-project.mjs +2 -2
  257. package/schematics/utils/html-manipulation.d.ts +1 -1
  258. package/schematics/utils/html-manipulation.js +2 -2
  259. package/schematics/utils/html-manipulation.mjs +2 -2
  260. package/schematics/utils/index.d.ts +1 -1
  261. package/schematics/utils/index.js +2 -2
  262. package/schematics/utils/index.mjs +2 -2
  263. package/schematics/utils/parse5-element.d.ts +1 -1
  264. package/schematics/utils/parse5-element.js +2 -2
  265. package/schematics/utils/parse5-element.mjs +2 -2
  266. package/schematics/utils/project-index-file.d.ts +1 -1
  267. package/schematics/utils/project-index-file.js +2 -2
  268. package/schematics/utils/project-index-file.mjs +2 -2
  269. package/schematics/utils/project-main-file.d.ts +1 -1
  270. package/schematics/utils/project-main-file.js +2 -2
  271. package/schematics/utils/project-main-file.mjs +2 -2
  272. package/schematics/utils/project-style-file.d.ts +1 -1
  273. package/schematics/utils/project-style-file.js +2 -2
  274. package/schematics/utils/project-style-file.mjs +2 -2
  275. package/schematics/utils/project-targets.d.ts +1 -1
  276. package/schematics/utils/project-targets.js +2 -2
  277. package/schematics/utils/project-targets.mjs +2 -2
  278. package/schematics/utils/project-tsconfig-paths.d.ts +1 -1
  279. package/schematics/utils/project-tsconfig-paths.js +2 -2
  280. package/schematics/utils/project-tsconfig-paths.mjs +2 -2
  281. package/schematics/utils/schematic-options.d.ts +1 -1
  282. package/schematics/utils/schematic-options.js +2 -2
  283. package/schematics/utils/schematic-options.mjs +2 -2
  284. package/scrolling/index.d.ts +17 -37
  285. package/stepper/index.d.ts +9 -11
  286. package/table/index.d.ts +36 -51
  287. package/text-field/index.d.ts +5 -9
  288. package/tree/index.d.ts +11 -13
@@ -1,15 +1,14 @@
1
1
  import * as i0 from '@angular/core';
2
- import { signal, Component, ViewEncapsulation, ChangeDetectionStrategy, inject, Injectable, Inject, InjectionToken, booleanAttribute, Directive, Optional, SkipSelf, Input, EventEmitter, Injector, afterNextRender, numberAttribute, Self, Output, NgModule } from '@angular/core';
2
+ import { signal, Component, ViewEncapsulation, ChangeDetectionStrategy, inject, NgZone, Injectable, InjectionToken, ElementRef, booleanAttribute, Directive, Input, ViewContainerRef, ChangeDetectorRef, EventEmitter, Injector, afterNextRender, numberAttribute, Output, TemplateRef, NgModule } from '@angular/core';
3
3
  import { DOCUMENT } from '@angular/common';
4
- import * as i1 from '@angular/cdk/scrolling';
5
- import { CdkScrollableModule } from '@angular/cdk/scrolling';
4
+ import { ViewportRuler, ScrollDispatcher, CdkScrollableModule } from '@angular/cdk/scrolling';
6
5
  import { isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader } from '@angular/cdk/a11y';
7
6
  import { coerceElement, coerceNumberProperty, coerceArray } from '@angular/cdk/coercion';
8
7
  import { _getEventTarget, normalizePassiveListenerOptions, _getShadowRoot } from '@angular/cdk/platform';
9
8
  import { Subject, Subscription, interval, animationFrameScheduler, Observable, merge, BehaviorSubject } from 'rxjs';
10
9
  import { takeUntil, map, take, tap, switchMap, startWith } from 'rxjs/operators';
11
10
  import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
12
- import * as i1$1 from '@angular/cdk/bidi';
11
+ import { Directionality } from '@angular/cdk/bidi';
13
12
 
14
13
  /** Creates a deep clone of an element. */
15
14
  function deepCloneNode(node) {
@@ -2816,8 +2815,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
2816
2815
  * @docs-private
2817
2816
  */
2818
2817
  class DragDropRegistry {
2819
- constructor(_ngZone, _document) {
2820
- this._ngZone = _ngZone;
2818
+ constructor() {
2819
+ this._ngZone = inject(NgZone);
2820
+ this._document = inject(DOCUMENT);
2821
2821
  this._styleLoader = inject(_CdkPrivateStyleLoader);
2822
2822
  /** Registered drop container instances. */
2823
2823
  this._dropInstances = new Set();
@@ -2869,7 +2869,6 @@ class DragDropRegistry {
2869
2869
  this.pointerMove.next(event);
2870
2870
  }
2871
2871
  };
2872
- this._document = _document;
2873
2872
  }
2874
2873
  /** Adds a drop container to the registry. */
2875
2874
  registerDropContainer(drop) {
@@ -3016,16 +3015,13 @@ class DragDropRegistry {
3016
3015
  });
3017
3016
  this._globalListeners.clear();
3018
3017
  }
3019
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDropRegistry, deps: [{ token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
3018
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDropRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3020
3019
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDropRegistry, providedIn: 'root' }); }
3021
3020
  }
3022
3021
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDropRegistry, decorators: [{
3023
3022
  type: Injectable,
3024
3023
  args: [{ providedIn: 'root' }]
3025
- }], ctorParameters: () => [{ type: i0.NgZone }, { type: undefined, decorators: [{
3026
- type: Inject,
3027
- args: [DOCUMENT]
3028
- }] }] });
3024
+ }], ctorParameters: () => [] });
3029
3025
 
3030
3026
  /** Default configuration to be used when creating a `DragRef`. */
3031
3027
  const DEFAULT_CONFIG = {
@@ -3036,11 +3032,11 @@ const DEFAULT_CONFIG = {
3036
3032
  * Service that allows for drag-and-drop functionality to be attached to DOM elements.
3037
3033
  */
3038
3034
  class DragDrop {
3039
- constructor(_document, _ngZone, _viewportRuler, _dragDropRegistry) {
3040
- this._document = _document;
3041
- this._ngZone = _ngZone;
3042
- this._viewportRuler = _viewportRuler;
3043
- this._dragDropRegistry = _dragDropRegistry;
3035
+ constructor() {
3036
+ this._document = inject(DOCUMENT);
3037
+ this._ngZone = inject(NgZone);
3038
+ this._viewportRuler = inject(ViewportRuler);
3039
+ this._dragDropRegistry = inject(DragDropRegistry);
3044
3040
  }
3045
3041
  /**
3046
3042
  * Turns an element into a draggable item.
@@ -3057,16 +3053,13 @@ class DragDrop {
3057
3053
  createDropList(element) {
3058
3054
  return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
3059
3055
  }
3060
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDrop, deps: [{ token: DOCUMENT }, { token: i0.NgZone }, { token: i1.ViewportRuler }, { token: DragDropRegistry }], target: i0.ɵɵFactoryTarget.Injectable }); }
3056
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDrop, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3061
3057
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDrop, providedIn: 'root' }); }
3062
3058
  }
3063
3059
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: DragDrop, decorators: [{
3064
3060
  type: Injectable,
3065
3061
  args: [{ providedIn: 'root' }]
3066
- }], ctorParameters: () => [{ type: undefined, decorators: [{
3067
- type: Inject,
3068
- args: [DOCUMENT]
3069
- }] }, { type: i0.NgZone }, { type: i1.ViewportRuler }, { type: DragDropRegistry }] });
3062
+ }], ctorParameters: () => [] });
3070
3063
 
3071
3064
  /**
3072
3065
  * Injection token that can be used for a `CdkDrag` to provide itself as a parent to the
@@ -3103,22 +3096,22 @@ class CdkDragHandle {
3103
3096
  this._disabled = value;
3104
3097
  this._stateChanges.next(this);
3105
3098
  }
3106
- constructor(element, _parentDrag) {
3107
- this.element = element;
3108
- this._parentDrag = _parentDrag;
3099
+ constructor() {
3100
+ this.element = inject(ElementRef);
3101
+ this._parentDrag = inject(CDK_DRAG_PARENT, { optional: true, skipSelf: true });
3109
3102
  /** Emits when the state of the handle has changed. */
3110
3103
  this._stateChanges = new Subject();
3111
3104
  this._disabled = false;
3112
3105
  if (typeof ngDevMode === 'undefined' || ngDevMode) {
3113
- assertElementNode(element.nativeElement, 'cdkDragHandle');
3106
+ assertElementNode(this.element.nativeElement, 'cdkDragHandle');
3114
3107
  }
3115
- _parentDrag?._addHandle(this);
3108
+ this._parentDrag?._addHandle(this);
3116
3109
  }
3117
3110
  ngOnDestroy() {
3118
3111
  this._parentDrag?._removeHandle(this);
3119
3112
  this._stateChanges.complete();
3120
3113
  }
3121
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragHandle, deps: [{ token: i0.ElementRef }, { token: CDK_DRAG_PARENT, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive }); }
3114
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3122
3115
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", 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 }); }
3123
3116
  }
3124
3117
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragHandle, decorators: [{
@@ -3131,14 +3124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3131
3124
  },
3132
3125
  providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }],
3133
3126
  }]
3134
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
3135
- type: Inject,
3136
- args: [CDK_DRAG_PARENT]
3137
- }, {
3138
- type: Optional
3139
- }, {
3140
- type: SkipSelf
3141
- }] }], propDecorators: { disabled: [{
3127
+ }], ctorParameters: () => [], propDecorators: { disabled: [{
3142
3128
  type: Input,
3143
3129
  args: [{ alias: 'cdkDragHandleDisabled', transform: booleanAttribute }]
3144
3130
  }] } });
@@ -3161,30 +3147,21 @@ class CdkDrag {
3161
3147
  static { this._dragInstances = []; }
3162
3148
  /** Whether starting to drag this element is disabled. */
3163
3149
  get disabled() {
3164
- return this._disabled || (this.dropContainer && this.dropContainer.disabled);
3150
+ return this._disabled || !!(this.dropContainer && this.dropContainer.disabled);
3165
3151
  }
3166
3152
  set disabled(value) {
3167
3153
  this._disabled = value;
3168
3154
  this._dragRef.disabled = this._disabled;
3169
3155
  }
3170
- constructor(
3171
- /** Element that the draggable is attached to. */
3172
- element,
3173
- /** Droppable container that the draggable is a part of. */
3174
- dropContainer,
3175
- /**
3176
- * @deprecated `_document` parameter no longer being used and will be removed.
3177
- * @breaking-change 12.0.0
3178
- */
3179
- _document, _ngZone, _viewContainerRef, config, _dir, dragDrop, _changeDetectorRef, _selfHandle, _parentDrag) {
3180
- this.element = element;
3181
- this.dropContainer = dropContainer;
3182
- this._ngZone = _ngZone;
3183
- this._viewContainerRef = _viewContainerRef;
3184
- this._dir = _dir;
3185
- this._changeDetectorRef = _changeDetectorRef;
3186
- this._selfHandle = _selfHandle;
3187
- this._parentDrag = _parentDrag;
3156
+ constructor() {
3157
+ this.element = inject(ElementRef);
3158
+ this.dropContainer = inject(CDK_DROP_LIST, { optional: true, skipSelf: true });
3159
+ this._ngZone = inject(NgZone);
3160
+ this._viewContainerRef = inject(ViewContainerRef);
3161
+ this._dir = inject(Directionality, { optional: true });
3162
+ this._changeDetectorRef = inject(ChangeDetectorRef);
3163
+ this._selfHandle = inject(CDK_DRAG_HANDLE, { optional: true, self: true });
3164
+ this._parentDrag = inject(CDK_DRAG_PARENT, { optional: true, skipSelf: true });
3188
3165
  this._destroyed = new Subject();
3189
3166
  this._handles = new BehaviorSubject([]);
3190
3167
  /**
@@ -3223,7 +3200,10 @@ class CdkDrag {
3223
3200
  };
3224
3201
  });
3225
3202
  this._injector = inject(Injector);
3226
- this._dragRef = dragDrop.createDrag(element, {
3203
+ const dropContainer = this.dropContainer;
3204
+ const config = inject(CDK_DRAG_CONFIG, { optional: true });
3205
+ const dragDrop = inject(DragDrop);
3206
+ this._dragRef = dragDrop.createDrag(this.element, {
3227
3207
  dragStartThreshold: config && config.dragStartThreshold != null ? config.dragStartThreshold : 5,
3228
3208
  pointerDirectionChangeThreshold: config && config.pointerDirectionChangeThreshold != null
3229
3209
  ? config.pointerDirectionChangeThreshold
@@ -3292,6 +3272,7 @@ class CdkDrag {
3292
3272
  afterNextRender(() => {
3293
3273
  this._updateRootElement();
3294
3274
  this._setupHandlesListener();
3275
+ this._dragRef.scale = this.scale;
3295
3276
  if (this.freeDragPosition) {
3296
3277
  this._dragRef.setFreeDragPosition(this.freeDragPosition);
3297
3278
  }
@@ -3305,6 +3286,8 @@ class CdkDrag {
3305
3286
  if (rootSelectorChange && !rootSelectorChange.firstChange) {
3306
3287
  this._updateRootElement();
3307
3288
  }
3289
+ // Scale affects the free drag position so we need to sync it up here.
3290
+ this._dragRef.scale = this.scale;
3308
3291
  // Skip the first change since it's being handled in the `afterNextRender` queued up in the
3309
3292
  // constructor.
3310
3293
  if (positionChange && !positionChange.firstChange && this.freeDragPosition) {
@@ -3544,7 +3527,7 @@ class CdkDrag {
3544
3527
  handleInstance.disabled ? dragRef.disableHandle(handle) : dragRef.enableHandle(handle);
3545
3528
  });
3546
3529
  }
3547
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", 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 }); }
3530
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDrag, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3548
3531
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", 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"], scale: ["cdkDragScale", "scale", numberAttribute] }, 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 }); }
3549
3532
  }
3550
3533
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDrag, decorators: [{
@@ -3560,38 +3543,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3560
3543
  },
3561
3544
  providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }],
3562
3545
  }]
3563
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: undefined, decorators: [{
3564
- type: Inject,
3565
- args: [CDK_DROP_LIST]
3566
- }, {
3567
- type: Optional
3568
- }, {
3569
- type: SkipSelf
3570
- }] }, { type: undefined, decorators: [{
3571
- type: Inject,
3572
- args: [DOCUMENT]
3573
- }] }, { type: i0.NgZone }, { type: i0.ViewContainerRef }, { type: undefined, decorators: [{
3574
- type: Optional
3575
- }, {
3576
- type: Inject,
3577
- args: [CDK_DRAG_CONFIG]
3578
- }] }, { type: i1$1.Directionality, decorators: [{
3579
- type: Optional
3580
- }] }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: CdkDragHandle, decorators: [{
3581
- type: Optional
3582
- }, {
3583
- type: Self
3584
- }, {
3585
- type: Inject,
3586
- args: [CDK_DRAG_HANDLE]
3587
- }] }, { type: CdkDrag, decorators: [{
3588
- type: Optional
3589
- }, {
3590
- type: SkipSelf
3591
- }, {
3592
- type: Inject,
3593
- args: [CDK_DRAG_PARENT]
3594
- }] }], propDecorators: { data: [{
3546
+ }], ctorParameters: () => [], propDecorators: { data: [{
3595
3547
  type: Input,
3596
3548
  args: ['cdkDragData']
3597
3549
  }], lockAxis: [{
@@ -3702,14 +3654,15 @@ class CdkDropList {
3702
3654
  // the user in a disabled state, so we also need to sync it as it's being set.
3703
3655
  this._dropListRef.disabled = this._disabled = value;
3704
3656
  }
3705
- constructor(
3706
- /** Element that the drop list is attached to. */
3707
- element, dragDrop, _changeDetectorRef, _scrollDispatcher, _dir, _group, config) {
3708
- this.element = element;
3709
- this._changeDetectorRef = _changeDetectorRef;
3710
- this._scrollDispatcher = _scrollDispatcher;
3711
- this._dir = _dir;
3712
- this._group = _group;
3657
+ constructor() {
3658
+ this.element = inject(ElementRef);
3659
+ this._changeDetectorRef = inject(ChangeDetectorRef);
3660
+ this._scrollDispatcher = inject(ScrollDispatcher);
3661
+ this._dir = inject(Directionality, { optional: true });
3662
+ this._group = inject(CDK_DROP_LIST_GROUP, {
3663
+ optional: true,
3664
+ skipSelf: true,
3665
+ });
3713
3666
  /** Emits when the list has been destroyed. */
3714
3667
  this._destroyed = new Subject();
3715
3668
  /**
@@ -3751,10 +3704,12 @@ class CdkDropList {
3751
3704
  * and then we sort them based on their position in the DOM.
3752
3705
  */
3753
3706
  this._unsortedItems = new Set();
3707
+ const dragDrop = inject(DragDrop);
3708
+ const config = inject(CDK_DRAG_CONFIG, { optional: true });
3754
3709
  if (typeof ngDevMode === 'undefined' || ngDevMode) {
3755
- assertElementNode(element.nativeElement, 'cdkDropList');
3710
+ assertElementNode(this.element.nativeElement, 'cdkDropList');
3756
3711
  }
3757
- this._dropListRef = dragDrop.createDropList(element);
3712
+ this._dropListRef = dragDrop.createDropList(this.element);
3758
3713
  this._dropListRef.data = this;
3759
3714
  if (config) {
3760
3715
  this._assignDefaults(config);
@@ -3768,8 +3723,8 @@ class CdkDropList {
3768
3723
  this._setupInputSyncSubscription(this._dropListRef);
3769
3724
  this._handleEvents(this._dropListRef);
3770
3725
  CdkDropList._dropLists.push(this);
3771
- if (_group) {
3772
- _group._items.add(this);
3726
+ if (this._group) {
3727
+ this._group._items.add(this);
3773
3728
  }
3774
3729
  }
3775
3730
  /** Registers an items with the drop list. */
@@ -3925,7 +3880,7 @@ class CdkDropList {
3925
3880
  _syncItemsWithRef() {
3926
3881
  this._dropListRef.withItems(this.getSortedItems().map(item => item._dragRef));
3927
3882
  }
3928
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", 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 }); }
3883
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDropList, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3929
3884
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", 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"], elementContainerSelector: ["cdkDropListElementContainer", "elementContainerSelector"] }, 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: [
3930
3885
  // Prevent child drop lists from picking up the same group as their parent.
3931
3886
  { provide: CDK_DROP_LIST_GROUP, useValue: undefined },
@@ -3951,21 +3906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
3951
3906
  '[class.cdk-drop-list-receiving]': '_dropListRef.isReceiving()',
3952
3907
  },
3953
3908
  }]
3954
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: DragDrop }, { type: i0.ChangeDetectorRef }, { type: i1.ScrollDispatcher }, { type: i1$1.Directionality, decorators: [{
3955
- type: Optional
3956
- }] }, { type: CdkDropListGroup, decorators: [{
3957
- type: Optional
3958
- }, {
3959
- type: Inject,
3960
- args: [CDK_DROP_LIST_GROUP]
3961
- }, {
3962
- type: SkipSelf
3963
- }] }, { type: undefined, decorators: [{
3964
- type: Optional
3965
- }, {
3966
- type: Inject,
3967
- args: [CDK_DRAG_CONFIG]
3968
- }] }], propDecorators: { connectedTo: [{
3909
+ }], ctorParameters: () => [], propDecorators: { connectedTo: [{
3969
3910
  type: Input,
3970
3911
  args: ['cdkDropListConnectedTo']
3971
3912
  }], data: [{
@@ -4025,8 +3966,8 @@ const CDK_DRAG_PREVIEW = new InjectionToken('CdkDragPreview');
4025
3966
  * of a CdkDrag when it is being dragged.
4026
3967
  */
4027
3968
  class CdkDragPreview {
4028
- constructor(templateRef) {
4029
- this.templateRef = templateRef;
3969
+ constructor() {
3970
+ this.templateRef = inject(TemplateRef);
4030
3971
  this._drag = inject(CDK_DRAG_PARENT, { optional: true });
4031
3972
  /** Whether the preview should preserve the same size as the item that is being dragged. */
4032
3973
  this.matchSize = false;
@@ -4035,7 +3976,7 @@ class CdkDragPreview {
4035
3976
  ngOnDestroy() {
4036
3977
  this._drag?._resetPreviewTemplate(this);
4037
3978
  }
4038
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPreview, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3979
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPreview, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4039
3980
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.3", type: CdkDragPreview, isStandalone: true, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: ["matchSize", "matchSize", booleanAttribute] }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 }); }
4040
3981
  }
4041
3982
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPreview, decorators: [{
@@ -4045,7 +3986,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
4045
3986
  standalone: true,
4046
3987
  providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }],
4047
3988
  }]
4048
- }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { data: [{
3989
+ }], ctorParameters: () => [], propDecorators: { data: [{
4049
3990
  type: Input
4050
3991
  }], matchSize: [{
4051
3992
  type: Input,
@@ -4063,15 +4004,15 @@ const CDK_DRAG_PLACEHOLDER = new InjectionToken('CdkDragPlaceholder');
4063
4004
  * it is being dragged. The placeholder is displayed in place of the element being dragged.
4064
4005
  */
4065
4006
  class CdkDragPlaceholder {
4066
- constructor(templateRef) {
4067
- this.templateRef = templateRef;
4007
+ constructor() {
4008
+ this.templateRef = inject(TemplateRef);
4068
4009
  this._drag = inject(CDK_DRAG_PARENT, { optional: true });
4069
4010
  this._drag?._setPlaceholderTemplate(this);
4070
4011
  }
4071
4012
  ngOnDestroy() {
4072
4013
  this._drag?._resetPlaceholderTemplate(this);
4073
4014
  }
4074
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPlaceholder, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
4015
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPlaceholder, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
4075
4016
  static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.3", type: CdkDragPlaceholder, isStandalone: true, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 }); }
4076
4017
  }
4077
4018
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
@@ -4081,7 +4022,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.3",
4081
4022
  standalone: true,
4082
4023
  providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }],
4083
4024
  }]
4084
- }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { data: [{
4025
+ }], ctorParameters: () => [], propDecorators: { data: [{
4085
4026
  type: Input
4086
4027
  }] } });
4087
4028