@angular/cdk 21.1.0-next.0 → 21.1.0-next.2

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 (107) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +30 -24
  2. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  3. package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
  4. package/fesm2022/_array-chunk.mjs.map +1 -1
  5. package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
  6. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  7. package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
  8. package/fesm2022/_data-source-chunk.mjs.map +1 -1
  9. package/fesm2022/_directionality-chunk.mjs +3 -3
  10. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  11. package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
  12. package/fesm2022/_element-chunk.mjs.map +1 -1
  13. package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
  14. package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
  15. package/fesm2022/_focus-monitor-chunk.mjs +9 -9
  16. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  17. package/fesm2022/_id-generator-chunk.mjs +3 -3
  18. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  19. package/fesm2022/_keycodes-chunk.mjs.map +1 -1
  20. package/fesm2022/_list-key-manager-chunk.mjs +5 -5
  21. package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
  22. package/fesm2022/_overlay-module-chunk.mjs +42 -34
  23. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  24. package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
  25. package/fesm2022/_platform-chunk.mjs +3 -3
  26. package/fesm2022/_platform-chunk.mjs.map +1 -1
  27. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs +1 -3
  28. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
  29. package/fesm2022/_scrolling-chunk.mjs.map +1 -1
  30. package/fesm2022/_selection-model-chunk.mjs.map +1 -1
  31. package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
  32. package/fesm2022/_style-loader-chunk.mjs +3 -3
  33. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  34. package/fesm2022/_test-environment-chunk.mjs.map +1 -1
  35. package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
  36. package/fesm2022/_typeahead-chunk.mjs.map +1 -1
  37. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  38. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  39. package/fesm2022/a11y.mjs +11 -10
  40. package/fesm2022/a11y.mjs.map +1 -1
  41. package/fesm2022/accordion.mjs +10 -10
  42. package/fesm2022/accordion.mjs.map +1 -1
  43. package/fesm2022/bidi.mjs +7 -7
  44. package/fesm2022/bidi.mjs.map +1 -1
  45. package/fesm2022/cdk.mjs +1 -1
  46. package/fesm2022/cdk.mjs.map +1 -1
  47. package/fesm2022/clipboard.mjs +10 -10
  48. package/fesm2022/clipboard.mjs.map +1 -1
  49. package/fesm2022/coercion-private.mjs.map +1 -1
  50. package/fesm2022/coercion.mjs.map +1 -1
  51. package/fesm2022/collections.mjs +1 -1
  52. package/fesm2022/dialog.mjs +12 -11
  53. package/fesm2022/dialog.mjs.map +1 -1
  54. package/fesm2022/drag-drop.mjs +31 -31
  55. package/fesm2022/drag-drop.mjs.map +1 -1
  56. package/fesm2022/keycodes.mjs.map +1 -1
  57. package/fesm2022/layout.mjs +4 -4
  58. package/fesm2022/layout.mjs.map +1 -1
  59. package/fesm2022/listbox.mjs +10 -10
  60. package/fesm2022/listbox.mjs.map +1 -1
  61. package/fesm2022/menu.mjs +69 -52
  62. package/fesm2022/menu.mjs.map +1 -1
  63. package/fesm2022/observers-private.mjs +3 -3
  64. package/fesm2022/observers-private.mjs.map +1 -1
  65. package/fesm2022/observers.mjs +13 -13
  66. package/fesm2022/observers.mjs.map +1 -1
  67. package/fesm2022/overlay.mjs +3 -3
  68. package/fesm2022/overlay.mjs.map +1 -1
  69. package/fesm2022/platform.mjs +4 -4
  70. package/fesm2022/platform.mjs.map +1 -1
  71. package/fesm2022/portal.mjs +10 -10
  72. package/fesm2022/portal.mjs.map +1 -1
  73. package/fesm2022/private.mjs +52 -3
  74. package/fesm2022/private.mjs.map +1 -1
  75. package/fesm2022/scrolling.mjs +55 -53
  76. package/fesm2022/scrolling.mjs.map +1 -1
  77. package/fesm2022/stepper.mjs +22 -22
  78. package/fesm2022/stepper.mjs.map +1 -1
  79. package/fesm2022/table.mjs +214 -109
  80. package/fesm2022/table.mjs.map +1 -1
  81. package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
  82. package/fesm2022/testing-testbed.mjs.map +1 -1
  83. package/fesm2022/testing.mjs.map +1 -1
  84. package/fesm2022/text-field.mjs +16 -16
  85. package/fesm2022/text-field.mjs.map +1 -1
  86. package/fesm2022/tree.mjs +25 -25
  87. package/fesm2022/tree.mjs.map +1 -1
  88. package/package.json +2 -1
  89. package/schematics/ng-add/index.js +1 -1
  90. package/types/_a11y-module-chunk.d.ts +9 -5
  91. package/types/_overlay-module-chunk.d.ts +1 -0
  92. package/types/_scrolling-module-chunk.d.ts +11 -1
  93. package/types/_view-repeater-chunk.d.ts +2 -7
  94. package/types/a11y.d.ts +2 -1
  95. package/types/collections.d.ts +1 -1
  96. package/types/dialog.d.ts +1 -0
  97. package/types/menu.d.ts +7 -2
  98. package/types/private.d.ts +5 -1
  99. package/types/scrolling.d.ts +1 -1
  100. package/types/table.d.ts +62 -11
  101. package/_adev_assets/cdk_drag_drop.json +0 -7221
  102. package/_adev_assets/cdk_testing.json +0 -7601
  103. package/_adev_assets/cdk_testing_protractor.json +0 -1747
  104. package/_adev_assets/cdk_testing_selenium_webdriver.json +0 -1801
  105. package/_adev_assets/cdk_testing_testbed.json +0 -1903
  106. package/fesm2022/_visually-hidden-chunk.mjs +0 -46
  107. package/fesm2022/_visually-hidden-chunk.mjs.map +0 -1
@@ -55,7 +55,7 @@ class Clipboard {
55
55
  }
56
56
  static ɵfac = i0.ɵɵngDeclareFactory({
57
57
  minVersion: "12.0.0",
58
- version: "21.0.0",
58
+ version: "21.0.3",
59
59
  ngImport: i0,
60
60
  type: Clipboard,
61
61
  deps: [],
@@ -63,7 +63,7 @@ class Clipboard {
63
63
  });
64
64
  static ɵprov = i0.ɵɵngDeclareInjectable({
65
65
  minVersion: "12.0.0",
66
- version: "21.0.0",
66
+ version: "21.0.3",
67
67
  ngImport: i0,
68
68
  type: Clipboard,
69
69
  providedIn: 'root'
@@ -71,7 +71,7 @@ class Clipboard {
71
71
  }
72
72
  i0.ɵɵngDeclareClassMetadata({
73
73
  minVersion: "12.0.0",
74
- version: "21.0.0",
74
+ version: "21.0.3",
75
75
  ngImport: i0,
76
76
  type: Clipboard,
77
77
  decorators: [{
@@ -132,7 +132,7 @@ class CdkCopyToClipboard {
132
132
  }
133
133
  static ɵfac = i0.ɵɵngDeclareFactory({
134
134
  minVersion: "12.0.0",
135
- version: "21.0.0",
135
+ version: "21.0.3",
136
136
  ngImport: i0,
137
137
  type: CdkCopyToClipboard,
138
138
  deps: [],
@@ -140,7 +140,7 @@ class CdkCopyToClipboard {
140
140
  });
141
141
  static ɵdir = i0.ɵɵngDeclareDirective({
142
142
  minVersion: "14.0.0",
143
- version: "21.0.0",
143
+ version: "21.0.3",
144
144
  type: CdkCopyToClipboard,
145
145
  isStandalone: true,
146
146
  selector: "[cdkCopyToClipboard]",
@@ -161,7 +161,7 @@ class CdkCopyToClipboard {
161
161
  }
162
162
  i0.ɵɵngDeclareClassMetadata({
163
163
  minVersion: "12.0.0",
164
- version: "21.0.0",
164
+ version: "21.0.3",
165
165
  ngImport: i0,
166
166
  type: CdkCopyToClipboard,
167
167
  decorators: [{
@@ -193,7 +193,7 @@ i0.ɵɵngDeclareClassMetadata({
193
193
  class ClipboardModule {
194
194
  static ɵfac = i0.ɵɵngDeclareFactory({
195
195
  minVersion: "12.0.0",
196
- version: "21.0.0",
196
+ version: "21.0.3",
197
197
  ngImport: i0,
198
198
  type: ClipboardModule,
199
199
  deps: [],
@@ -201,7 +201,7 @@ class ClipboardModule {
201
201
  });
202
202
  static ɵmod = i0.ɵɵngDeclareNgModule({
203
203
  minVersion: "14.0.0",
204
- version: "21.0.0",
204
+ version: "21.0.3",
205
205
  ngImport: i0,
206
206
  type: ClipboardModule,
207
207
  imports: [CdkCopyToClipboard],
@@ -209,14 +209,14 @@ class ClipboardModule {
209
209
  });
210
210
  static ɵinj = i0.ɵɵngDeclareInjector({
211
211
  minVersion: "12.0.0",
212
- version: "21.0.0",
212
+ version: "21.0.3",
213
213
  ngImport: i0,
214
214
  type: ClipboardModule
215
215
  });
216
216
  }
217
217
  i0.ɵɵngDeclareClassMetadata({
218
218
  minVersion: "12.0.0",
219
- version: "21.0.0",
219
+ version: "21.0.3",
220
220
  ngImport: i0,
221
221
  type: ClipboardModule,
222
222
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"clipboard.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/clipboard/pending-copy.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/clipboard/clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/clipboard/copy-to-clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/clipboard/clipboard-module.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\n/**\n * A pending copy-to-clipboard operation.\n *\n * The implementation of copying text to the clipboard modifies the DOM and\n * forces a re-layout. This re-layout can take too long if the string is large,\n * causing the execCommand('copy') to happen too long after the user clicked.\n * This results in the browser refusing to copy. This object lets the\n * re-layout happen in a separate tick from copying by providing a copy function\n * that can be called later.\n *\n * Destroy must be called when no longer in use, regardless of whether `copy` is\n * called.\n */\nexport class PendingCopy {\n private _textarea: HTMLTextAreaElement | undefined;\n\n constructor(\n text: string,\n private readonly _document: Document,\n ) {\n const textarea = (this._textarea = this._document.createElement('textarea'));\n const styles = textarea.style;\n\n // Hide the element for display and accessibility. Set a fixed position so the page layout\n // isn't affected. We use `fixed` with `top: 0`, because focus is moved into the textarea\n // for a split second and if it's off-screen, some browsers will attempt to scroll it into view.\n styles.position = 'fixed';\n styles.top = styles.opacity = '0';\n styles.left = '-999em';\n textarea.setAttribute('aria-hidden', 'true');\n textarea.value = text;\n // Making the textarea `readonly` prevents the screen from jumping on iOS Safari (see #25169).\n textarea.readOnly = true;\n // The element needs to be inserted into the fullscreen container, if the page\n // is in fullscreen mode, otherwise the browser won't execute the copy command.\n (this._document.fullscreenElement || this._document.body).appendChild(textarea);\n }\n\n /** Finishes copying the text. */\n copy(): boolean {\n const textarea = this._textarea;\n let successful = false;\n\n try {\n // Older browsers could throw if copy is not supported.\n if (textarea) {\n const currentFocus = this._document.activeElement as HTMLOrSVGElement | null;\n\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n successful = this._document.execCommand('copy');\n\n if (currentFocus) {\n currentFocus.focus();\n }\n }\n } catch {\n // Discard error.\n // Initial setting of {@code successful} will represent failure here.\n }\n\n return successful;\n }\n\n /** Cleans up DOM changes used to perform the copy operation. */\n destroy() {\n const textarea = this._textarea;\n\n if (textarea) {\n textarea.remove();\n this._textarea = undefined;\n }\n }\n}\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\nimport {Injectable, inject, DOCUMENT} from '@angular/core';\nimport {PendingCopy} from './pending-copy';\n\n/**\n * A service for copying text to the clipboard.\n */\n@Injectable({providedIn: 'root'})\nexport class Clipboard {\n private readonly _document = inject(DOCUMENT);\n\n constructor(...args: unknown[]);\n constructor() {}\n\n /**\n * Copies the provided text into the user's clipboard.\n *\n * @param text The string to copy.\n * @returns Whether the operation was successful.\n */\n copy(text: string): boolean {\n const pendingCopy = this.beginCopy(text);\n const successful = pendingCopy.copy();\n pendingCopy.destroy();\n\n return successful;\n }\n\n /**\n * Prepares a string to be copied later. This is useful for large strings\n * which take too long to successfully render and be copied in the same tick.\n *\n * The caller must call `destroy` on the returned `PendingCopy`.\n *\n * @param text The string to copy.\n * @returns the pending copy operation.\n */\n beginCopy(text: string): PendingCopy {\n return new PendingCopy(text, this._document);\n }\n}\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\nimport {\n Directive,\n EventEmitter,\n Input,\n Output,\n NgZone,\n InjectionToken,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport {Clipboard} from './clipboard';\nimport {PendingCopy} from './pending-copy';\n\n/** Object that can be used to configure the default options for `CdkCopyToClipboard`. */\nexport interface CdkCopyToClipboardConfig {\n /** Default number of attempts to make when copying text to the clipboard. */\n attempts?: number;\n}\n\n/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */\nexport const CDK_COPY_TO_CLIPBOARD_CONFIG = new InjectionToken<CdkCopyToClipboardConfig>(\n 'CDK_COPY_TO_CLIPBOARD_CONFIG',\n);\n\n/**\n * Provides behavior for a button that when clicked copies content into user's\n * clipboard.\n */\n@Directive({\n selector: '[cdkCopyToClipboard]',\n host: {\n '(click)': 'copy()',\n },\n})\nexport class CdkCopyToClipboard implements OnDestroy {\n private _clipboard = inject(Clipboard);\n private _ngZone = inject(NgZone);\n\n /** Content to be copied. */\n @Input('cdkCopyToClipboard') text: string = '';\n\n /**\n * How many times to attempt to copy the text. This may be necessary for longer text, because\n * the browser needs time to fill an intermediate textarea element and copy the content.\n */\n @Input('cdkCopyToClipboardAttempts') attempts: number = 1;\n\n /**\n * Emits when some text is copied to the clipboard. The\n * emitted value indicates whether copying was successful.\n */\n @Output('cdkCopyToClipboardCopied') readonly copied = new EventEmitter<boolean>();\n\n /** Copies that are currently being attempted. */\n private _pending = new Set<PendingCopy>();\n\n /** Whether the directive has been destroyed. */\n private _destroyed: boolean;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\n\n constructor(...args: unknown[]);\n\n constructor() {\n const config = inject(CDK_COPY_TO_CLIPBOARD_CONFIG, {optional: true});\n\n if (config && config.attempts != null) {\n this.attempts = config.attempts;\n }\n }\n\n /** Copies the current text to the clipboard. */\n copy(attempts: number = this.attempts): void {\n if (attempts > 1) {\n let remainingAttempts = attempts;\n const pending = this._clipboard.beginCopy(this.text);\n this._pending.add(pending);\n\n const attempt = () => {\n const successful = pending.copy();\n if (!successful && --remainingAttempts && !this._destroyed) {\n // We use 1 for the timeout since it's more predictable when flushing in unit tests.\n this._currentTimeout = this._ngZone.runOutsideAngular(() => setTimeout(attempt, 1));\n } else {\n this._currentTimeout = null;\n this._pending.delete(pending);\n pending.destroy();\n this.copied.emit(successful);\n }\n };\n attempt();\n } else {\n this.copied.emit(this._clipboard.copy(this.text));\n }\n }\n\n ngOnDestroy() {\n if (this._currentTimeout) {\n clearTimeout(this._currentTimeout);\n }\n\n this._pending.forEach(copy => copy.destroy());\n this._pending.clear();\n this._destroyed = true;\n }\n}\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\nimport {NgModule} from '@angular/core';\n\nimport {CdkCopyToClipboard} from './copy-to-clipboard';\n\n@NgModule({\n imports: [CdkCopyToClipboard],\n exports: [CdkCopyToClipboard],\n})\nexport class ClipboardModule {}\n"],"names":["PendingCopy","_document","_textarea","constructor","text","textarea","createElement","styles","style","position","top","opacity","left","setAttribute","value","readOnly","fullscreenElement","body","appendChild","copy","successful","currentFocus","activeElement","select","setSelectionRange","length","execCommand","focus","destroy","remove","undefined","Clipboard","inject","DOCUMENT","pendingCopy","beginCopy","deps","target","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn","CDK_COPY_TO_CLIPBOARD_CONFIG","InjectionToken","CdkCopyToClipboard","_clipboard","_ngZone","NgZone","attempts","copied","EventEmitter","_pending","Set","_destroyed","_currentTimeout","config","optional","remainingAttempts","pending","add","attempt","runOutsideAngular","setTimeout","delete","emit","ngOnDestroy","clearTimeout","forEach","clear","Directive","isStandalone","selector","inputs","outputs","host","listeners","args","Input","Output","ClipboardModule","NgModule","imports","exports"],"mappings":";;;MAqBaA,WAAW,CAAA;EAKHC,SAAA;EAJXC,SAAS;AAEjBC,EAAAA,WACEA,CAAAC,IAAY,EACKH,SAAmB,EAAA;IAAnB,IAAS,CAAAA,SAAA,GAATA,SAAS;AAE1B,IAAA,MAAMI,QAAQ,GAAI,IAAI,CAACH,SAAS,GAAG,IAAI,CAACD,SAAS,CAACK,aAAa,CAAC,UAAU,CAAE;AAC5E,IAAA,MAAMC,MAAM,GAAGF,QAAQ,CAACG,KAAK;IAK7BD,MAAM,CAACE,QAAQ,GAAG,OAAO;AACzBF,IAAAA,MAAM,CAACG,GAAG,GAAGH,MAAM,CAACI,OAAO,GAAG,GAAG;IACjCJ,MAAM,CAACK,IAAI,GAAG,QAAQ;AACtBP,IAAAA,QAAQ,CAACQ,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC;IAC5CR,QAAQ,CAACS,KAAK,GAAGV,IAAI;IAErBC,QAAQ,CAACU,QAAQ,GAAG,IAAI;AAGxB,IAAA,CAAC,IAAI,CAACd,SAAS,CAACe,iBAAiB,IAAI,IAAI,CAACf,SAAS,CAACgB,IAAI,EAAEC,WAAW,CAACb,QAAQ,CAAC;AACjF;AAGAc,EAAAA,IAAIA,GAAA;AACF,IAAA,MAAMd,QAAQ,GAAG,IAAI,CAACH,SAAS;IAC/B,IAAIkB,UAAU,GAAG,KAAK;IAEtB,IAAI;AAEF,MAAA,IA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in/src/cdk/clipboard/clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/copy-to-clipboard.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/clipboard-module.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\n/**\n * A pending copy-to-clipboard operation.\n *\n * The implementation of copying text to the clipboard modifies the DOM and\n * forces a re-layout. This re-layout can take too long if the string is large,\n * causing the execCommand('copy') to happen too long after the user clicked.\n * This results in the browser refusing to copy. This object lets the\n * re-layout happen in a separate tick from copying by providing a copy function\n * that can be called later.\n *\n * Destroy must be called when no longer in use, regardless of whether `copy` is\n * called.\n */\nexport class PendingCopy {\n private _textarea: HTMLTextAreaElement | undefined;\n\n constructor(\n text: string,\n private readonly _document: Document,\n ) {\n const textarea = (this._textarea = this._document.createElement('textarea'));\n const styles = textarea.style;\n\n // Hide the element for display and accessibility. Set a fixed position so the page layout\n // isn't affected. We use `fixed` with `top: 0`, because focus is moved into the textarea\n // for a split second and if it's off-screen, some browsers will attempt to scroll it into view.\n styles.position = 'fixed';\n styles.top = styles.opacity = '0';\n styles.left = '-999em';\n textarea.setAttribute('aria-hidden', 'true');\n textarea.value = text;\n // Making the textarea `readonly` prevents the screen from jumping on iOS Safari (see #25169).\n textarea.readOnly = true;\n // The element needs to be inserted into the fullscreen container, if the page\n // is in fullscreen mode, otherwise the browser won't execute the copy command.\n (this._document.fullscreenElement || this._document.body).appendChild(textarea);\n }\n\n /** Finishes copying the text. */\n copy(): boolean {\n const textarea = this._textarea;\n let successful = false;\n\n try {\n // Older browsers could throw if copy is not supported.\n if (textarea) {\n const currentFocus = this._document.activeElement as HTMLOrSVGElement | null;\n\n textarea.select();\n textarea.setSelectionRange(0, textarea.value.length);\n successful = this._document.execCommand('copy');\n\n if (currentFocus) {\n currentFocus.focus();\n }\n }\n } catch {\n // Discard error.\n // Initial setting of {@code successful} will represent failure here.\n }\n\n return successful;\n }\n\n /** Cleans up DOM changes used to perform the copy operation. */\n destroy() {\n const textarea = this._textarea;\n\n if (textarea) {\n textarea.remove();\n this._textarea = undefined;\n }\n }\n}\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\nimport {Injectable, inject, DOCUMENT} from '@angular/core';\nimport {PendingCopy} from './pending-copy';\n\n/**\n * A service for copying text to the clipboard.\n */\n@Injectable({providedIn: 'root'})\nexport class Clipboard {\n private readonly _document = inject(DOCUMENT);\n\n constructor(...args: unknown[]);\n constructor() {}\n\n /**\n * Copies the provided text into the user's clipboard.\n *\n * @param text The string to copy.\n * @returns Whether the operation was successful.\n */\n copy(text: string): boolean {\n const pendingCopy = this.beginCopy(text);\n const successful = pendingCopy.copy();\n pendingCopy.destroy();\n\n return successful;\n }\n\n /**\n * Prepares a string to be copied later. This is useful for large strings\n * which take too long to successfully render and be copied in the same tick.\n *\n * The caller must call `destroy` on the returned `PendingCopy`.\n *\n * @param text The string to copy.\n * @returns the pending copy operation.\n */\n beginCopy(text: string): PendingCopy {\n return new PendingCopy(text, this._document);\n }\n}\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\nimport {\n Directive,\n EventEmitter,\n Input,\n Output,\n NgZone,\n InjectionToken,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport {Clipboard} from './clipboard';\nimport {PendingCopy} from './pending-copy';\n\n/** Object that can be used to configure the default options for `CdkCopyToClipboard`. */\nexport interface CdkCopyToClipboardConfig {\n /** Default number of attempts to make when copying text to the clipboard. */\n attempts?: number;\n}\n\n/** Injection token that can be used to provide the default options to `CdkCopyToClipboard`. */\nexport const CDK_COPY_TO_CLIPBOARD_CONFIG = new InjectionToken<CdkCopyToClipboardConfig>(\n 'CDK_COPY_TO_CLIPBOARD_CONFIG',\n);\n\n/**\n * Provides behavior for a button that when clicked copies content into user's\n * clipboard.\n */\n@Directive({\n selector: '[cdkCopyToClipboard]',\n host: {\n '(click)': 'copy()',\n },\n})\nexport class CdkCopyToClipboard implements OnDestroy {\n private _clipboard = inject(Clipboard);\n private _ngZone = inject(NgZone);\n\n /** Content to be copied. */\n @Input('cdkCopyToClipboard') text: string = '';\n\n /**\n * How many times to attempt to copy the text. This may be necessary for longer text, because\n * the browser needs time to fill an intermediate textarea element and copy the content.\n */\n @Input('cdkCopyToClipboardAttempts') attempts: number = 1;\n\n /**\n * Emits when some text is copied to the clipboard. The\n * emitted value indicates whether copying was successful.\n */\n @Output('cdkCopyToClipboardCopied') readonly copied = new EventEmitter<boolean>();\n\n /** Copies that are currently being attempted. */\n private _pending = new Set<PendingCopy>();\n\n /** Whether the directive has been destroyed. */\n private _destroyed: boolean;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\n\n constructor(...args: unknown[]);\n\n constructor() {\n const config = inject(CDK_COPY_TO_CLIPBOARD_CONFIG, {optional: true});\n\n if (config && config.attempts != null) {\n this.attempts = config.attempts;\n }\n }\n\n /** Copies the current text to the clipboard. */\n copy(attempts: number = this.attempts): void {\n if (attempts > 1) {\n let remainingAttempts = attempts;\n const pending = this._clipboard.beginCopy(this.text);\n this._pending.add(pending);\n\n const attempt = () => {\n const successful = pending.copy();\n if (!successful && --remainingAttempts && !this._destroyed) {\n // We use 1 for the timeout since it's more predictable when flushing in unit tests.\n this._currentTimeout = this._ngZone.runOutsideAngular(() => setTimeout(attempt, 1));\n } else {\n this._currentTimeout = null;\n this._pending.delete(pending);\n pending.destroy();\n this.copied.emit(successful);\n }\n };\n attempt();\n } else {\n this.copied.emit(this._clipboard.copy(this.text));\n }\n }\n\n ngOnDestroy() {\n if (this._currentTimeout) {\n clearTimeout(this._currentTimeout);\n }\n\n this._pending.forEach(copy => copy.destroy());\n this._pending.clear();\n this._destroyed = true;\n }\n}\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\nimport {NgModule} from '@angular/core';\n\nimport {CdkCopyToClipboard} from './copy-to-clipboard';\n\n@NgModule({\n imports: [CdkCopyToClipboard],\n exports: [CdkCopyToClipboard],\n})\nexport class ClipboardModule {}\n"],"names":["PendingCopy","_document","_textarea","constructor","text","textarea","createElement","styles","style","position","top","opacity","left","setAttribute","value","readOnly","fullscreenElement","body","appendChild","copy","successful","currentFocus","activeElement","select","setSelectionRange","length","execCommand","focus","destroy","remove","undefined","Clipboard","inject","DOCUMENT","pendingCopy","beginCopy","deps","target","i0","ɵɵFactoryTarget","Injectable","ɵprov","ɵɵngDeclareInjectable","minVersion","version","ngImport","type","decorators","providedIn","CDK_COPY_TO_CLIPBOARD_CONFIG","InjectionToken","CdkCopyToClipboard","_clipboard","_ngZone","NgZone","attempts","copied","EventEmitter","_pending","Set","_destroyed","_currentTimeout","config","optional","remainingAttempts","pending","add","attempt","runOutsideAngular","setTimeout","delete","emit","ngOnDestroy","clearTimeout","forEach","clear","Directive","isStandalone","selector","inputs","outputs","host","listeners","args","Input","Output","ClipboardModule","NgModule","imports","exports"],"mappings":";;;MAqBaA,WAAW,CAAA;EAKHC,SAAA;EAJXC,SAAS;AAEjBC,EAAAA,WACEA,CAAAC,IAAY,EACKH,SAAmB,EAAA;IAAnB,IAAS,CAAAA,SAAA,GAATA,SAAS;AAE1B,IAAA,MAAMI,QAAQ,GAAI,IAAI,CAACH,SAAS,GAAG,IAAI,CAACD,SAAS,CAACK,aAAa,CAAC,UAAU,CAAE;AAC5E,IAAA,MAAMC,MAAM,GAAGF,QAAQ,CAACG,KAAK;IAK7BD,MAAM,CAACE,QAAQ,GAAG,OAAO;AACzBF,IAAAA,MAAM,CAACG,GAAG,GAAGH,MAAM,CAACI,OAAO,GAAG,GAAG;IACjCJ,MAAM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kBAAkB,CAAA;IAAAsC,OAAA,EAAA,CAClBtC,kBAAkB;AAAA,GAAA,CAAA;;;;;UAEjBmC;AAAe,GAAA,CAAA;;;;;;QAAfA,eAAe;AAAAvC,EAAAA,UAAA,EAAA,CAAA;UAJ3BwC,QAAQ;AAACJ,IAAAA,IAAA,EAAA,CAAA;MACRK,OAAO,EAAE,CAACrC,kBAAkB,CAAC;MAC7BsC,OAAO,EAAE,CAACtC,kBAAkB;KAC7B;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"coercion-private.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/private/observable.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 */\nimport {Observable, isObservable, of as observableOf} from 'rxjs';\n\n/**\n * Given either an Observable or non-Observable value, returns either the original\n * Observable, or wraps it in an Observable that emits the non-Observable value.\n */\nexport function coerceObservable<T>(data: T | Observable<T>): Observable<T> {\n if (!isObservable(data)) {\n return observableOf(data);\n }\n return data;\n}\n"],"names":["coerceObservable","data","isObservable","observableOf"],"mappings":";;AAaM,SAAUA,gBAAgBA,CAAIC,IAAuB,EAAA;AACzD,EAAA,IAAI,CAACC,YAAY,CAACD,IAAI,CAAC,EAAE;IACvB,OAAOE,EAAY,CAACF,IAAI,CAAC;AAC3B;AACA,EAAA,OAAOA,IAAI;AACb;;;;"}
1
+ {"version":3,"file":"coercion-private.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/coercion/private/observable.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 */\nimport {Observable, isObservable, of as observableOf} from 'rxjs';\n\n/**\n * Given either an Observable or non-Observable value, returns either the original\n * Observable, or wraps it in an Observable that emits the non-Observable value.\n */\nexport function coerceObservable<T>(data: T | Observable<T>): Observable<T> {\n if (!isObservable(data)) {\n return observableOf(data);\n }\n return data;\n}\n"],"names":["coerceObservable","data","isObservable","observableOf"],"mappings":";;AAaM,SAAUA,gBAAgBA,CAAIC,IAAuB,EAAA;AACzD,EAAA,IAAI,CAACC,YAAY,CAACD,IAAI,CAAC,EAAE;IACvB,OAAOE,EAAY,CAACF,IAAI,CAAC;AAC3B;AACA,EAAA,OAAOA,IAAI;AACb;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"coercion.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/boolean-property.ts","../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/string-array.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\n/**\n * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\n}\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/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":["coerceBooleanProperty","value","coerceStringArray","separator","result","sourceValues","Array","isArray","split","sourceValue","trimmedString","trim","push"],"mappings":";;;;;AAeM,SAAUA,qBAAqBA,CAACC,KAAU,EAAA;EAC9C,OAAOA,KAAK,IAAI,IAAI,IAAI,GAAGA,KAAK,CAAA,CAAE,KAAK,OAAO;AAChD;;SCQgBC,iBAAiBA,CAACD,KAAU,EAAEE,YAA6B,KAAK,EAAA;EAC9E,MAAMC,MAAM,GAAG,EAAE;EAEjB,IAAIH,KAAK,IAAI,IAAI,EAAE;AACjB,IAAA,MAAMI,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACN,KAAK,CAAC,GAAGA,KAAK,GAAG,GAAGA,KAAK,CAAA,CAAE,CAACO,KAAK,CAACL,SAAS,CAAC;AAC/E,IAAA,KAAK,MAAMM,WAAW,IAAIJ,YAAY,EAAE;MACtC,MAAMK,aAAa,GAAG,CAAGD,EAAAA,WAAW,EAAE,CAACE,IAAI,EAAE;AAC7C,MAAA,IAAID,aAAa,EAAE;AACjBN,QAAAA,MAAM,CAACQ,IAAI,CAACF,aAAa,CAAC;AAC5B;AACF;AACF;AAEA,EAAA,OAAON,MAAM;AACf;;;;"}
1
+ {"version":3,"file":"coercion.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/coercion/boolean-property.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/coercion/string-array.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\n/**\n * Type describing the allowed values for a boolean input.\n * @docs-private\n */\nexport type BooleanInput = string | boolean | null | undefined;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nexport function coerceBooleanProperty(value: any): boolean {\n return value != null && `${value}` !== 'false';\n}\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/**\n * Coerces a value to an array of trimmed non-empty strings.\n * Any input that is not an array, `null` or `undefined` will be turned into a string\n * via `toString()` and subsequently split with the given separator.\n * `null` and `undefined` will result in an empty array.\n * This results in the following outcomes:\n * - `null` -&gt; `[]`\n * - `[null]` -&gt; `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -&gt; `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -&gt; `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -&gt; `[\"[object Object]\"]`\n * - `{ a: 0 }` -&gt; `[\"[object\", \"Object]\"]`\n *\n * Useful for defining CSS classes or table columns.\n * @param value the value to coerce into an array of strings\n * @param separator split-separator if value isn't an array\n */\nexport function coerceStringArray(value: any, separator: string | RegExp = /\\s+/): string[] {\n const result = [];\n\n if (value != null) {\n const sourceValues = Array.isArray(value) ? value : `${value}`.split(separator);\n for (const sourceValue of sourceValues) {\n const trimmedString = `${sourceValue}`.trim();\n if (trimmedString) {\n result.push(trimmedString);\n }\n }\n }\n\n return result;\n}\n"],"names":["coerceBooleanProperty","value","coerceStringArray","separator","result","sourceValues","Array","isArray","split","sourceValue","trimmedString","trim","push"],"mappings":";;;;;AAeM,SAAUA,qBAAqBA,CAACC,KAAU,EAAA;EAC9C,OAAOA,KAAK,IAAI,IAAI,IAAI,GAAGA,KAAK,CAAA,CAAE,KAAK,OAAO;AAChD;;SCQgBC,iBAAiBA,CAACD,KAAU,EAAEE,YAA6B,KAAK,EAAA;EAC9E,MAAMC,MAAM,GAAG,EAAE;EAEjB,IAAIH,KAAK,IAAI,IAAI,EAAE;AACjB,IAAA,MAAMI,YAAY,GAAGC,KAAK,CAACC,OAAO,CAACN,KAAK,CAAC,GAAGA,KAAK,GAAG,GAAGA,KAAK,CAAA,CAAE,CAACO,KAAK,CAACL,SAAS,CAAC;AAC/E,IAAA,KAAK,MAAMM,WAAW,IAAIJ,YAAY,EAAE;MACtC,MAAMK,aAAa,GAAG,CAAGD,EAAAA,WAAW,EAAE,CAACE,IAAI,EAAE;AAC7C,MAAA,IAAID,aAAa,EAAE;AACjBN,QAAAA,MAAM,CAACQ,IAAI,CAACF,aAAa,CAAC;AAC5B;AACF;AACF;AAEA,EAAA,OAAON,MAAM;AACf;;;;"}
@@ -1,5 +1,5 @@
1
1
  export { UniqueSelectionDispatcher } from './_unique-selection-dispatcher-chunk.mjs';
2
- export { ArrayDataSource, _RecycleViewRepeaterStrategy, _VIEW_REPEATER_STRATEGY, _ViewRepeaterOperation } from './_recycle-view-repeater-strategy-chunk.mjs';
2
+ export { ArrayDataSource, _RecycleViewRepeaterStrategy, _ViewRepeaterOperation } from './_recycle-view-repeater-strategy-chunk.mjs';
3
3
  export { DataSource, isDataSource } from './_data-source-chunk.mjs';
4
4
  export { _DisposeViewRepeaterStrategy } from './_dispose-view-repeater-strategy-chunk.mjs';
5
5
  export { SelectionModel, getMultipleValuesInSingleSelectionError } from './_selection-model-chunk.mjs';
@@ -14,9 +14,10 @@ import { createBlockScrollStrategy, OverlayContainer, createOverlayRef, OverlayC
14
14
  import { _IdGenerator } from './_id-generator-chunk.mjs';
15
15
  import { Directionality } from './_directionality-chunk.mjs';
16
16
  import './_style-loader-chunk.mjs';
17
- import './_visually-hidden-chunk.mjs';
17
+ import './private.mjs';
18
18
  import './_breakpoints-observer-chunk.mjs';
19
19
  import './_array-chunk.mjs';
20
+ import '@angular/platform-browser';
20
21
  import './observers.mjs';
21
22
  import './_element-chunk.mjs';
22
23
  import './_fake-event-detection-chunk.mjs';
@@ -245,7 +246,7 @@ class CdkDialogContainer extends BasePortalOutlet {
245
246
  }
246
247
  static ɵfac = i0.ɵɵngDeclareFactory({
247
248
  minVersion: "12.0.0",
248
- version: "21.0.0",
249
+ version: "21.0.3",
249
250
  ngImport: i0,
250
251
  type: CdkDialogContainer,
251
252
  deps: [],
@@ -253,7 +254,7 @@ class CdkDialogContainer extends BasePortalOutlet {
253
254
  });
254
255
  static ɵcmp = i0.ɵɵngDeclareComponent({
255
256
  minVersion: "14.0.0",
256
- version: "21.0.0",
257
+ version: "21.0.3",
257
258
  type: CdkDialogContainer,
258
259
  isStandalone: true,
259
260
  selector: "cdk-dialog-container",
@@ -296,7 +297,7 @@ class CdkDialogContainer extends BasePortalOutlet {
296
297
  }
297
298
  i0.ɵɵngDeclareClassMetadata({
298
299
  minVersion: "12.0.0",
299
- version: "21.0.0",
300
+ version: "21.0.3",
300
301
  ngImport: i0,
301
302
  type: CdkDialogContainer,
302
303
  decorators: [{
@@ -647,7 +648,7 @@ class Dialog {
647
648
  }
648
649
  static ɵfac = i0.ɵɵngDeclareFactory({
649
650
  minVersion: "12.0.0",
650
- version: "21.0.0",
651
+ version: "21.0.3",
651
652
  ngImport: i0,
652
653
  type: Dialog,
653
654
  deps: [],
@@ -655,7 +656,7 @@ class Dialog {
655
656
  });
656
657
  static ɵprov = i0.ɵɵngDeclareInjectable({
657
658
  minVersion: "12.0.0",
658
- version: "21.0.0",
659
+ version: "21.0.3",
659
660
  ngImport: i0,
660
661
  type: Dialog,
661
662
  providedIn: 'root'
@@ -663,7 +664,7 @@ class Dialog {
663
664
  }
664
665
  i0.ɵɵngDeclareClassMetadata({
665
666
  minVersion: "12.0.0",
666
- version: "21.0.0",
667
+ version: "21.0.3",
667
668
  ngImport: i0,
668
669
  type: Dialog,
669
670
  decorators: [{
@@ -684,7 +685,7 @@ function reverseForEach(items, callback) {
684
685
  class DialogModule {
685
686
  static ɵfac = i0.ɵɵngDeclareFactory({
686
687
  minVersion: "12.0.0",
687
- version: "21.0.0",
688
+ version: "21.0.3",
688
689
  ngImport: i0,
689
690
  type: DialogModule,
690
691
  deps: [],
@@ -692,7 +693,7 @@ class DialogModule {
692
693
  });
693
694
  static ɵmod = i0.ɵɵngDeclareNgModule({
694
695
  minVersion: "14.0.0",
695
- version: "21.0.0",
696
+ version: "21.0.3",
696
697
  ngImport: i0,
697
698
  type: DialogModule,
698
699
  imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer],
@@ -700,7 +701,7 @@ class DialogModule {
700
701
  });
701
702
  static ɵinj = i0.ɵɵngDeclareInjector({
702
703
  minVersion: "12.0.0",
703
- version: "21.0.0",
704
+ version: "21.0.3",
704
705
  ngImport: i0,
705
706
  type: DialogModule,
706
707
  providers: [Dialog],
@@ -709,7 +710,7 @@ class DialogModule {
709
710
  }
710
711
  i0.ɵɵngDeclareClassMetadata({
711
712
  minVersion: "12.0.0",
712
- version: "21.0.0",
713
+ version: "21.0.3",
713
714
  ngImport: i0,
714
715
  type: DialogModule,
715
716
  decorators: [{