@angular/cdk 22.0.0-next.2 → 22.0.0-next.4
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.
- package/a11y-prebuilt.css +19 -1
- package/fesm2022/_a11y-module-chunk.mjs +24 -26
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs +7 -9
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs +3 -3
- package/fesm2022/_directionality-chunk.mjs.map +1 -1
- package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_element-chunk.mjs.map +1 -1
- package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
- package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs +10 -12
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- package/fesm2022/_id-generator-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +44 -56
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +4 -6
- package/fesm2022/_platform-chunk.mjs.map +1 -1
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_scrolling-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs +3 -3
- package/fesm2022/_style-loader-chunk.mjs.map +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_typeahead-chunk.mjs.map +1 -1
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/a11y.mjs +16 -16
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +11 -13
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +9 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +12 -14
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion-private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/dialog.mjs +17 -19
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +40 -44
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +5 -5
- package/fesm2022/listbox.mjs +13 -13
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +55 -55
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers-private.mjs +3 -3
- package/fesm2022/observers-private.mjs.map +1 -1
- package/fesm2022/observers.mjs +16 -20
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +7 -11
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +5 -5
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +12 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +7 -7
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +47 -59
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +34 -36
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +88 -112
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs +1 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +20 -24
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +33 -45
- package/fesm2022/tree.mjs.map +1 -1
- package/overlay-prebuilt.css +117 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/text-field-prebuilt.css +26 -1
- package/types/_a11y-module-chunk.d.ts +5 -6
- package/types/_activedescendant-key-manager-chunk.d.ts +1 -1
- package/types/_bidi-module-chunk.d.ts +1 -1
- package/types/_focus-key-manager-chunk.d.ts +1 -1
- package/types/_focus-monitor-chunk.d.ts +2 -3
- package/types/_overlay-module-chunk.d.ts +2 -5
- package/types/_platform-chunk.d.ts +0 -2
- package/types/_portal-directives-chunk.d.ts +1 -2
- package/types/_scrolling-module-chunk.d.ts +5 -9
- package/types/_view-repeater-chunk.d.ts +1 -1
- package/types/a11y.d.ts +6 -6
- package/types/accordion.d.ts +0 -1
- package/types/clipboard.d.ts +1 -2
- package/types/dialog.d.ts +1 -2
- package/types/drag-drop.d.ts +7 -9
- package/types/layout.d.ts +1 -2
- package/types/listbox.d.ts +1 -1
- package/types/observers.d.ts +1 -3
- package/types/overlay.d.ts +1 -5
- package/types/scrolling.d.ts +1 -1
- package/types/stepper.d.ts +5 -8
- package/types/table.d.ts +11 -20
- package/types/testing-selenium-webdriver.d.ts +0 -19
- package/types/text-field.d.ts +1 -3
- package/types/tree.d.ts +4 -9
package/fesm2022/cdk.mjs
CHANGED
package/fesm2022/cdk.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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.
|
|
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.4');\n"],"names":["VERSION","Version"],"mappings":";;MAWaA,OAAO,GAAG,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/clipboard.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, DOCUMENT, Injectable, InjectionToken, NgZone, EventEmitter,
|
|
2
|
+
import { inject, DOCUMENT, Injectable, InjectionToken, NgZone, EventEmitter, Output, Input, Directive, NgModule } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class PendingCopy {
|
|
5
5
|
_document;
|
|
@@ -43,7 +43,6 @@ class PendingCopy {
|
|
|
43
43
|
|
|
44
44
|
class Clipboard {
|
|
45
45
|
_document = inject(DOCUMENT);
|
|
46
|
-
constructor() {}
|
|
47
46
|
copy(text) {
|
|
48
47
|
const pendingCopy = this.beginCopy(text);
|
|
49
48
|
const successful = pendingCopy.copy();
|
|
@@ -55,7 +54,7 @@ class Clipboard {
|
|
|
55
54
|
}
|
|
56
55
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
57
56
|
minVersion: "12.0.0",
|
|
58
|
-
version: "22.0.0-next.
|
|
57
|
+
version: "22.0.0-next.6",
|
|
59
58
|
ngImport: i0,
|
|
60
59
|
type: Clipboard,
|
|
61
60
|
deps: [],
|
|
@@ -63,7 +62,7 @@ class Clipboard {
|
|
|
63
62
|
});
|
|
64
63
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
65
64
|
minVersion: "12.0.0",
|
|
66
|
-
version: "22.0.0-next.
|
|
65
|
+
version: "22.0.0-next.6",
|
|
67
66
|
ngImport: i0,
|
|
68
67
|
type: Clipboard,
|
|
69
68
|
providedIn: 'root'
|
|
@@ -71,7 +70,7 @@ class Clipboard {
|
|
|
71
70
|
}
|
|
72
71
|
i0.ɵɵngDeclareClassMetadata({
|
|
73
72
|
minVersion: "12.0.0",
|
|
74
|
-
version: "22.0.0-next.
|
|
73
|
+
version: "22.0.0-next.6",
|
|
75
74
|
ngImport: i0,
|
|
76
75
|
type: Clipboard,
|
|
77
76
|
decorators: [{
|
|
@@ -79,8 +78,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
79
78
|
args: [{
|
|
80
79
|
providedIn: 'root'
|
|
81
80
|
}]
|
|
82
|
-
}]
|
|
83
|
-
ctorParameters: () => []
|
|
81
|
+
}]
|
|
84
82
|
});
|
|
85
83
|
|
|
86
84
|
const CDK_COPY_TO_CLIPBOARD_CONFIG = new InjectionToken('CDK_COPY_TO_CLIPBOARD_CONFIG');
|
|
@@ -132,7 +130,7 @@ class CdkCopyToClipboard {
|
|
|
132
130
|
}
|
|
133
131
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
134
132
|
minVersion: "12.0.0",
|
|
135
|
-
version: "22.0.0-next.
|
|
133
|
+
version: "22.0.0-next.6",
|
|
136
134
|
ngImport: i0,
|
|
137
135
|
type: CdkCopyToClipboard,
|
|
138
136
|
deps: [],
|
|
@@ -140,7 +138,7 @@ class CdkCopyToClipboard {
|
|
|
140
138
|
});
|
|
141
139
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
142
140
|
minVersion: "14.0.0",
|
|
143
|
-
version: "22.0.0-next.
|
|
141
|
+
version: "22.0.0-next.6",
|
|
144
142
|
type: CdkCopyToClipboard,
|
|
145
143
|
isStandalone: true,
|
|
146
144
|
selector: "[cdkCopyToClipboard]",
|
|
@@ -161,7 +159,7 @@ class CdkCopyToClipboard {
|
|
|
161
159
|
}
|
|
162
160
|
i0.ɵɵngDeclareClassMetadata({
|
|
163
161
|
minVersion: "12.0.0",
|
|
164
|
-
version: "22.0.0-next.
|
|
162
|
+
version: "22.0.0-next.6",
|
|
165
163
|
ngImport: i0,
|
|
166
164
|
type: CdkCopyToClipboard,
|
|
167
165
|
decorators: [{
|
|
@@ -193,7 +191,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
193
191
|
class ClipboardModule {
|
|
194
192
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
195
193
|
minVersion: "12.0.0",
|
|
196
|
-
version: "22.0.0-next.
|
|
194
|
+
version: "22.0.0-next.6",
|
|
197
195
|
ngImport: i0,
|
|
198
196
|
type: ClipboardModule,
|
|
199
197
|
deps: [],
|
|
@@ -201,7 +199,7 @@ class ClipboardModule {
|
|
|
201
199
|
});
|
|
202
200
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
203
201
|
minVersion: "14.0.0",
|
|
204
|
-
version: "22.0.0-next.
|
|
202
|
+
version: "22.0.0-next.6",
|
|
205
203
|
ngImport: i0,
|
|
206
204
|
type: ClipboardModule,
|
|
207
205
|
imports: [CdkCopyToClipboard],
|
|
@@ -209,14 +207,14 @@ class ClipboardModule {
|
|
|
209
207
|
});
|
|
210
208
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
211
209
|
minVersion: "12.0.0",
|
|
212
|
-
version: "22.0.0-next.
|
|
210
|
+
version: "22.0.0-next.6",
|
|
213
211
|
ngImport: i0,
|
|
214
212
|
type: ClipboardModule
|
|
215
213
|
});
|
|
216
214
|
}
|
|
217
215
|
i0.ɵɵngDeclareClassMetadata({
|
|
218
216
|
minVersion: "12.0.0",
|
|
219
|
-
version: "22.0.0-next.
|
|
217
|
+
version: "22.0.0-next.6",
|
|
220
218
|
ngImport: i0,
|
|
221
219
|
type: ClipboardModule,
|
|
222
220
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
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 {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 = false;\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,C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;;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 {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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AA,EAAA,MAAA,CAAA;AAAAmD,MAAAA,QAAA,EAAA,CAAA,4BAAA,EAAA,UAAA;KAAA;AAAAyB,IAAAA,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 +1 @@
|
|
|
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
|
+
{"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":["../../../../../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` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[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,
|
|
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` -> `[]`\n * - `[null]` -> `[\"null\"]`\n * - `[\"a\", \"b \", \" \"]` -> `[\"a\", \"b\"]`\n * - `[1, [2, 3]]` -> `[\"1\", \"2,3\"]`\n * - `[{ a: 0 }]` -> `[\"[object Object]\"]`\n * - `{ a: 0 }` -> `[\"[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;;;;"}
|
package/fesm2022/collections.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { UniqueSelectionDispatcher } from './_unique-selection-dispatcher-chunk.mjs';
|
|
2
1
|
export { ArrayDataSource, _RecycleViewRepeaterStrategy, _ViewRepeaterOperation } from './_recycle-view-repeater-strategy-chunk.mjs';
|
|
3
2
|
export { DataSource, isDataSource } from './_data-source-chunk.mjs';
|
|
4
|
-
export { _DisposeViewRepeaterStrategy } from './_dispose-view-repeater-strategy-chunk.mjs';
|
|
5
3
|
export { SelectionModel, getMultipleValuesInSingleSelectionError } from './_selection-model-chunk.mjs';
|
|
6
|
-
|
|
4
|
+
export { UniqueSelectionDispatcher } from './_unique-selection-dispatcher-chunk.mjs';
|
|
5
|
+
export { _DisposeViewRepeaterStrategy } from './_dispose-view-repeater-strategy-chunk.mjs';
|
|
7
6
|
import 'rxjs';
|
|
7
|
+
import '@angular/core';
|
|
8
8
|
//# sourceMappingURL=collections.mjs.map
|
package/fesm2022/dialog.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, DOCUMENT, afterNextRender,
|
|
2
|
+
import { inject, ElementRef, NgZone, Renderer2, ChangeDetectorRef, Injector, DOCUMENT, afterNextRender, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component, InjectionToken, TemplateRef, signal, EventEmitter, Injectable, 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';
|
|
@@ -7,10 +7,10 @@ import { FocusTrapFactory, InteractivityChecker, A11yModule } from './_a11y-modu
|
|
|
7
7
|
import { FocusMonitor } from './_focus-monitor-chunk.mjs';
|
|
8
8
|
import { Platform } from './_platform-chunk.mjs';
|
|
9
9
|
import { _getFocusedElementPierceShadowDom } from './_shadow-dom-chunk.mjs';
|
|
10
|
+
import { createBlockScrollStrategy, OverlayContainer, createOverlayRef, OverlayConfig, createGlobalPositionStrategy, OverlayRef, OverlayModule } from './_overlay-module-chunk.mjs';
|
|
11
|
+
import { startWith, take } from 'rxjs/operators';
|
|
10
12
|
import { ESCAPE } from './_keycodes-chunk.mjs';
|
|
11
13
|
import { hasModifierKey } from './keycodes.mjs';
|
|
12
|
-
import { startWith, take } from 'rxjs/operators';
|
|
13
|
-
import { createBlockScrollStrategy, OverlayContainer, createOverlayRef, OverlayConfig, createGlobalPositionStrategy, OverlayRef, OverlayModule } from './_overlay-module-chunk.mjs';
|
|
14
14
|
import { _IdGenerator } from './_id-generator-chunk.mjs';
|
|
15
15
|
import { Directionality } from './_directionality-chunk.mjs';
|
|
16
16
|
import './_style-loader-chunk.mjs';
|
|
@@ -27,9 +27,9 @@ import './_test-environment-chunk.mjs';
|
|
|
27
27
|
import './_css-pixel-value-chunk.mjs';
|
|
28
28
|
import './scrolling.mjs';
|
|
29
29
|
import './_scrolling-chunk.mjs';
|
|
30
|
-
import './bidi.mjs';
|
|
31
30
|
import './_recycle-view-repeater-strategy-chunk.mjs';
|
|
32
31
|
import './_data-source-chunk.mjs';
|
|
32
|
+
import './bidi.mjs';
|
|
33
33
|
|
|
34
34
|
class DialogConfig {
|
|
35
35
|
viewContainerRef;
|
|
@@ -246,7 +246,7 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
246
246
|
}
|
|
247
247
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
248
248
|
minVersion: "12.0.0",
|
|
249
|
-
version: "22.0.0-next.
|
|
249
|
+
version: "22.0.0-next.6",
|
|
250
250
|
ngImport: i0,
|
|
251
251
|
type: CdkDialogContainer,
|
|
252
252
|
deps: [],
|
|
@@ -254,7 +254,7 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
254
254
|
});
|
|
255
255
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
256
256
|
minVersion: "14.0.0",
|
|
257
|
-
version: "22.0.0-next.
|
|
257
|
+
version: "22.0.0-next.6",
|
|
258
258
|
type: CdkDialogContainer,
|
|
259
259
|
isStandalone: true,
|
|
260
260
|
selector: "cdk-dialog-container",
|
|
@@ -282,7 +282,7 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
282
282
|
usesInheritance: true,
|
|
283
283
|
ngImport: i0,
|
|
284
284
|
template: "<ng-template cdkPortalOutlet />\n",
|
|
285
|
-
styles: [".cdk-dialog-container{display:block
|
|
285
|
+
styles: [".cdk-dialog-container {\n display: block;\n width: 100%;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n}\n"],
|
|
286
286
|
dependencies: [{
|
|
287
287
|
kind: "directive",
|
|
288
288
|
type: CdkPortalOutlet,
|
|
@@ -297,7 +297,7 @@ class CdkDialogContainer extends BasePortalOutlet {
|
|
|
297
297
|
}
|
|
298
298
|
i0.ɵɵngDeclareClassMetadata({
|
|
299
299
|
minVersion: "12.0.0",
|
|
300
|
-
version: "22.0.0-next.
|
|
300
|
+
version: "22.0.0-next.6",
|
|
301
301
|
ngImport: i0,
|
|
302
302
|
type: CdkDialogContainer,
|
|
303
303
|
decorators: [{
|
|
@@ -318,7 +318,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
318
318
|
'[attr.aria-describedby]': '_config.ariaDescribedBy || null'
|
|
319
319
|
},
|
|
320
320
|
template: "<ng-template cdkPortalOutlet />\n",
|
|
321
|
-
styles: [".cdk-dialog-container{display:block
|
|
321
|
+
styles: [".cdk-dialog-container {\n display: block;\n width: 100%;\n height: 100%;\n min-height: inherit;\n max-height: inherit;\n}\n"]
|
|
322
322
|
}]
|
|
323
323
|
}],
|
|
324
324
|
ctorParameters: () => [],
|
|
@@ -461,7 +461,6 @@ class Dialog {
|
|
|
461
461
|
return this._parentDialog ? this._parentDialog.afterOpened : this._afterOpenedAtThisLevel;
|
|
462
462
|
}
|
|
463
463
|
afterAllClosed = defer(() => this.openDialogs.length ? this._getAfterAllClosed() : this._getAfterAllClosed().pipe(startWith(undefined)));
|
|
464
|
-
constructor() {}
|
|
465
464
|
open(componentOrTemplateRef, config) {
|
|
466
465
|
const defaults = this._defaultOptions || new DialogConfig();
|
|
467
466
|
config = {
|
|
@@ -648,7 +647,7 @@ class Dialog {
|
|
|
648
647
|
}
|
|
649
648
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
650
649
|
minVersion: "12.0.0",
|
|
651
|
-
version: "22.0.0-next.
|
|
650
|
+
version: "22.0.0-next.6",
|
|
652
651
|
ngImport: i0,
|
|
653
652
|
type: Dialog,
|
|
654
653
|
deps: [],
|
|
@@ -656,7 +655,7 @@ class Dialog {
|
|
|
656
655
|
});
|
|
657
656
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
658
657
|
minVersion: "12.0.0",
|
|
659
|
-
version: "22.0.0-next.
|
|
658
|
+
version: "22.0.0-next.6",
|
|
660
659
|
ngImport: i0,
|
|
661
660
|
type: Dialog,
|
|
662
661
|
providedIn: 'root'
|
|
@@ -664,7 +663,7 @@ class Dialog {
|
|
|
664
663
|
}
|
|
665
664
|
i0.ɵɵngDeclareClassMetadata({
|
|
666
665
|
minVersion: "12.0.0",
|
|
667
|
-
version: "22.0.0-next.
|
|
666
|
+
version: "22.0.0-next.6",
|
|
668
667
|
ngImport: i0,
|
|
669
668
|
type: Dialog,
|
|
670
669
|
decorators: [{
|
|
@@ -672,8 +671,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
672
671
|
args: [{
|
|
673
672
|
providedIn: 'root'
|
|
674
673
|
}]
|
|
675
|
-
}]
|
|
676
|
-
ctorParameters: () => []
|
|
674
|
+
}]
|
|
677
675
|
});
|
|
678
676
|
function reverseForEach(items, callback) {
|
|
679
677
|
let i = items.length;
|
|
@@ -685,7 +683,7 @@ function reverseForEach(items, callback) {
|
|
|
685
683
|
class DialogModule {
|
|
686
684
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
687
685
|
minVersion: "12.0.0",
|
|
688
|
-
version: "22.0.0-next.
|
|
686
|
+
version: "22.0.0-next.6",
|
|
689
687
|
ngImport: i0,
|
|
690
688
|
type: DialogModule,
|
|
691
689
|
deps: [],
|
|
@@ -693,7 +691,7 @@ class DialogModule {
|
|
|
693
691
|
});
|
|
694
692
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
695
693
|
minVersion: "14.0.0",
|
|
696
|
-
version: "22.0.0-next.
|
|
694
|
+
version: "22.0.0-next.6",
|
|
697
695
|
ngImport: i0,
|
|
698
696
|
type: DialogModule,
|
|
699
697
|
imports: [OverlayModule, PortalModule, A11yModule, CdkDialogContainer],
|
|
@@ -701,7 +699,7 @@ class DialogModule {
|
|
|
701
699
|
});
|
|
702
700
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
703
701
|
minVersion: "12.0.0",
|
|
704
|
-
version: "22.0.0-next.
|
|
702
|
+
version: "22.0.0-next.6",
|
|
705
703
|
ngImport: i0,
|
|
706
704
|
type: DialogModule,
|
|
707
705
|
providers: [Dialog],
|
|
@@ -710,7 +708,7 @@ class DialogModule {
|
|
|
710
708
|
}
|
|
711
709
|
i0.ɵɵngDeclareClassMetadata({
|
|
712
710
|
minVersion: "12.0.0",
|
|
713
|
-
version: "22.0.0-next.
|
|
711
|
+
version: "22.0.0-next.6",
|
|
714
712
|
ngImport: i0,
|
|
715
713
|
type: DialogModule,
|
|
716
714
|
decorators: [{
|