@angular/cdk 22.0.0-next.6 → 22.0.0-next.8

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 (149) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +46 -66
  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 +17 -25
  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 +9 -13
  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 +20 -28
  16. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  17. package/fesm2022/_id-generator-chunk.mjs +9 -13
  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.map +1 -1
  21. package/fesm2022/_overlay-module-chunk.mjs +72 -100
  22. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  23. package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
  24. package/fesm2022/_platform-chunk.mjs +9 -13
  25. package/fesm2022/_platform-chunk.mjs.map +1 -1
  26. package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
  27. package/fesm2022/_scrolling-chunk.mjs.map +1 -1
  28. package/fesm2022/_selection-model-chunk.mjs.map +1 -1
  29. package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
  30. package/fesm2022/_style-loader-chunk.mjs +9 -13
  31. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  32. package/fesm2022/_test-environment-chunk.mjs.map +1 -1
  33. package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
  34. package/fesm2022/_typeahead-chunk.mjs.map +1 -1
  35. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +9 -13
  36. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  37. package/fesm2022/a11y.mjs +27 -48
  38. package/fesm2022/a11y.mjs.map +1 -1
  39. package/fesm2022/accordion.mjs +10 -10
  40. package/fesm2022/accordion.mjs.map +1 -1
  41. package/fesm2022/bidi.mjs +7 -7
  42. package/fesm2022/bidi.mjs.map +1 -1
  43. package/fesm2022/cdk.mjs +1 -1
  44. package/fesm2022/cdk.mjs.map +1 -1
  45. package/fesm2022/clipboard.mjs +16 -20
  46. package/fesm2022/clipboard.mjs.map +1 -1
  47. package/fesm2022/coercion-private.mjs.map +1 -1
  48. package/fesm2022/coercion.mjs.map +1 -1
  49. package/fesm2022/dialog.mjs +18 -21
  50. package/fesm2022/dialog.mjs.map +1 -1
  51. package/fesm2022/drag-drop.mjs +43 -51
  52. package/fesm2022/drag-drop.mjs.map +1 -1
  53. package/fesm2022/keycodes.mjs.map +1 -1
  54. package/fesm2022/layout.mjs +4 -4
  55. package/fesm2022/layout.mjs.map +1 -1
  56. package/fesm2022/listbox.mjs +10 -10
  57. package/fesm2022/listbox.mjs.map +1 -1
  58. package/fesm2022/menu.mjs +74 -70
  59. package/fesm2022/menu.mjs.map +1 -1
  60. package/fesm2022/observers-private.mjs +9 -13
  61. package/fesm2022/observers-private.mjs.map +1 -1
  62. package/fesm2022/observers.mjs +24 -32
  63. package/fesm2022/observers.mjs.map +1 -1
  64. package/fesm2022/overlay.mjs +10 -14
  65. package/fesm2022/overlay.mjs.map +1 -1
  66. package/fesm2022/platform.mjs +4 -4
  67. package/fesm2022/platform.mjs.map +1 -1
  68. package/fesm2022/portal.mjs +19 -14
  69. package/fesm2022/portal.mjs.map +1 -1
  70. package/fesm2022/private.mjs +3 -3
  71. package/fesm2022/private.mjs.map +1 -1
  72. package/fesm2022/scrolling.mjs +46 -54
  73. package/fesm2022/scrolling.mjs.map +1 -1
  74. package/fesm2022/stepper.mjs +22 -22
  75. package/fesm2022/stepper.mjs.map +1 -1
  76. package/fesm2022/table.mjs +73 -73
  77. package/fesm2022/table.mjs.map +1 -1
  78. package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
  79. package/fesm2022/testing-testbed.mjs.map +1 -1
  80. package/fesm2022/testing.mjs.map +1 -1
  81. package/fesm2022/text-field.mjs +22 -26
  82. package/fesm2022/text-field.mjs.map +1 -1
  83. package/fesm2022/tree.mjs +33 -32
  84. package/fesm2022/tree.mjs.map +1 -1
  85. package/package.json +1 -1
  86. package/schematics/index.js +23 -1
  87. package/schematics/index.js.map +1 -1
  88. package/schematics/ng-add/index.js +1 -1
  89. package/schematics/ng-update/devkit-file-system.js +34 -1
  90. package/schematics/ng-update/devkit-file-system.js.map +1 -1
  91. package/schematics/ng-update/migrations/attribute-selectors.js +34 -1
  92. package/schematics/ng-update/migrations/attribute-selectors.js.map +1 -1
  93. package/schematics/ng-update/migrations/class-inheritance.js +34 -1
  94. package/schematics/ng-update/migrations/class-inheritance.js.map +1 -1
  95. package/schematics/ng-update/migrations/class-names.js +34 -1
  96. package/schematics/ng-update/migrations/class-names.js.map +1 -1
  97. package/schematics/ng-update/migrations/constructor-signature.js +34 -1
  98. package/schematics/ng-update/migrations/constructor-signature.js.map +1 -1
  99. package/schematics/ng-update/migrations/css-selectors.js +34 -1
  100. package/schematics/ng-update/migrations/css-selectors.js.map +1 -1
  101. package/schematics/ng-update/migrations/css-tokens.js +34 -1
  102. package/schematics/ng-update/migrations/css-tokens.js.map +1 -1
  103. package/schematics/ng-update/migrations/element-selectors.js +34 -1
  104. package/schematics/ng-update/migrations/element-selectors.js.map +1 -1
  105. package/schematics/ng-update/migrations/method-call-arguments.js +34 -1
  106. package/schematics/ng-update/migrations/method-call-arguments.js.map +1 -1
  107. package/schematics/ng-update/migrations/property-names.js +34 -1
  108. package/schematics/ng-update/migrations/property-names.js.map +1 -1
  109. package/schematics/ng-update/migrations/symbol-removal.js +34 -1
  110. package/schematics/ng-update/migrations/symbol-removal.js.map +1 -1
  111. package/schematics/ng-update/typescript/base-types.js +34 -1
  112. package/schematics/ng-update/typescript/base-types.js.map +1 -1
  113. package/schematics/ng-update/typescript/imports.js +34 -1
  114. package/schematics/ng-update/typescript/imports.js.map +1 -1
  115. package/schematics/ng-update/typescript/literal.js +34 -1
  116. package/schematics/ng-update/typescript/literal.js.map +1 -1
  117. package/schematics/update-tool/component-resource-collector.js +34 -1
  118. package/schematics/update-tool/component-resource-collector.js.map +1 -1
  119. package/schematics/update-tool/index.js +34 -1
  120. package/schematics/update-tool/index.js.map +1 -1
  121. package/schematics/update-tool/migration.js +34 -1
  122. package/schematics/update-tool/migration.js.map +1 -1
  123. package/schematics/update-tool/utils/decorators.js +34 -1
  124. package/schematics/update-tool/utils/decorators.js.map +1 -1
  125. package/schematics/update-tool/utils/diagnostics.js +34 -1
  126. package/schematics/update-tool/utils/diagnostics.js.map +1 -1
  127. package/schematics/update-tool/utils/functions.js +34 -1
  128. package/schematics/update-tool/utils/functions.js.map +1 -1
  129. package/schematics/update-tool/utils/imports.js +34 -1
  130. package/schematics/update-tool/utils/imports.js.map +1 -1
  131. package/schematics/update-tool/utils/parse-tsconfig.js +34 -1
  132. package/schematics/update-tool/utils/parse-tsconfig.js.map +1 -1
  133. package/schematics/update-tool/utils/property-name.js +34 -1
  134. package/schematics/update-tool/utils/property-name.js.map +1 -1
  135. package/schematics/update-tool/utils/virtual-host.js +34 -1
  136. package/schematics/update-tool/utils/virtual-host.js.map +1 -1
  137. package/schematics/utils/ast/ng-module-imports.js +34 -1
  138. package/schematics/utils/ast/ng-module-imports.js.map +1 -1
  139. package/schematics/utils/ast.js +34 -1
  140. package/schematics/utils/ast.js.map +1 -1
  141. package/schematics/utils/build-component.js +34 -1
  142. package/schematics/utils/build-component.js.map +1 -1
  143. package/types/_a11y-module-chunk.d.ts +2 -5
  144. package/types/_portal-directives-chunk.d.ts +6 -2
  145. package/types/a11y.d.ts +2 -25
  146. package/types/dialog.d.ts +6 -1
  147. package/types/drag-drop.d.ts +1 -3
  148. package/types/menu.d.ts +1 -1
  149. package/types/tree.d.ts +2 -2
package/fesm2022/bidi.mjs CHANGED
@@ -32,7 +32,7 @@ class Dir {
32
32
  }
33
33
  static ɵfac = i0.ɵɵngDeclareFactory({
34
34
  minVersion: "12.0.0",
35
- version: "22.0.0-next.6",
35
+ version: "22.0.0-next.10",
36
36
  ngImport: i0,
37
37
  type: Dir,
38
38
  deps: [],
@@ -40,7 +40,7 @@ class Dir {
40
40
  });
41
41
  static ɵdir = i0.ɵɵngDeclareDirective({
42
42
  minVersion: "14.0.0",
43
- version: "22.0.0-next.6",
43
+ version: "22.0.0-next.10",
44
44
  type: Dir,
45
45
  isStandalone: true,
46
46
  selector: "[dir]",
@@ -65,7 +65,7 @@ class Dir {
65
65
  }
66
66
  i0.ɵɵngDeclareClassMetadata({
67
67
  minVersion: "12.0.0",
68
- version: "22.0.0-next.6",
68
+ version: "22.0.0-next.10",
69
69
  ngImport: i0,
70
70
  type: Dir,
71
71
  decorators: [{
@@ -96,7 +96,7 @@ i0.ɵɵngDeclareClassMetadata({
96
96
  class BidiModule {
97
97
  static ɵfac = i0.ɵɵngDeclareFactory({
98
98
  minVersion: "12.0.0",
99
- version: "22.0.0-next.6",
99
+ version: "22.0.0-next.10",
100
100
  ngImport: i0,
101
101
  type: BidiModule,
102
102
  deps: [],
@@ -104,7 +104,7 @@ class BidiModule {
104
104
  });
105
105
  static ɵmod = i0.ɵɵngDeclareNgModule({
106
106
  minVersion: "14.0.0",
107
- version: "22.0.0-next.6",
107
+ version: "22.0.0-next.10",
108
108
  ngImport: i0,
109
109
  type: BidiModule,
110
110
  imports: [Dir],
@@ -112,14 +112,14 @@ class BidiModule {
112
112
  });
113
113
  static ɵinj = i0.ɵɵngDeclareInjector({
114
114
  minVersion: "12.0.0",
115
- version: "22.0.0-next.6",
115
+ version: "22.0.0-next.10",
116
116
  ngImport: i0,
117
117
  type: BidiModule
118
118
  });
119
119
  }
120
120
  i0.ɵɵngDeclareClassMetadata({
121
121
  minVersion: "12.0.0",
122
- version: "22.0.0-next.6",
122
+ version: "22.0.0-next.10",
123
123
  ngImport: i0,
124
124
  type: BidiModule,
125
125
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"bidi.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/bidi/dir.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/bidi/bidi-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\nimport {\n AfterContentInit,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n signal,\n} from '@angular/core';\n\nimport {Direction, Directionality, _resolveDirectionality} from './directionality';\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\n@Directive({\n selector: '[dir]',\n providers: [{provide: Directionality, useExisting: Dir}],\n host: {'[attr.dir]': '_rawDir'},\n exportAs: 'dir',\n})\nexport class Dir implements Directionality, AfterContentInit, OnDestroy {\n /** Whether the `value` has been set to its initial value. */\n private _isInitialized: boolean = false;\n\n /** Direction as passed in by the consumer. */\n _rawDir: string = '';\n\n /** Event emitted when the direction changes. */\n @Output('dirChange') readonly change = new EventEmitter<Direction>();\n\n /** @docs-private */\n @Input()\n get dir(): Direction {\n return this.valueSignal();\n }\n set dir(value: Direction | 'auto') {\n const previousValue = this.valueSignal();\n\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this.valueSignal.set(_resolveDirectionality(value));\n this._rawDir = value;\n\n if (previousValue !== this.valueSignal() && this._isInitialized) {\n this.change.emit(this.valueSignal());\n }\n }\n\n /** Current layout direction of the element. */\n get value(): Direction {\n return this.dir;\n }\n\n readonly valueSignal = signal<Direction>('ltr');\n\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n\n ngOnDestroy() {\n this.change.complete();\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';\nimport {Dir} from './dir';\n\n@NgModule({\n imports: [Dir],\n exports: [Dir],\n})\nexport class BidiModule {}\n"],"names":["Dir","_isInitialized","_rawDir","change","EventEmitter","dir","valueSignal","value","previousValue","set","_resolveDirectionality","emit","signal","ngAfterContentInit","ngOnDestroy","complete","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","inputs","outputs","host","properties","providers","provide","Directionality","useExisting","exportAs","ngImport","decorators","args","Output","Input","BidiModule","NgModule","imports","exports"],"mappings":";;;;;MAgCaA,GAAG,CAAA;AAENC,EAAAA,cAAc,GAAY,KAAK;AAGvCC,EAAAA,OAAO,GAAW,EAAE;AAGUC,EAAAA,MAAM,GAAG,IAAIC,YAAY,EAAa;EAGpE,IACIC,GAAGA,GAAA;AACL,IAAA,OAAO,IAAI,CAACC,WAAW,EAAE;AAC3B,EAAA;EACA,IAAID,GAAGA,CAACE,KAAyB,EAAA;AAC/B,IAAA,MAAMC,aAAa,GAAG,IAAI,CAACF,WAAW,EAAE;IAKxC,IAAI,CAACA,WAAW,CAACG,GAAG,CAACC,sBAAsB,CAACH,KAAK,CAAC,CAAC;IACnD,IAAI,CAACL,OAAO,GAAGK,KAAK;IAEpB,IAAIC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,QAAAA,OAAO,EAAEC,cAAc;AAAEC,QAAAA,WAAW,EAAA9B;AAAK,OAAC,CAAC;AACxDyB,MAAAA,IAAI,EAAE;AAAC,QAAA,YAAY,EAAE;OAAU;AAC/BM,MAAAA,QAAQ,EAAE;KACX;;;;YASEI,MAAM;aAAC,WAAW;;;YAGlBC;;;;;MC5BUC,UAAU,CAAA;;;;;UAAVA,UAAU;AAAArB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAmB;AAAA,GAAA,CAAA;;;;;UAAVD,UAAU;IAAAE,OAAA,EAAA,CAHXvC,GAAG,CAAA;IAAAwC,OAAA,EAAA,CACHxC,GAAG;AAAA,GAAA,CAAA;;;;;UAEFqC;AAAU,GAAA,CAAA;;;;;;QAAVA,UAAU;AAAAJ,EAAAA,UAAA,EAAA,CAAA;UAJtBK,QAAQ;AAACJ,IAAAA,IAAA,EAAA,CAAA;MACRK,OAAO,EAAE,CAACvC,GAAG,CAAC;MACdwC,OAAO,EAAE,CAACxC,GAAG;KACd;;;;;;"}
1
+ {"version":3,"file":"bidi.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/bidi/dir.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/bidi/bidi-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\nimport {\n AfterContentInit,\n Directive,\n EventEmitter,\n Input,\n OnDestroy,\n Output,\n signal,\n} from '@angular/core';\n\nimport {Direction, Directionality, _resolveDirectionality} from './directionality';\n\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Provides itself as Directionality such that descendant directives only need to ever inject\n * Directionality to get the closest direction.\n */\n@Directive({\n selector: '[dir]',\n providers: [{provide: Directionality, useExisting: Dir}],\n host: {'[attr.dir]': '_rawDir'},\n exportAs: 'dir',\n})\nexport class Dir implements Directionality, AfterContentInit, OnDestroy {\n /** Whether the `value` has been set to its initial value. */\n private _isInitialized: boolean = false;\n\n /** Direction as passed in by the consumer. */\n _rawDir: string = '';\n\n /** Event emitted when the direction changes. */\n @Output('dirChange') readonly change = new EventEmitter<Direction>();\n\n /** @docs-private */\n @Input()\n get dir(): Direction {\n return this.valueSignal();\n }\n set dir(value: Direction | 'auto') {\n const previousValue = this.valueSignal();\n\n // Note: `_resolveDirectionality` resolves the language based on the browser's language,\n // whereas the browser does it based on the content of the element. Since doing so based\n // on the content can be expensive, for now we're doing the simpler matching.\n this.valueSignal.set(_resolveDirectionality(value));\n this._rawDir = value;\n\n if (previousValue !== this.valueSignal() && this._isInitialized) {\n this.change.emit(this.valueSignal());\n }\n }\n\n /** Current layout direction of the element. */\n get value(): Direction {\n return this.dir;\n }\n\n readonly valueSignal = signal<Direction>('ltr');\n\n /** Initialize once default value has been set. */\n ngAfterContentInit() {\n this._isInitialized = true;\n }\n\n ngOnDestroy() {\n this.change.complete();\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';\nimport {Dir} from './dir';\n\n@NgModule({\n imports: [Dir],\n exports: [Dir],\n})\nexport class BidiModule {}\n"],"names":["Dir","_isInitialized","_rawDir","change","EventEmitter","dir","valueSignal","value","previousValue","set","_resolveDirectionality","emit","signal","ngAfterContentInit","ngOnDestroy","complete","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","inputs","outputs","host","properties","providers","provide","Directionality","useExisting","exportAs","ngImport","decorators","args","Output","Input","BidiModule","NgModule","imports","exports"],"mappings":";;;;;MAgCaA,GAAG,CAAA;AAENC,EAAAA,cAAc,GAAY,KAAK;AAGvCC,EAAAA,OAAO,GAAW,EAAE;AAGUC,EAAAA,MAAM,GAAG,IAAIC,YAAY,EAAa;EA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AEC,MAAAA,WAAW,EAAE9B;AAAG,KAAC,CAAC;IAAA+B,QAAA,EAAA,CAAA,KAAA,CAAA;AAAAC,IAAAA,QAAA,EAAAd;AAAA,GAAA,CAAA;;;;;;QAI7ClB,GAAG;AAAAiC,EAAAA,UAAA,EAAA,CAAA;UANfb,SAAS;AAACc,IAAAA,IAAA,EAAA,CAAA;AACTZ,MAAAA,QAAQ,EAAE,OAAO;AACjBK,MAAAA,SAAS,EAAE,CAAC;AAACC,QAAAA,OAAO,EAAEC,cAAc;AAAEC,QAAAA,WAAW,EAAA9B;AAAK,OAAC,CAAC;AACxDyB,MAAAA,IAAI,EAAE;AAAC,QAAA,YAAY,EAAE;OAAU;AAC/BM,MAAAA,QAAQ,EAAE;KACX;;;;YASEI,MAAM;aAAC,WAAW;;;YAGlBC;;;;;MC5BUC,UAAU,CAAA;;;;;UAAVA,UAAU;AAAArB,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAmB;AAAA,GAAA,CAAA;;;;;UAAVD,UAAU;IAAAE,OAAA,EAAA,CAHXvC,GAAG,CAAA;IAAAwC,OAAA,EAAA,CACHxC,GAAG;AAAA,GAAA,CAAA;;;;;UAEFqC;AAAU,GAAA,CAAA;;;;;;QAAVA,UAAU;AAAAJ,EAAAA,UAAA,EAAA,CAAA;UAJtBK,QAAQ;AAACJ,IAAAA,IAAA,EAAA,CAAA;MACRK,OAAO,EAAE,CAACvC,GAAG,CAAC;MACdwC,OAAO,EAAE,CAACxC,GAAG;KACd;;;;;;"}
package/fesm2022/cdk.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Version } from '@angular/core';
2
2
 
3
- const VERSION = new Version('22.0.0-next.6');
3
+ const VERSION = new Version('22.0.0-next.8');
4
4
 
5
5
  export { VERSION };
6
6
  //# sourceMappingURL=cdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"cdk.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.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 {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('22.0.0-next.6');\n"],"names":["VERSION","Version"],"mappings":";;MAWaA,OAAO,GAAG,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
1
+ {"version":3,"file":"cdk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/version.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 {Version} from '@angular/core';\n\n/** Current version of the Angular Component Development Kit. */\nexport const VERSION = new Version('22.0.0-next.8');\n"],"names":["VERSION","Version"],"mappings":";;MAWaA,OAAO,GAAG,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, DOCUMENT, Injectable, InjectionToken, NgZone, EventEmitter, Output, Input, Directive, NgModule } from '@angular/core';
2
+ import { inject, DOCUMENT, Service, InjectionToken, NgZone, EventEmitter, Output, Input, Directive, NgModule } from '@angular/core';
3
3
 
4
4
  class PendingCopy {
5
5
  _document;
@@ -54,30 +54,26 @@ class Clipboard {
54
54
  }
55
55
  static ɵfac = i0.ɵɵngDeclareFactory({
56
56
  minVersion: "12.0.0",
57
- version: "22.0.0-next.6",
57
+ version: "22.0.0-next.10",
58
58
  ngImport: i0,
59
59
  type: Clipboard,
60
60
  deps: [],
61
- target: i0.ɵɵFactoryTarget.Injectable
61
+ target: i0.ɵɵFactoryTarget.Service
62
62
  });
63
- static ɵprov = i0.ɵɵngDeclareInjectable({
64
- minVersion: "12.0.0",
65
- version: "22.0.0-next.6",
63
+ static ɵprov = i0.ɵɵngDeclareService({
64
+ minVersion: "22.0.0",
65
+ version: "22.0.0-next.10",
66
66
  ngImport: i0,
67
- type: Clipboard,
68
- providedIn: 'root'
67
+ type: Clipboard
69
68
  });
70
69
  }
71
70
  i0.ɵɵngDeclareClassMetadata({
72
71
  minVersion: "12.0.0",
73
- version: "22.0.0-next.6",
72
+ version: "22.0.0-next.10",
74
73
  ngImport: i0,
75
74
  type: Clipboard,
76
75
  decorators: [{
77
- type: Injectable,
78
- args: [{
79
- providedIn: 'root'
80
- }]
76
+ type: Service
81
77
  }]
82
78
  });
83
79
 
@@ -130,7 +126,7 @@ class CdkCopyToClipboard {
130
126
  }
131
127
  static ɵfac = i0.ɵɵngDeclareFactory({
132
128
  minVersion: "12.0.0",
133
- version: "22.0.0-next.6",
129
+ version: "22.0.0-next.10",
134
130
  ngImport: i0,
135
131
  type: CdkCopyToClipboard,
136
132
  deps: [],
@@ -138,7 +134,7 @@ class CdkCopyToClipboard {
138
134
  });
139
135
  static ɵdir = i0.ɵɵngDeclareDirective({
140
136
  minVersion: "14.0.0",
141
- version: "22.0.0-next.6",
137
+ version: "22.0.0-next.10",
142
138
  type: CdkCopyToClipboard,
143
139
  isStandalone: true,
144
140
  selector: "[cdkCopyToClipboard]",
@@ -159,7 +155,7 @@ class CdkCopyToClipboard {
159
155
  }
160
156
  i0.ɵɵngDeclareClassMetadata({
161
157
  minVersion: "12.0.0",
162
- version: "22.0.0-next.6",
158
+ version: "22.0.0-next.10",
163
159
  ngImport: i0,
164
160
  type: CdkCopyToClipboard,
165
161
  decorators: [{
@@ -191,7 +187,7 @@ i0.ɵɵngDeclareClassMetadata({
191
187
  class ClipboardModule {
192
188
  static ɵfac = i0.ɵɵngDeclareFactory({
193
189
  minVersion: "12.0.0",
194
- version: "22.0.0-next.6",
190
+ version: "22.0.0-next.10",
195
191
  ngImport: i0,
196
192
  type: ClipboardModule,
197
193
  deps: [],
@@ -199,7 +195,7 @@ class ClipboardModule {
199
195
  });
200
196
  static ɵmod = i0.ɵɵngDeclareNgModule({
201
197
  minVersion: "14.0.0",
202
- version: "22.0.0-next.6",
198
+ version: "22.0.0-next.10",
203
199
  ngImport: i0,
204
200
  type: ClipboardModule,
205
201
  imports: [CdkCopyToClipboard],
@@ -207,14 +203,14 @@ class ClipboardModule {
207
203
  });
208
204
  static ɵinj = i0.ɵɵngDeclareInjector({
209
205
  minVersion: "12.0.0",
210
- version: "22.0.0-next.6",
206
+ version: "22.0.0-next.10",
211
207
  ngImport: i0,
212
208
  type: ClipboardModule
213
209
  });
214
210
  }
215
211
  i0.ɵɵngDeclareClassMetadata({
216
212
  minVersion: "12.0.0",
217
- version: "22.0.0-next.6",
213
+ version: "22.0.0-next.10",
218
214
  ngImport: i0,
219
215
  type: ClipboardModule,
220
216
  decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"clipboard.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/pending-copy.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/clipboard.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/copy-to-clipboard.ts","../../../../../k8-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 /**\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 = false;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\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,WAAAA,CACEC,IAAY,EACKH,SAAmB,EAAA;IAAnB,IAAA,CAAAA,SAAS,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,EAAA;AAGAc,EAAAA,IAAIA,GAAA;AACF,IAAA,MAAMd,QAAQ,GAAG,IAAI,CAACH,SAAS;IAC/B,IAAIkB,UAAU,GAAG,KAAK;IAEtB,IAAI;AAEF,MAAA,IAAIf,QAAQ,EAAE;AACZ,QAAA,MAAMgB,YAAY,GAAG,IAAI,CAACpB,SAAS,CAACqB,aAAwC;QAE5EjB,QAAQ,CAACkB,MAAM,EAAE;QACjBlB,QAAQ,CAACmB,iBAAiB,CAAC,CAAC,EAAEnB,QAAQ,CAACS,KAAK,CAACW,MAAM,CAAC;QACpDL,UAAU,GAAG,I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,OAAA,EAAA;AAAAxB,MAAAA,MAAA,EAAA;KAAA;AAAAyB,IAAAA,IAAA,EAAA;AAAAC,MAAAA,SAAA,EAAA;AAAA,QAAA,OAAA,EAAA;AAAA;KAAA;AAAArC,IAAAA,QAAA,EAAAP;AAAA,GAAA,CAAA;;;;;;QAAlBa,kBAAkB;AAAAJ,EAAAA,UAAA,EAAA,CAAA;UAN9B6B,SAAS;AAACO,IAAAA,IAAA,EAAA,CAAA;AACTL,MAAAA,QAAQ,EAAE,sBAAsB;AAChCG,MAAAA,IAAI,EAAE;AACJ,QAAA,SAAS,EAAE;AACZ;KACF;;;;;YAMEG,KAAK;aAAC,oBAAoB;;;YAM1BA,KAAK;aAAC,4BAA4B;;;YAMlCC,MAAM;aAAC,0BAA0B;;;;;MC3CvBC,eAAe,CAAA;;;;;UAAfA,eAAe;AAAAlD,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAgD;AAAA,GAAA,CAAA;;;;;UAAfD,eAAe;IAAAE,OAAA,EAAA,CAHhBrC,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
+ {"version":3,"file":"clipboard.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk/clipboard/pending-copy.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/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 {Service, inject, DOCUMENT} from '@angular/core';\nimport {PendingCopy} from './pending-copy';\n\n/**\n * A service for copying text to the clipboard.\n */\n@Service()\nexport class Clipboard {\n private readonly _document = inject(DOCUMENT);\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 = false;\n\n /** Timeout for the current copy attempt. */\n private _currentTimeout: any;\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","Service","decorators","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","ngImport","args","Input","Output","ClipboardModule","NgModule","imports","exports"],"mappings":";;;MAqBaA,WAAW,CAAA;EAKHC,SAAA;EAJXC,SAAS;AAEjBC,EAAAA,WAAAA,CACEC,IAAY,EACKH,SAAmB,EAAA;IAAnB,IAAA,CAAAA,SAAS,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,IA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8-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,EAAA;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,EAAA;AACA,EAAA,OAAOA,IAAI;AACb;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"coercion.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk/coercion/boolean-property.ts","../../../../../k8-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,CAAA,EAAGD,WAAW,EAAE,CAACE,IAAI,EAAE;AAC7C,MAAA,IAAID,aAAa,EAAE;AACjBN,QAAAA,MAAM,CAACQ,IAAI,CAACF,aAAa,CAAC;AAC5B,MAAA;AACF,IAAA;AACF,EAAA;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,CAAA,EAAGD,WAAW,EAAE,CAACE,IAAI,EAAE;AAC7C,MAAA,IAAID,aAAa,EAAE;AACjBN,QAAAA,MAAM,CAACQ,IAAI,CAACF,aAAa,CAAC;AAC5B,MAAA;AACF,IAAA;AACF,EAAA;AAEA,EAAA,OAAON,MAAM;AACf;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, DOCUMENT, afterNextRender, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, TemplateRef, signal, EventEmitter, Injectable, NgModule } from '@angular/core';
2
+ import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, DOCUMENT, afterNextRender, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, TemplateRef, signal, EventEmitter, Service, NgModule } from '@angular/core';
3
3
  import { Subject, defer } from 'rxjs';
4
4
  import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal, PortalModule } from './portal.mjs';
5
5
  export { CdkPortal as ɵɵCdkPortal } from './portal.mjs';
@@ -64,6 +64,7 @@ class DialogConfig {
64
64
  providers;
65
65
  container;
66
66
  templateContext;
67
+ bindings;
67
68
  }
68
69
 
69
70
  function throwDialogContentAlreadyAttachedError() {
@@ -246,7 +247,7 @@ class CdkDialogContainer extends BasePortalOutlet {
246
247
  }
247
248
  static ɵfac = i0.ɵɵngDeclareFactory({
248
249
  minVersion: "12.0.0",
249
- version: "22.0.0-next.6",
250
+ version: "22.0.0-next.10",
250
251
  ngImport: i0,
251
252
  type: CdkDialogContainer,
252
253
  deps: [],
@@ -254,7 +255,7 @@ class CdkDialogContainer extends BasePortalOutlet {
254
255
  });
255
256
  static ɵcmp = i0.ɵɵngDeclareComponent({
256
257
  minVersion: "14.0.0",
257
- version: "22.0.0-next.6",
258
+ version: "22.0.0-next.10",
258
259
  type: CdkDialogContainer,
259
260
  isStandalone: true,
260
261
  selector: "cdk-dialog-container",
@@ -297,7 +298,7 @@ class CdkDialogContainer extends BasePortalOutlet {
297
298
  }
298
299
  i0.ɵɵngDeclareClassMetadata({
299
300
  minVersion: "12.0.0",
300
- version: "22.0.0-next.6",
301
+ version: "22.0.0-next.10",
301
302
  ngImport: i0,
302
303
  type: CdkDialogContainer,
303
304
  decorators: [{
@@ -576,7 +577,7 @@ class Dialog {
576
577
  dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null, context, injector));
577
578
  } else {
578
579
  const injector = this._createInjector(config, dialogRef, dialogContainer, this._injector);
579
- const contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector));
580
+ const contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, config.viewContainerRef, injector, null, config.bindings));
580
581
  dialogRef.componentRef = contentRef;
581
582
  dialogRef.componentInstance = contentRef.instance;
582
583
  }
@@ -647,30 +648,26 @@ class Dialog {
647
648
  }
648
649
  static ɵfac = i0.ɵɵngDeclareFactory({
649
650
  minVersion: "12.0.0",
650
- version: "22.0.0-next.6",
651
+ version: "22.0.0-next.10",
651
652
  ngImport: i0,
652
653
  type: Dialog,
653
654
  deps: [],
654
- target: i0.ɵɵFactoryTarget.Injectable
655
+ target: i0.ɵɵFactoryTarget.Service
655
656
  });
656
- static ɵprov = i0.ɵɵngDeclareInjectable({
657
- minVersion: "12.0.0",
658
- version: "22.0.0-next.6",
657
+ static ɵprov = i0.ɵɵngDeclareService({
658
+ minVersion: "22.0.0",
659
+ version: "22.0.0-next.10",
659
660
  ngImport: i0,
660
- type: Dialog,
661
- providedIn: 'root'
661
+ type: Dialog
662
662
  });
663
663
  }
664
664
  i0.ɵɵngDeclareClassMetadata({
665
665
  minVersion: "12.0.0",
666
- version: "22.0.0-next.6",
666
+ version: "22.0.0-next.10",
667
667
  ngImport: i0,
668
668
  type: Dialog,
669
669
  decorators: [{
670
- type: Injectable,
671
- args: [{
672
- providedIn: 'root'
673
- }]
670
+ type: Service
674
671
  }]
675
672
  });
676
673
  function reverseForEach(items, callback) {
@@ -683,7 +680,7 @@ function reverseForEach(items, callback) {
683
680
  class DialogModule {
684
681
  static ɵfac = i0.ɵɵngDeclareFactory({
685
682
  minVersion: "12.0.0",
686
- version: "22.0.0-next.6",
683
+ version: "22.0.0-next.10",
687
684
  ngImport: i0,
688
685
  type: DialogModule,
689
686
  deps: [],
@@ -691,7 +688,7 @@ class DialogModule {
691
688
  });
692
689
  static ɵmod = i0.ɵɵngDeclareNgModule({
693
690
  minVersion: "14.0.0",
694
- version: "22.0.0-next.6",
691
+ version: "22.0.0-next.10",
695
692
  ngImport: i0,
696
693
  type: DialogModule,
697
694
  imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer],
@@ -699,7 +696,7 @@ class DialogModule {
699
696
  });
700
697
  static ɵinj = i0.ɵɵngDeclareInjector({
701
698
  minVersion: "12.0.0",
702
- version: "22.0.0-next.6",
699
+ version: "22.0.0-next.10",
703
700
  ngImport: i0,
704
701
  type: DialogModule,
705
702
  providers: [Dialog],
@@ -708,7 +705,7 @@ class DialogModule {
708
705
  }
709
706
  i0.ɵɵngDeclareClassMetadata({
710
707
  minVersion: "12.0.0",
711
- version: "22.0.0-next.6",
708
+ version: "22.0.0-next.10",
712
709
  ngImport: i0,
713
710
  type: DialogModule,
714
711
  decorators: [{