@angular/cdk 21.0.0-next.8 → 21.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/_adev_assets/cdk_drag_drop.json +13 -12
  2. package/_adev_assets/cdk_testing.json +15 -25
  3. package/_adev_assets/cdk_testing_protractor.json +1 -1
  4. package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -1
  5. package/_adev_assets/cdk_testing_testbed.json +1 -1
  6. package/fesm2022/_a11y-module-chunk.mjs +755 -869
  7. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  8. package/fesm2022/_activedescendant-key-manager-chunk.mjs +8 -8
  9. package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
  10. package/fesm2022/_array-chunk.mjs +1 -1
  11. package/fesm2022/_array-chunk.mjs.map +1 -1
  12. package/fesm2022/_breakpoints-observer-chunk.mjs +149 -152
  13. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  14. package/fesm2022/_css-pixel-value-chunk.mjs +4 -5
  15. package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
  16. package/fesm2022/_data-source-chunk.mjs +2 -8
  17. package/fesm2022/_data-source-chunk.mjs.map +1 -1
  18. package/fesm2022/_directionality-chunk.mjs +54 -54
  19. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  20. package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs +25 -36
  21. package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
  22. package/fesm2022/_element-chunk.mjs +6 -17
  23. package/fesm2022/_element-chunk.mjs.map +1 -1
  24. package/fesm2022/_fake-event-detection-chunk.mjs +3 -17
  25. package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
  26. package/fesm2022/_focus-key-manager-chunk.mjs +10 -14
  27. package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
  28. package/fesm2022/_focus-monitor-chunk.mjs +376 -566
  29. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  30. package/fesm2022/_id-generator-chunk.mjs +36 -27
  31. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  32. package/fesm2022/_keycodes-chunk.mjs +9 -9
  33. package/fesm2022/_keycodes-chunk.mjs.map +1 -1
  34. package/fesm2022/_list-key-manager-chunk.mjs +248 -336
  35. package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
  36. package/fesm2022/_overlay-module-chunk.mjs +2534 -2948
  37. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  38. package/fesm2022/_passive-listeners-chunk.mjs +10 -22
  39. package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
  40. package/fesm2022/_platform-chunk.mjs +42 -65
  41. package/fesm2022/_platform-chunk.mjs.map +1 -1
  42. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs +78 -134
  43. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
  44. package/fesm2022/_scrolling-chunk.mjs +44 -85
  45. package/fesm2022/_scrolling-chunk.mjs.map +1 -1
  46. package/fesm2022/_selection-model-chunk.mjs +138 -209
  47. package/fesm2022/_selection-model-chunk.mjs.map +1 -1
  48. package/fesm2022/_shadow-dom-chunk.mjs +21 -35
  49. package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
  50. package/fesm2022/_style-loader-chunk.mjs +50 -37
  51. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  52. package/fesm2022/_test-environment-chunk.mjs +2 -14
  53. package/fesm2022/_test-environment-chunk.mjs.map +1 -1
  54. package/fesm2022/_tree-key-manager-chunk.mjs +229 -308
  55. package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
  56. package/fesm2022/_typeahead-chunk.mjs +52 -74
  57. package/fesm2022/_typeahead-chunk.mjs.map +1 -1
  58. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +43 -40
  59. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  60. package/fesm2022/a11y.mjs +351 -449
  61. package/fesm2022/a11y.mjs.map +1 -1
  62. package/fesm2022/accordion.mjs +254 -192
  63. package/fesm2022/accordion.mjs.map +1 -1
  64. package/fesm2022/bidi.mjs +121 -64
  65. package/fesm2022/bidi.mjs.map +1 -1
  66. package/fesm2022/cdk.mjs +1 -2
  67. package/fesm2022/cdk.mjs.map +1 -1
  68. package/fesm2022/clipboard.mjs +208 -186
  69. package/fesm2022/clipboard.mjs.map +1 -1
  70. package/fesm2022/coercion-private.mjs +4 -8
  71. package/fesm2022/coercion-private.mjs.map +1 -1
  72. package/fesm2022/coercion.mjs +11 -29
  73. package/fesm2022/coercion.mjs.map +1 -1
  74. package/fesm2022/dialog.mjs +660 -808
  75. package/fesm2022/dialog.mjs.map +1 -1
  76. package/fesm2022/drag-drop.mjs +3347 -4286
  77. package/fesm2022/drag-drop.mjs.map +1 -1
  78. package/fesm2022/keycodes.mjs +4 -8
  79. package/fesm2022/keycodes.mjs.map +1 -1
  80. package/fesm2022/layout.mjs +44 -26
  81. package/fesm2022/layout.mjs.map +1 -1
  82. package/fesm2022/listbox.mjs +841 -895
  83. package/fesm2022/listbox.mjs.map +1 -1
  84. package/fesm2022/menu.mjs +1942 -1858
  85. package/fesm2022/menu.mjs.map +1 -1
  86. package/fesm2022/observers-private.mjs +88 -106
  87. package/fesm2022/observers-private.mjs.map +1 -1
  88. package/fesm2022/observers.mjs +262 -184
  89. package/fesm2022/observers.mjs.map +1 -1
  90. package/fesm2022/overlay.mjs +72 -68
  91. package/fesm2022/overlay.mjs.map +1 -1
  92. package/fesm2022/platform.mjs +43 -54
  93. package/fesm2022/platform.mjs.map +1 -1
  94. package/fesm2022/portal.mjs +402 -560
  95. package/fesm2022/portal.mjs.map +1 -1
  96. package/fesm2022/private.mjs +38 -10
  97. package/fesm2022/private.mjs.map +1 -1
  98. package/fesm2022/scrolling.mjs +1323 -1400
  99. package/fesm2022/scrolling.mjs.map +1 -1
  100. package/fesm2022/stepper.mjs +758 -590
  101. package/fesm2022/stepper.mjs.map +1 -1
  102. package/fesm2022/table.mjs +2327 -2319
  103. package/fesm2022/table.mjs.map +1 -1
  104. package/fesm2022/testing-selenium-webdriver.mjs +252 -325
  105. package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
  106. package/fesm2022/testing-testbed.mjs +592 -709
  107. package/fesm2022/testing-testbed.mjs.map +1 -1
  108. package/fesm2022/testing.mjs +368 -889
  109. package/fesm2022/testing.mjs.map +1 -1
  110. package/fesm2022/text-field.mjs +459 -388
  111. package/fesm2022/text-field.mjs.map +1 -1
  112. package/fesm2022/tree.mjs +1483 -1731
  113. package/fesm2022/tree.mjs.map +1 -1
  114. package/overlay/_index.scss +28 -0
  115. package/overlay-prebuilt.css +1 -1
  116. package/package.json +1 -1
  117. package/schematics/ng-add/index.js +1 -1
  118. package/types/_harness-environment-chunk.d.ts +1 -2
  119. package/types/_overlay-module-chunk.d.ts +59 -7
  120. package/types/_portal-directives-chunk.d.ts +2 -18
  121. package/types/accordion.d.ts +3 -1
  122. package/types/dialog.d.ts +1 -1
  123. package/types/overlay.d.ts +6 -2
  124. package/types/portal.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { OverlayContainer } from './_overlay-module-chunk.mjs';
2
- export { BlockScrollStrategy, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, createBlockScrollStrategy, createCloseScrollStrategy, createFlexibleConnectedPositionStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy, validateHorizontalPosition, validateVerticalPosition } from './_overlay-module-chunk.mjs';
2
+ export { BlockScrollStrategy, CDK_CONNECTED_OVERLAY_DEFAULT_CONFIG, CdkConnectedOverlay, CdkOverlayOrigin, CloseScrollStrategy, ConnectedOverlayPositionChange, ConnectionPositionPair, FlexibleConnectedPositionStrategy, GlobalPositionStrategy, NoopScrollStrategy, Overlay, OverlayConfig, OverlayKeyboardDispatcher, OverlayModule, OverlayOutsideClickDispatcher, OverlayPositionBuilder, OverlayRef, RepositionScrollStrategy, STANDARD_DROPDOWN_ADJACENT_POSITIONS, STANDARD_DROPDOWN_BELOW_POSITIONS, ScrollStrategyOptions, ScrollingVisibility, createBlockScrollStrategy, createCloseScrollStrategy, createFlexibleConnectedPositionStrategy, createGlobalPositionStrategy, createNoopScrollStrategy, createOverlayRef, createRepositionScrollStrategy, validateHorizontalPosition, validateVerticalPosition } from './_overlay-module-chunk.mjs';
3
3
  import * as i0 from '@angular/core';
4
4
  import { inject, RendererFactory2, Injectable } from '@angular/core';
5
5
  export { CdkScrollable, ScrollDispatcher, ViewportRuler, CdkFixedSizeVirtualScroll as ɵɵCdkFixedSizeVirtualScroll, CdkScrollableModule as ɵɵCdkScrollableModule, CdkVirtualForOf as ɵɵCdkVirtualForOf, CdkVirtualScrollViewport as ɵɵCdkVirtualScrollViewport, CdkVirtualScrollableElement as ɵɵCdkVirtualScrollableElement, CdkVirtualScrollableWindow as ɵɵCdkVirtualScrollableWindow } from './scrolling.mjs';
@@ -23,79 +23,83 @@ import './_element-chunk.mjs';
23
23
  import './_recycle-view-repeater-strategy-chunk.mjs';
24
24
  import './_data-source-chunk.mjs';
25
25
 
26
- /**
27
- * Alternative to OverlayContainer that supports correct displaying of overlay elements in
28
- * Fullscreen mode
29
- * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen
30
- *
31
- * Should be provided in the root component.
32
- */
33
26
  class FullscreenOverlayContainer extends OverlayContainer {
34
- _renderer = inject(RendererFactory2).createRenderer(null, null);
35
- _fullScreenEventName;
36
- _cleanupFullScreenListener;
37
- constructor() {
38
- super();
39
- }
40
- ngOnDestroy() {
41
- super.ngOnDestroy();
42
- this._cleanupFullScreenListener?.();
43
- }
44
- _createContainer() {
45
- const eventName = this._getEventName();
46
- super._createContainer();
27
+ _renderer = inject(RendererFactory2).createRenderer(null, null);
28
+ _fullScreenEventName;
29
+ _cleanupFullScreenListener;
30
+ constructor() {
31
+ super();
32
+ }
33
+ ngOnDestroy() {
34
+ super.ngOnDestroy();
35
+ this._cleanupFullScreenListener?.();
36
+ }
37
+ _createContainer() {
38
+ const eventName = this._getEventName();
39
+ super._createContainer();
40
+ this._adjustParentForFullscreenChange();
41
+ if (eventName) {
42
+ this._cleanupFullScreenListener?.();
43
+ this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {
47
44
  this._adjustParentForFullscreenChange();
48
- if (eventName) {
49
- this._cleanupFullScreenListener?.();
50
- this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {
51
- this._adjustParentForFullscreenChange();
52
- });
53
- }
54
- }
55
- _adjustParentForFullscreenChange() {
56
- if (this._containerElement) {
57
- const fullscreenElement = this.getFullscreenElement();
58
- const parent = fullscreenElement || this._document.body;
59
- parent.appendChild(this._containerElement);
60
- }
45
+ });
61
46
  }
62
- _getEventName() {
63
- if (!this._fullScreenEventName) {
64
- const _document = this._document;
65
- if (_document.fullscreenEnabled) {
66
- this._fullScreenEventName = 'fullscreenchange';
67
- }
68
- else if (_document.webkitFullscreenEnabled) {
69
- this._fullScreenEventName = 'webkitfullscreenchange';
70
- }
71
- else if (_document.mozFullScreenEnabled) {
72
- this._fullScreenEventName = 'mozfullscreenchange';
73
- }
74
- else if (_document.msFullscreenEnabled) {
75
- this._fullScreenEventName = 'MSFullscreenChange';
76
- }
77
- }
78
- return this._fullScreenEventName;
47
+ }
48
+ _adjustParentForFullscreenChange() {
49
+ if (this._containerElement) {
50
+ const fullscreenElement = this.getFullscreenElement();
51
+ const parent = fullscreenElement || this._document.body;
52
+ parent.appendChild(this._containerElement);
79
53
  }
80
- /**
81
- * When the page is put into fullscreen mode, a specific element is specified.
82
- * Only that element and its children are visible when in fullscreen mode.
83
- */
84
- getFullscreenElement() {
85
- const _document = this._document;
86
- return (_document.fullscreenElement ||
87
- _document.webkitFullscreenElement ||
88
- _document.mozFullScreenElement ||
89
- _document.msFullscreenElement ||
90
- null);
54
+ }
55
+ _getEventName() {
56
+ if (!this._fullScreenEventName) {
57
+ const _document = this._document;
58
+ if (_document.fullscreenEnabled) {
59
+ this._fullScreenEventName = 'fullscreenchange';
60
+ } else if (_document.webkitFullscreenEnabled) {
61
+ this._fullScreenEventName = 'webkitfullscreenchange';
62
+ } else if (_document.mozFullScreenEnabled) {
63
+ this._fullScreenEventName = 'mozfullscreenchange';
64
+ } else if (_document.msFullscreenEnabled) {
65
+ this._fullScreenEventName = 'MSFullscreenChange';
66
+ }
91
67
  }
92
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FullscreenOverlayContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
93
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FullscreenOverlayContainer, providedIn: 'root' });
68
+ return this._fullScreenEventName;
69
+ }
70
+ getFullscreenElement() {
71
+ const _document = this._document;
72
+ return _document.fullscreenElement || _document.webkitFullscreenElement || _document.mozFullScreenElement || _document.msFullscreenElement || null;
73
+ }
74
+ static ɵfac = i0.ɵɵngDeclareFactory({
75
+ minVersion: "12.0.0",
76
+ version: "20.2.0-next.2",
77
+ ngImport: i0,
78
+ type: FullscreenOverlayContainer,
79
+ deps: [],
80
+ target: i0.ɵɵFactoryTarget.Injectable
81
+ });
82
+ static ɵprov = i0.ɵɵngDeclareInjectable({
83
+ minVersion: "12.0.0",
84
+ version: "20.2.0-next.2",
85
+ ngImport: i0,
86
+ type: FullscreenOverlayContainer,
87
+ providedIn: 'root'
88
+ });
94
89
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: FullscreenOverlayContainer, decorators: [{
96
- type: Injectable,
97
- args: [{ providedIn: 'root' }]
98
- }], ctorParameters: () => [] });
90
+ i0.ɵɵngDeclareClassMetadata({
91
+ minVersion: "12.0.0",
92
+ version: "20.2.0-next.2",
93
+ ngImport: i0,
94
+ type: FullscreenOverlayContainer,
95
+ decorators: [{
96
+ type: Injectable,
97
+ args: [{
98
+ providedIn: 'root'
99
+ }]
100
+ }],
101
+ ctorParameters: () => []
102
+ });
99
103
 
100
104
  export { FullscreenOverlayContainer, OverlayContainer };
101
105
  //# sourceMappingURL=overlay.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/overlay/fullscreen-overlay-container.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n constructor(...args: unknown[]);\n\n constructor() {\n super();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;;;AAMG;AAEG,MAAO,0BAA2B,SAAQ,gBAAgB,CAAA;AACtD,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,CAAC;AAC/D,IAAA,oBAAoB;AACpB,IAAA,0BAA0B;AAIlC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;;IAGA,WAAW,GAAA;QAClB,KAAK,CAAC,WAAW,EAAE;AACnB,QAAA,IAAI,CAAC,0BAA0B,IAAI;;IAGlB,gBAAgB,GAAA;AACjC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,aAAa,EAAE;QACtC,KAAK,CAAC,gBAAgB,EAAE;QACxB,IAAI,CAAC,gCAAgC,EAAE;QAEvC,IAAI,SAAS,EAAE;AACb,YAAA,IAAI,CAAC,0BAA0B,IAAI;AACnC,YAAA,IAAI,CAAC,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,MAAK;gBAClF,IAAI,CAAC,gCAAgC,EAAE;AACzC,aAAC,CAAC;;;IAIE,gCAAgC,GAAA;AACtC,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;AAC1B,YAAA,MAAM,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,EAAE;YACrD,MAAM,MAAM,GAAG,iBAAiB,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI;AACvD,YAAA,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,iBAAiB,CAAC;;;IAItC,aAAa,GAAA;AACnB,QAAA,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE;AAC9B,YAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;AAEvC,YAAA,IAAI,SAAS,CAAC,iBAAiB,EAAE;AAC/B,gBAAA,IAAI,CAAC,oBAAoB,GAAG,kBAAkB;;AACzC,iBAAA,IAAI,SAAS,CAAC,uBAAuB,EAAE;AAC5C,gBAAA,IAAI,CAAC,oBAAoB,GAAG,wBAAwB;;AAC/C,iBAAA,IAAI,SAAS,CAAC,oBAAoB,EAAE;AACzC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,qBAAqB;;AAC5C,iBAAA,IAAI,SAAS,CAAC,mBAAmB,EAAE;AACxC,gBAAA,IAAI,CAAC,oBAAoB,GAAG,oBAAoB;;;QAIpD,OAAO,IAAI,CAAC,oBAAoB;;AAGlC;;;AAGG;IACH,oBAAoB,GAAA;AAClB,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,SAAgB;QAEvC,QACE,SAAS,CAAC,iBAAiB;AAC3B,YAAA,SAAS,CAAC,uBAAuB;AACjC,YAAA,SAAS,CAAC,oBAAoB;AAC9B,YAAA,SAAS,CAAC,mBAAmB;AAC7B,YAAA,IAAI;;8GAnEG,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAA1B,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,cADd,MAAM,EAAA,CAAA;;kGAClB,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
1
+ {"version":3,"file":"overlay.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/overlay/fullscreen-overlay-container.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Injectable, OnDestroy, RendererFactory2} from '@angular/core';\nimport {OverlayContainer} from './overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports correct displaying of overlay elements in\n * Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n *\n * Should be provided in the root component.\n */\n@Injectable({providedIn: 'root'})\nexport class FullscreenOverlayContainer extends OverlayContainer implements OnDestroy {\n private _renderer = inject(RendererFactory2).createRenderer(null, null);\n private _fullScreenEventName: string | undefined;\n private _cleanupFullScreenListener: (() => void) | undefined;\n\n constructor(...args: unknown[]);\n\n constructor() {\n super();\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this._cleanupFullScreenListener?.();\n }\n\n protected override _createContainer(): void {\n const eventName = this._getEventName();\n super._createContainer();\n this._adjustParentForFullscreenChange();\n\n if (eventName) {\n this._cleanupFullScreenListener?.();\n this._cleanupFullScreenListener = this._renderer.listen('document', eventName, () => {\n this._adjustParentForFullscreenChange();\n });\n }\n }\n\n private _adjustParentForFullscreenChange(): void {\n if (this._containerElement) {\n const fullscreenElement = this.getFullscreenElement();\n const parent = fullscreenElement || this._document.body;\n parent.appendChild(this._containerElement);\n }\n }\n\n private _getEventName(): string | undefined {\n if (!this._fullScreenEventName) {\n const _document = this._document as any;\n\n if (_document.fullscreenEnabled) {\n this._fullScreenEventName = 'fullscreenchange';\n } else if (_document.webkitFullscreenEnabled) {\n this._fullScreenEventName = 'webkitfullscreenchange';\n } else if (_document.mozFullScreenEnabled) {\n this._fullScreenEventName = 'mozfullscreenchange';\n } else if (_document.msFullscreenEnabled) {\n this._fullScreenEventName = 'MSFullscreenChange';\n }\n }\n\n return this._fullScreenEventName;\n }\n\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n getFullscreenElement(): Element {\n const _document = this._document as any;\n\n return (\n _document.fullscreenElement ||\n _document.webkitFullscreenElement ||\n _document.mozFullScreenElement ||\n _document.msFullscreenElement ||\n null\n );\n }\n}\n"],"names":["FullscreenOverlayContainer","OverlayContainer","ngOnDestroy","_cleanupFullScreenListener","_createContainer","eventName","_getEventName","_adjustParentForFullscreenChange","_renderer","listen","_containerElement","fullscreenElement","getFullscreenElement","parent","_document","body","_fullScreenEventName","fullscreenEnabled","msFullscreenEnabled"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAoBUA,MAAAA,0BAAA,SAAAC,gBAAA,CAAA;;;;;;;AAYNC,EAAAA,WAAKA,GAAA;AACP,IAAA,KAAA,CAAAA,WAAA,EAAA;AAEmC,IAAA,IAAA,CAAAC,0BAAA,IAAA;AACjC;EAKEC,gBAAA,GAAA;IACA,MAAAC,SAAA,QAAAC,aAAA,EAAA;;AAGF,IAAA,IAAA,CAAAC,gCAAA,EAAA;AACF,IAAA,IAAAF,SAAA,EAAA;MAEwC,IAAA,CAAAF,0BAAA,IAAA;AACtC,MAAA,IAAA,CAAAA,0BAAA,GAAAK,IAAAA,CAAAA,SAAA,CAAAC,MAAA,aAAAJ,SAAA,EAAA,MAAA;AAEQ,QAAA,IAA0B,CAAAE,gCAAA,EAAA;OAChC,CAAA;;;kCAKQA,GAAA;AACR,IAAA,IAAA,IAAA,CAAAG,iBAAA,EAAA;MAEA,MAAAC,iBAAA,QAA+BC,oBAAE,EAAA;AAC/BC,MAAAA,MAAAA,MAAA,GAAAF,iBAAA,IAA4BG,IAAAA,CAAAA,SAAA,CAAAC,IAAA;;AACvB;AACL;EACKT,aAAA,GAAA;IACL,IAAA,CAAA,IAAA,CAAAU,oBAAK,EAAA;YACPF,SAAA,QAAAA,SAAA;MAAO,IAAAA,SAAA,CAAAG,iBAAI,EAA6B;QACtC,IAAA,CAAAD,oBAAK,GAAuB,kBAAA;;AAKlC,QAAA,IAAA,CAAAA,oBAAA,GAAA,wBAAA;AAEA,OAAA;QAGG,IAAAA,CAAAA,oBAAA,GAAA,qBAAA;aAED,IAAAF,SAAA,CAAAI,mBAAA,EAAA;AAAA,QAAA,IAAA,CAAeF,oBAAO,GAAiB,oBAAA;;;AAIrC,IAAA,OAAA,IAAA,CAAAA,oBAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,65 +8,54 @@ export { _isTestEnvironment } from './_test-environment-chunk.mjs';
8
8
  import '@angular/common';
9
9
 
10
10
  class PlatformModule {
11
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: PlatformModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
12
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: PlatformModule });
13
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: PlatformModule });
11
+ static ɵfac = i0.ɵɵngDeclareFactory({
12
+ minVersion: "12.0.0",
13
+ version: "20.2.0-next.2",
14
+ ngImport: i0,
15
+ type: PlatformModule,
16
+ deps: [],
17
+ target: i0.ɵɵFactoryTarget.NgModule
18
+ });
19
+ static ɵmod = i0.ɵɵngDeclareNgModule({
20
+ minVersion: "14.0.0",
21
+ version: "20.2.0-next.2",
22
+ ngImport: i0,
23
+ type: PlatformModule
24
+ });
25
+ static ɵinj = i0.ɵɵngDeclareInjector({
26
+ minVersion: "12.0.0",
27
+ version: "20.2.0-next.2",
28
+ ngImport: i0,
29
+ type: PlatformModule
30
+ });
14
31
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: PlatformModule, decorators: [{
16
- type: NgModule,
17
- args: [{}]
18
- }] });
32
+ i0.ɵɵngDeclareClassMetadata({
33
+ minVersion: "12.0.0",
34
+ version: "20.2.0-next.2",
35
+ ngImport: i0,
36
+ type: PlatformModule,
37
+ decorators: [{
38
+ type: NgModule,
39
+ args: [{}]
40
+ }]
41
+ });
19
42
 
20
- /** Cached result Set of input types support by the current browser. */
21
43
  let supportedInputTypes;
22
- /** Types of `<input>` that *might* be supported. */
23
- const candidateInputTypes = [
24
- // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after
25
- // first changing it to something else:
26
- // The specified value "" does not conform to the required format.
27
- // The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
28
- 'color',
29
- 'button',
30
- 'checkbox',
31
- 'date',
32
- 'datetime-local',
33
- 'email',
34
- 'file',
35
- 'hidden',
36
- 'image',
37
- 'month',
38
- 'number',
39
- 'password',
40
- 'radio',
41
- 'range',
42
- 'reset',
43
- 'search',
44
- 'submit',
45
- 'tel',
46
- 'text',
47
- 'time',
48
- 'url',
49
- 'week',
50
- ];
51
- /** @returns The input types supported by this browser. */
44
+ const candidateInputTypes = ['color', 'button', 'checkbox', 'date', 'datetime-local', 'email', 'file', 'hidden', 'image', 'month', 'number', 'password', 'radio', 'range', 'reset', 'search', 'submit', 'tel', 'text', 'time', 'url', 'week'];
52
45
  function getSupportedInputTypes() {
53
- // Result is cached.
54
- if (supportedInputTypes) {
55
- return supportedInputTypes;
56
- }
57
- // We can't check if an input type is not supported until we're on the browser, so say that
58
- // everything is supported when not on the browser. We don't use `Platform` here since it's
59
- // just a helper function and can't inject it.
60
- if (typeof document !== 'object' || !document) {
61
- supportedInputTypes = new Set(candidateInputTypes);
62
- return supportedInputTypes;
63
- }
64
- let featureTestInput = document.createElement('input');
65
- supportedInputTypes = new Set(candidateInputTypes.filter(value => {
66
- featureTestInput.setAttribute('type', value);
67
- return featureTestInput.type === value;
68
- }));
46
+ if (supportedInputTypes) {
69
47
  return supportedInputTypes;
48
+ }
49
+ if (typeof document !== 'object' || !document) {
50
+ supportedInputTypes = new Set(candidateInputTypes);
51
+ return supportedInputTypes;
52
+ }
53
+ let featureTestInput = document.createElement('input');
54
+ supportedInputTypes = new Set(candidateInputTypes.filter(value => {
55
+ featureTestInput.setAttribute('type', value);
56
+ return featureTestInput.type === value;
57
+ }));
58
+ return supportedInputTypes;
70
59
  }
71
60
 
72
61
  export { PlatformModule, getSupportedInputTypes };
@@ -1 +1 @@
1
- {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/input-types.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":[],"mappings":";;;;;;;;;MAWa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;+GAAd,cAAc,EAAA,CAAA;;kGAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,QAAQ;mBAAC,EAAE;;;ACFZ;AACA,IAAI,mBAAgC;AAEpC;AACA,MAAM,mBAAmB,GAAG;;;;;IAK1B,OAAO;IACP,QAAQ;IACR,UAAU;IACV,MAAM;IACN,gBAAgB;IAChB,OAAO;IACP,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,QAAQ;IACR,UAAU;IACV,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;CACP;AAED;SACgB,sBAAsB,GAAA;;IAEpC,IAAI,mBAAmB,EAAE;AACvB,QAAA,OAAO,mBAAmB;;;;;IAM5B,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,QAAQ,EAAE;AAC7C,QAAA,mBAAmB,GAAG,IAAI,GAAG,CAAC,mBAAmB,CAAC;AAClD,QAAA,OAAO,mBAAmB;;IAG5B,IAAI,gBAAgB,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC;IACtD,mBAAmB,GAAG,IAAI,GAAG,CAC3B,mBAAmB,CAAC,MAAM,CAAC,KAAK,IAAG;AACjC,QAAA,gBAAgB,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC;AAC5C,QAAA,OAAO,gBAAgB,CAAC,IAAI,KAAK,KAAK;KACvC,CAAC,CACH;AAED,IAAA,OAAO,mBAAmB;AAC5B;;;;"}
1
+ {"version":3,"file":"platform.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/platform-module.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/platform/features/input-types.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {NgModule} from '@angular/core';\n\n@NgModule({})\nexport class PlatformModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/** Cached result Set of input types support by the current browser. */\nlet supportedInputTypes: Set<string>;\n\n/** Types of `<input>` that *might* be supported. */\nconst candidateInputTypes = [\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n];\n\n/** @returns The input types supported by this browser. */\nexport function getSupportedInputTypes(): Set<string> {\n // Result is cached.\n if (supportedInputTypes) {\n return supportedInputTypes;\n }\n\n // We can't check if an input type is not supported until we're on the browser, so say that\n // everything is supported when not on the browser. We don't use `Platform` here since it's\n // just a helper function and can't inject it.\n if (typeof document !== 'object' || !document) {\n supportedInputTypes = new Set(candidateInputTypes);\n return supportedInputTypes;\n }\n\n let featureTestInput = document.createElement('input');\n supportedInputTypes = new Set(\n candidateInputTypes.filter(value => {\n featureTestInput.setAttribute('type', value);\n return featureTestInput.type === value;\n }),\n );\n\n return supportedInputTypes;\n}\n"],"names":["minVersion","version","ngImport","i0","type","PlatformModule","decorators","getSupportedInputTypes","supportedInputTypes","document","Set","candidateInputTypes","filter","value","featureTestInput","setAttribute"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAUS,CAAA;AAAAA,EAAAA,UAAA,EAAA,QAAA;EAAAC,OAAA,EAAA,eAAA;AAAAC,EAAAA,QAAA,EAAAC,EAAA;AAAAC,EAAAA,IAAA,EAAAC,cAAA;EAAAC,UAAA,EAAA,CAAA;;;;;;;6BCQP,6BAGgB,qDAKT,4BAGA,qBAEA,SACC,mBAEH,UACC,uBAIP,EAAA,KAAA,EAEyD;SAGpDC,sBAAA,GAAA;yBAEJ,EAAA;WAE2FC,mBAAA;;0BAM3F,QAAA,IAAA,CAAAC,QAAA,EAAA;AAEID,IAAAA,sBAA2B,IAAAE,GAAA,CAAAC,mBAAA,CAAA;AAC/B,IAAA,OAAmBH,mBAAO;AAEtB;;AAKJA,EAAAA,mBAAA,OAAAE,GAAA,CAAAC,mBAAA,CAAAC,MAAA,CAAAC,KAAA,IAAA;IACFC,gBAAA,CAAAC,YAAA,CAAA,MAAA,EAAAF,KAAA,CAAA;;;;;;;;"}