@angular/cdk-experimental 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.
- package/fesm2022/_polyfill-chunk.mjs.map +1 -1
- package/fesm2022/cdk-experimental.mjs +1 -1
- package/fesm2022/cdk-experimental.mjs.map +1 -1
- package/fesm2022/column-resize.mjs +128 -96
- package/fesm2022/column-resize.mjs.map +1 -1
- package/fesm2022/popover-edit.mjs +85 -80
- package/fesm2022/popover-edit.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/selection.mjs +19 -19
- package/fesm2022/selection.mjs.map +1 -1
- package/fesm2022/table-scroll-container.mjs +7 -7
- package/fesm2022/table-scroll-container.mjs.map +1 -1
- package/package.json +2 -2
- package/types/popover-edit.d.ts +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-scroll-container.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container-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 {CSP_NONCE, Directive, ElementRef, OnDestroy, OnInit, inject, DOCUMENT} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {_getShadowRoot} from '@angular/cdk/platform';\nimport {\n STICKY_POSITIONING_LISTENER,\n StickyPositioningListener,\n StickySize,\n StickyUpdate,\n} from '@angular/cdk/table';\n\n/**\n * Applies styles to the host element that make its scrollbars match up with\n * the non-sticky scrollable portions of the CdkTable contained within.\n *\n * This visual effect only works in Webkit and Blink based browsers (eg Chrome,\n * Safari, Edge). Other browsers such as Firefox will gracefully degrade to\n * normal scrollbar appearance.\n * Further note: These styles have no effect when the browser is using OS-default\n * scrollbars. The easiest way to force them into custom mode is to specify width\n * and height for the scrollbar and thumb.\n */\n@Directive({\n selector: '[cdkTableScrollContainer]',\n host: {\n 'class': 'cdk-table-scroll-container',\n },\n providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}],\n})\nexport class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _document = inject<Document>(DOCUMENT);\n private readonly _directionality = inject(Directionality, {optional: true});\n private readonly _nonce = inject(CSP_NONCE, {optional: true});\n\n private readonly _uniqueClassName = inject(_IdGenerator).getId('cdk-table-scroll-container-');\n private _styleRoot!: Node;\n private _styleElement?: HTMLStyleElement;\n\n /** The most recent sticky column size values from the CdkTable. */\n private _startSizes: StickySize[] = [];\n private _endSizes: StickySize[] = [];\n private _headerSizes: StickySize[] = [];\n private _footerSizes: StickySize[] = [];\n\n ngOnInit() {\n this._elementRef.nativeElement.classList.add(this._uniqueClassName);\n this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head;\n }\n\n ngOnDestroy(): void {\n this._styleElement?.remove();\n this._styleElement = undefined;\n }\n\n stickyColumnsUpdated({sizes}: StickyUpdate): void {\n this._startSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyEndColumnsUpdated({sizes}: StickyUpdate): void {\n this._endSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyHeaderRowsUpdated({sizes}: StickyUpdate): void {\n this._headerSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyFooterRowsUpdated({sizes}: StickyUpdate): void {\n this._footerSizes = sizes;\n this._updateScrollbar();\n }\n\n /**\n * Set padding on the scrollbar track based on the sticky states from CdkTable.\n */\n private _updateScrollbar(): void {\n const topMargin = computeMargin(this._headerSizes);\n const bottomMargin = computeMargin(this._footerSizes);\n const startMargin = computeMargin(this._startSizes);\n const endMargin = computeMargin(this._endSizes);\n\n if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) {\n this._clearCss();\n return;\n }\n\n const direction = this._directionality ? this._directionality.value : 'ltr';\n const leftMargin = direction === 'rtl' ? endMargin : startMargin;\n const rightMargin = direction === 'rtl' ? startMargin : endMargin;\n\n this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`);\n }\n\n /** Gets the stylesheet for the scrollbar styles and creates it if need be. */\n private _getStyleSheet(): CSSStyleSheet {\n if (!this._styleElement) {\n this._styleElement = this._document.createElement('style');\n\n if (this._nonce) {\n this._styleElement.setAttribute('nonce', this._nonce);\n }\n\n this._styleRoot.appendChild(this._styleElement);\n }\n\n return this._styleElement.sheet as CSSStyleSheet;\n }\n\n /** Updates the stylesheet with the specified scrollbar style. */\n private _applyCss(value: string) {\n this._clearCss();\n\n const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`;\n this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0);\n }\n\n private _clearCss() {\n const styleSheet = this._getStyleSheet();\n if (styleSheet.cssRules.length > 0) {\n styleSheet.deleteRule(0);\n }\n }\n}\n\nfunction computeMargin(sizes: (number | null | undefined)[]): number {\n let margin = 0;\n for (const size of sizes) {\n if (size == null) {\n break;\n }\n margin += size;\n }\n return margin;\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 {CdkTableScrollContainer} from './table-scroll-container';\n\n@NgModule({\n imports: [CdkTableScrollContainer],\n exports: [CdkTableScrollContainer],\n})\nexport class CdkTableScrollContainerModule {}\n"],"names":["CdkTableScrollContainer","_elementRef","inject","ElementRef","_document","DOCUMENT","_directionality","Directionality","optional","_nonce","CSP_NONCE","_uniqueClassName","_IdGenerator","getId","_styleRoot","_styleElement","_startSizes","_endSizes","_headerSizes","_footerSizes","ngOnInit","nativeElement","classList","add","_getShadowRoot","head","ngOnDestroy","remove","undefined","stickyColumnsUpdated","sizes","_updateScrollbar","stickyEndColumnsUpdated","stickyHeaderRowsUpdated","stickyFooterRowsUpdated","topMargin","computeMargin","bottomMargin","startMargin","endMargin","_clearCss","direction","value","leftMargin","rightMargin","_applyCss","_getStyleSheet","createElement","setAttribute","appendChild","sheet","selector","insertRule","styleSheet","cssRules","length","deleteRule","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","host","classAttribute","providers","provide","STICKY_POSITIONING_LISTENER","useExisting","ngImport","decorators","args","margin","size","CdkTableScrollContainerModule","NgModule","imports","exports"],"mappings":";;;;;;;MAsCaA,uBAAuB,CAAA;AACjBC,EAAAA,WAAW,GAAGC,MAAM,CAA0BC,UAAU,CAAC;AACzDC,EAAAA,SAAS,GAAGF,MAAM,CAAWG,QAAQ,CAAC;AACtCC,EAAAA,eAAe,GAAGJ,MAAM,CAACK,cAAc,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1DC,EAAAA,MAAM,GAAGP,MAAM,CAACQ,SAAS,EAAE;AAACF,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;EAE5CG,gBAAgB,GAAGT,MAAM,CAACU,YAAY,CAAC,CAACC,KAAK,CAAC,6BAA6B,CAAC;EACrFC,UAAU;EACVC,aAAa;AAGbC,EAAAA,WAAW,GAAiB,EAAE;AAC9BC,EAAAA,SAAS,GAAiB,EAAE;AAC5BC,EAAAA,YAAY,GAAiB,EAAE;AAC/BC,EAAAA,YAAY,GAAiB,EAAE;AAEvCC,EAAAA,QAAQA,GAAA;AACN,IAAA,IAAI,CAACnB,WAAW,CAACoB,aAAa,CAACC,SAAS,CAACC,GAAG,CAAC,IAAI,CAACZ,gBAAgB,CAAC;AACnE,IAAA,IAAI,CAACG,UAAU,GAAGU,cAAc,CAAC,IAAI,CAACvB,WAAW,CAACoB,aAAa,CAA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EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAe;AAAA,GAAA,CAAA;;;;;UAA7BD,6BAA6B;IAAAE,OAAA,EAAA,CAH9B5E,uBAAuB,CAAA;IAAA6E,OAAA,EAAA,CACvB7E,uBAAuB;AAAA,GAAA,CAAA;;;;;UAEtB0E;AAA6B,GAAA,CAAA;;;;;;QAA7BA,6BAA6B;AAAAJ,EAAAA,UAAA,EAAA,CAAA;UAJzCK,QAAQ;AAACJ,IAAAA,IAAA,EAAA,CAAA;MACRK,OAAO,EAAE,CAAC5E,uBAAuB,CAAC;MAClC6E,OAAO,EAAE,CAAC7E,uBAAuB;KAClC;;;;;;"}
|
|
1
|
+
{"version":3,"file":"table-scroll-container.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/cdk-experimental/table-scroll-container/table-scroll-container-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 {CSP_NONCE, Directive, ElementRef, OnDestroy, OnInit, inject, DOCUMENT} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\n\nimport {Directionality} from '@angular/cdk/bidi';\nimport {_getShadowRoot} from '@angular/cdk/platform';\nimport {\n STICKY_POSITIONING_LISTENER,\n StickyPositioningListener,\n StickySize,\n StickyUpdate,\n} from '@angular/cdk/table';\n\n/**\n * Applies styles to the host element that make its scrollbars match up with\n * the non-sticky scrollable portions of the CdkTable contained within.\n *\n * This visual effect only works in Webkit and Blink based browsers (eg Chrome,\n * Safari, Edge). Other browsers such as Firefox will gracefully degrade to\n * normal scrollbar appearance.\n * Further note: These styles have no effect when the browser is using OS-default\n * scrollbars. The easiest way to force them into custom mode is to specify width\n * and height for the scrollbar and thumb.\n */\n@Directive({\n selector: '[cdkTableScrollContainer]',\n host: {\n 'class': 'cdk-table-scroll-container',\n },\n providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}],\n})\nexport class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit {\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _document = inject<Document>(DOCUMENT);\n private readonly _directionality = inject(Directionality, {optional: true});\n private readonly _nonce = inject(CSP_NONCE, {optional: true});\n\n private readonly _uniqueClassName = inject(_IdGenerator).getId('cdk-table-scroll-container-');\n private _styleRoot!: Node;\n private _styleElement?: HTMLStyleElement;\n\n /** The most recent sticky column size values from the CdkTable. */\n private _startSizes: StickySize[] = [];\n private _endSizes: StickySize[] = [];\n private _headerSizes: StickySize[] = [];\n private _footerSizes: StickySize[] = [];\n\n ngOnInit() {\n this._elementRef.nativeElement.classList.add(this._uniqueClassName);\n this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head;\n }\n\n ngOnDestroy(): void {\n this._styleElement?.remove();\n this._styleElement = undefined;\n }\n\n stickyColumnsUpdated({sizes}: StickyUpdate): void {\n this._startSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyEndColumnsUpdated({sizes}: StickyUpdate): void {\n this._endSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyHeaderRowsUpdated({sizes}: StickyUpdate): void {\n this._headerSizes = sizes;\n this._updateScrollbar();\n }\n\n stickyFooterRowsUpdated({sizes}: StickyUpdate): void {\n this._footerSizes = sizes;\n this._updateScrollbar();\n }\n\n /**\n * Set padding on the scrollbar track based on the sticky states from CdkTable.\n */\n private _updateScrollbar(): void {\n const topMargin = computeMargin(this._headerSizes);\n const bottomMargin = computeMargin(this._footerSizes);\n const startMargin = computeMargin(this._startSizes);\n const endMargin = computeMargin(this._endSizes);\n\n if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) {\n this._clearCss();\n return;\n }\n\n const direction = this._directionality ? this._directionality.value : 'ltr';\n const leftMargin = direction === 'rtl' ? endMargin : startMargin;\n const rightMargin = direction === 'rtl' ? startMargin : endMargin;\n\n this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`);\n }\n\n /** Gets the stylesheet for the scrollbar styles and creates it if need be. */\n private _getStyleSheet(): CSSStyleSheet {\n if (!this._styleElement) {\n this._styleElement = this._document.createElement('style');\n\n if (this._nonce) {\n this._styleElement.setAttribute('nonce', this._nonce);\n }\n\n this._styleRoot.appendChild(this._styleElement);\n }\n\n return this._styleElement.sheet as CSSStyleSheet;\n }\n\n /** Updates the stylesheet with the specified scrollbar style. */\n private _applyCss(value: string) {\n this._clearCss();\n\n const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`;\n this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0);\n }\n\n private _clearCss() {\n const styleSheet = this._getStyleSheet();\n if (styleSheet.cssRules.length > 0) {\n styleSheet.deleteRule(0);\n }\n }\n}\n\nfunction computeMargin(sizes: (number | null | undefined)[]): number {\n let margin = 0;\n for (const size of sizes) {\n if (size == null) {\n break;\n }\n margin += size;\n }\n return margin;\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 {CdkTableScrollContainer} from './table-scroll-container';\n\n@NgModule({\n imports: [CdkTableScrollContainer],\n exports: [CdkTableScrollContainer],\n})\nexport class CdkTableScrollContainerModule {}\n"],"names":["CdkTableScrollContainer","_elementRef","inject","ElementRef","_document","DOCUMENT","_directionality","Directionality","optional","_nonce","CSP_NONCE","_uniqueClassName","_IdGenerator","getId","_styleRoot","_styleElement","_startSizes","_endSizes","_headerSizes","_footerSizes","ngOnInit","nativeElement","classList","add","_getShadowRoot","head","ngOnDestroy","remove","undefined","stickyColumnsUpdated","sizes","_updateScrollbar","stickyEndColumnsUpdated","stickyHeaderRowsUpdated","stickyFooterRowsUpdated","topMargin","computeMargin","bottomMargin","startMargin","endMargin","_clearCss","direction","value","leftMargin","rightMargin","_applyCss","_getStyleSheet","createElement","setAttribute","appendChild","sheet","selector","insertRule","styleSheet","cssRules","length","deleteRule","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","host","classAttribute","providers","provide","STICKY_POSITIONING_LISTENER","useExisting","ngImport","decorators","args","margin","size","CdkTableScrollContainerModule","NgModule","imports","exports"],"mappings":";;;;;;;MAsCaA,uBAAuB,CAAA;AACjBC,EAAAA,WAAW,GAAGC,MAAM,CAA0BC,UAAU,CAAC;AACzDC,EAAAA,SAAS,GAAGF,MAAM,CAAWG,QAAQ,CAAC;AACtCC,EAAAA,eAAe,GAAGJ,MAAM,CAACK,cAAc,EAAE;AAACC,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;AAC1DC,EAAAA,MAAM,GAAGP,MAAM,CAACQ,SAAS,EAAE;AAACF,IAAAA,QAAQ,EAAE;AAAI,GAAC,CAAC;EAE5CG,gBAAgB,GAAGT,MAAM,CAACU,YAAY,CAAC,CAACC,KAAK,CAAC,6BAA6B,CAAC;EACrFC,UAAU;EACVC,aAAa;AAGbC,EAAAA,WAAW,GAAiB,EAAE;AAC9BC,EAAAA,SAAS,GAAiB,EAAE;AAC5BC,EAAAA,YAAY,GAAiB,EAAE;AAC/BC,EAAAA,YAAY,GAAiB,EAAE;AAEvCC,EAAAA,QAAQA,GAAA;AACN,IAAA,IAAI,CAACnB,WAAW,CAACoB,aAAa,CAACC,SAAS,CAACC,GAAG,CAAC,IAAI,CAACZ,gBAAgB,CAAC;AACnE,IAAA,IAAI,CAACG,UAAU,GAAGU,cAAc,CAAC,IAAI,CAACvB,WAAW,CAACoB,aAAa,CAAC,IAAI,IAAI,CAACjB,SAAS,CAACqB,IAAI;AACzF,EAAA;AAEAC,EAAAA,WAAWA,GAAA;AACT,IAAA,IAAI,CAACX,aAAa,EAAEY,MAAM,EAAE;IAC5B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B,CAAA;IAAA6E,OAAA,EAAA,CACvB7E,uBAAuB;AAAA,GAAA,CAAA;;;;;UAEtB0E;AAA6B,GAAA,CAAA;;;;;;QAA7BA,6BAA6B;AAAAJ,EAAAA,UAAA,EAAA,CAAA;UAJzCK,QAAQ;AAACJ,IAAAA,IAAA,EAAA,CAAA;MACRK,OAAO,EAAE,CAAC5E,uBAAuB,CAAC;MAClC6E,OAAO,EAAE,CAAC7E,uBAAuB;KAClC;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/cdk-experimental",
|
|
3
|
-
"version": "22.0.0-next.
|
|
3
|
+
"version": "22.0.0-next.8",
|
|
4
4
|
"description": "Experimental components for Angular CDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/angular/components#readme",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/cdk": "22.0.0-next.
|
|
15
|
+
"@angular/cdk": "22.0.0-next.8",
|
|
16
16
|
"@angular/core": "^22.0.0-0 || ^22.1.0-0 || ^22.2.0-0 || ^22.3.0-0 || ^23.0.0-0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/types/popover-edit.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Subject, Observable, PartialObserver } from 'rxjs';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { OnDestroy, ElementRef, OnInit, EventEmitter, NgZone, AfterViewInit, ViewContainerRef, TemplateRef, EmbeddedViewRef } from '@angular/core';
|
|
3
|
+
import { OnDestroy, ElementRef, OnInit, EventEmitter, NgZone, Injector, AfterViewInit, ViewContainerRef, TemplateRef, EmbeddedViewRef } from '@angular/core';
|
|
4
4
|
import { Directionality } from '@angular/cdk/bidi';
|
|
5
5
|
import * as i1 from '@angular/cdk/overlay';
|
|
6
6
|
import { OverlayRef } from '@angular/cdk/overlay';
|
|
@@ -276,7 +276,7 @@ declare enum FocusEscapeNotifierDirection {
|
|
|
276
276
|
*/
|
|
277
277
|
declare class FocusEscapeNotifier extends FocusTrap {
|
|
278
278
|
private readonly _escapeSubject;
|
|
279
|
-
constructor(element: HTMLElement, checker: InteractivityChecker, ngZone: NgZone, document: Document);
|
|
279
|
+
constructor(element: HTMLElement, checker: InteractivityChecker, ngZone: NgZone, document: Document, injector: Injector);
|
|
280
280
|
escapes(): Observable<FocusEscapeNotifierDirection>;
|
|
281
281
|
}
|
|
282
282
|
/** Factory that allows easy instantiation of focus escape notifiers. */
|
|
@@ -284,6 +284,7 @@ declare class FocusEscapeNotifierFactory {
|
|
|
284
284
|
private _checker;
|
|
285
285
|
private _ngZone;
|
|
286
286
|
private _document;
|
|
287
|
+
private _injector;
|
|
287
288
|
/**
|
|
288
289
|
* Creates a focus escape notifier region around the given element.
|
|
289
290
|
* @param element The element around which focus will be monitored.
|