@angular/cdk 19.2.11 → 19.2.13
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/_adev_assets/cdk_testing.json +1 -0
- package/_adev_assets/cdk_testing_protractor.json +1 -0
- package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
- package/_adev_assets/cdk_testing_testbed.json +1 -0
- package/a11y/index.d.ts +8 -8
- package/{a11y-module.d-DrV0SO0k.d.ts → a11y-module.d-DBHGyKoh.d.ts} +3 -3
- package/accordion/index.d.ts +2 -2
- package/{activedescendant-key-manager.d-DSYvyoT0.d.ts → activedescendant-key-manager.d-Bjic5obv.d.ts} +3 -3
- package/bidi/index.d.ts +1 -1
- package/{bidi-module.d-BSI86Zrk.d.ts → bidi-module.d-D-fEBKdS.d.ts} +2 -2
- package/clipboard/index.d.ts +1 -1
- package/coercion/index.d.ts +1 -1
- package/collections/index.d.ts +7 -7
- package/{data-source.d-DAIyaEMO.d.ts → data-source.d-Bblv7Zvh.d.ts} +2 -2
- package/dialog/index.d.ts +12 -12
- package/drag-drop/index.d.ts +5 -5
- package/fesm2022/{a11y-module-CgaSR12u.mjs → a11y-module-BYox5gpI.mjs} +8 -8
- package/fesm2022/a11y-module-BYox5gpI.mjs.map +1 -0
- package/fesm2022/a11y.mjs +20 -20
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +3 -3
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-BYiHZAZc.mjs → activedescendant-key-manager-DC3-fwQI.mjs} +3 -3
- package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
- package/fesm2022/{array-Hg8isvLj.mjs → array-I1yfCXUO.mjs} +2 -2
- package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
- package/fesm2022/{backwards-compatibility-DYuVCOXM.mjs → backwards-compatibility-DHR38MsD.mjs} +2 -2
- package/fesm2022/backwards-compatibility-DHR38MsD.mjs.map +1 -0
- package/fesm2022/bidi.mjs +3 -3
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{boolean-property-_aCfQwp8.mjs → boolean-property-DaaVhX5A.mjs} +2 -2
- package/fesm2022/boolean-property-DaaVhX5A.mjs.map +1 -0
- package/fesm2022/{breakpoints-observer-CHAS_XA1.mjs → breakpoints-observer-CljOfYGy.mjs} +4 -4
- package/fesm2022/breakpoints-observer-CljOfYGy.mjs.map +1 -0
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +1 -1
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/coercion/private.mjs.map +1 -1
- package/fesm2022/coercion.mjs +4 -4
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/collections.mjs +5 -5
- package/fesm2022/{css-pixel-value-C1yoKJ7R.mjs → css-pixel-value-C_HEqLhI.mjs} +2 -2
- package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
- package/fesm2022/{data-source-CL6Fasig.mjs → data-source-D34wiQZj.mjs} +2 -2
- package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
- package/fesm2022/dialog.mjs +23 -23
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-DPQw3n2b.mjs → directionality-CBXD4hga.mjs} +2 -2
- package/fesm2022/directionality-CBXD4hga.mjs.map +1 -0
- package/fesm2022/{dispose-view-repeater-strategy-BLw1RSwm.mjs → dispose-view-repeater-strategy-D_JReLI1.mjs} +3 -3
- package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
- package/fesm2022/drag-drop.mjs +13 -13
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{element-CpqV8p-X.mjs → element-x4z00URv.mjs} +2 -2
- package/fesm2022/element-x4z00URv.mjs.map +1 -0
- package/fesm2022/{fake-event-detection-D0_6qVp2.mjs → fake-event-detection-DWOdFTFz.mjs} +2 -2
- package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
- package/fesm2022/{focus-key-manager-DgyxYbV2.mjs → focus-key-manager-C1rAQJ5z.mjs} +3 -3
- package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
- package/fesm2022/{focus-monitor-DJ28zFKt.mjs → focus-monitor-e2l_RpN3.mjs} +10 -10
- package/fesm2022/focus-monitor-e2l_RpN3.mjs.map +1 -0
- package/fesm2022/{id-generator-tlPCNuwi.mjs → id-generator-Dw_9dSDu.mjs} +2 -2
- package/fesm2022/id-generator-Dw_9dSDu.mjs.map +1 -0
- package/fesm2022/{keycodes-DPWmI2Ix.mjs → keycodes-CpHkExLC.mjs} +2 -2
- package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
- package/fesm2022/keycodes.mjs +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +3 -3
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-CYBoL_nN.mjs → list-key-manager-CyOIXo8P.mjs} +4 -4
- package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +24 -24
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +2 -2
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-B7ipGu18.mjs → overlay-module-BUj0D19H.mjs} +17 -17
- package/fesm2022/overlay-module-BUj0D19H.mjs.map +1 -0
- package/fesm2022/overlay.mjs +17 -17
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{passive-listeners-ZmZRMx8D.mjs → passive-listeners-esHZRgIN.mjs} +2 -2
- package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
- package/fesm2022/{platform-Do3uqmxu.mjs → platform-DmdVEw_C.mjs} +2 -2
- package/fesm2022/platform-DmdVEw_C.mjs.map +1 -0
- package/fesm2022/platform.mjs +6 -6
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/{portal-directives-CtfZjx5e.mjs → portal-directives-Bw5woq8I.mjs} +3 -3
- package/fesm2022/portal-directives-Bw5woq8I.mjs.map +1 -0
- package/fesm2022/portal.mjs +1 -1
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +2 -2
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/{recycle-view-repeater-strategy-Ce0p4WhD.mjs → recycle-view-repeater-strategy-DoWdPqVw.mjs} +4 -4
- package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
- package/fesm2022/{scrolling-BXVcIfjZ.mjs → scrolling-BkvA05C8.mjs} +2 -2
- package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
- package/fesm2022/scrolling.mjs +7 -7
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/{selection-model-B9K3FAzc.mjs → selection-model-CeeHVIcP.mjs} +2 -2
- package/fesm2022/selection-model-CeeHVIcP.mjs.map +1 -0
- package/fesm2022/{shadow-dom-DFvX9W95.mjs → shadow-dom-B0oHn41l.mjs} +2 -2
- package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
- package/fesm2022/stepper.mjs +20 -14
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-WcmCyO2o.mjs → style-loader-Cu9AvjH9.mjs} +2 -2
- package/fesm2022/style-loader-Cu9AvjH9.mjs.map +1 -0
- package/fesm2022/table.mjs +10 -10
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{test-environment-BgaaXvCA.mjs → test-environment-CT0XxPyp.mjs} +2 -2
- package/fesm2022/test-environment-CT0XxPyp.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 +5 -5
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/{tree-key-manager-DIhQ-v4R.mjs → tree-key-manager-KnCoIkIC.mjs} +4 -4
- package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
- package/fesm2022/tree.mjs +7 -7
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{typeahead-BAa3HZoh.mjs → typeahead-9ZW4Dtsf.mjs} +3 -3
- package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
- package/fesm2022/{unique-selection-dispatcher-Cnrf4muk.mjs → unique-selection-dispatcher-DtHZDqyJ.mjs} +2 -2
- package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs.map +1 -0
- package/{focus-key-manager.d-DCiEwxN7.d.ts → focus-key-manager.d-BIKDy8oD.d.ts} +4 -4
- package/{focus-monitor.d-BBkiOKUH.d.ts → focus-monitor.d-CvvJeQRc.d.ts} +2 -2
- package/{harness-environment.d-ByFLvxZh.d.ts → harness-environment.d-BatBdODN.d.ts} +2 -2
- package/{list-key-manager.d-CylnKWfo.d.ts → list-key-manager.d-BlK3jyRn.d.ts} +2 -2
- package/listbox/index.d.ts +3 -3
- package/menu/index.d.ts +11 -11
- package/npm_package/LICENSE +21 -0
- package/npm_package/README.md +6 -0
- package/npm_package/_adev_assets/cdk_testing.json +1 -0
- package/npm_package/_adev_assets/cdk_testing_protractor.json +1 -0
- package/npm_package/_adev_assets/cdk_testing_selenium_webdriver.json +1 -0
- package/npm_package/_adev_assets/cdk_testing_testbed.json +1 -0
- package/npm_package/_index.scss +8 -0
- package/npm_package/a11y/_index.scss +60 -0
- package/npm_package/a11y/index.d.ts +550 -0
- package/npm_package/a11y-module.d-DBHGyKoh.d.ts +314 -0
- package/npm_package/a11y-prebuilt.css +1 -0
- package/npm_package/accordion/index.d.ts +90 -0
- package/npm_package/activedescendant-key-manager.d-Bjic5obv.d.ts +32 -0
- package/npm_package/bidi/index.d.ts +21 -0
- package/npm_package/bidi-module.d-D-fEBKdS.d.ts +54 -0
- package/npm_package/clipboard/index.d.ts +101 -0
- package/npm_package/coercion/index.d.ts +45 -0
- package/npm_package/coercion/private/index.d.ts +9 -0
- package/npm_package/collections/index.d.ts +99 -0
- package/npm_package/data-source.d-Bblv7Zvh.d.ts +43 -0
- package/npm_package/dialog/index.d.ts +426 -0
- package/npm_package/drag-drop/index.d.ts +1383 -0
- package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs +952 -0
- package/npm_package/fesm2022/a11y-module-BYox5gpI.mjs.map +1 -0
- package/npm_package/fesm2022/a11y.mjs +539 -0
- package/npm_package/fesm2022/a11y.mjs.map +1 -0
- package/npm_package/fesm2022/accordion.mjs +210 -0
- package/npm_package/fesm2022/accordion.mjs.map +1 -0
- package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs +16 -0
- package/npm_package/fesm2022/activedescendant-key-manager-DC3-fwQI.mjs.map +1 -0
- package/npm_package/fesm2022/array-I1yfCXUO.mjs +6 -0
- package/npm_package/fesm2022/array-I1yfCXUO.mjs.map +1 -0
- package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs +25 -0
- package/npm_package/fesm2022/backwards-compatibility-DHR38MsD.mjs.map +1 -0
- package/npm_package/fesm2022/bidi.mjs +80 -0
- package/npm_package/fesm2022/bidi.mjs.map +1 -0
- package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs +7 -0
- package/npm_package/fesm2022/boolean-property-DaaVhX5A.mjs.map +1 -0
- package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs +179 -0
- package/npm_package/fesm2022/breakpoints-observer-CljOfYGy.mjs.map +1 -0
- package/npm_package/fesm2022/cdk.mjs +7 -0
- package/npm_package/fesm2022/cdk.mjs.map +1 -0
- package/npm_package/fesm2022/clipboard.mjs +211 -0
- package/npm_package/fesm2022/clipboard.mjs.map +1 -0
- package/npm_package/fesm2022/coercion/private.mjs +15 -0
- package/npm_package/fesm2022/coercion/private.mjs.map +1 -0
- package/npm_package/fesm2022/coercion.mjs +39 -0
- package/npm_package/fesm2022/coercion.mjs.map +1 -0
- package/npm_package/fesm2022/collections.mjs +8 -0
- package/npm_package/fesm2022/collections.mjs.map +1 -0
- package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs +10 -0
- package/npm_package/fesm2022/css-pixel-value-C_HEqLhI.mjs.map +1 -0
- package/npm_package/fesm2022/data-source-D34wiQZj.mjs +15 -0
- package/npm_package/fesm2022/data-source-D34wiQZj.mjs.map +1 -0
- package/npm_package/fesm2022/dialog.mjs +870 -0
- package/npm_package/fesm2022/dialog.mjs.map +1 -0
- package/npm_package/fesm2022/directionality-CBXD4hga.mjs +72 -0
- package/npm_package/fesm2022/directionality-CBXD4hga.mjs.map +1 -0
- package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs +44 -0
- package/npm_package/fesm2022/dispose-view-repeater-strategy-D_JReLI1.mjs.map +1 -0
- package/npm_package/fesm2022/drag-drop.mjs +4359 -0
- package/npm_package/fesm2022/drag-drop.mjs.map +1 -0
- package/npm_package/fesm2022/element-x4z00URv.mjs +29 -0
- package/npm_package/fesm2022/element-x4z00URv.mjs.map +1 -0
- package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs +24 -0
- package/npm_package/fesm2022/fake-event-detection-DWOdFTFz.mjs.map +1 -0
- package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs +22 -0
- package/npm_package/fesm2022/focus-key-manager-C1rAQJ5z.mjs.map +1 -0
- package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs +629 -0
- package/npm_package/fesm2022/focus-monitor-e2l_RpN3.mjs.map +1 -0
- package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs +37 -0
- package/npm_package/fesm2022/id-generator-Dw_9dSDu.mjs.map +1 -0
- package/npm_package/fesm2022/keycodes-CpHkExLC.mjs +122 -0
- package/npm_package/fesm2022/keycodes-CpHkExLC.mjs.map +1 -0
- package/npm_package/fesm2022/keycodes.mjs +15 -0
- package/npm_package/fesm2022/keycodes.mjs.map +1 -0
- package/npm_package/fesm2022/layout.mjs +43 -0
- package/npm_package/fesm2022/layout.mjs.map +1 -0
- package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs +360 -0
- package/npm_package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +1 -0
- package/npm_package/fesm2022/listbox.mjs +925 -0
- package/npm_package/fesm2022/listbox.mjs.map +1 -0
- package/npm_package/fesm2022/menu.mjs +1966 -0
- package/npm_package/fesm2022/menu.mjs.map +1 -0
- package/npm_package/fesm2022/observers/private.mjs +124 -0
- package/npm_package/fesm2022/observers/private.mjs.map +1 -0
- package/npm_package/fesm2022/observers.mjs +210 -0
- package/npm_package/fesm2022/observers.mjs.map +1 -0
- package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs +3029 -0
- package/npm_package/fesm2022/overlay-module-BUj0D19H.mjs.map +1 -0
- package/npm_package/fesm2022/overlay.mjs +102 -0
- package/npm_package/fesm2022/overlay.mjs.map +1 -0
- package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs +31 -0
- package/npm_package/fesm2022/passive-listeners-esHZRgIN.mjs.map +1 -0
- package/npm_package/fesm2022/platform-DmdVEw_C.mjs +77 -0
- package/npm_package/fesm2022/platform-DmdVEw_C.mjs.map +1 -0
- package/npm_package/fesm2022/platform.mjs +74 -0
- package/npm_package/fesm2022/platform.mjs.map +1 -0
- package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs +653 -0
- package/npm_package/fesm2022/portal-directives-Bw5woq8I.mjs.map +1 -0
- package/npm_package/fesm2022/portal.mjs +29 -0
- package/npm_package/fesm2022/portal.mjs.map +1 -0
- package/npm_package/fesm2022/private.mjs +19 -0
- package/npm_package/fesm2022/private.mjs.map +1 -0
- package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs +156 -0
- package/npm_package/fesm2022/recycle-view-repeater-strategy-DoWdPqVw.mjs.map +1 -0
- package/npm_package/fesm2022/scrolling-BkvA05C8.mjs +99 -0
- package/npm_package/fesm2022/scrolling-BkvA05C8.mjs.map +1 -0
- package/npm_package/fesm2022/scrolling.mjs +1464 -0
- package/npm_package/fesm2022/scrolling.mjs.map +1 -0
- package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs +226 -0
- package/npm_package/fesm2022/selection-model-CeeHVIcP.mjs.map +1 -0
- package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs +49 -0
- package/npm_package/fesm2022/shadow-dom-B0oHn41l.mjs.map +1 -0
- package/npm_package/fesm2022/stepper.mjs +614 -0
- package/npm_package/fesm2022/stepper.mjs.map +1 -0
- package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs +47 -0
- package/npm_package/fesm2022/style-loader-Cu9AvjH9.mjs.map +1 -0
- package/npm_package/fesm2022/table.mjs +2602 -0
- package/npm_package/fesm2022/table.mjs.map +1 -0
- package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs +19 -0
- package/npm_package/fesm2022/test-environment-CT0XxPyp.mjs.map +1 -0
- package/npm_package/fesm2022/testing/selenium-webdriver.mjs +353 -0
- package/npm_package/fesm2022/testing/selenium-webdriver.mjs.map +1 -0
- package/npm_package/fesm2022/testing/testbed.mjs +782 -0
- package/npm_package/fesm2022/testing/testbed.mjs.map +1 -0
- package/npm_package/fesm2022/testing.mjs +698 -0
- package/npm_package/fesm2022/testing.mjs.map +1 -0
- package/npm_package/fesm2022/text-field.mjs +437 -0
- package/npm_package/fesm2022/text-field.mjs.map +1 -0
- package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs +360 -0
- package/npm_package/fesm2022/tree-key-manager-KnCoIkIC.mjs.map +1 -0
- package/npm_package/fesm2022/tree.mjs +1795 -0
- package/npm_package/fesm2022/tree.mjs.map +1 -0
- package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs +88 -0
- package/npm_package/fesm2022/typeahead-9ZW4Dtsf.mjs.map +1 -0
- package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs +49 -0
- package/npm_package/fesm2022/unique-selection-dispatcher-DtHZDqyJ.mjs.map +1 -0
- package/npm_package/focus-key-manager.d-BIKDy8oD.d.ts +34 -0
- package/npm_package/focus-monitor.d-CvvJeQRc.d.ts +210 -0
- package/npm_package/harness-environment.d-BatBdODN.d.ts +620 -0
- package/npm_package/index.d.ts +6 -0
- package/npm_package/keycodes/index.d.ts +129 -0
- package/npm_package/layout/index.d.ts +89 -0
- package/npm_package/list-key-manager.d-BlK3jyRn.d.ts +165 -0
- package/npm_package/listbox/index.d.ts +353 -0
- package/npm_package/menu/index.d.ts +821 -0
- package/{number-property.d-BzBQchZ2.d.ts → npm_package/number-property.d-CJVxXUcb.d.ts} +2 -2
- package/npm_package/observers/index.d.ts +84 -0
- package/npm_package/observers/private/index.d.ts +34 -0
- package/npm_package/overlay/_index-deprecated.scss +13 -0
- package/npm_package/overlay/_index.scss +193 -0
- package/npm_package/overlay/index.d.ts +42 -0
- package/{overlay-module.d-CSrPj90C.d.ts → npm_package/overlay-module.d-B3qEQtts.d.ts} +7 -7
- package/npm_package/overlay-prebuilt.css +1 -0
- package/{overlay.d-CPV_bcvH.d.ts → npm_package/overlay.d-BdoMy0hX.d.ts} +4 -4
- package/npm_package/package.json +186 -0
- package/npm_package/platform/index.d.ts +83 -0
- package/{platform.d-cnFZCLss.d.ts → npm_package/platform.d-B3vREl3q.d.ts} +1 -1
- package/npm_package/portal/index.d.ts +86 -0
- package/{portal-directives.d-C698lRc2.d.ts → npm_package/portal-directives.d-BoG39gYN.d.ts} +2 -2
- package/npm_package/private/index.d.ts +13 -0
- package/npm_package/schematics/collection.json +18 -0
- package/npm_package/schematics/index.d.ts +14 -0
- package/npm_package/schematics/index.js +37 -0
- package/npm_package/schematics/index.js.map +1 -0
- package/npm_package/schematics/migration.json +15 -0
- package/npm_package/schematics/ng-add/index.d.ts +17 -0
- package/npm_package/schematics/ng-add/index.js +39 -0
- package/npm_package/schematics/ng-add/index.js.map +1 -0
- package/npm_package/schematics/ng-add/package-config.d.ts +12 -0
- package/npm_package/schematics/ng-add/package-config.js +51 -0
- package/npm_package/schematics/ng-add/package-config.js.map +1 -0
- package/npm_package/schematics/ng-add/schema.d.ts +11 -0
- package/npm_package/schematics/ng-add/schema.js +10 -0
- package/npm_package/schematics/ng-add/schema.js.map +1 -0
- package/npm_package/schematics/ng-add/schema.json +16 -0
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +53 -0
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +21 -0
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +25 -0
- package/npm_package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +45 -0
- package/npm_package/schematics/ng-generate/drag-drop/index.d.ts +11 -0
- package/npm_package/schematics/ng-generate/drag-drop/index.js +42 -0
- package/npm_package/schematics/ng-generate/drag-drop/index.js.map +1 -0
- package/npm_package/schematics/ng-generate/drag-drop/schema.d.ts +10 -0
- package/npm_package/schematics/ng-generate/drag-drop/schema.js +10 -0
- package/npm_package/schematics/ng-generate/drag-drop/schema.js.map +1 -0
- package/npm_package/schematics/ng-generate/drag-drop/schema.json +100 -0
- package/npm_package/schematics/ng-update/data/attribute-selectors.d.ts +15 -0
- package/npm_package/schematics/ng-update/data/attribute-selectors.js +12 -0
- package/npm_package/schematics/ng-update/data/attribute-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/data/class-names.d.ts +15 -0
- package/npm_package/schematics/ng-update/data/class-names.js +12 -0
- package/npm_package/schematics/ng-update/data/class-names.js.map +1 -0
- package/npm_package/schematics/ng-update/data/constructor-checks.d.ts +15 -0
- package/npm_package/schematics/ng-update/data/constructor-checks.js +17 -0
- package/npm_package/schematics/ng-update/data/constructor-checks.js.map +1 -0
- package/npm_package/schematics/ng-update/data/css-selectors.d.ts +27 -0
- package/npm_package/schematics/ng-update/data/css-selectors.js +12 -0
- package/npm_package/schematics/ng-update/data/css-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/data/css-tokens.d.ts +27 -0
- package/npm_package/schematics/ng-update/data/css-tokens.js +12 -0
- package/npm_package/schematics/ng-update/data/css-tokens.js.map +1 -0
- package/npm_package/schematics/ng-update/data/element-selectors.d.ts +15 -0
- package/npm_package/schematics/ng-update/data/element-selectors.js +12 -0
- package/npm_package/schematics/ng-update/data/element-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/data/index.d.ts +18 -0
- package/npm_package/schematics/ng-update/data/index.js +35 -0
- package/npm_package/schematics/ng-update/data/index.js.map +1 -0
- package/npm_package/schematics/ng-update/data/input-names.d.ts +22 -0
- package/npm_package/schematics/ng-update/data/input-names.js +12 -0
- package/npm_package/schematics/ng-update/data/input-names.js.map +1 -0
- package/npm_package/schematics/ng-update/data/method-call-checks.d.ts +17 -0
- package/npm_package/schematics/ng-update/data/method-call-checks.js +12 -0
- package/npm_package/schematics/ng-update/data/method-call-checks.js.map +1 -0
- package/npm_package/schematics/ng-update/data/output-names.d.ts +22 -0
- package/npm_package/schematics/ng-update/data/output-names.js +12 -0
- package/npm_package/schematics/ng-update/data/output-names.js.map +1 -0
- package/npm_package/schematics/ng-update/data/property-names.d.ts +20 -0
- package/npm_package/schematics/ng-update/data/property-names.js +12 -0
- package/npm_package/schematics/ng-update/data/property-names.js.map +1 -0
- package/npm_package/schematics/ng-update/data/symbol-removal.d.ts +17 -0
- package/npm_package/schematics/ng-update/data/symbol-removal.js +12 -0
- package/npm_package/schematics/ng-update/data/symbol-removal.js.map +1 -0
- package/npm_package/schematics/ng-update/devkit-file-system.d.ts +30 -0
- package/npm_package/schematics/ng-update/devkit-file-system.js +83 -0
- package/npm_package/schematics/ng-update/devkit-file-system.js.map +1 -0
- package/npm_package/schematics/ng-update/devkit-migration-rule.d.ts +24 -0
- package/npm_package/schematics/ng-update/devkit-migration-rule.js +142 -0
- package/npm_package/schematics/ng-update/devkit-migration-rule.js.map +1 -0
- package/npm_package/schematics/ng-update/devkit-migration.d.ts +35 -0
- package/npm_package/schematics/ng-update/devkit-migration.js +20 -0
- package/npm_package/schematics/ng-update/devkit-migration.js.map +1 -0
- package/npm_package/schematics/ng-update/find-stylesheets.d.ts +16 -0
- package/npm_package/schematics/ng-update/find-stylesheets.js +41 -0
- package/npm_package/schematics/ng-update/find-stylesheets.js.map +1 -0
- package/npm_package/schematics/ng-update/html-parsing/angular.d.ts +15 -0
- package/npm_package/schematics/ng-update/html-parsing/angular.js +51 -0
- package/npm_package/schematics/ng-update/html-parsing/angular.js.map +1 -0
- package/npm_package/schematics/ng-update/html-parsing/elements.d.ts +24 -0
- package/npm_package/schematics/ng-update/html-parsing/elements.js +63 -0
- package/npm_package/schematics/ng-update/html-parsing/elements.js.map +1 -0
- package/npm_package/schematics/ng-update/index.d.ts +10 -0
- package/npm_package/schematics/ng-update/index.js +29 -0
- package/npm_package/schematics/ng-update/index.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.js +71 -0
- package/npm_package/schematics/ng-update/migrations/attribute-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/class-inheritance.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/class-inheritance.js +58 -0
- package/npm_package/schematics/ng-update/migrations/class-inheritance.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/class-names.d.ts +32 -0
- package/npm_package/schematics/ng-update/migrations/class-names.js +91 -0
- package/npm_package/schematics/ng-update/migrations/class-names.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/constructor-signature.d.ts +29 -0
- package/npm_package/schematics/ng-update/migrations/constructor-signature.js +139 -0
- package/npm_package/schematics/ng-update/migrations/constructor-signature.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/css-selectors.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/css-selectors.js +75 -0
- package/npm_package/schematics/ng-update/migrations/css-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/css-tokens.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/css-tokens.js +83 -0
- package/npm_package/schematics/ng-update/migrations/css-tokens.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/element-selectors.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/element-selectors.js +66 -0
- package/npm_package/schematics/ng-update/migrations/element-selectors.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/input-names.d.ts +26 -0
- package/npm_package/schematics/ng-update/migrations/input-names.js +59 -0
- package/npm_package/schematics/ng-update/migrations/input-names.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.d.ts +22 -0
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.js +62 -0
- package/npm_package/schematics/ng-update/migrations/method-call-arguments.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/misc-template.d.ts +18 -0
- package/npm_package/schematics/ng-update/migrations/misc-template.js +25 -0
- package/npm_package/schematics/ng-update/migrations/misc-template.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/output-names.d.ts +22 -0
- package/npm_package/schematics/ng-update/migrations/output-names.js +46 -0
- package/npm_package/schematics/ng-update/migrations/output-names.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/property-names.d.ts +22 -0
- package/npm_package/schematics/ng-update/migrations/property-names.js +60 -0
- package/npm_package/schematics/ng-update/migrations/property-names.js.map +1 -0
- package/npm_package/schematics/ng-update/migrations/symbol-removal.d.ts +18 -0
- package/npm_package/schematics/ng-update/migrations/symbol-removal.js +47 -0
- package/npm_package/schematics/ng-update/migrations/symbol-removal.js.map +1 -0
- package/npm_package/schematics/ng-update/public-api.d.ts +19 -0
- package/npm_package/schematics/ng-update/public-api.js +36 -0
- package/npm_package/schematics/ng-update/public-api.js.map +1 -0
- package/npm_package/schematics/ng-update/typescript/base-types.d.ts +10 -0
- package/npm_package/schematics/ng-update/typescript/base-types.js +23 -0
- package/npm_package/schematics/ng-update/typescript/base-types.js.map +1 -0
- package/npm_package/schematics/ng-update/typescript/imports.d.ts +18 -0
- package/npm_package/schematics/ng-update/typescript/imports.js +53 -0
- package/npm_package/schematics/ng-update/typescript/imports.js.map +1 -0
- package/npm_package/schematics/ng-update/typescript/literal.d.ts +18 -0
- package/npm_package/schematics/ng-update/typescript/literal.js +32 -0
- package/npm_package/schematics/ng-update/typescript/literal.js.map +1 -0
- package/npm_package/schematics/ng-update/typescript/module-specifiers.d.ts +16 -0
- package/npm_package/schematics/ng-update/typescript/module-specifiers.js +35 -0
- package/npm_package/schematics/ng-update/typescript/module-specifiers.js.map +1 -0
- package/npm_package/schematics/ng-update/upgrade-data.d.ts +35 -0
- package/npm_package/schematics/ng-update/upgrade-data.js +40 -0
- package/npm_package/schematics/ng-update/upgrade-data.js.map +1 -0
- package/npm_package/schematics/package.json +3 -0
- package/npm_package/schematics/paths.d.ts +11 -0
- package/npm_package/schematics/paths.js +16 -0
- package/npm_package/schematics/paths.js.map +1 -0
- package/npm_package/schematics/update-tool/component-resource-collector.d.ts +44 -0
- package/npm_package/schematics/update-tool/component-resource-collector.js +164 -0
- package/npm_package/schematics/update-tool/component-resource-collector.js.map +1 -0
- package/npm_package/schematics/update-tool/file-system.d.ts +72 -0
- package/npm_package/schematics/update-tool/file-system.js +18 -0
- package/npm_package/schematics/update-tool/file-system.js.map +1 -0
- package/npm_package/schematics/update-tool/index.d.ts +74 -0
- package/npm_package/schematics/update-tool/index.js +172 -0
- package/npm_package/schematics/update-tool/index.js.map +1 -0
- package/npm_package/schematics/update-tool/logger.d.ts +15 -0
- package/npm_package/schematics/update-tool/logger.js +18 -0
- package/npm_package/schematics/update-tool/logger.js.map +1 -0
- package/npm_package/schematics/update-tool/migration.d.ts +87 -0
- package/npm_package/schematics/update-tool/migration.js +70 -0
- package/npm_package/schematics/update-tool/migration.js.map +1 -0
- package/npm_package/schematics/update-tool/public-api.d.ts +16 -0
- package/npm_package/schematics/update-tool/public-api.js +33 -0
- package/npm_package/schematics/update-tool/public-api.js.map +1 -0
- package/npm_package/schematics/update-tool/target-version.d.ts +16 -0
- package/npm_package/schematics/update-tool/target-version.js +27 -0
- package/npm_package/schematics/update-tool/target-version.js.map +1 -0
- package/npm_package/schematics/update-tool/update-recorder.d.ts +13 -0
- package/npm_package/schematics/update-tool/update-recorder.js +10 -0
- package/npm_package/schematics/update-tool/update-recorder.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/decorators.d.ts +22 -0
- package/npm_package/schematics/update-tool/utils/decorators.js +41 -0
- package/npm_package/schematics/update-tool/utils/decorators.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/diagnostics.d.ts +11 -0
- package/npm_package/schematics/update-tool/utils/diagnostics.js +18 -0
- package/npm_package/schematics/update-tool/utils/diagnostics.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/functions.d.ts +14 -0
- package/npm_package/schematics/update-tool/utils/functions.js +20 -0
- package/npm_package/schematics/update-tool/utils/functions.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/imports.d.ts +17 -0
- package/npm_package/schematics/update-tool/utils/imports.js +110 -0
- package/npm_package/schematics/update-tool/utils/imports.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/line-mappings.d.ts +21 -0
- package/npm_package/schematics/update-tool/utils/line-mappings.js +75 -0
- package/npm_package/schematics/update-tool/utils/line-mappings.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.d.ts +18 -0
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.js +45 -0
- package/npm_package/schematics/update-tool/utils/parse-tsconfig.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/property-name.d.ts +18 -0
- package/npm_package/schematics/update-tool/utils/property-name.js +27 -0
- package/npm_package/schematics/update-tool/utils/property-name.js.map +1 -0
- package/npm_package/schematics/update-tool/utils/virtual-host.d.ts +36 -0
- package/npm_package/schematics/update-tool/utils/virtual-host.js +71 -0
- package/npm_package/schematics/update-tool/utils/virtual-host.js.map +1 -0
- package/npm_package/schematics/update-tool/version-changes.d.ts +32 -0
- package/npm_package/schematics/update-tool/version-changes.js +38 -0
- package/npm_package/schematics/update-tool/version-changes.js.map +1 -0
- package/npm_package/schematics/utils/ast/ng-module-imports.d.ts +12 -0
- package/npm_package/schematics/utils/ast/ng-module-imports.js +82 -0
- package/npm_package/schematics/utils/ast/ng-module-imports.js.map +1 -0
- package/npm_package/schematics/utils/ast.d.ts +25 -0
- package/npm_package/schematics/utils/ast.js +79 -0
- package/npm_package/schematics/utils/ast.js.map +1 -0
- package/npm_package/schematics/utils/build-component.d.ts +20 -0
- package/npm_package/schematics/utils/build-component.js +188 -0
- package/npm_package/schematics/utils/build-component.js.map +1 -0
- package/npm_package/schematics/utils/get-project.d.ts +13 -0
- package/npm_package/schematics/utils/get-project.js +28 -0
- package/npm_package/schematics/utils/get-project.js.map +1 -0
- package/npm_package/schematics/utils/html-manipulation.d.ts +15 -0
- package/npm_package/schematics/utils/html-manipulation.js +91 -0
- package/npm_package/schematics/utils/html-manipulation.js.map +1 -0
- package/npm_package/schematics/utils/index.d.ts +19 -0
- package/npm_package/schematics/utils/index.js +36 -0
- package/npm_package/schematics/utils/index.js.map +1 -0
- package/npm_package/schematics/utils/parse5-element.d.ts +12 -0
- package/npm_package/schematics/utils/parse5-element.js +30 -0
- package/npm_package/schematics/utils/parse5-element.js.map +1 -0
- package/npm_package/schematics/utils/project-index-file.d.ts +10 -0
- package/npm_package/schematics/utils/project-index-file.js +20 -0
- package/npm_package/schematics/utils/project-index-file.js.map +1 -0
- package/npm_package/schematics/utils/project-main-file.d.ts +10 -0
- package/npm_package/schematics/utils/project-main-file.js +25 -0
- package/npm_package/schematics/utils/project-main-file.js.map +1 -0
- package/npm_package/schematics/utils/project-style-file.d.ts +13 -0
- package/npm_package/schematics/utils/project-style-file.js +42 -0
- package/npm_package/schematics/utils/project-style-file.js.map +1 -0
- package/npm_package/schematics/utils/project-targets.d.ts +14 -0
- package/npm_package/schematics/utils/project-targets.js +46 -0
- package/npm_package/schematics/utils/project-targets.js.map +1 -0
- package/npm_package/schematics/utils/project-tsconfig-paths.d.ts +14 -0
- package/npm_package/schematics/utils/project-tsconfig-paths.js +46 -0
- package/npm_package/schematics/utils/project-tsconfig-paths.js.map +1 -0
- package/npm_package/schematics/utils/schematic-options.d.ts +20 -0
- package/npm_package/schematics/utils/schematic-options.js +89 -0
- package/npm_package/schematics/utils/schematic-options.js.map +1 -0
- package/npm_package/scrolling/index.d.ts +62 -0
- package/{scrolling-module.d-CUKr8D_p.d.ts → npm_package/scrolling-module.d-ud2XrbF8.d.ts} +6 -6
- package/{selection-model.d-mtbiEbzs.d.ts → npm_package/selection-model.d-C_vvNGP-.d.ts} +2 -2
- package/npm_package/stepper/index.d.ts +228 -0
- package/{style-loader.d-DbvWk0ty.d.ts → npm_package/style-loader.d-BXZfQZTF.d.ts} +1 -1
- package/npm_package/table/index.d.ts +1100 -0
- package/npm_package/testing/index.d.ts +94 -0
- package/npm_package/testing/selenium-webdriver/index.d.ts +150 -0
- package/npm_package/testing/testbed/index.d.ts +157 -0
- package/npm_package/text-field/_index.scss +89 -0
- package/npm_package/text-field/index.d.ts +156 -0
- package/npm_package/text-field-prebuilt.css +1 -0
- package/npm_package/tree/index.d.ts +720 -0
- package/{tree-key-manager-strategy.d-DipnXoCr.d.ts → npm_package/tree-key-manager-strategy.d-XB6M79l-.d.ts} +1 -1
- package/{unique-selection-dispatcher.d-BgWACqWn.d.ts → npm_package/unique-selection-dispatcher.d-DSFqf1MM.d.ts} +2 -2
- package/{view-repeater.d-CJ9e48MX.d.ts → npm_package/view-repeater.d-BKljR8u8.d.ts} +3 -3
- package/number-property.d-CJVxXUcb.d.ts +16 -0
- package/observers/index.d.ts +2 -2
- package/overlay/_index.scss +3 -0
- package/overlay/index.d.ts +10 -10
- package/overlay-module.d-B3qEQtts.d.ts +791 -0
- package/overlay-prebuilt.css +1 -1
- package/overlay.d-BdoMy0hX.d.ts +296 -0
- package/package.json +1 -1
- package/platform/index.d.ts +1 -1
- package/platform.d-B3vREl3q.d.ts +33 -0
- package/portal/index.d.ts +2 -2
- package/portal-directives.d-BoG39gYN.d.ts +232 -0
- 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-ud2XrbF8.d.ts +552 -0
- package/selection-model.d-C_vvNGP-.d.ts +117 -0
- package/stepper/index.d.ts +5 -5
- package/style-loader.d-BXZfQZTF.d.ts +21 -0
- 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 +4 -4
- package/tree-key-manager-strategy.d-XB6M79l-.d.ts +116 -0
- package/unique-selection-dispatcher.d-DSFqf1MM.d.ts +33 -0
- package/view-repeater.d-BKljR8u8.d.ts +89 -0
- package/fesm2022/a11y-module-CgaSR12u.mjs.map +0 -1
- package/fesm2022/activedescendant-key-manager-BYiHZAZc.mjs.map +0 -1
- package/fesm2022/array-Hg8isvLj.mjs.map +0 -1
- package/fesm2022/backwards-compatibility-DYuVCOXM.mjs.map +0 -1
- package/fesm2022/boolean-property-_aCfQwp8.mjs.map +0 -1
- package/fesm2022/breakpoints-observer-CHAS_XA1.mjs.map +0 -1
- package/fesm2022/css-pixel-value-C1yoKJ7R.mjs.map +0 -1
- package/fesm2022/data-source-CL6Fasig.mjs.map +0 -1
- package/fesm2022/directionality-DPQw3n2b.mjs.map +0 -1
- package/fesm2022/dispose-view-repeater-strategy-BLw1RSwm.mjs.map +0 -1
- package/fesm2022/element-CpqV8p-X.mjs.map +0 -1
- package/fesm2022/fake-event-detection-D0_6qVp2.mjs.map +0 -1
- package/fesm2022/focus-key-manager-DgyxYbV2.mjs.map +0 -1
- package/fesm2022/focus-monitor-DJ28zFKt.mjs.map +0 -1
- package/fesm2022/id-generator-tlPCNuwi.mjs.map +0 -1
- package/fesm2022/keycodes-DPWmI2Ix.mjs.map +0 -1
- package/fesm2022/list-key-manager-CYBoL_nN.mjs.map +0 -1
- package/fesm2022/overlay-module-B7ipGu18.mjs.map +0 -1
- package/fesm2022/passive-listeners-ZmZRMx8D.mjs.map +0 -1
- package/fesm2022/platform-Do3uqmxu.mjs.map +0 -1
- package/fesm2022/portal-directives-CtfZjx5e.mjs.map +0 -1
- package/fesm2022/recycle-view-repeater-strategy-Ce0p4WhD.mjs.map +0 -1
- package/fesm2022/scrolling-BXVcIfjZ.mjs.map +0 -1
- package/fesm2022/selection-model-B9K3FAzc.mjs.map +0 -1
- package/fesm2022/shadow-dom-DFvX9W95.mjs.map +0 -1
- package/fesm2022/style-loader-WcmCyO2o.mjs.map +0 -1
- package/fesm2022/test-environment-BgaaXvCA.mjs.map +0 -1
- package/fesm2022/tree-key-manager-DIhQ-v4R.mjs.map +0 -1
- package/fesm2022/typeahead-BAa3HZoh.mjs.map +0 -1
- package/fesm2022/unique-selection-dispatcher-Cnrf4muk.mjs.map +0 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export { P as Platform } from '../platform.d-B3vREl3q.js';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Renderer2 } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class PlatformModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PlatformModule, never, never, never>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PlatformModule>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** @returns The input types supported by this browser. */
|
|
12
|
+
declare function getSupportedInputTypes(): Set<string>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Checks whether the user's browser supports passive event listeners.
|
|
16
|
+
* See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
|
|
17
|
+
*/
|
|
18
|
+
declare function supportsPassiveEventListeners(): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Normalizes an `AddEventListener` object to something that can be passed
|
|
21
|
+
* to `addEventListener` on any browser, no matter whether it supports the
|
|
22
|
+
* `options` parameter.
|
|
23
|
+
* @param options Object to be normalized.
|
|
24
|
+
*/
|
|
25
|
+
declare function normalizePassiveListenerOptions(options: AddEventListenerOptions): AddEventListenerOptions | boolean;
|
|
26
|
+
|
|
27
|
+
/** The possible ways the browser may handle the horizontal scroll axis in RTL languages. */
|
|
28
|
+
declare enum RtlScrollAxisType {
|
|
29
|
+
/**
|
|
30
|
+
* scrollLeft is 0 when scrolled all the way left and (scrollWidth - clientWidth) when scrolled
|
|
31
|
+
* all the way right.
|
|
32
|
+
*/
|
|
33
|
+
NORMAL = 0,
|
|
34
|
+
/**
|
|
35
|
+
* scrollLeft is -(scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled
|
|
36
|
+
* all the way right.
|
|
37
|
+
*/
|
|
38
|
+
NEGATED = 1,
|
|
39
|
+
/**
|
|
40
|
+
* scrollLeft is (scrollWidth - clientWidth) when scrolled all the way left and 0 when scrolled
|
|
41
|
+
* all the way right.
|
|
42
|
+
*/
|
|
43
|
+
INVERTED = 2
|
|
44
|
+
}
|
|
45
|
+
/** Check whether the browser supports scroll behaviors. */
|
|
46
|
+
declare function supportsScrollBehavior(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Checks the type of RTL scroll axis used by this browser. As of time of writing, Chrome is NORMAL,
|
|
49
|
+
* Firefox & Safari are NEGATED, and IE & Edge are INVERTED.
|
|
50
|
+
*/
|
|
51
|
+
declare function getRtlScrollAxisType(): RtlScrollAxisType;
|
|
52
|
+
|
|
53
|
+
/** Checks whether the user's browser support Shadow DOM. */
|
|
54
|
+
declare function _supportsShadowDom(): boolean;
|
|
55
|
+
/** Gets the shadow root of an element, if supported and the element is inside the Shadow DOM. */
|
|
56
|
+
declare function _getShadowRoot(element: HTMLElement): ShadowRoot | null;
|
|
57
|
+
/**
|
|
58
|
+
* Gets the currently-focused element on the page while
|
|
59
|
+
* also piercing through Shadow DOM boundaries.
|
|
60
|
+
*/
|
|
61
|
+
declare function _getFocusedElementPierceShadowDom(): HTMLElement | null;
|
|
62
|
+
/** Gets the target of an event while accounting for Shadow DOM. */
|
|
63
|
+
declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
|
|
64
|
+
|
|
65
|
+
/** Gets whether the code is currently running in a test environment. */
|
|
66
|
+
declare function _isTestEnvironment(): boolean;
|
|
67
|
+
|
|
68
|
+
/** Options when binding events manually. */
|
|
69
|
+
interface _ListenerOptions {
|
|
70
|
+
capture?: boolean;
|
|
71
|
+
once?: boolean;
|
|
72
|
+
passive?: boolean;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Binds an event listener with specific options in a backwards-compatible way.
|
|
76
|
+
* This function is necessary, because `Renderer2.listen` only supports listener options
|
|
77
|
+
* after 19.1 and during the v19 period we support any 19.x version.
|
|
78
|
+
* @docs-private
|
|
79
|
+
*/
|
|
80
|
+
declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options: _ListenerOptions): () => void;
|
|
81
|
+
|
|
82
|
+
export { PlatformModule, RtlScrollAxisType, _bindEventWithOptions, _getEventTarget, _getFocusedElementPierceShadowDom, _getShadowRoot, _isTestEnvironment, _supportsShadowDom, getRtlScrollAxisType, getSupportedInputTypes, normalizePassiveListenerOptions, supportsPassiveEventListeners, supportsScrollBehavior };
|
|
83
|
+
export type { _ListenerOptions };
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { B as BasePortalOutlet, a as ComponentPortal, T as TemplatePortal, D as DomPortal } from '../portal-directives.d-BoG39gYN.js';
|
|
2
|
+
export { d as BasePortalHost, e as CdkPortal, h as CdkPortalOutlet, g as CdkPortalOutletAttachedRef, C as ComponentType, P as Portal, c as PortalHost, i as PortalHostDirective, j as PortalModule, b as PortalOutlet, f as TemplatePortalDirective } from '../portal-directives.d-BoG39gYN.js';
|
|
3
|
+
import { ApplicationRef, Injector, ComponentRef, EmbeddedViewRef } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A PortalOutlet for attaching portals to an arbitrary DOM element outside of the Angular
|
|
7
|
+
* application context.
|
|
8
|
+
*/
|
|
9
|
+
declare class DomPortalOutlet extends BasePortalOutlet {
|
|
10
|
+
/** Element into which the content is projected. */
|
|
11
|
+
outletElement: Element;
|
|
12
|
+
private _appRef?;
|
|
13
|
+
private _defaultInjector?;
|
|
14
|
+
private _document;
|
|
15
|
+
/**
|
|
16
|
+
* @param outletElement Element into which the content is projected.
|
|
17
|
+
* @param _unusedComponentFactoryResolver Used to resolve the component factory.
|
|
18
|
+
* Only required when attaching component portals.
|
|
19
|
+
* @param _appRef Reference to the application. Only used in component portals when there
|
|
20
|
+
* is no `ViewContainerRef` available.
|
|
21
|
+
* @param _defaultInjector Injector to use as a fallback when the portal being attached doesn't
|
|
22
|
+
* have one. Only used for component portals.
|
|
23
|
+
* @param _document Reference to the document. Used when attaching a DOM portal. Will eventually
|
|
24
|
+
* become a required parameter.
|
|
25
|
+
*/
|
|
26
|
+
constructor(
|
|
27
|
+
/** Element into which the content is projected. */
|
|
28
|
+
outletElement: Element,
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated No longer in use. To be removed.
|
|
31
|
+
* @breaking-change 18.0.0
|
|
32
|
+
*/
|
|
33
|
+
_unusedComponentFactoryResolver?: any, _appRef?: ApplicationRef | undefined, _defaultInjector?: Injector | undefined,
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated `_document` Parameter to be made required.
|
|
36
|
+
* @breaking-change 10.0.0
|
|
37
|
+
*/
|
|
38
|
+
_document?: any);
|
|
39
|
+
/**
|
|
40
|
+
* Attach the given ComponentPortal to DOM element.
|
|
41
|
+
* @param portal Portal to be attached
|
|
42
|
+
* @returns Reference to the created component.
|
|
43
|
+
*/
|
|
44
|
+
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
45
|
+
/**
|
|
46
|
+
* Attaches a template portal to the DOM as an embedded view.
|
|
47
|
+
* @param portal Portal to be attached.
|
|
48
|
+
* @returns Reference to the created embedded view.
|
|
49
|
+
*/
|
|
50
|
+
attachTemplatePortal<C>(portal: TemplatePortal<C>): EmbeddedViewRef<C>;
|
|
51
|
+
/**
|
|
52
|
+
* Attaches a DOM portal by transferring its content into the outlet.
|
|
53
|
+
* @param portal Portal to be attached.
|
|
54
|
+
* @deprecated To be turned into a method.
|
|
55
|
+
* @breaking-change 10.0.0
|
|
56
|
+
*/
|
|
57
|
+
attachDomPortal: (portal: DomPortal) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Clears out a portal from the DOM.
|
|
60
|
+
*/
|
|
61
|
+
dispose(): void;
|
|
62
|
+
/** Gets the root HTMLElement for an instantiated component. */
|
|
63
|
+
private _getComponentRootNode;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @deprecated Use `DomPortalOutlet` instead.
|
|
67
|
+
* @breaking-change 9.0.0
|
|
68
|
+
*/
|
|
69
|
+
declare class DomPortalHost extends DomPortalOutlet {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Custom injector to be used when providing custom
|
|
74
|
+
* injection tokens to components inside a portal.
|
|
75
|
+
* @docs-private
|
|
76
|
+
* @deprecated Use `Injector.create` instead.
|
|
77
|
+
* @breaking-change 11.0.0
|
|
78
|
+
*/
|
|
79
|
+
declare class PortalInjector implements Injector {
|
|
80
|
+
private _parentInjector;
|
|
81
|
+
private _customTokens;
|
|
82
|
+
constructor(_parentInjector: Injector, _customTokens: WeakMap<any, any>);
|
|
83
|
+
get(token: any, notFoundValue?: any): any;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export { BasePortalOutlet, ComponentPortal, DomPortal, DomPortalHost, DomPortalOutlet, PortalInjector, TemplatePortal };
|
|
@@ -228,5 +228,5 @@ declare class PortalModule {
|
|
|
228
228
|
static ɵinj: i0.ɵɵInjectorDeclaration<PortalModule>;
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
export {
|
|
232
|
-
export type {
|
|
231
|
+
export { BasePortalOutlet as B, DomPortal as D, Portal as P, TemplatePortal as T, ComponentPortal as a, BasePortalHost as d, CdkPortal as e, TemplatePortalDirective as f, CdkPortalOutlet as h, PortalHostDirective as i, PortalModule as j };
|
|
232
|
+
export type { ComponentType as C, PortalOutlet as b, PortalHost as c, CdkPortalOutletAttachedRef as g };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { _ as _CdkPrivateStyleLoader } from '../style-loader.d-BXZfQZTF.js';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Component used to load the .cdk-visually-hidden styles.
|
|
6
|
+
* @docs-private
|
|
7
|
+
*/
|
|
8
|
+
declare class _VisuallyHiddenLoader {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_VisuallyHiddenLoader, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<_VisuallyHiddenLoader, "ng-component", ["cdkVisuallyHidden"], {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { _VisuallyHiddenLoader };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"ng-add": {
|
|
5
|
+
"description": "Installs the Angular CDK",
|
|
6
|
+
"factory": "./ng-add/index",
|
|
7
|
+
"schema": "./ng-add/schema.json",
|
|
8
|
+
"aliases": ["install"],
|
|
9
|
+
"hidden": true
|
|
10
|
+
},
|
|
11
|
+
"drag-drop": {
|
|
12
|
+
"description": "Generates a component using the Drag and Drop module",
|
|
13
|
+
"factory": "./ng-generate/drag-drop/index",
|
|
14
|
+
"schema": "./ng-generate/drag-drop/schema.json",
|
|
15
|
+
"aliases": ["dragdrop", "drag-and-drop"]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
export * from './utils';
|
|
9
|
+
export * from './ng-update/public-api';
|
|
10
|
+
export * from './update-tool/public-api';
|
|
11
|
+
export * from '@schematics/angular/utility/ast-utils';
|
|
12
|
+
export * from '@schematics/angular/utility/ng-ast-utils';
|
|
13
|
+
import * as parse5 from 'parse5';
|
|
14
|
+
export { parse5 };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
+
}
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.parse5 = void 0;
|
|
25
|
+
__exportStar(require("./utils"), exports);
|
|
26
|
+
__exportStar(require("./ng-update/public-api"), exports);
|
|
27
|
+
__exportStar(require("./update-tool/public-api"), exports);
|
|
28
|
+
// Re-exported so that Angular Material schematic code can consume the same AST utils as the CDK.
|
|
29
|
+
__exportStar(require("@schematics/angular/utility/ast-utils"), exports);
|
|
30
|
+
__exportStar(require("@schematics/angular/utility/ng-ast-utils"), exports);
|
|
31
|
+
// Re-export parse5 from the CDK. Material schematics code cannot simply import
|
|
32
|
+
// "parse5" because it could result in a different version. As long as we import
|
|
33
|
+
// it from within the CDK, it will always be the correct version that is specified
|
|
34
|
+
// in the CDK "package.json" as optional dependency.
|
|
35
|
+
const parse5 = require("parse5");
|
|
36
|
+
exports.parse5 = parse5;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;;;;;;;;;;;;;;AAEH,0CAAwB;AACxB,yDAAuC;AACvC,2DAAyC;AAEzC,iGAAiG;AACjG,wEAAsD;AACtD,2EAAyD;AAEzD,+EAA+E;AAC/E,gFAAgF;AAChF,kFAAkF;AAClF,oDAAoD;AACpD,iCAAiC;AACzB,wBAAM"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
+
"schematics": {
|
|
4
|
+
"migration-v19": {
|
|
5
|
+
"version": "19.0.0-0",
|
|
6
|
+
"description": "Updates the Angular CDK to v19",
|
|
7
|
+
"factory": "./ng-update/index#updateToV19"
|
|
8
|
+
},
|
|
9
|
+
"ng-post-update": {
|
|
10
|
+
"description": "Prints out results after ng-update.",
|
|
11
|
+
"factory": "./ng-update/index#postUpdate",
|
|
12
|
+
"private": true
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
9
|
+
/**
|
|
10
|
+
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
11
|
+
* automatically executed if developers run `ng add @angular/cdk`.
|
|
12
|
+
*
|
|
13
|
+
* By default, the CLI already installs the package that has been specified with `ng add`.
|
|
14
|
+
* We just store the version in the `package.json` in case the package manager didn't. Also
|
|
15
|
+
* this ensures that there will be no error that says that the CDK does not support `ng add`.
|
|
16
|
+
*/
|
|
17
|
+
export default function (): Rule;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.default = default_1;
|
|
11
|
+
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
12
|
+
const package_config_1 = require("./package-config");
|
|
13
|
+
/**
|
|
14
|
+
* Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
|
|
15
|
+
* automatically executed if developers run `ng add @angular/cdk`.
|
|
16
|
+
*
|
|
17
|
+
* By default, the CLI already installs the package that has been specified with `ng add`.
|
|
18
|
+
* We just store the version in the `package.json` in case the package manager didn't. Also
|
|
19
|
+
* this ensures that there will be no error that says that the CDK does not support `ng add`.
|
|
20
|
+
*/
|
|
21
|
+
function default_1() {
|
|
22
|
+
return (host, context) => {
|
|
23
|
+
// The CLI inserts `@angular/cdk` into the `package.json` before this schematic runs. This
|
|
24
|
+
// means that we do not need to insert the CDK into `package.json` files again. In some cases
|
|
25
|
+
// though, it could happen that this schematic runs outside of the CLI `ng add` command, or
|
|
26
|
+
// the CDK is only listed as a dev dependency. If that is the case, we insert a version based
|
|
27
|
+
// on the current build version (substituted version placeholder).
|
|
28
|
+
if ((0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/cdk') === null) {
|
|
29
|
+
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
|
+
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
|
+
// dependencies in new CLI projects.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.2.13`);
|
|
33
|
+
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
|
+
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
|
+
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAcH,4BAkBC;AA7BD,4DAAwE;AACxE,qDAA2F;AAE3F;;;;;;;GAOG;AACH;IACE,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,0FAA0F;QAC1F,6FAA6F;QAC7F,2FAA2F;QAC3F,6FAA6F;QAC7F,kEAAkE;QAClE,IAAI,IAAA,iDAAgC,EAAC,IAAI,EAAE,cAAc,CAAC,KAAK,IAAI,EAAE,CAAC;YACpE,sFAAsF;YACtF,oFAAoF;YACpF,oCAAoC;YACpC,IAAA,wCAAuB,EAAC,IAAI,EAAE,cAAc,EAAE,oBAAoB,CAAC,CAAC;YAEpE,kFAAkF;YAClF,yFAAyF;YACzF,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
import { Tree } from '@angular-devkit/schematics';
|
|
9
|
+
/** Adds a package to the package.json in the given host tree. */
|
|
10
|
+
export declare function addPackageToPackageJson(host: Tree, pkg: string, version: string): Tree;
|
|
11
|
+
/** Gets the version of the specified package by looking at the package.json in the given tree. */
|
|
12
|
+
export declare function getPackageVersionFromPackageJson(tree: Tree, name: string): string | null;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.addPackageToPackageJson = addPackageToPackageJson;
|
|
11
|
+
exports.getPackageVersionFromPackageJson = getPackageVersionFromPackageJson;
|
|
12
|
+
/**
|
|
13
|
+
* Sorts the keys of the given object.
|
|
14
|
+
* @returns A new object instance with sorted keys
|
|
15
|
+
*/
|
|
16
|
+
function sortObjectByKeys(obj) {
|
|
17
|
+
return Object.keys(obj)
|
|
18
|
+
.sort()
|
|
19
|
+
.reduce((result, key) => {
|
|
20
|
+
result[key] = obj[key];
|
|
21
|
+
return result;
|
|
22
|
+
}, {});
|
|
23
|
+
}
|
|
24
|
+
/** Adds a package to the package.json in the given host tree. */
|
|
25
|
+
function addPackageToPackageJson(host, pkg, version) {
|
|
26
|
+
if (host.exists('package.json')) {
|
|
27
|
+
const sourceText = host.read('package.json').toString('utf-8');
|
|
28
|
+
const json = JSON.parse(sourceText);
|
|
29
|
+
if (!json.dependencies) {
|
|
30
|
+
json.dependencies = {};
|
|
31
|
+
}
|
|
32
|
+
if (!json.dependencies[pkg]) {
|
|
33
|
+
json.dependencies[pkg] = version;
|
|
34
|
+
json.dependencies = sortObjectByKeys(json.dependencies);
|
|
35
|
+
}
|
|
36
|
+
host.overwrite('package.json', JSON.stringify(json, null, 2));
|
|
37
|
+
}
|
|
38
|
+
return host;
|
|
39
|
+
}
|
|
40
|
+
/** Gets the version of the specified package by looking at the package.json in the given tree. */
|
|
41
|
+
function getPackageVersionFromPackageJson(tree, name) {
|
|
42
|
+
if (!tree.exists('package.json')) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
const packageJson = JSON.parse(tree.read('package.json').toString('utf8'));
|
|
46
|
+
if (packageJson.dependencies && packageJson.dependencies[name]) {
|
|
47
|
+
return packageJson.dependencies[name];
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=package-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-config.js","sourceRoot":"","sources":["package-config.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAyBH,0DAkBC;AAGD,4EAYC;AAlDD;;;GAGG;AACH,SAAS,gBAAgB,CAAC,GAA2B;IACnD,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;SACpB,IAAI,EAAE;SACN,MAAM,CACL,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE;QACd,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,OAAO,MAAM,CAAC;IAChB,CAAC,EACD,EAA4B,CAC7B,CAAC;AACN,CAAC;AAED,iEAAiE;AACjE,SAAgB,uBAAuB,CAAC,IAAU,EAAE,GAAW,EAAE,OAAe;IAC9E,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;QAChE,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAgB,CAAC;QAEnD,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC;YACvB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QACzB,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;YAC5B,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;YACjC,IAAI,CAAC,YAAY,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1D,CAAC;QAED,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,kGAAkG;AAClG,SAAgB,gCAAgC,CAAC,IAAU,EAAE,IAAY;IACvE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAgB,CAAC;IAE3F,IAAI,WAAW,CAAC,YAAY,IAAI,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/D,OAAO,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
export interface Schema {
|
|
9
|
+
/** Name of the project to target. */
|
|
10
|
+
project: string;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright Google LLC All Rights Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
7
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["schema.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "angular-cdk-ng-add",
|
|
4
|
+
"title": "Angular CDK ng-add",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"project": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the project.",
|
|
10
|
+
"$default": {
|
|
11
|
+
"$source": "projectName"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": []
|
|
16
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.container {
|
|
2
|
+
width: 400px;
|
|
3
|
+
max-width: 100%;
|
|
4
|
+
margin: 0 20px;
|
|
5
|
+
display: inline-block;
|
|
6
|
+
vertical-align: top;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.list {
|
|
10
|
+
border: solid 1px #ccc;
|
|
11
|
+
min-height: 60px;
|
|
12
|
+
background: white;
|
|
13
|
+
border-radius: 4px;
|
|
14
|
+
display: block;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.list-item {
|
|
19
|
+
padding: 20px 10px;
|
|
20
|
+
border-bottom: solid 1px #ccc;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
cursor: move;
|
|
23
|
+
background: white;
|
|
24
|
+
color: black;
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.list-item:last-child {
|
|
29
|
+
border: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Highlight the list item that is being dragged. */
|
|
33
|
+
.cdk-drag-preview {
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
36
|
+
0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
37
|
+
0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Animate items as they're being sorted. */
|
|
41
|
+
.cdk-drop-list-dragging .cdk-drag {
|
|
42
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Animate an item that has been dropped. */
|
|
46
|
+
.cdk-drag-animating {
|
|
47
|
+
transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.cdk-drag-placeholder {
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="container">
|
|
2
|
+
<h2>To do</h2>
|
|
3
|
+
|
|
4
|
+
<div cdkDropList #todoList="cdkDropList" [cdkDropListData]="todo"
|
|
5
|
+
[cdkDropListConnectedTo]="doneList" class="list" (cdkDropListDropped)="drop($event)">
|
|
6
|
+
@for (item of todo; track item) {
|
|
7
|
+
<div class="list-item" cdkDrag>{{item}}</div>
|
|
8
|
+
}
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="container">
|
|
13
|
+
<h2>Done</h2>
|
|
14
|
+
|
|
15
|
+
<div cdkDropList #doneList="cdkDropList" [cdkDropListData]="done"
|
|
16
|
+
[cdkDropListConnectedTo]="todoList" class="list" (cdkDropListDropped)="drop($event)">
|
|
17
|
+
@for (item of done; track item) {
|
|
18
|
+
<div class="list-item" cdkDrag>{{item}}</div>
|
|
19
|
+
}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { <% if(!standalone) { %>waitForAsync, <% } %>ComponentFixture, TestBed } from '@angular/core/testing';<% if(!standalone) { %>
|
|
2
|
+
import { DragDropModule } from '@angular/cdk/drag-drop';<% } %>
|
|
3
|
+
import { <%= classify(name) %>Component } from './<%= dasherize(name) %>.component';
|
|
4
|
+
|
|
5
|
+
describe('<%= classify(name) %>Component', () => {
|
|
6
|
+
let component: <%= classify(name) %>Component;
|
|
7
|
+
let fixture: ComponentFixture<<%= classify(name) %>Component>;<% if(!standalone) { %>
|
|
8
|
+
|
|
9
|
+
beforeEach(waitForAsync(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [<%= classify(name) %>Component],
|
|
12
|
+
imports: [DragDropModule]
|
|
13
|
+
});
|
|
14
|
+
}));<% } %>
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
fixture = TestBed.createComponent(<%= classify(name) %>Component);
|
|
18
|
+
component = fixture.componentInstance;
|
|
19
|
+
fixture.detectChanges();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should compile', () => {
|
|
23
|
+
expect(component).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Component<% if(!!viewEncapsulation) { %>, ViewEncapsulation<% }%><% if(changeDetection !== 'Default') { %>, ChangeDetectionStrategy<% }%> } from '@angular/core';
|
|
2
|
+
import { <% if(standalone) { %>CdkDrag, CdkDropList, <% } %>CdkDragDrop, moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: '<%= selector %>',<% if(inlineTemplate) { %>
|
|
6
|
+
template: `
|
|
7
|
+
<%= indentTextContent(resolvedFiles.template, 4) %>
|
|
8
|
+
`,<% } else { %>
|
|
9
|
+
templateUrl: './<%= dasherize(name) %>.component.html',<% } if(inlineStyle) { %>
|
|
10
|
+
styles: `
|
|
11
|
+
<%= indentTextContent(resolvedFiles.stylesheet, 4) %>
|
|
12
|
+
`<% } else { %>
|
|
13
|
+
styleUrl: './<%= dasherize(name) %>.component.<%= style %>'<% } %><% if(!!viewEncapsulation) { %>,
|
|
14
|
+
encapsulation: ViewEncapsulation.<%= viewEncapsulation %><% } if (changeDetection !== 'Default') { %>,
|
|
15
|
+
changeDetection: ChangeDetectionStrategy.<%= changeDetection %><% } %><% if(standalone) { %>,
|
|
16
|
+
imports: [CdkDrag, CdkDropList]<% } else { %>,
|
|
17
|
+
standalone: false<% } %>
|
|
18
|
+
})
|
|
19
|
+
export class <%= classify(name) %>Component {
|
|
20
|
+
todo = [
|
|
21
|
+
'Get to work',
|
|
22
|
+
'Pick up groceries',
|
|
23
|
+
'Go home',
|
|
24
|
+
'Fall asleep'
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
done = [
|
|
28
|
+
'Get up',
|
|
29
|
+
'Brush teeth',
|
|
30
|
+
'Take a shower',
|
|
31
|
+
'Check e-mail',
|
|
32
|
+
'Walk dog'
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
drop(event: CdkDragDrop<string[]>): void {
|
|
36
|
+
if (event.previousContainer === event.container) {
|
|
37
|
+
moveItemInArray(event.container.data, event.previousIndex, event.currentIndex);
|
|
38
|
+
} else {
|
|
39
|
+
transferArrayItem(event.previousContainer.data,
|
|
40
|
+
event.container.data,
|
|
41
|
+
event.previousIndex,
|
|
42
|
+
event.currentIndex);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.dev/license
|
|
7
|
+
*/
|
|
8
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
9
|
+
import { Schema } from './schema';
|
|
10
|
+
/** Scaffolds a new Angular component that uses the Drag and Drop module. */
|
|
11
|
+
export default function (options: Schema): Rule;
|