@angular/material 22.0.0-next.2 → 22.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/tokens/_system.scss +14 -8
- package/fesm2022/_animation-chunk.mjs.map +1 -1
- package/fesm2022/_date-formats-chunk.mjs.map +1 -1
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_error-options-chunk.mjs +6 -6
- package/fesm2022/_error-options-chunk.mjs.map +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -1
- package/fesm2022/_form-field-chunk.mjs +33 -37
- package/fesm2022/_form-field-chunk.mjs.map +1 -1
- package/fesm2022/_icon-button-chunk.mjs +9 -9
- package/fesm2022/_icon-button-chunk.mjs.map +1 -1
- package/fesm2022/_icon-registry-chunk.mjs +4 -4
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs +6 -6
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -1
- package/fesm2022/_line-chunk.mjs +7 -7
- package/fesm2022/_line-chunk.mjs.map +1 -1
- package/fesm2022/_option-chunk.mjs +11 -11
- package/fesm2022/_option-chunk.mjs.map +1 -1
- package/fesm2022/_option-harness-chunk.mjs.map +1 -1
- package/fesm2022/_option-module-chunk.mjs +4 -4
- package/fesm2022/_option-module-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-chunk.mjs +6 -8
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -1
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -1
- package/fesm2022/_public-api-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-chunk.mjs +10 -10
- package/fesm2022/_ripple-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-loader-chunk.mjs +3 -3
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -1
- package/fesm2022/_ripple-module-chunk.mjs +4 -4
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -1
- package/fesm2022/_structural-styles-chunk.mjs +6 -6
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -1
- package/fesm2022/_tooltip-chunk.mjs +18 -16
- package/fesm2022/_tooltip-chunk.mjs.map +1 -1
- package/fesm2022/autocomplete-testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +22 -26
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +13 -13
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +18 -20
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-testing.mjs.map +1 -1
- package/fesm2022/button-toggle-testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +14 -14
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +20 -20
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card-testing.mjs.map +1 -1
- package/fesm2022/card.mjs +49 -49
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +10 -10
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips-testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +66 -70
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core-testing.mjs +1 -1
- package/fesm2022/core-testing.mjs.map +1 -1
- package/fesm2022/core.mjs +25 -25
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker-testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +99 -105
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog-testing.mjs +3 -3
- package/fesm2022/dialog-testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +33 -37
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +10 -10
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +35 -37
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -1
- package/fesm2022/form-field-testing.mjs +1 -1
- package/fesm2022/form-field-testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +5 -5
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list-testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +29 -35
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon-testing.mjs +8 -8
- package/fesm2022/icon-testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +11 -11
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input-testing.mjs.map +1 -1
- package/fesm2022/input.mjs +8 -8
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list-testing.mjs.map +1 -1
- package/fesm2022/list.mjs +67 -73
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +28 -30
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator-testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +17 -17
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +10 -10
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +10 -10
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +15 -17
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select-testing.mjs.map +1 -1
- package/fesm2022/select.mjs +26 -26
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +35 -45
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +11 -11
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +41 -43
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +32 -36
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +18 -18
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper-testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +43 -47
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table-testing.mjs.map +1 -1
- package/fesm2022/table.mjs +60 -60
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +62 -68
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker-testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +17 -17
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +15 -17
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip-testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +4 -4
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree-testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/prebuilt-themes/azure-blue.css +167 -1
- package/prebuilt-themes/cyan-orange.css +167 -1
- package/prebuilt-themes/deeppurple-amber.css +2301 -1
- package/prebuilt-themes/indigo-pink.css +2301 -1
- package/prebuilt-themes/magenta-violet.css +167 -1
- package/prebuilt-themes/pink-bluegrey.css +2301 -1
- package/prebuilt-themes/purple-green.css +2301 -1
- package/prebuilt-themes/rose-red.css +167 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_badge-chunk.d.ts +1 -1
- package/types/_button-toggle-chunk.d.ts +3 -3
- package/types/_dialog-chunk.d.ts +1 -1
- package/types/_form-field-chunk.d.ts +2 -4
- package/types/_icon-module-chunk.d.ts +1 -1
- package/types/_icon-registry-chunk.d.ts +1 -1
- package/types/_option-chunk.d.ts +2 -2
- package/types/_option-parent-chunk.d.ts +1 -1
- package/types/_paginator-chunk.d.ts +1 -1
- package/types/_progress-spinner-chunk.d.ts +1 -1
- package/types/_pseudo-checkbox-module-chunk.d.ts +0 -1
- package/types/_ripple-chunk.d.ts +2 -2
- package/types/autocomplete.d.ts +1 -3
- package/types/bottom-sheet.d.ts +1 -2
- package/types/button.d.ts +5 -5
- package/types/card.d.ts +1 -1
- package/types/checkbox.d.ts +1 -1
- package/types/chips.d.ts +7 -9
- package/types/core.d.ts +1 -1
- package/types/datepicker.d.ts +13 -16
- package/types/dialog-testing.d.ts +1 -1
- package/types/dialog.d.ts +1 -3
- package/types/expansion.d.ts +2 -3
- package/types/grid-list.d.ts +1 -4
- package/types/input.d.ts +1 -1
- package/types/list.d.ts +2 -5
- package/types/menu.d.ts +3 -4
- package/types/paginator.d.ts +0 -1
- package/types/progress-bar.d.ts +1 -1
- package/types/radio.d.ts +2 -3
- package/types/select.d.ts +3 -3
- package/types/sidenav-testing.d.ts +1 -1
- package/types/sidenav.d.ts +3 -4
- package/types/slide-toggle.d.ts +1 -1
- package/types/slider.d.ts +8 -13
- package/types/snack-bar.d.ts +1 -3
- package/types/sort.d.ts +1 -1
- package/types/stepper.d.ts +2 -4
- package/types/table.d.ts +2 -4
- package/types/tabs.d.ts +7 -9
- package/types/timepicker.d.ts +1 -1
- package/types/toolbar.d.ts +0 -1
- package/types/tooltip.d.ts +317 -7
- package/types/tree.d.ts +3 -3
- package/types/_tooltip-chunk.d.ts +0 -315
|
@@ -6,7 +6,7 @@ import { MatRipple } from './_ripple-chunk.mjs';
|
|
|
6
6
|
class MatRippleModule {
|
|
7
7
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
8
8
|
minVersion: "12.0.0",
|
|
9
|
-
version: "22.0.0-next.
|
|
9
|
+
version: "22.0.0-next.6",
|
|
10
10
|
ngImport: i0,
|
|
11
11
|
type: MatRippleModule,
|
|
12
12
|
deps: [],
|
|
@@ -14,7 +14,7 @@ class MatRippleModule {
|
|
|
14
14
|
});
|
|
15
15
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
16
16
|
minVersion: "14.0.0",
|
|
17
|
-
version: "22.0.0-next.
|
|
17
|
+
version: "22.0.0-next.6",
|
|
18
18
|
ngImport: i0,
|
|
19
19
|
type: MatRippleModule,
|
|
20
20
|
imports: [MatRipple],
|
|
@@ -22,7 +22,7 @@ class MatRippleModule {
|
|
|
22
22
|
});
|
|
23
23
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
24
24
|
minVersion: "12.0.0",
|
|
25
|
-
version: "22.0.0-next.
|
|
25
|
+
version: "22.0.0-next.6",
|
|
26
26
|
ngImport: i0,
|
|
27
27
|
type: MatRippleModule,
|
|
28
28
|
imports: [BidiModule]
|
|
@@ -30,7 +30,7 @@ class MatRippleModule {
|
|
|
30
30
|
}
|
|
31
31
|
i0.ɵɵngDeclareClassMetadata({
|
|
32
32
|
minVersion: "12.0.0",
|
|
33
|
-
version: "22.0.0-next.
|
|
33
|
+
version: "22.0.0-next.6",
|
|
34
34
|
ngImport: i0,
|
|
35
35
|
type: MatRippleModule,
|
|
36
36
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_ripple-module-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/ripple/ripple-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {BidiModule} from '@angular/cdk/bidi';\nimport {NgModule} from '@angular/core';\nimport {MatRipple} from './ripple';\n\n@NgModule({\n imports: [MatRipple],\n exports: [MatRipple, BidiModule],\n})\nexport class MatRippleModule {}\n"],"names":["MatRippleModule","deps","target","i0","ɵɵFactoryTarget","NgModule","ɵmod","ɵɵngDeclareNgModule","minVersion","version","ngImport","type","imports","MatRipple","exports","BidiModule","ɵinj","ɵɵngDeclareInjector","decorators","args"],"mappings":";;;;;MAgBaA,eAAe,CAAA;;;;;UAAfA,eAAe;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAf,EAAA,OAAAC,IAAA,GAAAH,EAAA,CAAAI,mBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,QAAA,EAAAP,EAAA;AAAAQ,IAAAA,IAAA,EAAAX,eAAe;
|
|
1
|
+
{"version":3,"file":"_ripple-module-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/ripple/ripple-module.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {BidiModule} from '@angular/cdk/bidi';\nimport {NgModule} from '@angular/core';\nimport {MatRipple} from './ripple';\n\n@NgModule({\n imports: [MatRipple],\n exports: [MatRipple, BidiModule],\n})\nexport class MatRippleModule {}\n"],"names":["MatRippleModule","deps","target","i0","ɵɵFactoryTarget","NgModule","ɵmod","ɵɵngDeclareNgModule","minVersion","version","ngImport","type","imports","MatRipple","exports","BidiModule","ɵinj","ɵɵngDeclareInjector","decorators","args"],"mappings":";;;;;MAgBaA,eAAe,CAAA;;;;;UAAfA,eAAe;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAf,EAAA,OAAAC,IAAA,GAAAH,EAAA,CAAAI,mBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,QAAA,EAAAP,EAAA;AAAAQ,IAAAA,IAAA,EAAAX,eAAe;IAAAY,OAAA,EAAA,CAHhBC,SAAS,CAAA;AAAAC,IAAAA,OAAA,EAAA,CACTD,SAAS,EAAEE,UAAU;AAAA,GAAA,CAAA;AAEpB,EAAA,OAAAC,IAAA,GAAAb,EAAA,CAAAc,mBAAA,CAAA;AAAAT,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,QAAA,EAAAP,EAAA;AAAAQ,IAAAA,IAAA,EAAAX,eAAe;cAFLe,UAAU;AAAA,GAAA,CAAA;;;;;;QAEpBf,eAAe;AAAAkB,EAAAA,UAAA,EAAA,CAAA;UAJ3Bb,QAAQ;AAACc,IAAAA,IAAA,EAAA,CAAA;MACRP,OAAO,EAAE,CAACC,SAAS,CAAC;AACpBC,MAAAA,OAAO,EAAE,CAACD,SAAS,EAAEE,UAAU;KAChC;;;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class _StructuralStylesLoader {
|
|
5
5
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
6
6
|
minVersion: "12.0.0",
|
|
7
|
-
version: "22.0.0-next.
|
|
7
|
+
version: "22.0.0-next.6",
|
|
8
8
|
ngImport: i0,
|
|
9
9
|
type: _StructuralStylesLoader,
|
|
10
10
|
deps: [],
|
|
@@ -12,21 +12,21 @@ class _StructuralStylesLoader {
|
|
|
12
12
|
});
|
|
13
13
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
14
14
|
minVersion: "14.0.0",
|
|
15
|
-
version: "22.0.0-next.
|
|
15
|
+
version: "22.0.0-next.6",
|
|
16
16
|
type: _StructuralStylesLoader,
|
|
17
17
|
isStandalone: true,
|
|
18
18
|
selector: "structural-styles",
|
|
19
19
|
ngImport: i0,
|
|
20
20
|
template: '',
|
|
21
21
|
isInline: true,
|
|
22
|
-
styles: [".mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0
|
|
22
|
+
styles: [".mat-focus-indicator {\n position: relative;\n}\n.mat-focus-indicator::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n display: var(--mat-focus-indicator-display, none);\n border-width: var(--mat-focus-indicator-border-width, 3px);\n border-style: var(--mat-focus-indicator-border-style, solid);\n border-color: var(--mat-focus-indicator-border-color, transparent);\n border-radius: var(--mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n content: \"\";\n}\n\n@media (forced-colors: active) {\n html {\n --mat-focus-indicator-display: block;\n }\n}\n"],
|
|
23
23
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
24
24
|
encapsulation: i0.ViewEncapsulation.None
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
i0.ɵɵngDeclareClassMetadata({
|
|
28
28
|
minVersion: "12.0.0",
|
|
29
|
-
version: "22.0.0-next.
|
|
29
|
+
version: "22.0.0-next.6",
|
|
30
30
|
ngImport: i0,
|
|
31
31
|
type: _StructuralStylesLoader,
|
|
32
32
|
decorators: [{
|
|
@@ -36,7 +36,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
36
36
|
encapsulation: ViewEncapsulation.None,
|
|
37
37
|
template: '',
|
|
38
38
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
39
|
-
styles: [".mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0
|
|
39
|
+
styles: [".mat-focus-indicator {\n position: relative;\n}\n.mat-focus-indicator::before {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n position: absolute;\n box-sizing: border-box;\n pointer-events: none;\n display: var(--mat-focus-indicator-display, none);\n border-width: var(--mat-focus-indicator-border-width, 3px);\n border-style: var(--mat-focus-indicator-border-style, solid);\n border-color: var(--mat-focus-indicator-border-color, transparent);\n border-radius: var(--mat-focus-indicator-border-radius, 4px);\n}\n.mat-focus-indicator:focus-visible::before {\n content: \"\";\n}\n\n@media (forced-colors: active) {\n html {\n --mat-focus-indicator-display: block;\n }\n}\n"]
|
|
40
40
|
}]
|
|
41
41
|
}]
|
|
42
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_structural-styles-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/focus-indicators/structural-styles.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 {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n/**\n * Component used to load structural styles for focus indicators.\n * @docs-private\n */\n@Component({\n selector: 'structural-styles',\n styleUrl: 'structural-styles.css',\n encapsulation: ViewEncapsulation.None,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class _StructuralStylesLoader {}\n"],"names":["_StructuralStylesLoader","deps","target","i0","ɵɵFactoryTarget","Component","ɵcmp","ɵɵngDeclareComponent","minVersion","version","type","isInline","styles","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","decorators"],"mappings":";;;MAqBaA,uBAAuB,CAAA;;;;;UAAvBA,uBAAuB;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAvB,EAAA,OAAAC,IAAA,GAAAH,EAAA,CAAAI,oBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,IAAA,EAAAV,uBAAuB;;;;cAHxB,EAAE;AAAAW,IAAAA,QAAA,EAAA,IAAA;IAAAC,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"_structural-styles-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/core/focus-indicators/structural-styles.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 {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n/**\n * Component used to load structural styles for focus indicators.\n * @docs-private\n */\n@Component({\n selector: 'structural-styles',\n styleUrl: 'structural-styles.css',\n encapsulation: ViewEncapsulation.None,\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class _StructuralStylesLoader {}\n"],"names":["_StructuralStylesLoader","deps","target","i0","ɵɵFactoryTarget","Component","ɵcmp","ɵɵngDeclareComponent","minVersion","version","type","isInline","styles","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","decorators"],"mappings":";;;MAqBaA,uBAAuB,CAAA;;;;;UAAvBA,uBAAuB;AAAAC,IAAAA,IAAA,EAAA,EAAA;AAAAC,IAAAA,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;AAAvB,EAAA,OAAAC,IAAA,GAAAH,EAAA,CAAAI,oBAAA,CAAA;AAAAC,IAAAA,UAAA,EAAA,QAAA;AAAAC,IAAAA,OAAA,EAAA,eAAA;AAAAC,IAAAA,IAAA,EAAAV,uBAAuB;;;;cAHxB,EAAE;AAAAW,IAAAA,QAAA,EAAA,IAAA;IAAAC,MAAA,EAAA,CAAA,srBAAA,CAAA;AAAAC,IAAAA,eAAA,EAAAV,EAAA,CAAAW,uBAAA,CAAAC,MAAA;AAAAC,IAAAA,aAAA,EAAAb,EAAA,CAAAc,iBAAA,CAAAC;AAAA,GAAA,CAAA;;;;;;QAGDlB,uBAAuB;AAAAmB,EAAAA,UAAA,EAAA,CAAA;UAPnCd,SAAS;;gBACE,mBAAmB;MAAAW,aAAA,EAEdC,iBAAiB,CAACC,IAAI;gBAC3B,EAAE;MAAAL,eAAA,EACKC,uBAAuB,CAACC,MAAM;MAAAH,MAAA,EAAA,CAAA,srBAAA;KAAA;;;;;;"}
|
|
@@ -2,7 +2,7 @@ import { takeUntil } from 'rxjs/operators';
|
|
|
2
2
|
import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
|
3
3
|
import { ESCAPE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { InjectionToken, inject, Injector, ElementRef, NgZone, ViewContainerRef, DOCUMENT, Renderer2, afterNextRender,
|
|
5
|
+
import { InjectionToken, inject, Injector, ElementRef, NgZone, ViewContainerRef, DOCUMENT, Renderer2, afterNextRender, ChangeDetectorRef, Input, Directive, ViewChild, ChangeDetectionStrategy, ViewEncapsulation, Component } from '@angular/core';
|
|
6
6
|
import { Platform } from '@angular/cdk/platform';
|
|
7
7
|
import { AriaDescriber, FocusMonitor } from '@angular/cdk/a11y';
|
|
8
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
@@ -524,12 +524,16 @@ class MatTooltip {
|
|
|
524
524
|
this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement, name, listener, passiveListenerOptions));
|
|
525
525
|
}
|
|
526
526
|
_isTouchPlatform() {
|
|
527
|
+
const detectHoverCapability = this._defaultOptions?.detectHoverCapability;
|
|
528
|
+
if (typeof detectHoverCapability === 'function') {
|
|
529
|
+
return !detectHoverCapability();
|
|
530
|
+
}
|
|
527
531
|
if (this._platform.IOS || this._platform.ANDROID) {
|
|
528
532
|
return true;
|
|
529
533
|
} else if (!this._platform.isBrowser) {
|
|
530
534
|
return false;
|
|
531
535
|
}
|
|
532
|
-
return !!
|
|
536
|
+
return !!detectHoverCapability && this._mediaMatcher.matchMedia('(any-hover: none)').matches;
|
|
533
537
|
}
|
|
534
538
|
_disableNativeGesturesIfNecessary() {
|
|
535
539
|
const gestures = this.touchGestures;
|
|
@@ -537,13 +541,13 @@ class MatTooltip {
|
|
|
537
541
|
const element = this._elementRef.nativeElement;
|
|
538
542
|
const style = element.style;
|
|
539
543
|
if (gestures === 'on' || element.nodeName !== 'INPUT' && element.nodeName !== 'TEXTAREA') {
|
|
540
|
-
style
|
|
544
|
+
style['userSelect'] = style['msUserSelect'] = style['webkitUserSelect'] = style['MozUserSelect'] = 'none';
|
|
541
545
|
}
|
|
542
546
|
if (gestures === 'on' || !element.draggable) {
|
|
543
|
-
style
|
|
547
|
+
style['webkitUserDrag'] = 'none';
|
|
544
548
|
}
|
|
545
|
-
style
|
|
546
|
-
style
|
|
549
|
+
style['touchAction'] = 'none';
|
|
550
|
+
style['webkitTapHighlightColor'] = 'transparent';
|
|
547
551
|
}
|
|
548
552
|
}
|
|
549
553
|
_syncAriaDescription(oldMessage) {
|
|
@@ -573,7 +577,7 @@ class MatTooltip {
|
|
|
573
577
|
};
|
|
574
578
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
575
579
|
minVersion: "12.0.0",
|
|
576
|
-
version: "22.0.0-next.
|
|
580
|
+
version: "22.0.0-next.6",
|
|
577
581
|
ngImport: i0,
|
|
578
582
|
type: MatTooltip,
|
|
579
583
|
deps: [],
|
|
@@ -581,7 +585,7 @@ class MatTooltip {
|
|
|
581
585
|
});
|
|
582
586
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
583
587
|
minVersion: "14.0.0",
|
|
584
|
-
version: "22.0.0-next.
|
|
588
|
+
version: "22.0.0-next.6",
|
|
585
589
|
type: MatTooltip,
|
|
586
590
|
isStandalone: true,
|
|
587
591
|
selector: "[matTooltip]",
|
|
@@ -607,7 +611,7 @@ class MatTooltip {
|
|
|
607
611
|
}
|
|
608
612
|
i0.ɵɵngDeclareClassMetadata({
|
|
609
613
|
minVersion: "12.0.0",
|
|
610
|
-
version: "22.0.0-next.
|
|
614
|
+
version: "22.0.0-next.6",
|
|
611
615
|
ngImport: i0,
|
|
612
616
|
type: MatTooltip,
|
|
613
617
|
decorators: [{
|
|
@@ -674,7 +678,6 @@ class TooltipComponent {
|
|
|
674
678
|
_onHide = new Subject();
|
|
675
679
|
_showAnimation = 'mat-mdc-tooltip-show';
|
|
676
680
|
_hideAnimation = 'mat-mdc-tooltip-hide';
|
|
677
|
-
constructor() {}
|
|
678
681
|
show(delay) {
|
|
679
682
|
if (this._hideTimeoutId != null) {
|
|
680
683
|
clearTimeout(this._hideTimeoutId);
|
|
@@ -780,7 +783,7 @@ class TooltipComponent {
|
|
|
780
783
|
}
|
|
781
784
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
782
785
|
minVersion: "12.0.0",
|
|
783
|
-
version: "22.0.0-next.
|
|
786
|
+
version: "22.0.0-next.6",
|
|
784
787
|
ngImport: i0,
|
|
785
788
|
type: TooltipComponent,
|
|
786
789
|
deps: [],
|
|
@@ -788,7 +791,7 @@ class TooltipComponent {
|
|
|
788
791
|
});
|
|
789
792
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
790
793
|
minVersion: "14.0.0",
|
|
791
|
-
version: "22.0.0-next.
|
|
794
|
+
version: "22.0.0-next.6",
|
|
792
795
|
type: TooltipComponent,
|
|
793
796
|
isStandalone: true,
|
|
794
797
|
selector: "mat-tooltip-component",
|
|
@@ -809,14 +812,14 @@ class TooltipComponent {
|
|
|
809
812
|
}],
|
|
810
813
|
ngImport: i0,
|
|
811
814
|
template: "<div\n #tooltip\n class=\"mdc-tooltip mat-mdc-tooltip\"\n [class]=\"tooltipClass\"\n (animationend)=\"_handleAnimationEnd($event)\"\n [class.mdc-tooltip--multiline]=\"_isMultiline\">\n <div class=\"mat-mdc-tooltip-surface mdc-tooltip__surface\">{{message}}</div>\n</div>\n",
|
|
812
|
-
styles: [".mat-mdc-tooltip{position:relative
|
|
815
|
+
styles: [".mat-mdc-tooltip {\n position: relative;\n transform: scale(0);\n display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n content: \"\";\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n animation: none;\n transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n word-break: normal;\n overflow-wrap: anywhere;\n padding: 4px 8px;\n min-width: 40px;\n max-width: 200px;\n min-height: 24px;\n max-height: 40vh;\n box-sizing: border-box;\n overflow: hidden;\n text-align: center;\n will-change: transform, opacity;\n background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));\n color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));\n border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));\n font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));\n font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));\n font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));\n line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));\n letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: \"\";\n pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n 0% {\n opacity: 0;\n transform: scale(0.8);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes mat-mdc-tooltip-hide {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n.mat-mdc-tooltip-show {\n animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n"],
|
|
813
816
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
814
817
|
encapsulation: i0.ViewEncapsulation.None
|
|
815
818
|
});
|
|
816
819
|
}
|
|
817
820
|
i0.ɵɵngDeclareClassMetadata({
|
|
818
821
|
minVersion: "12.0.0",
|
|
819
|
-
version: "22.0.0-next.
|
|
822
|
+
version: "22.0.0-next.6",
|
|
820
823
|
ngImport: i0,
|
|
821
824
|
type: TooltipComponent,
|
|
822
825
|
decorators: [{
|
|
@@ -830,10 +833,9 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
830
833
|
'aria-hidden': 'true'
|
|
831
834
|
},
|
|
832
835
|
template: "<div\n #tooltip\n class=\"mdc-tooltip mat-mdc-tooltip\"\n [class]=\"tooltipClass\"\n (animationend)=\"_handleAnimationEnd($event)\"\n [class.mdc-tooltip--multiline]=\"_isMultiline\">\n <div class=\"mat-mdc-tooltip-surface mdc-tooltip__surface\">{{message}}</div>\n</div>\n",
|
|
833
|
-
styles: [".mat-mdc-tooltip{position:relative
|
|
836
|
+
styles: [".mat-mdc-tooltip {\n position: relative;\n transform: scale(0);\n display: inline-flex;\n}\n.mat-mdc-tooltip::before {\n content: \"\";\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n position: absolute;\n}\n.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before {\n top: -8px;\n}\n.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before {\n bottom: -8px;\n}\n.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before {\n left: -8px;\n}\n.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before {\n right: -8px;\n}\n.mat-mdc-tooltip._mat-animation-noopable {\n animation: none;\n transform: scale(1);\n}\n\n.mat-mdc-tooltip-surface {\n word-break: normal;\n overflow-wrap: anywhere;\n padding: 4px 8px;\n min-width: 40px;\n max-width: 200px;\n min-height: 24px;\n max-height: 40vh;\n box-sizing: border-box;\n overflow: hidden;\n text-align: center;\n will-change: transform, opacity;\n background-color: var(--mat-tooltip-container-color, var(--mat-sys-inverse-surface));\n color: var(--mat-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));\n border-radius: var(--mat-tooltip-container-shape, var(--mat-sys-corner-extra-small));\n font-family: var(--mat-tooltip-supporting-text-font, var(--mat-sys-body-small-font));\n font-size: var(--mat-tooltip-supporting-text-size, var(--mat-sys-body-small-size));\n font-weight: var(--mat-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));\n line-height: var(--mat-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));\n letter-spacing: var(--mat-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking));\n}\n.mat-mdc-tooltip-surface::before {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n border: 1px solid transparent;\n border-radius: inherit;\n content: \"\";\n pointer-events: none;\n}\n.mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: left;\n}\n[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface {\n text-align: right;\n}\n\n.mat-mdc-tooltip-panel {\n line-height: normal;\n}\n.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive {\n pointer-events: none;\n}\n\n@keyframes mat-mdc-tooltip-show {\n 0% {\n opacity: 0;\n transform: scale(0.8);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n@keyframes mat-mdc-tooltip-hide {\n 0% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(0.8);\n }\n}\n.mat-mdc-tooltip-show {\n animation: mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards;\n}\n\n.mat-mdc-tooltip-hide {\n animation: mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards;\n}\n"]
|
|
834
837
|
}]
|
|
835
838
|
}],
|
|
836
|
-
ctorParameters: () => [],
|
|
837
839
|
propDecorators: {
|
|
838
840
|
_tooltip: [{
|
|
839
841
|
type: ViewChild,
|