@angular/cdk 20.2.0-next.1 → 20.2.0-next.3
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/index.d.ts +8 -8
- package/{a11y-module.d--J1yhM7R.d.ts → a11y-module.d.d.ts} +3 -3
- package/accordion/index.d.ts +1 -1
- package/{activedescendant-key-manager.d-DLNLWTtr.d.ts → activedescendant-key-manager.d.d.ts} +3 -3
- package/bidi/index.d.ts +1 -1
- package/{bidi-module.d-IN1Vp56w.d.ts → bidi-module.d.d.ts} +2 -2
- package/coercion/index.d.ts +1 -1
- package/collections/index.d.ts +7 -7
- package/{data-source.d-Bblv7Zvh.d.ts → data-source.d.d.ts} +2 -2
- package/dialog/index.d.ts +11 -11
- package/drag-drop/index.d.ts +5 -5
- package/fesm2022/{a11y-module-i3TQk2dk.mjs → a11y-module.mjs} +29 -29
- package/fesm2022/a11y-module.mjs.map +1 -0
- package/fesm2022/a11y.mjs +28 -28
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-Uaf4ZFAJ.mjs → activedescendant-key-manager.mjs} +3 -3
- package/fesm2022/activedescendant-key-manager.mjs.map +1 -0
- package/fesm2022/{array-I1yfCXUO.mjs → array.mjs} +2 -2
- package/fesm2022/array.mjs.map +1 -0
- package/fesm2022/bidi.mjs +9 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{breakpoints-observer-B9oGujtp.mjs → breakpoints-observer.mjs} +10 -10
- package/fesm2022/breakpoints-observer.mjs.map +1 -0
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs +3 -3
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +5 -5
- package/fesm2022/{css-pixel-value-C_HEqLhI.mjs → css-pixel-value.mjs} +2 -2
- package/fesm2022/css-pixel-value.mjs.map +1 -0
- package/fesm2022/{data-source-D34wiQZj.mjs → data-source.mjs} +2 -2
- package/fesm2022/data-source.mjs.map +1 -0
- package/fesm2022/dialog.mjs +29 -29
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-Cbl-1nFG.mjs → directionality.mjs} +5 -5
- package/fesm2022/directionality.mjs.map +1 -0
- package/fesm2022/{dispose-view-repeater-strategy-Cvpav0PR.mjs → dispose-view-repeater-strategy.mjs} +3 -3
- package/fesm2022/dispose-view-repeater-strategy.mjs.map +1 -0
- package/fesm2022/drag-drop.mjs +48 -46
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-x4z00URv.mjs → element.mjs} +2 -2
- package/fesm2022/element.mjs.map +1 -0
- package/fesm2022/{fake-event-detection-DWOdFTFz.mjs → fake-event-detection.mjs} +2 -2
- package/fesm2022/fake-event-detection.mjs.map +1 -0
- package/fesm2022/{focus-key-manager-C8nuVjSq.mjs → focus-key-manager.mjs} +3 -3
- package/fesm2022/focus-key-manager.mjs.map +1 -0
- package/fesm2022/{focus-monitor-CprcLT6A.mjs → focus-monitor.mjs} +17 -17
- package/fesm2022/focus-monitor.mjs.map +1 -0
- package/fesm2022/{id-generator-CeVEEGXw.mjs → id-generator.mjs} +5 -5
- package/fesm2022/id-generator.mjs.map +1 -0
- package/fesm2022/keycodes.mjs +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/{keycodes-CpHkExLC.mjs → keycodes2.mjs} +2 -2
- package/fesm2022/keycodes2.mjs.map +1 -0
- package/fesm2022/layout.mjs +7 -7
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-BPo6sXWX.mjs → list-key-manager.mjs} +4 -4
- package/fesm2022/list-key-manager.mjs.map +1 -0
- package/fesm2022/listbox.mjs +24 -21
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +70 -70
- 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 +14 -14
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-CMC8dXNw.mjs → overlay-module.mjs} +46 -46
- package/fesm2022/overlay-module.mjs.map +1 -0
- package/fesm2022/overlay.mjs +18 -18
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{passive-listeners-esHZRgIN.mjs → passive-listeners.mjs} +2 -2
- package/fesm2022/passive-listeners.mjs.map +1 -0
- package/fesm2022/platform.mjs +9 -9
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/{platform-BWwIqQ_X.mjs → platform2.mjs} +5 -5
- package/fesm2022/platform2.mjs.map +1 -0
- package/fesm2022/portal.mjs +16 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +4 -4
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/{recycle-view-repeater-strategy-SfuyU210.mjs → recycle-view-repeater-strategy.mjs} +3 -3
- package/fesm2022/recycle-view-repeater-strategy.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +41 -41
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/{scrolling-BkvA05C8.mjs → scrolling2.mjs} +2 -2
- package/fesm2022/scrolling2.mjs.map +1 -0
- package/fesm2022/{selection-model-BCgC8uEN.mjs → selection-model.mjs} +2 -2
- package/fesm2022/selection-model.mjs.map +1 -0
- package/fesm2022/{shadow-dom-B0oHn41l.mjs → shadow-dom.mjs} +2 -2
- package/fesm2022/shadow-dom.mjs.map +1 -0
- package/fesm2022/stepper.mjs +29 -29
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-BTuU6vCe.mjs → style-loader.mjs} +5 -5
- package/fesm2022/style-loader.mjs.map +1 -0
- package/fesm2022/table.mjs +81 -81
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{test-environment-CT0XxPyp.mjs → test-environment.mjs} +2 -2
- package/fesm2022/test-environment.mjs.map +1 -0
- 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 +19 -19
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/{tree-key-manager-KnCoIkIC.mjs → tree-key-manager.mjs} +3 -3
- package/fesm2022/tree-key-manager.mjs.map +1 -0
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{typeahead-9ZW4Dtsf.mjs → typeahead.mjs} +3 -3
- package/fesm2022/typeahead.mjs.map +1 -0
- package/fesm2022/{unique-selection-dispatcher-CSFLc-6k.mjs → unique-selection-dispatcher.mjs} +5 -5
- package/fesm2022/unique-selection-dispatcher.mjs.map +1 -0
- package/{focus-key-manager.d-DBw2_DcY.d.ts → focus-key-manager.d.d.ts} +4 -4
- package/{focus-monitor.d-2iZxjw4R.d.ts → focus-monitor.d.d.ts} +2 -2
- package/{harness-environment.d-C-TBj7IN.d.ts → harness-environment.d.d.ts} +2 -2
- package/{list-key-manager.d-CkFcwXee.d.ts → list-key-manager.d.d.ts} +2 -2
- package/listbox/index.d.ts +4 -3
- package/menu/index.d.ts +11 -11
- package/{number-property.d-CJVxXUcb.d.ts → number-property.d.d.ts} +2 -2
- package/observers/index.d.ts +1 -1
- package/overlay/index.d.ts +10 -10
- package/{overlay-module.d-BvvR6Y05.d.ts → overlay-module.d.d.ts} +7 -7
- package/package.json +1 -1
- package/platform/index.d.ts +1 -1
- package/{platform.d-B3vREl3q.d.ts → platform.d.d.ts} +1 -1
- package/portal/index.d.ts +2 -2
- package/{portal-directives.d-DbeNrI5D.d.ts → portal-directives.d.d.ts} +2 -2
- package/private/index.d.ts +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/scrolling/index.d.ts +4 -4
- package/{scrolling-module.d-3Rw5UxLk.d.ts → scrolling-module.d.d.ts} +5 -5
- package/{selection-model.d-DNgOONDg.d.ts → selection-model.d.d.ts} +2 -2
- package/stepper/index.d.ts +4 -4
- package/{style-loader.d-BXZfQZTF.d.ts → style-loader.d.d.ts} +1 -1
- package/table/index.d.ts +5 -5
- package/testing/index.d.ts +1 -1
- package/testing/selenium-webdriver/index.d.ts +1 -1
- package/testing/testbed/index.d.ts +1 -1
- package/text-field/index.d.ts +1 -1
- package/tree/index.d.ts +3 -3
- package/{tree-key-manager-strategy.d-XB6M79l-.d.ts → tree-key-manager-strategy.d.d.ts} +1 -1
- package/{unique-selection-dispatcher.d-DSFqf1MM.d.ts → unique-selection-dispatcher.d.d.ts} +2 -2
- package/{view-repeater.d-DUdkOYhk.d.ts → view-repeater.d.d.ts} +2 -2
- package/fesm2022/a11y-module-i3TQk2dk.mjs.map +0 -1
- package/fesm2022/activedescendant-key-manager-Uaf4ZFAJ.mjs.map +0 -1
- package/fesm2022/array-I1yfCXUO.mjs.map +0 -1
- package/fesm2022/breakpoints-observer-B9oGujtp.mjs.map +0 -1
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +0 -1
- package/fesm2022/data-source-D34wiQZj.mjs.map +0 -1
- package/fesm2022/directionality-Cbl-1nFG.mjs.map +0 -1
- package/fesm2022/dispose-view-repeater-strategy-Cvpav0PR.mjs.map +0 -1
- package/fesm2022/element-x4z00URv.mjs.map +0 -1
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +0 -1
- package/fesm2022/focus-key-manager-C8nuVjSq.mjs.map +0 -1
- package/fesm2022/focus-monitor-CprcLT6A.mjs.map +0 -1
- package/fesm2022/id-generator-CeVEEGXw.mjs.map +0 -1
- package/fesm2022/keycodes-CpHkExLC.mjs.map +0 -1
- package/fesm2022/list-key-manager-BPo6sXWX.mjs.map +0 -1
- package/fesm2022/overlay-module-CMC8dXNw.mjs.map +0 -1
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +0 -1
- package/fesm2022/platform-BWwIqQ_X.mjs.map +0 -1
- package/fesm2022/recycle-view-repeater-strategy-SfuyU210.mjs.map +0 -1
- package/fesm2022/scrolling-BkvA05C8.mjs.map +0 -1
- package/fesm2022/selection-model-BCgC8uEN.mjs.map +0 -1
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +0 -1
- package/fesm2022/style-loader-BTuU6vCe.mjs.map +0 -1
- package/fesm2022/test-environment-CT0XxPyp.mjs.map +0 -1
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +0 -1
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +0 -1
- package/fesm2022/unique-selection-dispatcher-CSFLc-6k.mjs.map +0 -1
|
@@ -65,13 +65,13 @@ class Directionality {
|
|
|
65
65
|
ngOnDestroy() {
|
|
66
66
|
this.change.complete();
|
|
67
67
|
}
|
|
68
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
69
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
68
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: Directionality, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
69
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: Directionality, providedIn: 'root' });
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: Directionality, decorators: [{
|
|
72
72
|
type: Injectable,
|
|
73
73
|
args: [{ providedIn: 'root' }]
|
|
74
74
|
}], ctorParameters: () => [] });
|
|
75
75
|
|
|
76
|
-
export { Directionality
|
|
77
|
-
//# sourceMappingURL=directionality
|
|
76
|
+
export { DIR_DOCUMENT, Directionality, _resolveDirectionality };
|
|
77
|
+
//# sourceMappingURL=directionality.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directionality.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/bidi/dir-document-token.ts","../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/bidi/directionality.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, InjectionToken, DOCUMENT} from '@angular/core';\n\n/**\n * Injection token used to inject the document into Directionality.\n * This is used so that the value can be faked in tests.\n *\n * We can't use the real document in tests because changing the real `dir` causes geometry-based\n * tests in Safari to fail.\n *\n * We also can't re-provide the DOCUMENT token from platform-browser because the unit tests\n * themselves use things like `querySelector` in test code.\n *\n * This token is defined in a separate file from Directionality as a workaround for\n * https://github.com/angular/angular/issues/22559\n *\n * @docs-private\n */\nexport const DIR_DOCUMENT = new InjectionToken<Document>('cdk-dir-doc', {\n providedIn: 'root',\n factory: DIR_DOCUMENT_FACTORY,\n});\n\n/**\n * @docs-private\n * @deprecated No longer used, will be removed.\n * @breaking-change 21.0.0\n */\nexport function DIR_DOCUMENT_FACTORY(): Document {\n return inject(DOCUMENT);\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 {EventEmitter, Injectable, OnDestroy, inject, signal} from '@angular/core';\nimport {DIR_DOCUMENT} from './dir-document-token';\n\nexport type Direction = 'ltr' | 'rtl';\n\n/** Regex that matches locales with an RTL script. Taken from `goog.i18n.bidi.isRtlLanguage`. */\nconst RTL_LOCALE_PATTERN =\n /^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;\n\n/** Resolves a string value to a specific direction. */\nexport function _resolveDirectionality(rawValue: string): Direction {\n const value = rawValue?.toLowerCase() || '';\n\n if (value === 'auto' && typeof navigator !== 'undefined' && navigator?.language) {\n return RTL_LOCALE_PATTERN.test(navigator.language) ? 'rtl' : 'ltr';\n }\n\n return value === 'rtl' ? 'rtl' : 'ltr';\n}\n\n/**\n * The directionality (LTR / RTL) context for the application (or a subtree of it).\n * Exposes the current direction and a stream of direction changes.\n */\n@Injectable({providedIn: 'root'})\nexport class Directionality implements OnDestroy {\n /** The current 'ltr' or 'rtl' value. */\n get value() {\n return this.valueSignal();\n }\n\n /**\n * The current 'ltr' or 'rtl' value.\n */\n readonly valueSignal = signal<Direction>('ltr');\n\n /** Stream that emits whenever the 'ltr' / 'rtl' state changes. */\n readonly change = new EventEmitter<Direction>();\n\n constructor(...args: unknown[]);\n\n constructor() {\n const _document = inject(DIR_DOCUMENT, {optional: true});\n\n if (_document) {\n const bodyDir = _document.body ? _document.body.dir : null;\n const htmlDir = _document.documentElement ? _document.documentElement.dir : null;\n this.valueSignal.set(_resolveDirectionality(bodyDir || htmlDir || 'ltr'));\n }\n }\n\n ngOnDestroy() {\n this.change.complete();\n }\n}\n"],"names":[],"mappings":";;;AAUA;;;;;;;;;;;;;;AAcG;MACU,YAAY,GAAG,IAAI,cAAc,CAAW,aAAa,EAAE;AACtE,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,oBAAoB;AAC9B,CAAA;AAED;;;;AAIG;SACa,oBAAoB,GAAA;AAClC,IAAA,OAAO,MAAM,CAAC,QAAQ,CAAC;AACzB;;ACxBA;AACA,MAAM,kBAAkB,GACtB,oHAAoH;AAEtH;AACM,SAAU,sBAAsB,CAAC,QAAgB,EAAA;IACrD,MAAM,KAAK,GAAG,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE;AAE3C,IAAA,IAAI,KAAK,KAAK,MAAM,IAAI,OAAO,SAAS,KAAK,WAAW,IAAI,SAAS,EAAE,QAAQ,EAAE;AAC/E,QAAA,OAAO,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,GAAG,KAAK,GAAG,KAAK;;IAGpE,OAAO,KAAK,KAAK,KAAK,GAAG,KAAK,GAAG,KAAK;AACxC;AAEA;;;AAGG;MAEU,cAAc,CAAA;;AAEzB,IAAA,IAAI,KAAK,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;;AAG3B;;AAEG;AACM,IAAA,WAAW,GAAG,MAAM,CAAY,KAAK,uDAAC;;AAGtC,IAAA,MAAM,GAAG,IAAI,YAAY,EAAa;AAI/C,IAAA,WAAA,GAAA;AACE,QAAA,MAAM,SAAS,GAAG,MAAM,CAAC,YAAY,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;QAExD,IAAI,SAAS,EAAE;AACb,YAAA,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,GAAG,IAAI;AAC1D,YAAA,MAAM,OAAO,GAAG,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,GAAG,IAAI;AAChF,YAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,sBAAsB,CAAC,OAAO,IAAI,OAAO,IAAI,KAAK,CAAC,CAAC;;;IAI7E,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;;8GA3Bb,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAd,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cADF,MAAM,EAAA,CAAA;;kGAClB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
package/fesm2022/{dispose-view-repeater-strategy-Cvpav0PR.mjs → dispose-view-repeater-strategy.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ViewRepeaterOperation } from './recycle-view-repeater-strategy.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A repeater that destroys views when they are removed from a
|
|
@@ -40,5 +40,5 @@ class _DisposeViewRepeaterStrategy {
|
|
|
40
40
|
detach() { }
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export { _DisposeViewRepeaterStrategy
|
|
44
|
-
//# sourceMappingURL=dispose-view-repeater-strategy
|
|
43
|
+
export { _DisposeViewRepeaterStrategy };
|
|
44
|
+
//# sourceMappingURL=dispose-view-repeater-strategy.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispose-view-repeater-strategy.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-46c76129e412/bin/src/cdk/collections/dispose-view-repeater-strategy.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 EmbeddedViewRef,\n IterableChangeRecord,\n IterableChanges,\n ViewContainerRef,\n} from '@angular/core';\nimport {\n _ViewRepeater,\n _ViewRepeaterItemChanged,\n _ViewRepeaterItemContext,\n _ViewRepeaterItemContextFactory,\n _ViewRepeaterItemValueResolver,\n _ViewRepeaterOperation,\n} from './view-repeater';\n\n/**\n * A repeater that destroys views when they are removed from a\n * `ViewContainerRef`. When new items are inserted into the container,\n * the repeater will always construct a new embedded view for each item.\n *\n * @template T The type for the embedded view's $implicit property.\n * @template R The type for the item in each IterableDiffer change record.\n * @template C The type for the context passed to each embedded view.\n */\nexport class _DisposeViewRepeaterStrategy<T, R, C extends _ViewRepeaterItemContext<T>>\n implements _ViewRepeater<T, R, C>\n{\n applyChanges(\n changes: IterableChanges<R>,\n viewContainerRef: ViewContainerRef,\n itemContextFactory: _ViewRepeaterItemContextFactory<T, R, C>,\n itemValueResolver: _ViewRepeaterItemValueResolver<T, R>,\n itemViewChanged?: _ViewRepeaterItemChanged<R, C>,\n ) {\n changes.forEachOperation(\n (\n record: IterableChangeRecord<R>,\n adjustedPreviousIndex: number | null,\n currentIndex: number | null,\n ) => {\n let view: EmbeddedViewRef<C> | undefined;\n let operation: _ViewRepeaterOperation;\n if (record.previousIndex == null) {\n const insertContext = itemContextFactory(record, adjustedPreviousIndex, currentIndex);\n view = viewContainerRef.createEmbeddedView(\n insertContext.templateRef,\n insertContext.context,\n insertContext.index,\n );\n operation = _ViewRepeaterOperation.INSERTED;\n } else if (currentIndex == null) {\n viewContainerRef.remove(adjustedPreviousIndex!);\n operation = _ViewRepeaterOperation.REMOVED;\n } else {\n view = viewContainerRef.get(adjustedPreviousIndex!) as EmbeddedViewRef<C>;\n viewContainerRef.move(view!, currentIndex);\n operation = _ViewRepeaterOperation.MOVED;\n }\n\n if (itemViewChanged) {\n itemViewChanged({\n context: view?.context,\n operation,\n record,\n });\n }\n },\n );\n }\n\n detach() {}\n}\n"],"names":[],"mappings":";;AAuBA;;;;;;;;AAQG;MACU,4BAA4B,CAAA;IAGvC,YAAY,CACV,OAA2B,EAC3B,gBAAkC,EAClC,kBAA4D,EAC5D,iBAAuD,EACvD,eAAgD,EAAA;QAEhD,OAAO,CAAC,gBAAgB,CACtB,CACE,MAA+B,EAC/B,qBAAoC,EACpC,YAA2B,KACzB;AACF,YAAA,IAAI,IAAoC;AACxC,YAAA,IAAI,SAAiC;AACrC,YAAA,IAAI,MAAM,CAAC,aAAa,IAAI,IAAI,EAAE;gBAChC,MAAM,aAAa,GAAG,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,EAAE,YAAY,CAAC;AACrF,gBAAA,IAAI,GAAG,gBAAgB,CAAC,kBAAkB,CACxC,aAAa,CAAC,WAAW,EACzB,aAAa,CAAC,OAAO,EACrB,aAAa,CAAC,KAAK,CACpB;AACD,gBAAA,SAAS,GAAG,sBAAsB,CAAC,QAAQ;;AACtC,iBAAA,IAAI,YAAY,IAAI,IAAI,EAAE;AAC/B,gBAAA,gBAAgB,CAAC,MAAM,CAAC,qBAAsB,CAAC;AAC/C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,OAAO;;iBACrC;AACL,gBAAA,IAAI,GAAG,gBAAgB,CAAC,GAAG,CAAC,qBAAsB,CAAuB;AACzE,gBAAA,gBAAgB,CAAC,IAAI,CAAC,IAAK,EAAE,YAAY,CAAC;AAC1C,gBAAA,SAAS,GAAG,sBAAsB,CAAC,KAAK;;YAG1C,IAAI,eAAe,EAAE;AACnB,gBAAA,eAAe,CAAC;oBACd,OAAO,EAAE,IAAI,EAAE,OAAO;oBACtB,SAAS;oBACT,MAAM;AACP,iBAAA,CAAC;;AAEN,SAAC,CACF;;AAGH,IAAA,MAAM;AACP;;;;"}
|
package/fesm2022/drag-drop.mjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { signal, Component, ViewEncapsulation, ChangeDetectionStrategy, inject, NgZone, DOCUMENT, RendererFactory2, Injectable, InjectionToken, ElementRef, booleanAttribute, Directive, Input, ViewContainerRef, ChangeDetectorRef, EventEmitter, Injector, afterNextRender, numberAttribute, Output, TemplateRef, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject, Subscription, interval, animationFrameScheduler, Observable, merge, BehaviorSubject } from 'rxjs';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { _getEventTarget, _getShadowRoot } from './shadow-dom.mjs';
|
|
5
|
+
import { isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader } from './fake-event-detection.mjs';
|
|
6
|
+
import { coerceElement, coerceNumberProperty } from './element.mjs';
|
|
7
7
|
import { takeUntil, map, take, tap, switchMap, startWith } from 'rxjs/operators';
|
|
8
|
-
import {
|
|
8
|
+
import { _CdkPrivateStyleLoader } from './style-loader.mjs';
|
|
9
9
|
import { ViewportRuler, ScrollDispatcher, CdkScrollableModule } from './scrolling.mjs';
|
|
10
10
|
export { CdkScrollable as ɵɵCdkScrollable } from './scrolling.mjs';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import './
|
|
11
|
+
import { Directionality } from './directionality.mjs';
|
|
12
|
+
import { _IdGenerator } from './id-generator.mjs';
|
|
13
|
+
import { coerceArray } from './array.mjs';
|
|
14
|
+
import './platform2.mjs';
|
|
15
15
|
import '@angular/common';
|
|
16
|
-
import './
|
|
16
|
+
import './scrolling2.mjs';
|
|
17
17
|
import './bidi.mjs';
|
|
18
|
-
import './recycle-view-repeater-strategy
|
|
19
|
-
import './data-source
|
|
18
|
+
import './recycle-view-repeater-strategy.mjs';
|
|
19
|
+
import './data-source.mjs';
|
|
20
20
|
|
|
21
21
|
/** Creates a deep clone of an element. */
|
|
22
22
|
function deepCloneNode(node) {
|
|
@@ -2222,6 +2222,12 @@ class MixedSortStrategy {
|
|
|
2222
2222
|
* out automatically.
|
|
2223
2223
|
*/
|
|
2224
2224
|
enter(item, pointerX, pointerY, index) {
|
|
2225
|
+
// Remove the item from current set of items first so that it doesn't throw off the indexes
|
|
2226
|
+
// further down in this method. See https://github.com/angular/components/issues/31505
|
|
2227
|
+
const currentIndex = this._activeItems.indexOf(item);
|
|
2228
|
+
if (currentIndex > -1) {
|
|
2229
|
+
this._activeItems.splice(currentIndex, 1);
|
|
2230
|
+
}
|
|
2225
2231
|
let enterIndex = index == null || index < 0
|
|
2226
2232
|
? this._getItemIndexFromPointerPosition(item, pointerX, pointerY)
|
|
2227
2233
|
: index;
|
|
@@ -2232,10 +2238,6 @@ class MixedSortStrategy {
|
|
|
2232
2238
|
enterIndex = this._getClosestItemIndexToPointer(item, pointerX, pointerY);
|
|
2233
2239
|
}
|
|
2234
2240
|
const targetItem = this._activeItems[enterIndex];
|
|
2235
|
-
const currentIndex = this._activeItems.indexOf(item);
|
|
2236
|
-
if (currentIndex > -1) {
|
|
2237
|
-
this._activeItems.splice(currentIndex, 1);
|
|
2238
|
-
}
|
|
2239
2241
|
if (targetItem && !this._dragDropRegistry.isDragging(targetItem)) {
|
|
2240
2242
|
this._activeItems.splice(enterIndex, 0, item);
|
|
2241
2243
|
targetItem.getRootElement().before(item.getPlaceholderElement());
|
|
@@ -3078,10 +3080,10 @@ const activeCapturingEventOptions = {
|
|
|
3078
3080
|
* @docs-private
|
|
3079
3081
|
*/
|
|
3080
3082
|
class _ResetsLoader {
|
|
3081
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3082
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.
|
|
3083
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: _ResetsLoader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3084
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.2.0-next.2", type: _ResetsLoader, isStandalone: true, selector: "ng-component", host: { attributes: { "cdk-drag-resets-container": "" } }, ngImport: i0, template: '', isInline: true, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3083
3085
|
}
|
|
3084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: _ResetsLoader, decorators: [{
|
|
3085
3087
|
type: Component,
|
|
3086
3088
|
args: [{ encapsulation: ViewEncapsulation.None, template: '', changeDetection: ChangeDetectionStrategy.OnPush, host: { 'cdk-drag-resets-container': '' }, styles: ["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}\n"] }]
|
|
3087
3089
|
}] });
|
|
@@ -3311,10 +3313,10 @@ class DragDropRegistry {
|
|
|
3311
3313
|
this._globalListeners?.forEach(cleanup => cleanup());
|
|
3312
3314
|
this._globalListeners = undefined;
|
|
3313
3315
|
}
|
|
3314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3315
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropRegistry, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3317
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropRegistry, providedIn: 'root' });
|
|
3316
3318
|
}
|
|
3317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropRegistry, decorators: [{
|
|
3318
3320
|
type: Injectable,
|
|
3319
3321
|
args: [{ providedIn: 'root' }]
|
|
3320
3322
|
}], ctorParameters: () => [] });
|
|
@@ -3349,10 +3351,10 @@ class DragDrop {
|
|
|
3349
3351
|
createDropList(element) {
|
|
3350
3352
|
return new DropListRef(element, this._dragDropRegistry, this._document, this._ngZone, this._viewportRuler);
|
|
3351
3353
|
}
|
|
3352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3353
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3354
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDrop, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3355
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDrop, providedIn: 'root' });
|
|
3354
3356
|
}
|
|
3355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDrop, decorators: [{
|
|
3356
3358
|
type: Injectable,
|
|
3357
3359
|
args: [{ providedIn: 'root' }]
|
|
3358
3360
|
}], ctorParameters: () => [] });
|
|
@@ -3422,10 +3424,10 @@ class CdkDragHandle {
|
|
|
3422
3424
|
this._parentDrag?._removeHandle(this);
|
|
3423
3425
|
this._stateChanges.complete();
|
|
3424
3426
|
}
|
|
3425
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3426
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.
|
|
3427
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragHandle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3428
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: CdkDragHandle, isStandalone: true, selector: "[cdkDragHandle]", inputs: { disabled: ["cdkDragHandleDisabled", "disabled", booleanAttribute] }, host: { classAttribute: "cdk-drag-handle" }, providers: [{ provide: CDK_DRAG_HANDLE, useExisting: CdkDragHandle }], ngImport: i0 });
|
|
3427
3429
|
}
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragHandle, decorators: [{
|
|
3429
3431
|
type: Directive,
|
|
3430
3432
|
args: [{
|
|
3431
3433
|
selector: '[cdkDragHandle]',
|
|
@@ -3887,10 +3889,10 @@ class CdkDrag {
|
|
|
3887
3889
|
handleInstance.disabled ? dragRef.disableHandle(handle) : dragRef.enableHandle(handle);
|
|
3888
3890
|
});
|
|
3889
3891
|
}
|
|
3890
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3891
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.
|
|
3892
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDrag, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3893
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: CdkDrag, isStandalone: true, selector: "[cdkDrag]", inputs: { data: ["cdkDragData", "data"], lockAxis: ["cdkDragLockAxis", "lockAxis"], rootElementSelector: ["cdkDragRootElement", "rootElementSelector"], boundaryElement: ["cdkDragBoundary", "boundaryElement"], dragStartDelay: ["cdkDragStartDelay", "dragStartDelay"], freeDragPosition: ["cdkDragFreeDragPosition", "freeDragPosition"], disabled: ["cdkDragDisabled", "disabled", booleanAttribute], constrainPosition: ["cdkDragConstrainPosition", "constrainPosition"], previewClass: ["cdkDragPreviewClass", "previewClass"], previewContainer: ["cdkDragPreviewContainer", "previewContainer"], scale: ["cdkDragScale", "scale", numberAttribute] }, outputs: { started: "cdkDragStarted", released: "cdkDragReleased", ended: "cdkDragEnded", entered: "cdkDragEntered", exited: "cdkDragExited", dropped: "cdkDragDropped", moved: "cdkDragMoved" }, host: { properties: { "class.cdk-drag-disabled": "disabled", "class.cdk-drag-dragging": "_dragRef.isDragging()" }, classAttribute: "cdk-drag" }, providers: [{ provide: CDK_DRAG_PARENT, useExisting: CdkDrag }], exportAs: ["cdkDrag"], usesOnChanges: true, ngImport: i0 });
|
|
3892
3894
|
}
|
|
3893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDrag, decorators: [{
|
|
3894
3896
|
type: Directive,
|
|
3895
3897
|
args: [{
|
|
3896
3898
|
selector: '[cdkDrag]',
|
|
@@ -3978,10 +3980,10 @@ class CdkDropListGroup {
|
|
|
3978
3980
|
ngOnDestroy() {
|
|
3979
3981
|
this._items.clear();
|
|
3980
3982
|
}
|
|
3981
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3982
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.
|
|
3983
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDropListGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3984
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: CdkDropListGroup, isStandalone: true, selector: "[cdkDropListGroup]", inputs: { disabled: ["cdkDropListGroupDisabled", "disabled", booleanAttribute] }, providers: [{ provide: CDK_DROP_LIST_GROUP, useExisting: CdkDropListGroup }], exportAs: ["cdkDropListGroup"], ngImport: i0 });
|
|
3983
3985
|
}
|
|
3984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
3986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDropListGroup, decorators: [{
|
|
3985
3987
|
type: Directive,
|
|
3986
3988
|
args: [{
|
|
3987
3989
|
selector: '[cdkDropListGroup]',
|
|
@@ -4293,14 +4295,14 @@ class CdkDropList {
|
|
|
4293
4295
|
this._latestSortedRefs = items;
|
|
4294
4296
|
this._dropListRef.withItems(items);
|
|
4295
4297
|
}
|
|
4296
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4297
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.
|
|
4298
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDropList, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4299
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: CdkDropList, isStandalone: true, selector: "[cdkDropList], cdk-drop-list", inputs: { connectedTo: ["cdkDropListConnectedTo", "connectedTo"], data: ["cdkDropListData", "data"], orientation: ["cdkDropListOrientation", "orientation"], id: "id", lockAxis: ["cdkDropListLockAxis", "lockAxis"], disabled: ["cdkDropListDisabled", "disabled", booleanAttribute], sortingDisabled: ["cdkDropListSortingDisabled", "sortingDisabled", booleanAttribute], enterPredicate: ["cdkDropListEnterPredicate", "enterPredicate"], sortPredicate: ["cdkDropListSortPredicate", "sortPredicate"], autoScrollDisabled: ["cdkDropListAutoScrollDisabled", "autoScrollDisabled", booleanAttribute], autoScrollStep: ["cdkDropListAutoScrollStep", "autoScrollStep"], elementContainerSelector: ["cdkDropListElementContainer", "elementContainerSelector"], hasAnchor: ["cdkDropListHasAnchor", "hasAnchor", booleanAttribute] }, outputs: { dropped: "cdkDropListDropped", entered: "cdkDropListEntered", exited: "cdkDropListExited", sorted: "cdkDropListSorted" }, host: { properties: { "attr.id": "id", "class.cdk-drop-list-disabled": "disabled", "class.cdk-drop-list-dragging": "_dropListRef.isDragging()", "class.cdk-drop-list-receiving": "_dropListRef.isReceiving()" }, classAttribute: "cdk-drop-list" }, providers: [
|
|
4298
4300
|
// Prevent child drop lists from picking up the same group as their parent.
|
|
4299
4301
|
{ provide: CDK_DROP_LIST_GROUP, useValue: undefined },
|
|
4300
4302
|
{ provide: CDK_DROP_LIST, useExisting: CdkDropList },
|
|
4301
4303
|
], exportAs: ["cdkDropList"], ngImport: i0 });
|
|
4302
4304
|
}
|
|
4303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDropList, decorators: [{
|
|
4304
4306
|
type: Directive,
|
|
4305
4307
|
args: [{
|
|
4306
4308
|
selector: '[cdkDropList], cdk-drop-list',
|
|
@@ -4393,10 +4395,10 @@ class CdkDragPreview {
|
|
|
4393
4395
|
ngOnDestroy() {
|
|
4394
4396
|
this._drag?._resetPreviewTemplate(this);
|
|
4395
4397
|
}
|
|
4396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4397
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.
|
|
4398
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragPreview, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4399
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.2.0-next.2", type: CdkDragPreview, isStandalone: true, selector: "ng-template[cdkDragPreview]", inputs: { data: "data", matchSize: ["matchSize", "matchSize", booleanAttribute] }, providers: [{ provide: CDK_DRAG_PREVIEW, useExisting: CdkDragPreview }], ngImport: i0 });
|
|
4398
4400
|
}
|
|
4399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4401
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragPreview, decorators: [{
|
|
4400
4402
|
type: Directive,
|
|
4401
4403
|
args: [{
|
|
4402
4404
|
selector: 'ng-template[cdkDragPreview]',
|
|
@@ -4430,10 +4432,10 @@ class CdkDragPlaceholder {
|
|
|
4430
4432
|
ngOnDestroy() {
|
|
4431
4433
|
this._drag?._resetPlaceholderTemplate(this);
|
|
4432
4434
|
}
|
|
4433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4434
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.
|
|
4435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragPlaceholder, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4436
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.2.0-next.2", type: CdkDragPlaceholder, isStandalone: true, selector: "ng-template[cdkDragPlaceholder]", inputs: { data: "data" }, providers: [{ provide: CDK_DRAG_PLACEHOLDER, useExisting: CdkDragPlaceholder }], ngImport: i0 });
|
|
4435
4437
|
}
|
|
4436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: CdkDragPlaceholder, decorators: [{
|
|
4437
4439
|
type: Directive,
|
|
4438
4440
|
args: [{
|
|
4439
4441
|
selector: 'ng-template[cdkDragPlaceholder]',
|
|
@@ -4452,8 +4454,8 @@ const DRAG_DROP_DIRECTIVES = [
|
|
|
4452
4454
|
CdkDragPlaceholder,
|
|
4453
4455
|
];
|
|
4454
4456
|
class DragDropModule {
|
|
4455
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4456
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.
|
|
4457
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4458
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropModule, imports: [CdkDropList,
|
|
4457
4459
|
CdkDropListGroup,
|
|
4458
4460
|
CdkDrag,
|
|
4459
4461
|
CdkDragHandle,
|
|
@@ -4464,9 +4466,9 @@ class DragDropModule {
|
|
|
4464
4466
|
CdkDragHandle,
|
|
4465
4467
|
CdkDragPreview,
|
|
4466
4468
|
CdkDragPlaceholder] });
|
|
4467
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4469
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropModule, providers: [DragDrop], imports: [CdkScrollableModule] });
|
|
4468
4470
|
}
|
|
4469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.
|
|
4471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: DragDropModule, decorators: [{
|
|
4470
4472
|
type: NgModule,
|
|
4471
4473
|
args: [{
|
|
4472
4474
|
imports: DRAG_DROP_DIRECTIVES,
|