@angular/cdk 20.0.0-next.8 → 20.0.0-next.9

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 (209) hide show
  1. package/_adev_assets/cdk_testing.json +1 -0
  2. package/_adev_assets/cdk_testing_protractor.json +1 -0
  3. package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
  4. package/_adev_assets/cdk_testing_testbed.json +1 -0
  5. package/a11y/index.d.ts +8 -8
  6. package/{a11y-module.d-DrV0SO0k.d.ts → a11y-module.d-DBHGyKoh.d.ts} +3 -3
  7. package/accordion/index.d.ts +2 -2
  8. package/{activedescendant-key-manager.d-DSYvyoT0.d.ts → activedescendant-key-manager.d-Bjic5obv.d.ts} +3 -3
  9. package/bidi/index.d.ts +1 -1
  10. package/{bidi-module.d-bsVYOt0R.d.ts → bidi-module.d-IN1Vp56w.d.ts} +2 -2
  11. package/clipboard/index.d.ts +1 -1
  12. package/coercion/index.d.ts +1 -1
  13. package/collections/index.d.ts +7 -7
  14. package/{data-source.d-DAIyaEMO.d.ts → data-source.d-Bblv7Zvh.d.ts} +2 -2
  15. package/dialog/index.d.ts +16 -15
  16. package/drag-drop/index.d.ts +5 -5
  17. package/fesm2022/{a11y-module-CEBjqXuv.mjs → a11y-module-DpEjWNCj.mjs} +8 -8
  18. package/fesm2022/a11y-module-DpEjWNCj.mjs.map +1 -0
  19. package/fesm2022/a11y.mjs +19 -19
  20. package/fesm2022/a11y.mjs.map +1 -1
  21. package/fesm2022/accordion.mjs +3 -3
  22. package/fesm2022/accordion.mjs.map +1 -1
  23. package/fesm2022/{activedescendant-key-manager-BYiHZAZc.mjs → activedescendant-key-manager-DC3-fwQI.mjs} +3 -3
  24. package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
  25. package/fesm2022/{array-Hg8isvLj.mjs → array-I1yfCXUO.mjs} +2 -2
  26. package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
  27. package/fesm2022/bidi.mjs +3 -3
  28. package/fesm2022/bidi.mjs.map +1 -1
  29. package/fesm2022/{breakpoints-observer-CsCzbYlX.mjs → breakpoints-observer-DpQzdtrE.mjs} +4 -4
  30. package/fesm2022/breakpoints-observer-DpQzdtrE.mjs.map +1 -0
  31. package/fesm2022/cdk.mjs +1 -1
  32. package/fesm2022/cdk.mjs.map +1 -1
  33. package/fesm2022/clipboard.mjs +1 -1
  34. package/fesm2022/clipboard.mjs.map +1 -1
  35. package/fesm2022/coercion/private.mjs.map +1 -1
  36. package/fesm2022/coercion.mjs +3 -3
  37. package/fesm2022/coercion.mjs.map +1 -1
  38. package/fesm2022/collections.mjs +5 -5
  39. package/fesm2022/{css-pixel-value-C1yoKJ7R.mjs → css-pixel-value-C_HEqLhI.mjs} +2 -2
  40. package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
  41. package/fesm2022/{data-source-CL6Fasig.mjs → data-source-D34wiQZj.mjs} +2 -2
  42. package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
  43. package/fesm2022/dialog.mjs +40 -42
  44. package/fesm2022/dialog.mjs.map +1 -1
  45. package/fesm2022/{directionality-kM9GX3mp.mjs → directionality-Ck5Uc9Se.mjs} +2 -2
  46. package/fesm2022/directionality-Ck5Uc9Se.mjs.map +1 -0
  47. package/fesm2022/{dispose-view-repeater-strategy-BLw1RSwm.mjs → dispose-view-repeater-strategy-D_JReLI1.mjs} +3 -3
  48. package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
  49. package/fesm2022/drag-drop.mjs +12 -12
  50. package/fesm2022/drag-drop.mjs.map +1 -1
  51. package/fesm2022/{element-CpqV8p-X.mjs → element-x4z00URv.mjs} +2 -2
  52. package/fesm2022/element-x4z00URv.mjs.map +1 -0
  53. package/fesm2022/{fake-event-detection-D0_6qVp2.mjs → fake-event-detection-DWOdFTFz.mjs} +2 -2
  54. package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
  55. package/fesm2022/{focus-key-manager-DgyxYbV2.mjs → focus-key-manager-C1rAQJ5z.mjs} +3 -3
  56. package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
  57. package/fesm2022/{focus-monitor-jX8r4DY-.mjs → focus-monitor-DKFfep8Q.mjs} +9 -9
  58. package/fesm2022/focus-monitor-DKFfep8Q.mjs.map +1 -0
  59. package/fesm2022/{id-generator-B33AfkWd.mjs → id-generator-BwB8lolC.mjs} +2 -2
  60. package/fesm2022/id-generator-BwB8lolC.mjs.map +1 -0
  61. package/fesm2022/{keycodes-DPWmI2Ix.mjs → keycodes-CpHkExLC.mjs} +2 -2
  62. package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
  63. package/fesm2022/keycodes.mjs +1 -1
  64. package/fesm2022/keycodes.mjs.map +1 -1
  65. package/fesm2022/layout.mjs +3 -3
  66. package/fesm2022/layout.mjs.map +1 -1
  67. package/fesm2022/{list-key-manager-CYBoL_nN.mjs → list-key-manager-CyOIXo8P.mjs} +4 -4
  68. package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
  69. package/fesm2022/listbox.mjs +10 -10
  70. package/fesm2022/listbox.mjs.map +1 -1
  71. package/fesm2022/menu.mjs +31 -37
  72. package/fesm2022/menu.mjs.map +1 -1
  73. package/fesm2022/observers/private.mjs.map +1 -1
  74. package/fesm2022/observers.mjs +2 -2
  75. package/fesm2022/observers.mjs.map +1 -1
  76. package/fesm2022/{overlay-module-BcjSxQND.mjs → overlay-module-BaGhSGqO.mjs} +23 -23
  77. package/fesm2022/overlay-module-BaGhSGqO.mjs.map +1 -0
  78. package/fesm2022/overlay.mjs +16 -16
  79. package/fesm2022/overlay.mjs.map +1 -1
  80. package/fesm2022/{passive-listeners-ZmZRMx8D.mjs → passive-listeners-esHZRgIN.mjs} +2 -2
  81. package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
  82. package/fesm2022/{platform-BInyKIh1.mjs → platform-CPg0IbDW.mjs} +2 -2
  83. package/fesm2022/platform-CPg0IbDW.mjs.map +1 -0
  84. package/fesm2022/platform.mjs +5 -5
  85. package/fesm2022/platform.mjs.map +1 -1
  86. package/fesm2022/portal.mjs +1 -1
  87. package/fesm2022/portal.mjs.map +1 -1
  88. package/fesm2022/private.mjs +2 -2
  89. package/fesm2022/private.mjs.map +1 -1
  90. package/fesm2022/{recycle-view-repeater-strategy-Ce0p4WhD.mjs → recycle-view-repeater-strategy-DoWdPqVw.mjs} +4 -4
  91. package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
  92. package/fesm2022/{scrolling-BXVcIfjZ.mjs → scrolling-BkvA05C8.mjs} +2 -2
  93. package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
  94. package/fesm2022/scrolling.mjs +7 -7
  95. package/fesm2022/scrolling.mjs.map +1 -1
  96. package/fesm2022/{selection-model-88BErm4w.mjs → selection-model-BCgC8uEN.mjs} +2 -2
  97. package/fesm2022/selection-model-BCgC8uEN.mjs.map +1 -0
  98. package/fesm2022/{shadow-dom-DFvX9W95.mjs → shadow-dom-B0oHn41l.mjs} +2 -2
  99. package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
  100. package/fesm2022/stepper.mjs +20 -14
  101. package/fesm2022/stepper.mjs.map +1 -1
  102. package/fesm2022/{style-loader-DpEDdstc.mjs → style-loader-BDEAZOey.mjs} +2 -2
  103. package/fesm2022/style-loader-BDEAZOey.mjs.map +1 -0
  104. package/fesm2022/table.mjs +87 -146
  105. package/fesm2022/table.mjs.map +1 -1
  106. package/fesm2022/{test-environment-BgaaXvCA.mjs → test-environment-CT0XxPyp.mjs} +2 -2
  107. package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -0
  108. package/fesm2022/testing/selenium-webdriver.mjs.map +1 -1
  109. package/fesm2022/testing/testbed.mjs +1 -1
  110. package/fesm2022/testing/testbed.mjs.map +1 -1
  111. package/fesm2022/testing.mjs.map +1 -1
  112. package/fesm2022/text-field.mjs +4 -4
  113. package/fesm2022/text-field.mjs.map +1 -1
  114. package/fesm2022/{tree-key-manager-DIhQ-v4R.mjs → tree-key-manager-KnCoIkIC.mjs} +4 -4
  115. package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
  116. package/fesm2022/tree.mjs +7 -7
  117. package/fesm2022/tree.mjs.map +1 -1
  118. package/fesm2022/{typeahead-BAa3HZoh.mjs → typeahead-9ZW4Dtsf.mjs} +3 -3
  119. package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
  120. package/fesm2022/{unique-selection-dispatcher-SqPM2COI.mjs → unique-selection-dispatcher-Cag6cZJ2.mjs} +2 -2
  121. package/fesm2022/unique-selection-dispatcher-Cag6cZJ2.mjs.map +1 -0
  122. package/{focus-key-manager.d-DCiEwxN7.d.ts → focus-key-manager.d-BIKDy8oD.d.ts} +4 -4
  123. package/{focus-monitor.d-BBkiOKUH.d.ts → focus-monitor.d-CvvJeQRc.d.ts} +2 -2
  124. package/{harness-environment.d-ByFLvxZh.d.ts → harness-environment.d-BatBdODN.d.ts} +2 -2
  125. package/{list-key-manager.d-CylnKWfo.d.ts → list-key-manager.d-BlK3jyRn.d.ts} +2 -2
  126. package/listbox/index.d.ts +3 -3
  127. package/menu/index.d.ts +13 -16
  128. package/{number-property.d-BzBQchZ2.d.ts → number-property.d-CJVxXUcb.d.ts} +2 -2
  129. package/observers/index.d.ts +2 -2
  130. package/overlay/_index.scss +3 -0
  131. package/overlay/index.d.ts +11 -11
  132. package/{overlay-module.d-CXZs2tcX.d.ts → overlay-module.d-BiAhhk6g.d.ts} +8 -8
  133. package/overlay-prebuilt.css +1 -1
  134. package/package.json +1 -1
  135. package/platform/index.d.ts +1 -1
  136. package/{platform.d-cnFZCLss.d.ts → platform.d-B3vREl3q.d.ts} +1 -1
  137. package/portal/index.d.ts +2 -2
  138. package/{portal-directives.d-D9c4J36c.d.ts → portal-directives.d-DbeNrI5D.d.ts} +2 -2
  139. package/private/index.d.ts +1 -1
  140. package/schematics/ng-add/index.js +10 -18
  141. package/schematics/ng-add/index.js.map +1 -1
  142. package/schematics/ng-update/devkit-migration-rule.js.map +1 -1
  143. package/schematics/ng-update/devkit-migration.d.ts +2 -2
  144. package/schematics/utils/ast.d.ts +2 -2
  145. package/schematics/utils/ast.js +2 -2
  146. package/schematics/utils/ast.js.map +1 -1
  147. package/schematics/utils/build-component.js +8 -8
  148. package/schematics/utils/build-component.js.map +1 -1
  149. package/schematics/utils/get-project.d.ts +2 -2
  150. package/schematics/utils/get-project.js.map +1 -1
  151. package/schematics/utils/project-index-file.d.ts +6 -3
  152. package/schematics/utils/project-index-file.js +29 -6
  153. package/schematics/utils/project-index-file.js.map +1 -1
  154. package/schematics/utils/project-main-file.d.ts +3 -2
  155. package/schematics/utils/project-main-file.js.map +1 -1
  156. package/schematics/utils/project-style-file.d.ts +2 -2
  157. package/schematics/utils/project-style-file.js.map +1 -1
  158. package/schematics/utils/project-targets.d.ts +5 -4
  159. package/schematics/utils/project-targets.js.map +1 -1
  160. package/schematics/utils/project-tsconfig-paths.d.ts +3 -3
  161. package/schematics/utils/project-tsconfig-paths.js +2 -2
  162. package/schematics/utils/project-tsconfig-paths.js.map +1 -1
  163. package/schematics/utils/schematic-options.d.ts +2 -2
  164. package/schematics/utils/schematic-options.js +2 -2
  165. package/schematics/utils/schematic-options.js.map +1 -1
  166. package/scrolling/index.d.ts +4 -4
  167. package/{scrolling-module.d-CuNwYGVM.d.ts → scrolling-module.d-DP0Qb7T9.d.ts} +6 -6
  168. package/{selection-model.d-CHuTS0tw.d.ts → selection-model.d-DNgOONDg.d.ts} +2 -2
  169. package/stepper/index.d.ts +5 -5
  170. package/{style-loader.d-DbvWk0ty.d.ts → style-loader.d-BXZfQZTF.d.ts} +1 -1
  171. package/table/index.d.ts +8 -196
  172. package/testing/index.d.ts +1 -1
  173. package/testing/selenium-webdriver/index.d.ts +1 -1
  174. package/testing/testbed/index.d.ts +1 -1
  175. package/text-field/index.d.ts +1 -1
  176. package/tree/index.d.ts +4 -4
  177. package/{tree-key-manager-strategy.d-DipnXoCr.d.ts → tree-key-manager-strategy.d-XB6M79l-.d.ts} +1 -1
  178. package/{unique-selection-dispatcher.d-BgWACqWn.d.ts → unique-selection-dispatcher.d-DSFqf1MM.d.ts} +2 -2
  179. package/{view-repeater.d-CJ9e48MX.d.ts → view-repeater.d-BKljR8u8.d.ts} +3 -3
  180. package/fesm2022/a11y-module-CEBjqXuv.mjs.map +0 -1
  181. package/fesm2022/activedescendant-key-manager-BYiHZAZc.mjs.map +0 -1
  182. package/fesm2022/array-Hg8isvLj.mjs.map +0 -1
  183. package/fesm2022/breakpoints-observer-CsCzbYlX.mjs.map +0 -1
  184. package/fesm2022/css-pixel-value-C1yoKJ7R.mjs.map +0 -1
  185. package/fesm2022/data-source-CL6Fasig.mjs.map +0 -1
  186. package/fesm2022/directionality-kM9GX3mp.mjs.map +0 -1
  187. package/fesm2022/dispose-view-repeater-strategy-BLw1RSwm.mjs.map +0 -1
  188. package/fesm2022/element-CpqV8p-X.mjs.map +0 -1
  189. package/fesm2022/fake-event-detection-D0_6qVp2.mjs.map +0 -1
  190. package/fesm2022/focus-key-manager-DgyxYbV2.mjs.map +0 -1
  191. package/fesm2022/focus-monitor-jX8r4DY-.mjs.map +0 -1
  192. package/fesm2022/id-generator-B33AfkWd.mjs.map +0 -1
  193. package/fesm2022/keycodes-DPWmI2Ix.mjs.map +0 -1
  194. package/fesm2022/list-key-manager-CYBoL_nN.mjs.map +0 -1
  195. package/fesm2022/overlay-module-BcjSxQND.mjs.map +0 -1
  196. package/fesm2022/passive-listeners-ZmZRMx8D.mjs.map +0 -1
  197. package/fesm2022/platform-BInyKIh1.mjs.map +0 -1
  198. package/fesm2022/recycle-view-repeater-strategy-Ce0p4WhD.mjs.map +0 -1
  199. package/fesm2022/scrolling-BXVcIfjZ.mjs.map +0 -1
  200. package/fesm2022/selection-model-88BErm4w.mjs.map +0 -1
  201. package/fesm2022/shadow-dom-DFvX9W95.mjs.map +0 -1
  202. package/fesm2022/style-loader-DpEDdstc.mjs.map +0 -1
  203. package/fesm2022/test-environment-BgaaXvCA.mjs.map +0 -1
  204. package/fesm2022/tree-key-manager-DIhQ-v4R.mjs.map +0 -1
  205. package/fesm2022/typeahead-BAa3HZoh.mjs.map +0 -1
  206. package/fesm2022/unique-selection-dispatcher-SqPM2COI.mjs.map +0 -1
  207. package/schematics/ng-add/package-config.d.ts +0 -12
  208. package/schematics/ng-add/package-config.js +0 -51
  209. package/schematics/ng-add/package-config.js.map +0 -1
@@ -8,13 +8,36 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.getProjectIndexFiles = getProjectIndexFiles;
11
+ const posix_1 = require("node:path/posix");
11
12
  const project_targets_1 = require("./project-targets");
12
- /** Gets the path of the index file in the given project. */
13
+ /**
14
+ * Gets the path of the index file in the given project.
15
+ * This only searches the base options for each target and not any defined target configurations.
16
+ */
13
17
  function getProjectIndexFiles(project) {
14
- const paths = (0, project_targets_1.getProjectBuildTargets)(project)
15
- .filter(t => { var _a; return (_a = t.options) === null || _a === void 0 ? void 0 : _a['index']; })
16
- .map(t => t.options['index']);
17
- // Use a set to remove duplicate index files referenced in multiple build targets of a project.
18
- return Array.from(new Set(paths));
18
+ var _a, _b;
19
+ // Use a Set to remove duplicate index files referenced in multiple build targets of a project.
20
+ const paths = new Set();
21
+ for (const target of (0, project_targets_1.getProjectBuildTargets)(project)) {
22
+ const indexValue = (_a = target.options) === null || _a === void 0 ? void 0 : _a['index'];
23
+ switch (typeof indexValue) {
24
+ case 'string':
25
+ // "index": "src/index.html"
26
+ paths.add(indexValue);
27
+ break;
28
+ case 'object':
29
+ // "index": { "input": "src/index.html", ... }
30
+ if (indexValue && 'input' in indexValue) {
31
+ paths.add(indexValue['input']);
32
+ }
33
+ break;
34
+ case 'undefined':
35
+ // v20+ supports an optional index field; default of `<project_source_root>/index.html`
36
+ // `project_source_root` is the project level `sourceRoot`; default of `<project_root>/src`
37
+ paths.add((0, posix_1.join)((_b = project.sourceRoot) !== null && _b !== void 0 ? _b : (0, posix_1.join)(project.root, 'src'), 'index.html'));
38
+ break;
39
+ }
40
+ }
41
+ return Array.from(paths);
19
42
  }
20
43
  //# sourceMappingURL=project-index-file.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"project-index-file.js","sourceRoot":"","sources":["project-index-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAMH,oDAOC;AAVD,uDAAyD;AAEzD,4DAA4D;AAC5D,SAAgB,oBAAoB,CAAC,OAAqC;IACxE,MAAM,KAAK,GAAG,IAAA,wCAAsB,EAAC,OAAO,CAAC;SAC1C,MAAM,CAAC,CAAC,CAAC,EAAE,WAAC,OAAA,MAAA,CAAC,CAAC,OAAO,0CAAG,OAAO,CAAC,CAAA,EAAA,CAAC;SACjC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAQ,CAAC,OAAO,CAAS,CAAC,CAAC;IAEzC,+FAA+F;IAC/F,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AACpC,CAAC"}
1
+ {"version":3,"file":"project-index-file.js","sourceRoot":"","sources":["project-index-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAUH,oDA2BC;AAnCD,2CAAqC;AACrC,uDAAyD;AAGzD;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,OAA0B;;IAC7D,+FAA+F;IAC/F,MAAM,KAAK,GAAG,IAAI,GAAG,EAAU,CAAC;IAEhC,KAAK,MAAM,MAAM,IAAI,IAAA,wCAAsB,EAAC,OAAO,CAAC,EAAE,CAAC;QACrD,MAAM,UAAU,GAAG,MAAA,MAAM,CAAC,OAAO,0CAAG,OAAO,CAAC,CAAC;QAE7C,QAAQ,OAAO,UAAU,EAAE,CAAC;YAC1B,KAAK,QAAQ;gBACX,4BAA4B;gBAC5B,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBACtB,MAAM;YACR,KAAK,QAAQ;gBACX,8CAA8C;gBAC9C,IAAI,UAAU,IAAI,OAAO,IAAI,UAAU,EAAE,CAAC;oBACxC,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,OAAO,CAAW,CAAC,CAAC;gBAC3C,CAAC;gBACD,MAAM;YACR,KAAK,WAAW;gBACd,uFAAuF;gBACvF,2FAA2F;gBAC3F,KAAK,CAAC,GAAG,CAAC,IAAA,YAAI,EAAC,MAAA,OAAO,CAAC,UAAU,mCAAI,IAAA,YAAI,EAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;gBAC/E,MAAM;QACV,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC3B,CAAC"}
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { Path, workspaces } from '@angular-devkit/core';
8
+ import { Path } from '@angular-devkit/core';
9
+ import { ProjectDefinition } from '@schematics/angular/utility';
9
10
  /** Looks for the main TypeScript file in the given project and returns its path. */
10
- export declare function getProjectMainFile(project: workspaces.ProjectDefinition): Path;
11
+ export declare function getProjectMainFile(project: ProjectDefinition): Path;
@@ -1 +1 @@
1
- {"version":3,"file":"project-main-file.js","sourceRoot":"","sources":["project-main-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAOH,gDAeC;AAnBD,2DAA+D;AAC/D,uDAA0D;AAE1D,oFAAoF;AACpF,SAAgB,kBAAkB,CAAC,OAAqC;IACtE,MAAM,YAAY,GAAG,IAAA,yCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAE/D,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,QAAQ,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,YAAY,CAAC,MAAM,CAAC,CAAqB,CAAC;IAEvF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,gCAAmB,CAC3B,qDAAqD;YACnD,qBAAqB,OAAO,CAAC,UAAU,GAAG,CAC7C,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"project-main-file.js","sourceRoot":"","sources":["project-main-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAQH,gDAeC;AApBD,2DAA+D;AAC/D,uDAA0D;AAG1D,oFAAoF;AACpF,SAAgB,kBAAkB,CAAC,OAA0B;IAC3D,MAAM,YAAY,GAAG,IAAA,yCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAE/D,iFAAiF;IACjF,qEAAqE;IACrE,MAAM,QAAQ,GAAG,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,YAAY,CAAC,MAAM,CAAC,CAAqB,CAAC;IAEvF,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,MAAM,IAAI,gCAAmB,CAC3B,qDAAqD;YACnD,qBAAqB,OAAO,CAAC,UAAU,GAAG,CAC7C,CAAC;IACJ,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -5,9 +5,9 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { workspaces } from '@angular-devkit/core';
8
+ import { ProjectDefinition } from '@schematics/angular/utility';
9
9
  /**
10
10
  * Gets a style file with the given extension in a project and returns its path. If no
11
11
  * extension is specified, any style file with a valid extension will be returned.
12
12
  */
13
- export declare function getProjectStyleFile(project: workspaces.ProjectDefinition, extension?: string): string | null;
13
+ export declare function getProjectStyleFile(project: ProjectDefinition, extension?: string): string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"project-style-file.js","sourceRoot":"","sources":["project-style-file.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,kDAiCC;AA9CD,+CAAwE;AACxE,uDAA0D;AAE1D,oFAAoF;AACpF,M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C,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC5E,CAAC;QAEF,IAAI,iBAAiB,EAAE,CAAC;YACtB,OAAO,IAAA,gBAAS,EAAC,iBAAiB,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -5,10 +5,11 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { JsonValue, workspaces } from '@angular-devkit/core';
8
+ import { JsonValue } from '@angular-devkit/core';
9
+ import { ProjectDefinition, TargetDefinition } from '@schematics/angular/utility';
9
10
  /** Resolves the architect options for the build target of the given project. */
10
- export declare function getProjectTargetOptions(project: workspaces.ProjectDefinition, buildTarget: string): Record<string, JsonValue | undefined>;
11
+ export declare function getProjectTargetOptions(project: ProjectDefinition, buildTarget: string): Record<string, JsonValue | undefined>;
11
12
  /** Gets all of the default CLI-provided build targets in a project. */
12
- export declare function getProjectBuildTargets(project: workspaces.ProjectDefinition): workspaces.TargetDefinition[];
13
+ export declare function getProjectBuildTargets(project: ProjectDefinition): TargetDefinition[];
13
14
  /** Gets all of the default CLI-provided testing targets in a project. */
14
- export declare function getProjectTestTargets(project: workspaces.ProjectDefinition): workspaces.TargetDefinition[];
15
+ export declare function getProjectTestTargets(project: ProjectDefinition): TargetDefinition[];
@@ -1 +1 @@
1
- {"version":3,"file":"project-targets.js","sourceRoot":"","sources":["project-targets.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAiBH,0DAaC;AAGD,wDAIC;AAGD,sDAIC;AAzCD,2DAA+D;AAE/D,oEAAoE;AACpE,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC;IAC/B,+CAA+C;IAC/C,2CAA2C;IAC3C,uCAAuC;IACvC,4BAA4B;CAC7B,CAAC,CAAC;AAEH,sE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C;SACtC,MAAM,CAAC,IAAI,CAAC,EAAE,WAAC,OAAA,SAAS,CAAC,MAAA,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,OAAO,CAAC,CAAA,EAAA,CAAC;SAC7D,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,CAAC;AAC7C,CAAC"}
@@ -5,10 +5,10 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { workspaces } from '@angular-devkit/core';
9
8
  import { Tree } from '@angular-devkit/schematics';
9
+ import { ProjectDefinition, WorkspaceDefinition } from '@schematics/angular/utility';
10
10
  import { WorkspacePath } from '../update-tool/file-system';
11
11
  /** Gets the tsconfig path from the given target within the specified project. */
12
- export declare function getTargetTsconfigPath(project: workspaces.ProjectDefinition, targetName: string): WorkspacePath | null;
12
+ export declare function getTargetTsconfigPath(project: ProjectDefinition, targetName: string): WorkspacePath | null;
13
13
  /** Resolve the workspace configuration of the specified tree gracefully. */
14
- export declare function getWorkspaceConfigGracefully(tree: Tree): Promise<workspaces.WorkspaceDefinition | null>;
14
+ export declare function getWorkspaceConfigGracefully(tree: Tree): Promise<WorkspaceDefinition | null>;
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.getTargetTsconfigPath = getTargetTsconfigPath;
20
20
  exports.getWorkspaceConfigGracefully = getWorkspaceConfigGracefully;
21
21
  const core_1 = require("@angular-devkit/core");
22
- const workspace_1 = require("@schematics/angular/utility/workspace");
22
+ const utility_1 = require("@schematics/angular/utility");
23
23
  /** Name of the default Angular CLI workspace configuration files. */
24
24
  const defaultWorkspaceConfigPaths = ['/angular.json', '/.angular.json'];
25
25
  /** Gets the tsconfig path from the given target within the specified project. */
@@ -36,7 +36,7 @@ function getWorkspaceConfigGracefully(tree) {
36
36
  return null;
37
37
  }
38
38
  try {
39
- return (0, workspace_1.getWorkspace)(tree, path);
39
+ return (0, utility_1.readWorkspace)(tree, path);
40
40
  }
41
41
  catch (_a) {
42
42
  return null;
@@ -1 +1 @@
1
- {"version":3,"file":"project-tsconfig-paths.js","sourceRoot":"","sources":["project-tsconfig-paths.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;AAWH,sDAMC;AAGD,oEAcC;AAhCD,+CAA2D;AAE3D,qEAAmE;AAGnE,qEAAqE;AACrE,MAAM,2BAA2B,GAAG,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAExE,iFAAiF;AACjF,SAAgB,qBAAqB,CACnC,OAAqC,EACrC,UAAkB;;IAElB,MAAM,QAAQ,GAAG,MAAA,MAAA,MAAA,OAAO,CAAC,OAAO,0CAAE,GAAG,CAAC,UAAU,CAAC,0CAAE,OAAO,0CAAG,UAAU,CAAC,CAAC;IACzE,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAA,gBAAS,EAAC,QAAkB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC;AAED,4EAA4E;AAC5E,SAAsB,4BAA4B,CAChD,IAAU;;QAEV,MAAM,IAAI,GAAG,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEjF,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC;YACH,OAAO,IAAA,wBAAY,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAClC,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"project-tsconfig-paths.js","sourceRoot":"","sources":["project-tsconfig-paths.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;AAWH,sDAMC;AAGD,oEAcC;AAhCD,+CAA+C;AAE/C,yDAAkG;AAGlG,qEAAqE;AACrE,MAAM,2BAA2B,GAAG,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;AAExE,iFAAiF;AACjF,SAAgB,qBAAqB,CACnC,OAA0B,EAC1B,UAAkB;;IAElB,MAAM,QAAQ,GAAG,MAAA,MAAA,MAAA,OAAO,CAAC,OAAO,0CAAE,GAAG,CAAC,UAAU,CAAC,0CAAE,OAAO,0CAAG,UAAU,CAAC,CAAC;IACzE,OAAO,QAAQ,CAAC,CAAC,CAAC,IAAA,gBAAS,EAAC,QAAkB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACzD,CAAC;AAED,4EAA4E;AAC5E,SAAsB,4BAA4B,CAChD,IAAU;;QAEV,MAAM,IAAI,GAAG,2BAA2B,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEjF,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC;YACH,OAAO,IAAA,uBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACnC,CAAC;QAAC,WAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CAAA"}
@@ -5,8 +5,8 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { workspaces } from '@angular-devkit/core';
9
8
  import { Schema } from '@schematics/angular/component/schema';
9
+ import { ProjectDefinition } from '@schematics/angular/utility';
10
10
  import { Tree } from '@angular-devkit/schematics';
11
11
  /**
12
12
  * Returns the default options for the `@schematics/angular:component` schematic which would
@@ -15,6 +15,6 @@ import { Tree } from '@angular-devkit/schematics';
15
15
  * This is necessary because the Angular CLI only exposes the default values for the "--style",
16
16
  * "--inlineStyle", "--skipTests" and "--inlineTemplate" options to the "component" schematic.
17
17
  */
18
- export declare function getDefaultComponentOptions(project: workspaces.ProjectDefinition): Partial<Schema>;
18
+ export declare function getDefaultComponentOptions(project: ProjectDefinition): Partial<Schema>;
19
19
  /** Determines whether the schematic is configured to be standalone. */
20
20
  export declare function isStandaloneSchematic(host: Tree, options: Schema): Promise<boolean>;
@@ -22,7 +22,7 @@ const core_1 = require("@angular-devkit/core");
22
22
  const schema_1 = require("@schematics/angular/component/schema");
23
23
  const ng_ast_utils_1 = require("@schematics/angular/utility/ng-ast-utils");
24
24
  const project_main_file_1 = require("./project-main-file");
25
- const workspace_1 = require("@schematics/angular/utility/workspace");
25
+ const utility_1 = require("@schematics/angular/utility");
26
26
  const get_project_1 = require("./get-project");
27
27
  /**
28
28
  * Returns the default options for the `@schematics/angular:component` schematic which would
@@ -57,7 +57,7 @@ function isStandaloneSchematic(host, options) {
57
57
  return options.standalone;
58
58
  }
59
59
  // If the `--standalone` flag isn't passed and there isn't a default, infer based on the project.
60
- const workspace = yield (0, workspace_1.getWorkspace)(host);
60
+ const workspace = yield (0, utility_1.readWorkspace)(host);
61
61
  const project = (0, get_project_1.getProjectFromWorkspace)(workspace, options.project);
62
62
  // Legacy projects might not have a `build` target, but they're likely
63
63
  // not on an Angular version that supports standalone either.
@@ -1 +1 @@
1
- {"version":3,"file":"schematic-options.js","sourceRoot":"","sources":["schematic-options.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;AAiBH,gEAmBC;AAGD,sDAgBC;AArDD,+CAA0E;AAC1E,iEAAmE;AACnE,2EAAyE;AACzE,2DAAuD;AACvD,qEAAmE;AACnE,+CAAsD;AAGtD;;;;;;GAMG;AACH,SAAgB,0BAA0B,CAAC,OAAqC;IAC9E,wFAAwF;IACxF,kFAAkF;IAClF,2FAA2F;IAC3F,IAAI,SAAS,GAAG,yBAAyB,CAAiB,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC;IAExF,yFAAyF;IACzF,kFAAkF;IAClF,8FAA8F;IAC9F,IAAI,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,CAAC;YAC7D,OAAO,gBAAgB,CAAC,UAAU,CAAiB,CAAC;QACtD,CAAC;IACH,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC"}
@@ -1,10 +1,10 @@
1
- export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualForOfContext, CdkVirtualScrollRepeater, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_SCROLL_TIME, ExtendedScrollToOptions, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, VirtualScrollStrategy, _Bottom, _End, _Left, _Right, _Start, _Top, _Without, _XAxis, _XOR, _YAxis, _fixedSizeVirtualScrollStrategyFactory } from '../scrolling-module.d-CuNwYGVM.js';
1
+ export { c as CdkFixedSizeVirtualScroll, C as CdkScrollable, b as CdkScrollableModule, d as CdkVirtualForOf, r as CdkVirtualForOfContext, t as CdkVirtualScrollRepeater, e as CdkVirtualScrollViewport, v as CdkVirtualScrollable, g as CdkVirtualScrollableElement, f as CdkVirtualScrollableWindow, D as DEFAULT_SCROLL_TIME, E as ExtendedScrollToOptions, F as FixedSizeVirtualScrollStrategy, a as ScrollDispatcher, S as ScrollingModule, u as VIRTUAL_SCROLLABLE, V as VIRTUAL_SCROLL_STRATEGY, s as VirtualScrollStrategy, k as _Bottom, o as _End, l as _Left, m as _Right, n as _Start, j as _Top, h as _Without, p as _XAxis, i as _XOR, q as _YAxis, _ as _fixedSizeVirtualScrollStrategyFactory } from '../scrolling-module.d-DP0Qb7T9.js';
2
2
  import * as i0 from '@angular/core';
3
3
  import { OnDestroy } from '@angular/core';
4
4
  import { Observable } from 'rxjs';
5
- export { Dir as ɵɵDir } from '../bidi-module.d-bsVYOt0R.js';
6
- import '../data-source.d-DAIyaEMO.js';
7
- import '../number-property.d-BzBQchZ2.js';
5
+ export { b as ɵɵDir } from '../bidi-module.d-IN1Vp56w.js';
6
+ import '../data-source.d-Bblv7Zvh.js';
7
+ import '../number-property.d-CJVxXUcb.js';
8
8
 
9
9
  /** Time in ms to throttle the resize events by default. */
10
10
  declare const DEFAULT_RESIZE_TIME = 20;
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges, DoCheck, NgIterable, TrackByFunction, TemplateRef } from '@angular/core';
3
- import { Directionality, BidiModule } from './bidi-module.d-bsVYOt0R.js';
2
+ import { OnDestroy, ElementRef, OnInit, NgZone, InjectionToken, OnChanges, NgIterable, DoCheck, TrackByFunction, TemplateRef } from '@angular/core';
3
+ import { D as Directionality, B as BidiModule } from './bidi-module.d-IN1Vp56w.js';
4
4
  import { Observable, Subscription, Subject } from 'rxjs';
5
- import { ListRange, CollectionViewer, DataSource } from './data-source.d-DAIyaEMO.js';
6
- import { NumberInput } from './number-property.d-BzBQchZ2.js';
5
+ import { L as ListRange, D as DataSource, C as CollectionViewer } from './data-source.d-Bblv7Zvh.js';
6
+ import { N as NumberInput } from './number-property.d-CJVxXUcb.js';
7
7
 
8
8
  /**
9
9
  * An item to be repeated by the VirtualScrollViewport
@@ -548,5 +548,5 @@ declare class ScrollingModule {
548
548
  static ɵinj: i0.ɵɵInjectorDeclaration<ScrollingModule>;
549
549
  }
550
550
 
551
- export { CdkFixedSizeVirtualScroll, CdkScrollable, CdkScrollableModule, CdkVirtualForOf, CdkVirtualScrollViewport, CdkVirtualScrollable, CdkVirtualScrollableElement, CdkVirtualScrollableWindow, DEFAULT_SCROLL_TIME, FixedSizeVirtualScrollStrategy, ScrollDispatcher, ScrollingModule, VIRTUAL_SCROLLABLE, VIRTUAL_SCROLL_STRATEGY, _fixedSizeVirtualScrollStrategyFactory };
552
- export type { CdkVirtualForOfContext, CdkVirtualScrollRepeater, ExtendedScrollToOptions, VirtualScrollStrategy, _Bottom, _End, _Left, _Right, _Start, _Top, _Without, _XAxis, _XOR, _YAxis };
551
+ export { CdkScrollable as C, DEFAULT_SCROLL_TIME as D, FixedSizeVirtualScrollStrategy as F, ScrollingModule as S, VIRTUAL_SCROLL_STRATEGY as V, _fixedSizeVirtualScrollStrategyFactory as _, ScrollDispatcher as a, CdkScrollableModule as b, CdkFixedSizeVirtualScroll as c, CdkVirtualForOf as d, CdkVirtualScrollViewport as e, CdkVirtualScrollableWindow as f, CdkVirtualScrollableElement as g, VIRTUAL_SCROLLABLE as u, CdkVirtualScrollable as v };
552
+ export type { ExtendedScrollToOptions as E, _Without as h, _XOR as i, _Top as j, _Bottom as k, _Left as l, _Right as m, _Start as n, _End as o, _XAxis as p, _YAxis as q, CdkVirtualForOfContext as r, VirtualScrollStrategy as s, CdkVirtualScrollRepeater as t };
@@ -108,5 +108,5 @@ interface SelectionChange<T> {
108
108
  */
109
109
  declare function getMultipleValuesInSingleSelectionError(): Error;
110
110
 
111
- export { SelectionModel, getMultipleValuesInSingleSelectionError };
112
- export type { SelectionChange };
111
+ export { SelectionModel as S, getMultipleValuesInSingleSelectionError as g };
112
+ export type { SelectionChange as a };
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ElementRef, TemplateRef, OnChanges, AfterContentInit, AfterViewInit, OnDestroy, QueryList, EventEmitter, InjectionToken } from '@angular/core';
2
+ import { ElementRef, TemplateRef, InjectionToken, OnChanges, QueryList, EventEmitter, AfterContentInit, AfterViewInit, OnDestroy } from '@angular/core';
3
3
  import { NgForm, FormGroupDirective, AbstractControl } from '@angular/forms';
4
4
  import { Subject } from 'rxjs';
5
- import { FocusableOption } from '../focus-key-manager.d-DCiEwxN7.js';
6
- import { BidiModule } from '../bidi-module.d-bsVYOt0R.js';
7
- import '../list-key-manager.d-CylnKWfo.js';
8
- import '../focus-monitor.d-BBkiOKUH.js';
5
+ import { F as FocusableOption } from '../focus-key-manager.d-BIKDy8oD.js';
6
+ import { B as BidiModule } from '../bidi-module.d-IN1Vp56w.js';
7
+ import '../list-key-manager.d-BlK3jyRn.js';
8
+ import '../focus-monitor.d-CvvJeQRc.js';
9
9
 
10
10
  declare class CdkStepHeader implements FocusableOption {
11
11
  _elementRef: ElementRef<HTMLElement>;
@@ -18,4 +18,4 @@ declare class _CdkPrivateStyleLoader {
18
18
  static ɵprov: i0.ɵɵInjectableDeclaration<_CdkPrivateStyleLoader>;
19
19
  }
20
20
 
21
- export { _CdkPrivateStyleLoader };
21
+ export { _CdkPrivateStyleLoader as _ };
package/table/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { Directionality, Direction } from '../bidi-module.d-bsVYOt0R.js';
1
+ import { D as Directionality } from '../bidi-module.d-IN1Vp56w.js';
2
2
  import * as i0 from '@angular/core';
3
- import { TemplateRef, ElementRef, InjectionToken, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList, Injector } from '@angular/core';
3
+ import { TemplateRef, ElementRef, OnChanges, IterableDiffers, IterableDiffer, SimpleChanges, IterableChanges, OnDestroy, ViewContainerRef, InjectionToken, AfterContentInit, AfterContentChecked, OnInit, ChangeDetectorRef, TrackByFunction, EventEmitter, QueryList } from '@angular/core';
4
4
  import { Observable, BehaviorSubject } from 'rxjs';
5
- import { DataSource, CollectionViewer } from '../data-source.d-DAIyaEMO.js';
6
- import { _ViewRepeater } from '../view-repeater.d-CJ9e48MX.js';
7
- import { ScrollingModule } from '../scrolling-module.d-CuNwYGVM.js';
8
- import '../number-property.d-BzBQchZ2.js';
5
+ import { D as DataSource, C as CollectionViewer } from '../data-source.d-Bblv7Zvh.js';
6
+ import { a as _ViewRepeater } from '../view-repeater.d-BKljR8u8.js';
7
+ import { S as ScrollingModule } from '../scrolling-module.d-DP0Qb7T9.js';
8
+ import '../number-property.d-CJVxXUcb.js';
9
9
 
10
10
  /**
11
11
  * Interface for a mixin to provide a directive with a function that checks if the sticky input has
@@ -147,40 +147,6 @@ declare class CdkCell extends BaseCdkCell {
147
147
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkCell, "cdk-cell, td[cdk-cell]", never, {}, {}, never, never, true, never>;
148
148
  }
149
149
 
150
- /**
151
- * @docs-private
152
- */
153
- declare class _Schedule {
154
- tasks: (() => unknown)[];
155
- endTasks: (() => unknown)[];
156
- }
157
- /** Injection token used to provide a coalesced style scheduler. */
158
- declare const _COALESCED_STYLE_SCHEDULER: InjectionToken<_CoalescedStyleScheduler>;
159
- /**
160
- * Allows grouping up CSSDom mutations after the current execution context.
161
- * This can significantly improve performance when separate consecutive functions are
162
- * reading from the CSSDom and then mutating it.
163
- *
164
- * @docs-private
165
- */
166
- declare class _CoalescedStyleScheduler {
167
- private _currentSchedule;
168
- private _ngZone;
169
- constructor(...args: unknown[]);
170
- /**
171
- * Schedules the specified task to run at the end of the current VM turn.
172
- */
173
- schedule(task: () => unknown): void;
174
- /**
175
- * Schedules the specified task to run after other scheduled tasks at the end of the current
176
- * VM turn.
177
- */
178
- scheduleEnd(task: () => unknown): void;
179
- private _createScheduleIfNeeded;
180
- static ɵfac: i0.ɵɵFactoryDeclaration<_CoalescedStyleScheduler, never>;
181
- static ɵprov: i0.ɵɵInjectableDeclaration<_CoalescedStyleScheduler>;
182
- }
183
-
184
150
  /**
185
151
  * The row template that can be used by the mat-table. Should not be used outside of the
186
152
  * material library.
@@ -439,12 +405,6 @@ declare class NoDataRowOutlet implements RowOutlet {
439
405
  static ɵfac: i0.ɵɵFactoryDeclaration<NoDataRowOutlet, never>;
440
406
  static ɵdir: i0.ɵɵDirectiveDeclaration<NoDataRowOutlet, "[noDataRowOutlet]", never, {}, {}, never, never, true, never>;
441
407
  }
442
- /**
443
- * The table template that can be used by the mat-table. Should not be used outside of the
444
- * material library.
445
- * @docs-private
446
- */
447
- declare const CDK_TABLE_TEMPLATE = "\n <ng-content select=\"caption\"/>\n <ng-content select=\"colgroup, col\"/>\n\n <!--\n Unprojected content throws a hydration error so we need this to capture it.\n It gets removed on the client so it doesn't affect the layout.\n -->\n @if (_isServer) {\n <ng-content/>\n }\n\n @if (_isNativeHtmlTable) {\n <thead role=\"rowgroup\">\n <ng-container headerRowOutlet/>\n </thead>\n <tbody role=\"rowgroup\">\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n </tbody>\n <tfoot role=\"rowgroup\">\n <ng-container footerRowOutlet/>\n </tfoot>\n } @else {\n <ng-container headerRowOutlet/>\n <ng-container rowOutlet/>\n <ng-container noDataRowOutlet/>\n <ng-container footerRowOutlet/>\n }\n";
448
408
  /**
449
409
  * Interface used to conveniently type the possible context interfaces for the render row.
450
410
  * @docs-private
@@ -482,7 +442,6 @@ declare class CdkTable<T> implements AfterContentInit, AfterContentChecked, Coll
482
442
  protected readonly _dir: Directionality | null;
483
443
  private _platform;
484
444
  protected readonly _viewRepeater: _ViewRepeater<T, RenderRow<T>, RowContext<T>>;
485
- protected readonly _coalescedStyleScheduler: _CoalescedStyleScheduler;
486
445
  private readonly _viewportRuler;
487
446
  protected readonly _stickyPositioningListener: StickyPositioningListener;
488
447
  private _document;
@@ -918,153 +877,6 @@ declare class CdkTableModule {
918
877
  static ɵinj: i0.ɵɵInjectorDeclaration<CdkTableModule>;
919
878
  }
920
879
 
921
- /**
922
- * Directions that can be used when setting sticky positioning.
923
- * @docs-private
924
- */
925
-
926
- type StickyDirection = 'top' | 'bottom' | 'left' | 'right';
927
- /**
928
- * List of all possible directions that can be used for sticky positioning.
929
- * @docs-private
930
- */
931
- declare const STICKY_DIRECTIONS: StickyDirection[];
932
- /**
933
- * Applies and removes sticky positioning styles to the `CdkTable` rows and columns cells.
934
- * @docs-private
935
- */
936
- declare class StickyStyler {
937
- private _isNativeHtmlTable;
938
- private _stickCellCss;
939
- direction: Direction;
940
- private _coalescedStyleScheduler;
941
- private _isBrowser;
942
- private readonly _needsPositionStickyOnElement;
943
- private readonly _positionListener?;
944
- private readonly _tableInjector?;
945
- private _elemSizeCache;
946
- private _resizeObserver;
947
- private _updatedStickyColumnsParamsToReplay;
948
- private _stickyColumnsReplayTimeout;
949
- private _cachedCellWidths;
950
- private readonly _borderCellCss;
951
- private _destroyed;
952
- /**
953
- * @param _isNativeHtmlTable Whether the sticky logic should be based on a table
954
- * that uses the native `<table>` element.
955
- * @param _stickCellCss The CSS class that will be applied to every row/cell that has
956
- * sticky positioning applied.
957
- * @param direction The directionality context of the table (ltr/rtl); affects column positioning
958
- * by reversing left/right positions.
959
- * @param _isBrowser Whether the table is currently being rendered on the server or the client.
960
- * @param _needsPositionStickyOnElement Whether we need to specify position: sticky on cells
961
- * using inline styles. If false, it is assumed that position: sticky is included in
962
- * the component stylesheet for _stickCellCss.
963
- * @param _positionListener A listener that is notified of changes to sticky rows/columns
964
- * and their dimensions.
965
- * @param _tableInjector The table's Injector.
966
- */
967
- constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined, _tableInjector?: Injector | undefined);
968
- /**
969
- * Clears the sticky positioning styles from the row and its cells by resetting the `position`
970
- * style, setting the zIndex to 0, and unsetting each provided sticky direction.
971
- * @param rows The list of rows that should be cleared from sticking in the provided directions
972
- * @param stickyDirections The directions that should no longer be set as sticky on the rows.
973
- */
974
- clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
975
- /**
976
- * Applies sticky left and right positions to the cells of each row according to the sticky
977
- * states of the rendered column definitions.
978
- * @param rows The rows that should have its set of cells stuck according to the sticky states.
979
- * @param stickyStartStates A list of boolean states where each state represents whether the cell
980
- * in this index position should be stuck to the start of the row.
981
- * @param stickyEndStates A list of boolean states where each state represents whether the cell
982
- * in this index position should be stuck to the end of the row.
983
- * @param recalculateCellWidths Whether the sticky styler should recalculate the width of each
984
- * column cell. If `false` cached widths will be used instead.
985
- * @param replay Whether to enqueue this call for replay after a ResizeObserver update.
986
- */
987
- updateStickyColumns(rows: HTMLElement[], stickyStartStates: boolean[], stickyEndStates: boolean[], recalculateCellWidths?: boolean, replay?: boolean): void;
988
- /**
989
- * Applies sticky positioning to the row's cells if using the native table layout, and to the
990
- * row itself otherwise.
991
- * @param rowsToStick The list of rows that should be stuck according to their corresponding
992
- * sticky state and to the provided top or bottom position.
993
- * @param stickyStates A list of boolean states where each state represents whether the row
994
- * should be stuck in the particular top or bottom position.
995
- * @param position The position direction in which the row should be stuck if that row should be
996
- * sticky.
997
- *
998
- */
999
- stickRows(rowsToStick: HTMLElement[], stickyStates: boolean[], position: 'top' | 'bottom'): void;
1000
- /**
1001
- * When using the native table in Safari, sticky footer cells do not stick. The only way to stick
1002
- * footer rows is to apply sticky styling to the tfoot container. This should only be done if
1003
- * all footer rows are sticky. If not all footer rows are sticky, remove sticky positioning from
1004
- * the tfoot element.
1005
- */
1006
- updateStickyFooterContainer(tableElement: Element, stickyStates: boolean[]): void;
1007
- /** Triggered by the table's OnDestroy hook. */
1008
- destroy(): void;
1009
- /**
1010
- * Removes the sticky style on the element by removing the sticky cell CSS class, re-evaluating
1011
- * the zIndex, removing each of the provided sticky directions, and removing the
1012
- * sticky position if there are no more directions.
1013
- */
1014
- _removeStickyStyle(element: HTMLElement, stickyDirections: StickyDirection[]): void;
1015
- /**
1016
- * Adds the sticky styling to the element by adding the sticky style class, changing position
1017
- * to be sticky (and -webkit-sticky), setting the appropriate zIndex, and adding a sticky
1018
- * direction and value.
1019
- */
1020
- _addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
1021
- /**
1022
- * Calculate what the z-index should be for the element, depending on what directions (top,
1023
- * bottom, left, right) have been set. It should be true that elements with a top direction
1024
- * should have the highest index since these are elements like a table header. If any of those
1025
- * elements are also sticky in another direction, then they should appear above other elements
1026
- * that are only sticky top (e.g. a sticky column on a sticky header). Bottom-sticky elements
1027
- * (e.g. footer rows) should then be next in the ordering such that they are below the header
1028
- * but above any non-sticky elements. Finally, left/right sticky elements (e.g. sticky columns)
1029
- * should minimally increment so that they are above non-sticky elements but below top and bottom
1030
- * elements.
1031
- */
1032
- _getCalculatedZIndex(element: HTMLElement): string;
1033
- /** Gets the widths for each cell in the provided row. */
1034
- _getCellWidths(row: HTMLElement, recalculateCellWidths?: boolean): number[];
1035
- /**
1036
- * Determines the left and right positions of each sticky column cell, which will be the
1037
- * accumulation of all sticky column cell widths to the left and right, respectively.
1038
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1039
- */
1040
- _getStickyStartColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1041
- /**
1042
- * Determines the left and right positions of each sticky column cell, which will be the
1043
- * accumulation of all sticky column cell widths to the left and right, respectively.
1044
- * Non-sticky cells do not need to have a value set since their positions will not be applied.
1045
- */
1046
- _getStickyEndColumnPositions(widths: number[], stickyStates: boolean[]): number[];
1047
- /**
1048
- * Retreives the most recently observed size of the specified element from the cache, or
1049
- * meaures it directly if not yet cached.
1050
- */
1051
- private _retrieveElementSize;
1052
- /**
1053
- * Conditionally enqueue the requested sticky update and clear previously queued updates
1054
- * for the same rows.
1055
- */
1056
- private _updateStickyColumnReplayQueue;
1057
- /** Remove updates for the specified rows from the queue. */
1058
- private _removeFromStickyColumnReplayQueue;
1059
- /** Update _elemSizeCache with the observed sizes. */
1060
- private _updateCachedSizes;
1061
- /**
1062
- * Invoke afterNextRender with the table's injector, falling back to CoalescedStyleScheduler
1063
- * if the injector was not provided.
1064
- */
1065
- private _afterNextRender;
1066
- }
1067
-
1068
880
  /**
1069
881
  * Used to provide a table to some of the sub-components without causing a circular dependency.
1070
882
  * @docs-private
@@ -1083,5 +895,5 @@ interface TextColumnOptions<T> {
1083
895
  /** Injection token that can be used to specify the text column options. */
1084
896
  declare const TEXT_COLUMN_OPTIONS: InjectionToken<TextColumnOptions<any>>;
1085
897
 
1086
- export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CDK_TABLE_TEMPLATE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, DataSource, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_DIRECTIONS, STICKY_POSITIONING_LISTENER, StickyStyler, TEXT_COLUMN_OPTIONS, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, _Schedule };
1087
- export type { CanStick, CdkCellOutletMultiRowContext, CdkCellOutletRowContext, CdkTableDataSourceInput, CellDef, RenderRow, RowContext, RowOutlet, StickyDirection, StickyOffset, StickyPositioningListener, StickySize, StickyUpdate, TextColumnOptions };
898
+ export { BaseCdkCell, BaseRowDef, CDK_ROW_TEMPLATE, CDK_TABLE, CdkCell, CdkCellDef, CdkCellOutlet, CdkColumnDef, CdkFooterCell, CdkFooterCellDef, CdkFooterRow, CdkFooterRowDef, CdkHeaderCell, CdkHeaderCellDef, CdkHeaderRow, CdkHeaderRowDef, CdkNoDataRow, CdkRecycleRows, CdkRow, CdkRowDef, CdkTable, CdkTableModule, CdkTextColumn, DataRowOutlet, DataSource, FooterRowOutlet, HeaderRowOutlet, NoDataRowOutlet, STICKY_POSITIONING_LISTENER, TEXT_COLUMN_OPTIONS };
899
+ export type { CdkCellOutletMultiRowContext, CdkCellOutletRowContext, CdkTableDataSourceInput, CellDef, RenderRow, RowContext, RowOutlet, StickyOffset, StickyPositioningListener, StickySize, StickyUpdate, TextColumnOptions };
@@ -1,4 +1,4 @@
1
- export { AsyncFactoryFn, AsyncOptionPredicate, AsyncPredicate, BaseHarnessFilters, ComponentHarness, ComponentHarnessConstructor, ContentContainerComponentHarness, ElementDimensions, EventData, HarnessEnvironment, HarnessLoader, HarnessPredicate, HarnessQuery, LocatorFactory, LocatorFnResult, ModifierKeys, TestElement, TestKey, TextOptions } from '../harness-environment.d-ByFLvxZh.js';
1
+ export { A as AsyncFactoryFn, g as AsyncOptionPredicate, f as AsyncPredicate, B as BaseHarnessFilters, C as ComponentHarness, e as ComponentHarnessConstructor, j as ContentContainerComponentHarness, E as ElementDimensions, c as EventData, H as HarnessEnvironment, d as HarnessLoader, k as HarnessPredicate, h as HarnessQuery, i as LocatorFactory, L as LocatorFnResult, M as ModifierKeys, T as TestElement, a as TestKey, b as TextOptions } from '../harness-environment.d-BatBdODN.js';
2
2
 
3
3
  /**
4
4
  * Returns an error which reports that no keys have been specified.
@@ -1,5 +1,5 @@
1
1
  import * as webdriver from 'selenium-webdriver';
2
- import { TestElement, ModifierKeys, TestKey, TextOptions, ElementDimensions, EventData, HarnessEnvironment, HarnessLoader } from '../../harness-environment.d-ByFLvxZh.js';
2
+ import { T as TestElement, M as ModifierKeys, a as TestKey, b as TextOptions, E as ElementDimensions, c as EventData, H as HarnessEnvironment, d as HarnessLoader } from '../../harness-environment.d-BatBdODN.js';
3
3
 
4
4
  /** A `TestElement` implementation for WebDriver. */
5
5
  declare class SeleniumWebDriverElement implements TestElement {
@@ -1,4 +1,4 @@
1
- import { HarnessEnvironment, HarnessLoader, TestElement, ComponentHarness, ComponentHarnessConstructor, ModifierKeys, TestKey, TextOptions, ElementDimensions, EventData } from '../../harness-environment.d-ByFLvxZh.js';
1
+ import { H as HarnessEnvironment, d as HarnessLoader, T as TestElement, C as ComponentHarness, e as ComponentHarnessConstructor, M as ModifierKeys, a as TestKey, b as TextOptions, E as ElementDimensions, c as EventData } from '../../harness-environment.d-BatBdODN.js';
2
2
  import { ComponentFixture } from '@angular/core/testing';
3
3
 
4
4
  /** Options to configure the environment. */
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { OnDestroy, ElementRef, OnInit, EventEmitter, AfterViewInit, DoCheck } from '@angular/core';
3
3
  import { Observable } from 'rxjs';
4
- import { NumberInput } from '../number-property.d-BzBQchZ2.js';
4
+ import { N as NumberInput } from '../number-property.d-CJVxXUcb.js';
5
5
 
6
6
  /** An event that is emitted when the autofill state of an input changes. */
7
7
  type AutofillEvent = {
package/tree/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Observable, BehaviorSubject, Subject } from 'rxjs';
2
- import { SelectionModel } from '../selection-model.d-CHuTS0tw.js';
2
+ import { S as SelectionModel } from '../selection-model.d-DNgOONDg.js';
3
3
  import * as i0 from '@angular/core';
4
- import { ViewContainerRef, InjectionToken, TemplateRef, OnDestroy, OnInit, ElementRef, AfterContentChecked, AfterContentInit, AfterViewInit, TrackByFunction, QueryList, IterableDiffer, EventEmitter, IterableDiffers } from '@angular/core';
5
- import { TreeKeyManagerItem, TreeKeyManagerStrategy } from '../tree-key-manager-strategy.d-DipnXoCr.js';
6
- import { CollectionViewer, DataSource } from '../data-source.d-DAIyaEMO.js';
4
+ import { InjectionToken, ViewContainerRef, TemplateRef, AfterContentChecked, AfterContentInit, AfterViewInit, OnDestroy, OnInit, TrackByFunction, QueryList, IterableDiffer, ElementRef, EventEmitter, IterableDiffers } from '@angular/core';
5
+ import { T as TreeKeyManagerStrategy, a as TreeKeyManagerItem } from '../tree-key-manager-strategy.d-XB6M79l-.js';
6
+ import { C as CollectionViewer, D as DataSource } from '../data-source.d-Bblv7Zvh.js';
7
7
 
8
8
  /**
9
9
  * Tree control interface. User can implement TreeControl to expand/collapse dataNodes in the tree.
@@ -113,4 +113,4 @@ interface TreeKeyManagerStrategy<T extends TreeKeyManagerItem> {
113
113
  }
114
114
  type TreeKeyManagerFactory<T extends TreeKeyManagerItem> = (items: Observable<T[]> | QueryList<T> | T[], options: TreeKeyManagerOptions<T>) => TreeKeyManagerStrategy<T>;
115
115
 
116
- export type { TreeKeyManagerFactory, TreeKeyManagerItem, TreeKeyManagerOptions, TreeKeyManagerStrategy };
116
+ export type { TreeKeyManagerStrategy as T, TreeKeyManagerItem as a, TreeKeyManagerFactory as b, TreeKeyManagerOptions as c };
@@ -29,5 +29,5 @@ declare class UniqueSelectionDispatcher implements OnDestroy {
29
29
  static ɵprov: i0.ɵɵInjectableDeclaration<UniqueSelectionDispatcher>;
30
30
  }
31
31
 
32
- export { UniqueSelectionDispatcher };
33
- export type { UniqueSelectionDispatcherListener };
32
+ export { UniqueSelectionDispatcher as U };
33
+ export type { UniqueSelectionDispatcherListener as a };