@andersbakken/fisk-scheduler-ui 0.0.55 → 0.0.57
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/.angular/cache/18.2.21/ui/.tsbuildinfo +1 -1
- package/.angular/cache/18.2.21/ui/angular-compiler.db +0 -0
- package/.angular/cache/18.2.21/ui/angular-compiler.db-lock +0 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common.js +201 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common_http.js +85 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_common_http.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_core.js +932 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_core.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_forms.js +134 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_forms.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_button.js +33 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_button.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_card.js +567 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_card.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_checkbox.js +782 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_checkbox.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_core.js +98 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_core.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_dialog.js +1829 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_dialog.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_form-field.js +45 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_form-field.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_input.js +1014 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_input.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_list.js +2169 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_list.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_select.js +1529 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_select.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_snack-bar.js +940 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_snack-bar.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_tabs.js +2962 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_material_tabs.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser.js +84 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser_animations.js +4136 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_platform-browser_animations.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_router.js +5700 -0
- package/.angular/cache/18.2.21/ui/vite/deps/@angular_router.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/_metadata.json +172 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-2ZKE2YDD.js +1222 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-2ZKE2YDD.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-3OV72XIM.js +64 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-3OV72XIM.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-57TVY4HY.js +2218 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-57TVY4HY.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-A5IWFVHJ.js +2374 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-A5IWFVHJ.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-DJ6HHZ3S.js +1940 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-DJ6HHZ3S.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-FE6XYTIJ.js +126 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-FE6XYTIJ.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-ITHJLHIY.js +5795 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-ITHJLHIY.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-MFI342ZJ.js +512 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-MFI342ZJ.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NPVZU53R.js +6511 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NPVZU53R.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NSRJEU3V.js +27918 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-NSRJEU3V.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-R2N6IWJV.js +5116 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-R2N6IWJV.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-TO3SXVFJ.js +2840 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-TO3SXVFJ.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WFLMTRZP.js +379 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WFLMTRZP.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WQ5YUVUS.js +1534 -0
- package/.angular/cache/18.2.21/ui/vite/deps/chunk-WQ5YUVUS.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/ngx-color-picker.js +2925 -0
- package/.angular/cache/18.2.21/ui/vite/deps/ngx-color-picker.js.map +7 -0
- package/.angular/cache/18.2.21/ui/vite/deps/seedrandom.js +703 -0
- package/.angular/cache/18.2.21/ui/vite/deps/seedrandom.js.map +7 -0
- package/README.md +16 -0
- package/dist/ui/browser/index.html +1 -1
- package/dist/ui/browser/main-6SIZHY3G.js +17 -0
- package/package.json +3 -1
- package/scripts/mock-scheduler.js +350 -0
- package/scripts/test-live-model.js +286 -0
- package/dist/ui/browser/main-WR7FX6UH.js +0 -16
|
@@ -0,0 +1,2169 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NG_VALUE_ACCESSOR
|
|
3
|
+
} from "./chunk-NPVZU53R.js";
|
|
4
|
+
import {
|
|
5
|
+
SelectionModel
|
|
6
|
+
} from "./chunk-WFLMTRZP.js";
|
|
7
|
+
import {
|
|
8
|
+
A,
|
|
9
|
+
CdkObserveContent,
|
|
10
|
+
ENTER,
|
|
11
|
+
FocusKeyManager,
|
|
12
|
+
MAT_RIPPLE_GLOBAL_OPTIONS,
|
|
13
|
+
MatCommonModule,
|
|
14
|
+
MatPseudoCheckboxModule,
|
|
15
|
+
MatRippleModule,
|
|
16
|
+
ObserversModule,
|
|
17
|
+
Platform,
|
|
18
|
+
RippleRenderer,
|
|
19
|
+
SPACE,
|
|
20
|
+
_getFocusedElementPierceShadowDom,
|
|
21
|
+
coerceBooleanProperty,
|
|
22
|
+
coerceNumberProperty,
|
|
23
|
+
hasModifierKey
|
|
24
|
+
} from "./chunk-ITHJLHIY.js";
|
|
25
|
+
import {
|
|
26
|
+
CommonModule,
|
|
27
|
+
NgTemplateOutlet
|
|
28
|
+
} from "./chunk-R2N6IWJV.js";
|
|
29
|
+
import {
|
|
30
|
+
ANIMATION_MODULE_TYPE,
|
|
31
|
+
ChangeDetectionStrategy,
|
|
32
|
+
ChangeDetectorRef,
|
|
33
|
+
Component,
|
|
34
|
+
ContentChildren,
|
|
35
|
+
Directive,
|
|
36
|
+
ElementRef,
|
|
37
|
+
EventEmitter,
|
|
38
|
+
Inject,
|
|
39
|
+
InjectionToken,
|
|
40
|
+
Input,
|
|
41
|
+
NgModule,
|
|
42
|
+
NgZone,
|
|
43
|
+
Optional,
|
|
44
|
+
Output,
|
|
45
|
+
Subject,
|
|
46
|
+
Subscription,
|
|
47
|
+
ViewChild,
|
|
48
|
+
ViewEncapsulation$1,
|
|
49
|
+
forwardRef,
|
|
50
|
+
inject,
|
|
51
|
+
merge,
|
|
52
|
+
setClassMetadata,
|
|
53
|
+
takeUntil,
|
|
54
|
+
ɵɵInheritDefinitionFeature,
|
|
55
|
+
ɵɵNgOnChangesFeature,
|
|
56
|
+
ɵɵProvidersFeature,
|
|
57
|
+
ɵɵStandaloneFeature,
|
|
58
|
+
ɵɵadvance,
|
|
59
|
+
ɵɵattribute,
|
|
60
|
+
ɵɵclassProp,
|
|
61
|
+
ɵɵconditional,
|
|
62
|
+
ɵɵcontentQuery,
|
|
63
|
+
ɵɵdefineComponent,
|
|
64
|
+
ɵɵdefineDirective,
|
|
65
|
+
ɵɵdefineInjector,
|
|
66
|
+
ɵɵdefineNgModule,
|
|
67
|
+
ɵɵdirectiveInject,
|
|
68
|
+
ɵɵelement,
|
|
69
|
+
ɵɵelementEnd,
|
|
70
|
+
ɵɵelementStart,
|
|
71
|
+
ɵɵgetCurrentView,
|
|
72
|
+
ɵɵgetInheritedFactory,
|
|
73
|
+
ɵɵlistener,
|
|
74
|
+
ɵɵloadQuery,
|
|
75
|
+
ɵɵnamespaceHTML,
|
|
76
|
+
ɵɵnamespaceSVG,
|
|
77
|
+
ɵɵnextContext,
|
|
78
|
+
ɵɵprojection,
|
|
79
|
+
ɵɵprojectionDef,
|
|
80
|
+
ɵɵproperty,
|
|
81
|
+
ɵɵqueryRefresh,
|
|
82
|
+
ɵɵreference,
|
|
83
|
+
ɵɵresetView,
|
|
84
|
+
ɵɵrestoreView,
|
|
85
|
+
ɵɵtemplate,
|
|
86
|
+
ɵɵtemplateRefExtractor,
|
|
87
|
+
ɵɵviewQuery
|
|
88
|
+
} from "./chunk-NSRJEU3V.js";
|
|
89
|
+
import "./chunk-3OV72XIM.js";
|
|
90
|
+
|
|
91
|
+
// node_modules/@angular/material/fesm2022/divider.mjs
|
|
92
|
+
var MatDivider = class _MatDivider {
|
|
93
|
+
constructor() {
|
|
94
|
+
this._vertical = false;
|
|
95
|
+
this._inset = false;
|
|
96
|
+
}
|
|
97
|
+
/** Whether the divider is vertically aligned. */
|
|
98
|
+
get vertical() {
|
|
99
|
+
return this._vertical;
|
|
100
|
+
}
|
|
101
|
+
set vertical(value) {
|
|
102
|
+
this._vertical = coerceBooleanProperty(value);
|
|
103
|
+
}
|
|
104
|
+
/** Whether the divider is an inset divider. */
|
|
105
|
+
get inset() {
|
|
106
|
+
return this._inset;
|
|
107
|
+
}
|
|
108
|
+
set inset(value) {
|
|
109
|
+
this._inset = coerceBooleanProperty(value);
|
|
110
|
+
}
|
|
111
|
+
static {
|
|
112
|
+
this.ɵfac = function MatDivider_Factory(__ngFactoryType__) {
|
|
113
|
+
return new (__ngFactoryType__ || _MatDivider)();
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
static {
|
|
117
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
118
|
+
type: _MatDivider,
|
|
119
|
+
selectors: [["mat-divider"]],
|
|
120
|
+
hostAttrs: ["role", "separator", 1, "mat-divider"],
|
|
121
|
+
hostVars: 7,
|
|
122
|
+
hostBindings: function MatDivider_HostBindings(rf, ctx) {
|
|
123
|
+
if (rf & 2) {
|
|
124
|
+
ɵɵattribute("aria-orientation", ctx.vertical ? "vertical" : "horizontal");
|
|
125
|
+
ɵɵclassProp("mat-divider-vertical", ctx.vertical)("mat-divider-horizontal", !ctx.vertical)("mat-divider-inset", ctx.inset);
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
inputs: {
|
|
129
|
+
vertical: "vertical",
|
|
130
|
+
inset: "inset"
|
|
131
|
+
},
|
|
132
|
+
standalone: true,
|
|
133
|
+
features: [ɵɵStandaloneFeature],
|
|
134
|
+
decls: 0,
|
|
135
|
+
vars: 0,
|
|
136
|
+
template: function MatDivider_Template(rf, ctx) {
|
|
137
|
+
},
|
|
138
|
+
styles: [".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],
|
|
139
|
+
encapsulation: 2,
|
|
140
|
+
changeDetection: 0
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
(() => {
|
|
145
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatDivider, [{
|
|
146
|
+
type: Component,
|
|
147
|
+
args: [{
|
|
148
|
+
selector: "mat-divider",
|
|
149
|
+
host: {
|
|
150
|
+
"role": "separator",
|
|
151
|
+
"[attr.aria-orientation]": 'vertical ? "vertical" : "horizontal"',
|
|
152
|
+
"[class.mat-divider-vertical]": "vertical",
|
|
153
|
+
"[class.mat-divider-horizontal]": "!vertical",
|
|
154
|
+
"[class.mat-divider-inset]": "inset",
|
|
155
|
+
"class": "mat-divider"
|
|
156
|
+
},
|
|
157
|
+
template: "",
|
|
158
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
159
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
160
|
+
standalone: true,
|
|
161
|
+
styles: [".mat-divider{display:block;margin:0;border-top-style:solid;border-top-color:var(--mat-divider-color, var(--mat-app-outline));border-top-width:var(--mat-divider-width)}.mat-divider.mat-divider-vertical{border-top:0;border-right-style:solid;border-right-color:var(--mat-divider-color, var(--mat-app-outline));border-right-width:var(--mat-divider-width)}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"]
|
|
162
|
+
}]
|
|
163
|
+
}], null, {
|
|
164
|
+
vertical: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}],
|
|
167
|
+
inset: [{
|
|
168
|
+
type: Input
|
|
169
|
+
}]
|
|
170
|
+
});
|
|
171
|
+
})();
|
|
172
|
+
var MatDividerModule = class _MatDividerModule {
|
|
173
|
+
static {
|
|
174
|
+
this.ɵfac = function MatDividerModule_Factory(__ngFactoryType__) {
|
|
175
|
+
return new (__ngFactoryType__ || _MatDividerModule)();
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
static {
|
|
179
|
+
this.ɵmod = ɵɵdefineNgModule({
|
|
180
|
+
type: _MatDividerModule,
|
|
181
|
+
imports: [MatCommonModule, MatDivider],
|
|
182
|
+
exports: [MatDivider, MatCommonModule]
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
static {
|
|
186
|
+
this.ɵinj = ɵɵdefineInjector({
|
|
187
|
+
imports: [MatCommonModule, MatCommonModule]
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
(() => {
|
|
192
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatDividerModule, [{
|
|
193
|
+
type: NgModule,
|
|
194
|
+
args: [{
|
|
195
|
+
imports: [MatCommonModule, MatDivider],
|
|
196
|
+
exports: [MatDivider, MatCommonModule]
|
|
197
|
+
}]
|
|
198
|
+
}], null, null);
|
|
199
|
+
})();
|
|
200
|
+
|
|
201
|
+
// node_modules/@angular/material/fesm2022/list.mjs
|
|
202
|
+
var _c0 = ["*"];
|
|
203
|
+
var _c1 = '.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}';
|
|
204
|
+
var _c2 = ["unscopedContent"];
|
|
205
|
+
var _c3 = ["text"];
|
|
206
|
+
var _c4 = [[["", "matListItemAvatar", ""], ["", "matListItemIcon", ""]], [["", "matListItemTitle", ""]], [["", "matListItemLine", ""]], "*", [["", "matListItemMeta", ""]], [["mat-divider"]]];
|
|
207
|
+
var _c5 = ["[matListItemAvatar],[matListItemIcon]", "[matListItemTitle]", "[matListItemLine]", "*", "[matListItemMeta]", "mat-divider"];
|
|
208
|
+
var _c6 = [[["", "matListItemTitle", ""]], [["", "matListItemLine", ""]], "*", [["mat-divider"]], [["", "matListItemAvatar", ""], ["", "matListItemIcon", ""]]];
|
|
209
|
+
var _c7 = ["[matListItemTitle]", "[matListItemLine]", "*", "mat-divider", "[matListItemAvatar],[matListItemIcon]"];
|
|
210
|
+
function MatListOption_ng_template_0_Template(rf, ctx) {
|
|
211
|
+
if (rf & 1) {
|
|
212
|
+
ɵɵprojection(0, 4);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
function MatListOption_ng_template_2_Template(rf, ctx) {
|
|
216
|
+
if (rf & 1) {
|
|
217
|
+
ɵɵelementStart(0, "div", 11);
|
|
218
|
+
ɵɵelement(1, "input", 12);
|
|
219
|
+
ɵɵelementStart(2, "div", 13);
|
|
220
|
+
ɵɵnamespaceSVG();
|
|
221
|
+
ɵɵelementStart(3, "svg", 14);
|
|
222
|
+
ɵɵelement(4, "path", 15);
|
|
223
|
+
ɵɵelementEnd();
|
|
224
|
+
ɵɵnamespaceHTML();
|
|
225
|
+
ɵɵelement(5, "div", 16);
|
|
226
|
+
ɵɵelementEnd()();
|
|
227
|
+
}
|
|
228
|
+
if (rf & 2) {
|
|
229
|
+
const ctx_r1 = ɵɵnextContext();
|
|
230
|
+
ɵɵclassProp("mdc-checkbox--disabled", ctx_r1.disabled);
|
|
231
|
+
ɵɵadvance();
|
|
232
|
+
ɵɵproperty("checked", ctx_r1.selected)("disabled", ctx_r1.disabled);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
function MatListOption_ng_template_4_Template(rf, ctx) {
|
|
236
|
+
if (rf & 1) {
|
|
237
|
+
ɵɵelementStart(0, "div", 17);
|
|
238
|
+
ɵɵelement(1, "input", 18);
|
|
239
|
+
ɵɵelementStart(2, "div", 19);
|
|
240
|
+
ɵɵelement(3, "div", 20)(4, "div", 21);
|
|
241
|
+
ɵɵelementEnd()();
|
|
242
|
+
}
|
|
243
|
+
if (rf & 2) {
|
|
244
|
+
const ctx_r1 = ɵɵnextContext();
|
|
245
|
+
ɵɵclassProp("mdc-radio--disabled", ctx_r1.disabled);
|
|
246
|
+
ɵɵadvance();
|
|
247
|
+
ɵɵproperty("checked", ctx_r1.selected)("disabled", ctx_r1.disabled);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
function MatListOption_Conditional_6_ng_template_1_Template(rf, ctx) {
|
|
251
|
+
}
|
|
252
|
+
function MatListOption_Conditional_6_Template(rf, ctx) {
|
|
253
|
+
if (rf & 1) {
|
|
254
|
+
ɵɵelementStart(0, "span", 4);
|
|
255
|
+
ɵɵtemplate(1, MatListOption_Conditional_6_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
256
|
+
ɵɵelementEnd();
|
|
257
|
+
}
|
|
258
|
+
if (rf & 2) {
|
|
259
|
+
ɵɵnextContext();
|
|
260
|
+
const checkbox_r3 = ɵɵreference(3);
|
|
261
|
+
ɵɵadvance();
|
|
262
|
+
ɵɵproperty("ngTemplateOutlet", checkbox_r3);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
function MatListOption_Conditional_7_ng_template_1_Template(rf, ctx) {
|
|
266
|
+
}
|
|
267
|
+
function MatListOption_Conditional_7_Template(rf, ctx) {
|
|
268
|
+
if (rf & 1) {
|
|
269
|
+
ɵɵelementStart(0, "span", 5);
|
|
270
|
+
ɵɵtemplate(1, MatListOption_Conditional_7_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
271
|
+
ɵɵelementEnd();
|
|
272
|
+
}
|
|
273
|
+
if (rf & 2) {
|
|
274
|
+
ɵɵnextContext();
|
|
275
|
+
const radio_r4 = ɵɵreference(5);
|
|
276
|
+
ɵɵadvance();
|
|
277
|
+
ɵɵproperty("ngTemplateOutlet", radio_r4);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
function MatListOption_Conditional_8_ng_template_0_Template(rf, ctx) {
|
|
281
|
+
}
|
|
282
|
+
function MatListOption_Conditional_8_Template(rf, ctx) {
|
|
283
|
+
if (rf & 1) {
|
|
284
|
+
ɵɵtemplate(0, MatListOption_Conditional_8_ng_template_0_Template, 0, 0, "ng-template", 6);
|
|
285
|
+
}
|
|
286
|
+
if (rf & 2) {
|
|
287
|
+
ɵɵnextContext();
|
|
288
|
+
const icons_r5 = ɵɵreference(1);
|
|
289
|
+
ɵɵproperty("ngTemplateOutlet", icons_r5);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
function MatListOption_Conditional_15_ng_template_1_Template(rf, ctx) {
|
|
293
|
+
}
|
|
294
|
+
function MatListOption_Conditional_15_Template(rf, ctx) {
|
|
295
|
+
if (rf & 1) {
|
|
296
|
+
ɵɵelementStart(0, "span", 9);
|
|
297
|
+
ɵɵtemplate(1, MatListOption_Conditional_15_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
298
|
+
ɵɵelementEnd();
|
|
299
|
+
}
|
|
300
|
+
if (rf & 2) {
|
|
301
|
+
ɵɵnextContext();
|
|
302
|
+
const checkbox_r3 = ɵɵreference(3);
|
|
303
|
+
ɵɵadvance();
|
|
304
|
+
ɵɵproperty("ngTemplateOutlet", checkbox_r3);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
function MatListOption_Conditional_16_ng_template_1_Template(rf, ctx) {
|
|
308
|
+
}
|
|
309
|
+
function MatListOption_Conditional_16_Template(rf, ctx) {
|
|
310
|
+
if (rf & 1) {
|
|
311
|
+
ɵɵelementStart(0, "span", 9);
|
|
312
|
+
ɵɵtemplate(1, MatListOption_Conditional_16_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
313
|
+
ɵɵelementEnd();
|
|
314
|
+
}
|
|
315
|
+
if (rf & 2) {
|
|
316
|
+
ɵɵnextContext();
|
|
317
|
+
const radio_r4 = ɵɵreference(5);
|
|
318
|
+
ɵɵadvance();
|
|
319
|
+
ɵɵproperty("ngTemplateOutlet", radio_r4);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
function MatListOption_Conditional_17_ng_template_0_Template(rf, ctx) {
|
|
323
|
+
}
|
|
324
|
+
function MatListOption_Conditional_17_Template(rf, ctx) {
|
|
325
|
+
if (rf & 1) {
|
|
326
|
+
ɵɵtemplate(0, MatListOption_Conditional_17_ng_template_0_Template, 0, 0, "ng-template", 6);
|
|
327
|
+
}
|
|
328
|
+
if (rf & 2) {
|
|
329
|
+
ɵɵnextContext();
|
|
330
|
+
const icons_r5 = ɵɵreference(1);
|
|
331
|
+
ɵɵproperty("ngTemplateOutlet", icons_r5);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
var LIST_OPTION = new InjectionToken("ListOption");
|
|
335
|
+
var MatListItemTitle = class _MatListItemTitle {
|
|
336
|
+
constructor(_elementRef) {
|
|
337
|
+
this._elementRef = _elementRef;
|
|
338
|
+
}
|
|
339
|
+
static {
|
|
340
|
+
this.ɵfac = function MatListItemTitle_Factory(__ngFactoryType__) {
|
|
341
|
+
return new (__ngFactoryType__ || _MatListItemTitle)(ɵɵdirectiveInject(ElementRef));
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
static {
|
|
345
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
346
|
+
type: _MatListItemTitle,
|
|
347
|
+
selectors: [["", "matListItemTitle", ""]],
|
|
348
|
+
hostAttrs: [1, "mat-mdc-list-item-title", "mdc-list-item__primary-text"],
|
|
349
|
+
standalone: true
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
(() => {
|
|
354
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemTitle, [{
|
|
355
|
+
type: Directive,
|
|
356
|
+
args: [{
|
|
357
|
+
selector: "[matListItemTitle]",
|
|
358
|
+
host: {
|
|
359
|
+
"class": "mat-mdc-list-item-title mdc-list-item__primary-text"
|
|
360
|
+
},
|
|
361
|
+
standalone: true
|
|
362
|
+
}]
|
|
363
|
+
}], () => [{
|
|
364
|
+
type: ElementRef
|
|
365
|
+
}], null);
|
|
366
|
+
})();
|
|
367
|
+
var MatListItemLine = class _MatListItemLine {
|
|
368
|
+
constructor(_elementRef) {
|
|
369
|
+
this._elementRef = _elementRef;
|
|
370
|
+
}
|
|
371
|
+
static {
|
|
372
|
+
this.ɵfac = function MatListItemLine_Factory(__ngFactoryType__) {
|
|
373
|
+
return new (__ngFactoryType__ || _MatListItemLine)(ɵɵdirectiveInject(ElementRef));
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
static {
|
|
377
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
378
|
+
type: _MatListItemLine,
|
|
379
|
+
selectors: [["", "matListItemLine", ""]],
|
|
380
|
+
hostAttrs: [1, "mat-mdc-list-item-line", "mdc-list-item__secondary-text"],
|
|
381
|
+
standalone: true
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
(() => {
|
|
386
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemLine, [{
|
|
387
|
+
type: Directive,
|
|
388
|
+
args: [{
|
|
389
|
+
selector: "[matListItemLine]",
|
|
390
|
+
host: {
|
|
391
|
+
"class": "mat-mdc-list-item-line mdc-list-item__secondary-text"
|
|
392
|
+
},
|
|
393
|
+
standalone: true
|
|
394
|
+
}]
|
|
395
|
+
}], () => [{
|
|
396
|
+
type: ElementRef
|
|
397
|
+
}], null);
|
|
398
|
+
})();
|
|
399
|
+
var MatListItemMeta = class _MatListItemMeta {
|
|
400
|
+
static {
|
|
401
|
+
this.ɵfac = function MatListItemMeta_Factory(__ngFactoryType__) {
|
|
402
|
+
return new (__ngFactoryType__ || _MatListItemMeta)();
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
static {
|
|
406
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
407
|
+
type: _MatListItemMeta,
|
|
408
|
+
selectors: [["", "matListItemMeta", ""]],
|
|
409
|
+
hostAttrs: [1, "mat-mdc-list-item-meta", "mdc-list-item__end"],
|
|
410
|
+
standalone: true
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
(() => {
|
|
415
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemMeta, [{
|
|
416
|
+
type: Directive,
|
|
417
|
+
args: [{
|
|
418
|
+
selector: "[matListItemMeta]",
|
|
419
|
+
host: {
|
|
420
|
+
"class": "mat-mdc-list-item-meta mdc-list-item__end"
|
|
421
|
+
},
|
|
422
|
+
standalone: true
|
|
423
|
+
}]
|
|
424
|
+
}], null, null);
|
|
425
|
+
})();
|
|
426
|
+
var _MatListItemGraphicBase = class __MatListItemGraphicBase {
|
|
427
|
+
constructor(_listOption) {
|
|
428
|
+
this._listOption = _listOption;
|
|
429
|
+
}
|
|
430
|
+
_isAlignedAtStart() {
|
|
431
|
+
return !this._listOption || this._listOption?._getTogglePosition() === "after";
|
|
432
|
+
}
|
|
433
|
+
static {
|
|
434
|
+
this.ɵfac = function _MatListItemGraphicBase_Factory(__ngFactoryType__) {
|
|
435
|
+
return new (__ngFactoryType__ || __MatListItemGraphicBase)(ɵɵdirectiveInject(LIST_OPTION, 8));
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
static {
|
|
439
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
440
|
+
type: __MatListItemGraphicBase,
|
|
441
|
+
hostVars: 4,
|
|
442
|
+
hostBindings: function _MatListItemGraphicBase_HostBindings(rf, ctx) {
|
|
443
|
+
if (rf & 2) {
|
|
444
|
+
ɵɵclassProp("mdc-list-item__start", ctx._isAlignedAtStart())("mdc-list-item__end", !ctx._isAlignedAtStart());
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
standalone: true
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
(() => {
|
|
452
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(_MatListItemGraphicBase, [{
|
|
453
|
+
type: Directive,
|
|
454
|
+
args: [{
|
|
455
|
+
host: {
|
|
456
|
+
// MDC uses intuitively named classes `.mdc-list-item__start` and `.mat-list-item__end` to
|
|
457
|
+
// position content such as icons or checkboxes/radios that comes either before or after the
|
|
458
|
+
// text content respectively. This directive detects the placement of the checkbox/radio and
|
|
459
|
+
// applies the correct MDC class to position the icon/avatar on the opposite side.
|
|
460
|
+
"[class.mdc-list-item__start]": "_isAlignedAtStart()",
|
|
461
|
+
"[class.mdc-list-item__end]": "!_isAlignedAtStart()"
|
|
462
|
+
},
|
|
463
|
+
standalone: true
|
|
464
|
+
}]
|
|
465
|
+
}], () => [{
|
|
466
|
+
type: void 0,
|
|
467
|
+
decorators: [{
|
|
468
|
+
type: Optional
|
|
469
|
+
}, {
|
|
470
|
+
type: Inject,
|
|
471
|
+
args: [LIST_OPTION]
|
|
472
|
+
}]
|
|
473
|
+
}], null);
|
|
474
|
+
})();
|
|
475
|
+
var MatListItemAvatar = class _MatListItemAvatar extends _MatListItemGraphicBase {
|
|
476
|
+
static {
|
|
477
|
+
this.ɵfac = /* @__PURE__ */ (() => {
|
|
478
|
+
let ɵMatListItemAvatar_BaseFactory;
|
|
479
|
+
return function MatListItemAvatar_Factory(__ngFactoryType__) {
|
|
480
|
+
return (ɵMatListItemAvatar_BaseFactory || (ɵMatListItemAvatar_BaseFactory = ɵɵgetInheritedFactory(_MatListItemAvatar)))(__ngFactoryType__ || _MatListItemAvatar);
|
|
481
|
+
};
|
|
482
|
+
})();
|
|
483
|
+
}
|
|
484
|
+
static {
|
|
485
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
486
|
+
type: _MatListItemAvatar,
|
|
487
|
+
selectors: [["", "matListItemAvatar", ""]],
|
|
488
|
+
hostAttrs: [1, "mat-mdc-list-item-avatar"],
|
|
489
|
+
standalone: true,
|
|
490
|
+
features: [ɵɵInheritDefinitionFeature]
|
|
491
|
+
});
|
|
492
|
+
}
|
|
493
|
+
};
|
|
494
|
+
(() => {
|
|
495
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemAvatar, [{
|
|
496
|
+
type: Directive,
|
|
497
|
+
args: [{
|
|
498
|
+
selector: "[matListItemAvatar]",
|
|
499
|
+
host: {
|
|
500
|
+
"class": "mat-mdc-list-item-avatar"
|
|
501
|
+
},
|
|
502
|
+
standalone: true
|
|
503
|
+
}]
|
|
504
|
+
}], null, null);
|
|
505
|
+
})();
|
|
506
|
+
var MatListItemIcon = class _MatListItemIcon extends _MatListItemGraphicBase {
|
|
507
|
+
static {
|
|
508
|
+
this.ɵfac = /* @__PURE__ */ (() => {
|
|
509
|
+
let ɵMatListItemIcon_BaseFactory;
|
|
510
|
+
return function MatListItemIcon_Factory(__ngFactoryType__) {
|
|
511
|
+
return (ɵMatListItemIcon_BaseFactory || (ɵMatListItemIcon_BaseFactory = ɵɵgetInheritedFactory(_MatListItemIcon)))(__ngFactoryType__ || _MatListItemIcon);
|
|
512
|
+
};
|
|
513
|
+
})();
|
|
514
|
+
}
|
|
515
|
+
static {
|
|
516
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
517
|
+
type: _MatListItemIcon,
|
|
518
|
+
selectors: [["", "matListItemIcon", ""]],
|
|
519
|
+
hostAttrs: [1, "mat-mdc-list-item-icon"],
|
|
520
|
+
standalone: true,
|
|
521
|
+
features: [ɵɵInheritDefinitionFeature]
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
(() => {
|
|
526
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemIcon, [{
|
|
527
|
+
type: Directive,
|
|
528
|
+
args: [{
|
|
529
|
+
selector: "[matListItemIcon]",
|
|
530
|
+
host: {
|
|
531
|
+
"class": "mat-mdc-list-item-icon"
|
|
532
|
+
},
|
|
533
|
+
standalone: true
|
|
534
|
+
}]
|
|
535
|
+
}], null, null);
|
|
536
|
+
})();
|
|
537
|
+
var MAT_LIST_CONFIG = new InjectionToken("MAT_LIST_CONFIG");
|
|
538
|
+
var MatListBase = class _MatListBase {
|
|
539
|
+
constructor() {
|
|
540
|
+
this._isNonInteractive = true;
|
|
541
|
+
this._disableRipple = false;
|
|
542
|
+
this._disabled = false;
|
|
543
|
+
this._defaultOptions = inject(MAT_LIST_CONFIG, {
|
|
544
|
+
optional: true
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
/** Whether ripples for all list items is disabled. */
|
|
548
|
+
get disableRipple() {
|
|
549
|
+
return this._disableRipple;
|
|
550
|
+
}
|
|
551
|
+
set disableRipple(value) {
|
|
552
|
+
this._disableRipple = coerceBooleanProperty(value);
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Whether the entire list is disabled. When disabled, the list itself and each of its list items
|
|
556
|
+
* are disabled.
|
|
557
|
+
*/
|
|
558
|
+
get disabled() {
|
|
559
|
+
return this._disabled;
|
|
560
|
+
}
|
|
561
|
+
set disabled(value) {
|
|
562
|
+
this._disabled = coerceBooleanProperty(value);
|
|
563
|
+
}
|
|
564
|
+
static {
|
|
565
|
+
this.ɵfac = function MatListBase_Factory(__ngFactoryType__) {
|
|
566
|
+
return new (__ngFactoryType__ || _MatListBase)();
|
|
567
|
+
};
|
|
568
|
+
}
|
|
569
|
+
static {
|
|
570
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
571
|
+
type: _MatListBase,
|
|
572
|
+
hostVars: 1,
|
|
573
|
+
hostBindings: function MatListBase_HostBindings(rf, ctx) {
|
|
574
|
+
if (rf & 2) {
|
|
575
|
+
ɵɵattribute("aria-disabled", ctx.disabled);
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
inputs: {
|
|
579
|
+
disableRipple: "disableRipple",
|
|
580
|
+
disabled: "disabled"
|
|
581
|
+
},
|
|
582
|
+
standalone: true
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
(() => {
|
|
587
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListBase, [{
|
|
588
|
+
type: Directive,
|
|
589
|
+
args: [{
|
|
590
|
+
host: {
|
|
591
|
+
"[attr.aria-disabled]": "disabled"
|
|
592
|
+
},
|
|
593
|
+
standalone: true
|
|
594
|
+
}]
|
|
595
|
+
}], null, {
|
|
596
|
+
disableRipple: [{
|
|
597
|
+
type: Input
|
|
598
|
+
}],
|
|
599
|
+
disabled: [{
|
|
600
|
+
type: Input
|
|
601
|
+
}]
|
|
602
|
+
});
|
|
603
|
+
})();
|
|
604
|
+
var MatListItemBase = class _MatListItemBase {
|
|
605
|
+
/**
|
|
606
|
+
* The number of lines this list item should reserve space for. If not specified,
|
|
607
|
+
* lines are inferred based on the projected content.
|
|
608
|
+
*
|
|
609
|
+
* Explicitly specifying the number of lines is useful if you want to acquire additional
|
|
610
|
+
* space and enable the wrapping of text. The unscoped text content of a list item will
|
|
611
|
+
* always be able to take up the remaining space of the item, unless it represents the title.
|
|
612
|
+
*
|
|
613
|
+
* A maximum of three lines is supported as per the Material Design specification.
|
|
614
|
+
*/
|
|
615
|
+
set lines(lines) {
|
|
616
|
+
this._explicitLines = coerceNumberProperty(lines, null);
|
|
617
|
+
this._updateItemLines(false);
|
|
618
|
+
}
|
|
619
|
+
/** Whether ripples for list items are disabled. */
|
|
620
|
+
get disableRipple() {
|
|
621
|
+
return this.disabled || this._disableRipple || this._noopAnimations || !!this._listBase?.disableRipple;
|
|
622
|
+
}
|
|
623
|
+
set disableRipple(value) {
|
|
624
|
+
this._disableRipple = coerceBooleanProperty(value);
|
|
625
|
+
}
|
|
626
|
+
/** Whether the list-item is disabled. */
|
|
627
|
+
get disabled() {
|
|
628
|
+
return this._disabled || !!this._listBase?.disabled;
|
|
629
|
+
}
|
|
630
|
+
set disabled(value) {
|
|
631
|
+
this._disabled = coerceBooleanProperty(value);
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Implemented as part of `RippleTarget`.
|
|
635
|
+
* @docs-private
|
|
636
|
+
*/
|
|
637
|
+
get rippleDisabled() {
|
|
638
|
+
return this.disableRipple || !!this.rippleConfig.disabled;
|
|
639
|
+
}
|
|
640
|
+
constructor(_elementRef, _ngZone, _listBase, _platform, globalRippleOptions, animationMode) {
|
|
641
|
+
this._elementRef = _elementRef;
|
|
642
|
+
this._ngZone = _ngZone;
|
|
643
|
+
this._listBase = _listBase;
|
|
644
|
+
this._platform = _platform;
|
|
645
|
+
this._explicitLines = null;
|
|
646
|
+
this._disableRipple = false;
|
|
647
|
+
this._disabled = false;
|
|
648
|
+
this._subscriptions = new Subscription();
|
|
649
|
+
this._rippleRenderer = null;
|
|
650
|
+
this._hasUnscopedTextContent = false;
|
|
651
|
+
this.rippleConfig = globalRippleOptions || {};
|
|
652
|
+
this._hostElement = this._elementRef.nativeElement;
|
|
653
|
+
this._isButtonElement = this._hostElement.nodeName.toLowerCase() === "button";
|
|
654
|
+
this._noopAnimations = animationMode === "NoopAnimations";
|
|
655
|
+
if (_listBase && !_listBase._isNonInteractive) {
|
|
656
|
+
this._initInteractiveListItem();
|
|
657
|
+
}
|
|
658
|
+
if (this._isButtonElement && !this._hostElement.hasAttribute("type")) {
|
|
659
|
+
this._hostElement.setAttribute("type", "button");
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
ngAfterViewInit() {
|
|
663
|
+
this._monitorProjectedLinesAndTitle();
|
|
664
|
+
this._updateItemLines(true);
|
|
665
|
+
}
|
|
666
|
+
ngOnDestroy() {
|
|
667
|
+
this._subscriptions.unsubscribe();
|
|
668
|
+
if (this._rippleRenderer !== null) {
|
|
669
|
+
this._rippleRenderer._removeTriggerEvents();
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
/** Whether the list item has icons or avatars. */
|
|
673
|
+
_hasIconOrAvatar() {
|
|
674
|
+
return !!(this._avatars.length || this._icons.length);
|
|
675
|
+
}
|
|
676
|
+
_initInteractiveListItem() {
|
|
677
|
+
this._hostElement.classList.add("mat-mdc-list-item-interactive");
|
|
678
|
+
this._rippleRenderer = new RippleRenderer(this, this._ngZone, this._hostElement, this._platform);
|
|
679
|
+
this._rippleRenderer.setupTriggerEvents(this._hostElement);
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* Subscribes to changes in the projected title and lines. Triggers a
|
|
683
|
+
* item lines update whenever a change occurs.
|
|
684
|
+
*/
|
|
685
|
+
_monitorProjectedLinesAndTitle() {
|
|
686
|
+
this._ngZone.runOutsideAngular(() => {
|
|
687
|
+
this._subscriptions.add(merge(this._lines.changes, this._titles.changes).subscribe(() => this._updateItemLines(false)));
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* Updates the lines of the list item. Based on the projected user content and optional
|
|
692
|
+
* explicit lines setting, the visual appearance of the list item is determined.
|
|
693
|
+
*
|
|
694
|
+
* This method should be invoked whenever the projected user content changes, or
|
|
695
|
+
* when the explicit lines have been updated.
|
|
696
|
+
*
|
|
697
|
+
* @param recheckUnscopedContent Whether the projected unscoped content should be re-checked.
|
|
698
|
+
* The unscoped content is not re-checked for every update as it is a rather expensive check
|
|
699
|
+
* for content that is expected to not change very often.
|
|
700
|
+
*/
|
|
701
|
+
_updateItemLines(recheckUnscopedContent) {
|
|
702
|
+
if (!this._lines || !this._titles || !this._unscopedContent) {
|
|
703
|
+
return;
|
|
704
|
+
}
|
|
705
|
+
if (recheckUnscopedContent) {
|
|
706
|
+
this._checkDomForUnscopedTextContent();
|
|
707
|
+
}
|
|
708
|
+
if (typeof ngDevMode === "undefined" || ngDevMode) {
|
|
709
|
+
sanityCheckListItemContent(this);
|
|
710
|
+
}
|
|
711
|
+
const numberOfLines = this._explicitLines ?? this._inferLinesFromContent();
|
|
712
|
+
const unscopedContentEl = this._unscopedContent.nativeElement;
|
|
713
|
+
this._hostElement.classList.toggle("mat-mdc-list-item-single-line", numberOfLines <= 1);
|
|
714
|
+
this._hostElement.classList.toggle("mdc-list-item--with-one-line", numberOfLines <= 1);
|
|
715
|
+
this._hostElement.classList.toggle("mdc-list-item--with-two-lines", numberOfLines === 2);
|
|
716
|
+
this._hostElement.classList.toggle("mdc-list-item--with-three-lines", numberOfLines === 3);
|
|
717
|
+
if (this._hasUnscopedTextContent) {
|
|
718
|
+
const treatAsTitle = this._titles.length === 0 && numberOfLines === 1;
|
|
719
|
+
unscopedContentEl.classList.toggle("mdc-list-item__primary-text", treatAsTitle);
|
|
720
|
+
unscopedContentEl.classList.toggle("mdc-list-item__secondary-text", !treatAsTitle);
|
|
721
|
+
} else {
|
|
722
|
+
unscopedContentEl.classList.remove("mdc-list-item__primary-text");
|
|
723
|
+
unscopedContentEl.classList.remove("mdc-list-item__secondary-text");
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
/**
|
|
727
|
+
* Infers the number of lines based on the projected user content. This is useful
|
|
728
|
+
* if no explicit number of lines has been specified on the list item.
|
|
729
|
+
*
|
|
730
|
+
* The number of lines is inferred based on whether there is a title, the number of
|
|
731
|
+
* additional lines (secondary/tertiary). An additional line is acquired if there is
|
|
732
|
+
* unscoped text content.
|
|
733
|
+
*/
|
|
734
|
+
_inferLinesFromContent() {
|
|
735
|
+
let numOfLines = this._titles.length + this._lines.length;
|
|
736
|
+
if (this._hasUnscopedTextContent) {
|
|
737
|
+
numOfLines += 1;
|
|
738
|
+
}
|
|
739
|
+
return numOfLines;
|
|
740
|
+
}
|
|
741
|
+
/** Checks whether the list item has unscoped text content. */
|
|
742
|
+
_checkDomForUnscopedTextContent() {
|
|
743
|
+
this._hasUnscopedTextContent = Array.from(this._unscopedContent.nativeElement.childNodes).filter((node) => node.nodeType !== node.COMMENT_NODE).some((node) => !!(node.textContent && node.textContent.trim()));
|
|
744
|
+
}
|
|
745
|
+
static {
|
|
746
|
+
this.ɵfac = function MatListItemBase_Factory(__ngFactoryType__) {
|
|
747
|
+
return new (__ngFactoryType__ || _MatListItemBase)(ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(NgZone), ɵɵdirectiveInject(MatListBase, 8), ɵɵdirectiveInject(Platform), ɵɵdirectiveInject(MAT_RIPPLE_GLOBAL_OPTIONS, 8), ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
static {
|
|
751
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
752
|
+
type: _MatListItemBase,
|
|
753
|
+
contentQueries: function MatListItemBase_ContentQueries(rf, ctx, dirIndex) {
|
|
754
|
+
if (rf & 1) {
|
|
755
|
+
ɵɵcontentQuery(dirIndex, MatListItemAvatar, 4);
|
|
756
|
+
ɵɵcontentQuery(dirIndex, MatListItemIcon, 4);
|
|
757
|
+
}
|
|
758
|
+
if (rf & 2) {
|
|
759
|
+
let _t;
|
|
760
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._avatars = _t);
|
|
761
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._icons = _t);
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
hostVars: 4,
|
|
765
|
+
hostBindings: function MatListItemBase_HostBindings(rf, ctx) {
|
|
766
|
+
if (rf & 2) {
|
|
767
|
+
ɵɵattribute("aria-disabled", ctx.disabled)("disabled", ctx._isButtonElement && ctx.disabled || null);
|
|
768
|
+
ɵɵclassProp("mdc-list-item--disabled", ctx.disabled);
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
inputs: {
|
|
772
|
+
lines: "lines",
|
|
773
|
+
disableRipple: "disableRipple",
|
|
774
|
+
disabled: "disabled"
|
|
775
|
+
},
|
|
776
|
+
standalone: true
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
(() => {
|
|
781
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItemBase, [{
|
|
782
|
+
type: Directive,
|
|
783
|
+
args: [{
|
|
784
|
+
host: {
|
|
785
|
+
"[class.mdc-list-item--disabled]": "disabled",
|
|
786
|
+
"[attr.aria-disabled]": "disabled",
|
|
787
|
+
"[attr.disabled]": "(_isButtonElement && disabled) || null"
|
|
788
|
+
},
|
|
789
|
+
standalone: true
|
|
790
|
+
}]
|
|
791
|
+
}], () => [{
|
|
792
|
+
type: ElementRef
|
|
793
|
+
}, {
|
|
794
|
+
type: NgZone
|
|
795
|
+
}, {
|
|
796
|
+
type: MatListBase,
|
|
797
|
+
decorators: [{
|
|
798
|
+
type: Optional
|
|
799
|
+
}]
|
|
800
|
+
}, {
|
|
801
|
+
type: Platform
|
|
802
|
+
}, {
|
|
803
|
+
type: void 0,
|
|
804
|
+
decorators: [{
|
|
805
|
+
type: Optional
|
|
806
|
+
}, {
|
|
807
|
+
type: Inject,
|
|
808
|
+
args: [MAT_RIPPLE_GLOBAL_OPTIONS]
|
|
809
|
+
}]
|
|
810
|
+
}, {
|
|
811
|
+
type: void 0,
|
|
812
|
+
decorators: [{
|
|
813
|
+
type: Optional
|
|
814
|
+
}, {
|
|
815
|
+
type: Inject,
|
|
816
|
+
args: [ANIMATION_MODULE_TYPE]
|
|
817
|
+
}]
|
|
818
|
+
}], {
|
|
819
|
+
_avatars: [{
|
|
820
|
+
type: ContentChildren,
|
|
821
|
+
args: [MatListItemAvatar, {
|
|
822
|
+
descendants: false
|
|
823
|
+
}]
|
|
824
|
+
}],
|
|
825
|
+
_icons: [{
|
|
826
|
+
type: ContentChildren,
|
|
827
|
+
args: [MatListItemIcon, {
|
|
828
|
+
descendants: false
|
|
829
|
+
}]
|
|
830
|
+
}],
|
|
831
|
+
lines: [{
|
|
832
|
+
type: Input
|
|
833
|
+
}],
|
|
834
|
+
disableRipple: [{
|
|
835
|
+
type: Input
|
|
836
|
+
}],
|
|
837
|
+
disabled: [{
|
|
838
|
+
type: Input
|
|
839
|
+
}]
|
|
840
|
+
});
|
|
841
|
+
})();
|
|
842
|
+
function sanityCheckListItemContent(item) {
|
|
843
|
+
const numTitles = item._titles.length;
|
|
844
|
+
const numLines = item._lines.length;
|
|
845
|
+
if (numTitles > 1) {
|
|
846
|
+
console.warn("A list item cannot have multiple titles.");
|
|
847
|
+
}
|
|
848
|
+
if (numTitles === 0 && numLines > 0) {
|
|
849
|
+
console.warn("A list item line can only be used if there is a list item title.");
|
|
850
|
+
}
|
|
851
|
+
if (numTitles === 0 && item._hasUnscopedTextContent && item._explicitLines !== null && item._explicitLines > 1) {
|
|
852
|
+
console.warn("A list item cannot have wrapping content without a title.");
|
|
853
|
+
}
|
|
854
|
+
if (numLines > 2 || numLines === 2 && item._hasUnscopedTextContent) {
|
|
855
|
+
console.warn("A list item can have at maximum three lines.");
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
var MatActionList = class _MatActionList extends MatListBase {
|
|
859
|
+
constructor() {
|
|
860
|
+
super(...arguments);
|
|
861
|
+
this._isNonInteractive = false;
|
|
862
|
+
}
|
|
863
|
+
static {
|
|
864
|
+
this.ɵfac = /* @__PURE__ */ (() => {
|
|
865
|
+
let ɵMatActionList_BaseFactory;
|
|
866
|
+
return function MatActionList_Factory(__ngFactoryType__) {
|
|
867
|
+
return (ɵMatActionList_BaseFactory || (ɵMatActionList_BaseFactory = ɵɵgetInheritedFactory(_MatActionList)))(__ngFactoryType__ || _MatActionList);
|
|
868
|
+
};
|
|
869
|
+
})();
|
|
870
|
+
}
|
|
871
|
+
static {
|
|
872
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
873
|
+
type: _MatActionList,
|
|
874
|
+
selectors: [["mat-action-list"]],
|
|
875
|
+
hostAttrs: ["role", "group", 1, "mat-mdc-action-list", "mat-mdc-list-base", "mdc-list"],
|
|
876
|
+
exportAs: ["matActionList"],
|
|
877
|
+
standalone: true,
|
|
878
|
+
features: [ɵɵProvidersFeature([{
|
|
879
|
+
provide: MatListBase,
|
|
880
|
+
useExisting: _MatActionList
|
|
881
|
+
}]), ɵɵInheritDefinitionFeature, ɵɵStandaloneFeature],
|
|
882
|
+
ngContentSelectors: _c0,
|
|
883
|
+
decls: 1,
|
|
884
|
+
vars: 0,
|
|
885
|
+
template: function MatActionList_Template(rf, ctx) {
|
|
886
|
+
if (rf & 1) {
|
|
887
|
+
ɵɵprojectionDef();
|
|
888
|
+
ɵɵprojection(0);
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
styles: ['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}'],
|
|
892
|
+
encapsulation: 2,
|
|
893
|
+
changeDetection: 0
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
(() => {
|
|
898
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatActionList, [{
|
|
899
|
+
type: Component,
|
|
900
|
+
args: [{
|
|
901
|
+
selector: "mat-action-list",
|
|
902
|
+
exportAs: "matActionList",
|
|
903
|
+
template: "<ng-content></ng-content>",
|
|
904
|
+
host: {
|
|
905
|
+
"class": "mat-mdc-action-list mat-mdc-list-base mdc-list",
|
|
906
|
+
"role": "group"
|
|
907
|
+
},
|
|
908
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
909
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
910
|
+
providers: [{
|
|
911
|
+
provide: MatListBase,
|
|
912
|
+
useExisting: MatActionList
|
|
913
|
+
}],
|
|
914
|
+
standalone: true,
|
|
915
|
+
styles: ['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}']
|
|
916
|
+
}]
|
|
917
|
+
}], null, null);
|
|
918
|
+
})();
|
|
919
|
+
var MAT_LIST = new InjectionToken("MatList");
|
|
920
|
+
var MatList = class _MatList extends MatListBase {
|
|
921
|
+
static {
|
|
922
|
+
this.ɵfac = /* @__PURE__ */ (() => {
|
|
923
|
+
let ɵMatList_BaseFactory;
|
|
924
|
+
return function MatList_Factory(__ngFactoryType__) {
|
|
925
|
+
return (ɵMatList_BaseFactory || (ɵMatList_BaseFactory = ɵɵgetInheritedFactory(_MatList)))(__ngFactoryType__ || _MatList);
|
|
926
|
+
};
|
|
927
|
+
})();
|
|
928
|
+
}
|
|
929
|
+
static {
|
|
930
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
931
|
+
type: _MatList,
|
|
932
|
+
selectors: [["mat-list"]],
|
|
933
|
+
hostAttrs: [1, "mat-mdc-list", "mat-mdc-list-base", "mdc-list"],
|
|
934
|
+
exportAs: ["matList"],
|
|
935
|
+
standalone: true,
|
|
936
|
+
features: [ɵɵProvidersFeature([{
|
|
937
|
+
provide: MatListBase,
|
|
938
|
+
useExisting: _MatList
|
|
939
|
+
}]), ɵɵInheritDefinitionFeature, ɵɵStandaloneFeature],
|
|
940
|
+
ngContentSelectors: _c0,
|
|
941
|
+
decls: 1,
|
|
942
|
+
vars: 0,
|
|
943
|
+
template: function MatList_Template(rf, ctx) {
|
|
944
|
+
if (rf & 1) {
|
|
945
|
+
ɵɵprojectionDef();
|
|
946
|
+
ɵɵprojection(0);
|
|
947
|
+
}
|
|
948
|
+
},
|
|
949
|
+
styles: [_c1],
|
|
950
|
+
encapsulation: 2,
|
|
951
|
+
changeDetection: 0
|
|
952
|
+
});
|
|
953
|
+
}
|
|
954
|
+
};
|
|
955
|
+
(() => {
|
|
956
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatList, [{
|
|
957
|
+
type: Component,
|
|
958
|
+
args: [{
|
|
959
|
+
selector: "mat-list",
|
|
960
|
+
exportAs: "matList",
|
|
961
|
+
template: "<ng-content></ng-content>",
|
|
962
|
+
host: {
|
|
963
|
+
"class": "mat-mdc-list mat-mdc-list-base mdc-list"
|
|
964
|
+
},
|
|
965
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
966
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
967
|
+
providers: [{
|
|
968
|
+
provide: MatListBase,
|
|
969
|
+
useExisting: MatList
|
|
970
|
+
}],
|
|
971
|
+
standalone: true,
|
|
972
|
+
styles: ['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}']
|
|
973
|
+
}]
|
|
974
|
+
}], null, null);
|
|
975
|
+
})();
|
|
976
|
+
var MatListItem = class _MatListItem extends MatListItemBase {
|
|
977
|
+
/** Indicates whether an item in a `<mat-nav-list>` is the currently active page. */
|
|
978
|
+
get activated() {
|
|
979
|
+
return this._activated;
|
|
980
|
+
}
|
|
981
|
+
set activated(activated) {
|
|
982
|
+
this._activated = coerceBooleanProperty(activated);
|
|
983
|
+
}
|
|
984
|
+
constructor(element, ngZone, listBase, platform, globalRippleOptions, animationMode) {
|
|
985
|
+
super(element, ngZone, listBase, platform, globalRippleOptions, animationMode);
|
|
986
|
+
this._activated = false;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Determine the value of `aria-current`. Return 'page' if this item is an activated anchor tag.
|
|
990
|
+
* Otherwise, return `null`. This method is safe to use with server-side rendering.
|
|
991
|
+
*/
|
|
992
|
+
_getAriaCurrent() {
|
|
993
|
+
return this._hostElement.nodeName === "A" && this._activated ? "page" : null;
|
|
994
|
+
}
|
|
995
|
+
_hasBothLeadingAndTrailing() {
|
|
996
|
+
return this._meta.length !== 0 && (this._avatars.length !== 0 || this._icons.length !== 0);
|
|
997
|
+
}
|
|
998
|
+
static {
|
|
999
|
+
this.ɵfac = function MatListItem_Factory(__ngFactoryType__) {
|
|
1000
|
+
return new (__ngFactoryType__ || _MatListItem)(ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(NgZone), ɵɵdirectiveInject(MatListBase, 8), ɵɵdirectiveInject(Platform), ɵɵdirectiveInject(MAT_RIPPLE_GLOBAL_OPTIONS, 8), ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));
|
|
1001
|
+
};
|
|
1002
|
+
}
|
|
1003
|
+
static {
|
|
1004
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
1005
|
+
type: _MatListItem,
|
|
1006
|
+
selectors: [["mat-list-item"], ["a", "mat-list-item", ""], ["button", "mat-list-item", ""]],
|
|
1007
|
+
contentQueries: function MatListItem_ContentQueries(rf, ctx, dirIndex) {
|
|
1008
|
+
if (rf & 1) {
|
|
1009
|
+
ɵɵcontentQuery(dirIndex, MatListItemLine, 5);
|
|
1010
|
+
ɵɵcontentQuery(dirIndex, MatListItemTitle, 5);
|
|
1011
|
+
ɵɵcontentQuery(dirIndex, MatListItemMeta, 5);
|
|
1012
|
+
}
|
|
1013
|
+
if (rf & 2) {
|
|
1014
|
+
let _t;
|
|
1015
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._lines = _t);
|
|
1016
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._titles = _t);
|
|
1017
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._meta = _t);
|
|
1018
|
+
}
|
|
1019
|
+
},
|
|
1020
|
+
viewQuery: function MatListItem_Query(rf, ctx) {
|
|
1021
|
+
if (rf & 1) {
|
|
1022
|
+
ɵɵviewQuery(_c2, 5);
|
|
1023
|
+
ɵɵviewQuery(_c3, 5);
|
|
1024
|
+
}
|
|
1025
|
+
if (rf & 2) {
|
|
1026
|
+
let _t;
|
|
1027
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._unscopedContent = _t.first);
|
|
1028
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._itemText = _t.first);
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
hostAttrs: [1, "mat-mdc-list-item", "mdc-list-item"],
|
|
1032
|
+
hostVars: 13,
|
|
1033
|
+
hostBindings: function MatListItem_HostBindings(rf, ctx) {
|
|
1034
|
+
if (rf & 2) {
|
|
1035
|
+
ɵɵattribute("aria-current", ctx._getAriaCurrent());
|
|
1036
|
+
ɵɵclassProp("mdc-list-item--activated", ctx.activated)("mdc-list-item--with-leading-avatar", ctx._avatars.length !== 0)("mdc-list-item--with-leading-icon", ctx._icons.length !== 0)("mdc-list-item--with-trailing-meta", ctx._meta.length !== 0)("mat-mdc-list-item-both-leading-and-trailing", ctx._hasBothLeadingAndTrailing())("_mat-animation-noopable", ctx._noopAnimations);
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
inputs: {
|
|
1040
|
+
activated: "activated"
|
|
1041
|
+
},
|
|
1042
|
+
exportAs: ["matListItem"],
|
|
1043
|
+
standalone: true,
|
|
1044
|
+
features: [ɵɵInheritDefinitionFeature, ɵɵStandaloneFeature],
|
|
1045
|
+
ngContentSelectors: _c5,
|
|
1046
|
+
decls: 10,
|
|
1047
|
+
vars: 0,
|
|
1048
|
+
consts: [["unscopedContent", ""], [1, "mdc-list-item__content"], [1, "mat-mdc-list-item-unscoped-content", 3, "cdkObserveContent"], [1, "mat-mdc-focus-indicator"]],
|
|
1049
|
+
template: function MatListItem_Template(rf, ctx) {
|
|
1050
|
+
if (rf & 1) {
|
|
1051
|
+
const _r1 = ɵɵgetCurrentView();
|
|
1052
|
+
ɵɵprojectionDef(_c4);
|
|
1053
|
+
ɵɵprojection(0);
|
|
1054
|
+
ɵɵelementStart(1, "span", 1);
|
|
1055
|
+
ɵɵprojection(2, 1);
|
|
1056
|
+
ɵɵprojection(3, 2);
|
|
1057
|
+
ɵɵelementStart(4, "span", 2, 0);
|
|
1058
|
+
ɵɵlistener("cdkObserveContent", function MatListItem_Template_span_cdkObserveContent_4_listener() {
|
|
1059
|
+
ɵɵrestoreView(_r1);
|
|
1060
|
+
return ɵɵresetView(ctx._updateItemLines(true));
|
|
1061
|
+
});
|
|
1062
|
+
ɵɵprojection(6, 3);
|
|
1063
|
+
ɵɵelementEnd()();
|
|
1064
|
+
ɵɵprojection(7, 4);
|
|
1065
|
+
ɵɵprojection(8, 5);
|
|
1066
|
+
ɵɵelement(9, "div", 3);
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
dependencies: [CdkObserveContent],
|
|
1070
|
+
encapsulation: 2,
|
|
1071
|
+
changeDetection: 0
|
|
1072
|
+
});
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
(() => {
|
|
1076
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListItem, [{
|
|
1077
|
+
type: Component,
|
|
1078
|
+
args: [{
|
|
1079
|
+
selector: "mat-list-item, a[mat-list-item], button[mat-list-item]",
|
|
1080
|
+
exportAs: "matListItem",
|
|
1081
|
+
host: {
|
|
1082
|
+
"class": "mat-mdc-list-item mdc-list-item",
|
|
1083
|
+
"[class.mdc-list-item--activated]": "activated",
|
|
1084
|
+
"[class.mdc-list-item--with-leading-avatar]": "_avatars.length !== 0",
|
|
1085
|
+
"[class.mdc-list-item--with-leading-icon]": "_icons.length !== 0",
|
|
1086
|
+
"[class.mdc-list-item--with-trailing-meta]": "_meta.length !== 0",
|
|
1087
|
+
// Utility class that makes it easier to target the case where there's both a leading
|
|
1088
|
+
// and a trailing icon. Avoids having to write out all the combinations.
|
|
1089
|
+
"[class.mat-mdc-list-item-both-leading-and-trailing]": "_hasBothLeadingAndTrailing()",
|
|
1090
|
+
"[class._mat-animation-noopable]": "_noopAnimations",
|
|
1091
|
+
"[attr.aria-current]": "_getAriaCurrent()"
|
|
1092
|
+
},
|
|
1093
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
1094
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1095
|
+
standalone: true,
|
|
1096
|
+
imports: [CdkObserveContent],
|
|
1097
|
+
template: '<ng-content select="[matListItemAvatar],[matListItemIcon]"></ng-content>\n\n<span class="mdc-list-item__content">\n <ng-content select="[matListItemTitle]"></ng-content>\n <ng-content select="[matListItemLine]"></ng-content>\n <span #unscopedContent class="mat-mdc-list-item-unscoped-content"\n (cdkObserveContent)="_updateItemLines(true)">\n <ng-content></ng-content>\n </span>\n</span>\n\n<ng-content select="[matListItemMeta]"></ng-content>\n\n<ng-content select="mat-divider"></ng-content>\n\n<!--\n Strong focus indicator element. MDC uses the `::before` pseudo element for the default\n focus/hover/selected state, so we need a separate element.\n-->\n<div class="mat-mdc-focus-indicator"></div>\n'
|
|
1098
|
+
}]
|
|
1099
|
+
}], () => [{
|
|
1100
|
+
type: ElementRef
|
|
1101
|
+
}, {
|
|
1102
|
+
type: NgZone
|
|
1103
|
+
}, {
|
|
1104
|
+
type: MatListBase,
|
|
1105
|
+
decorators: [{
|
|
1106
|
+
type: Optional
|
|
1107
|
+
}]
|
|
1108
|
+
}, {
|
|
1109
|
+
type: Platform
|
|
1110
|
+
}, {
|
|
1111
|
+
type: void 0,
|
|
1112
|
+
decorators: [{
|
|
1113
|
+
type: Optional
|
|
1114
|
+
}, {
|
|
1115
|
+
type: Inject,
|
|
1116
|
+
args: [MAT_RIPPLE_GLOBAL_OPTIONS]
|
|
1117
|
+
}]
|
|
1118
|
+
}, {
|
|
1119
|
+
type: void 0,
|
|
1120
|
+
decorators: [{
|
|
1121
|
+
type: Optional
|
|
1122
|
+
}, {
|
|
1123
|
+
type: Inject,
|
|
1124
|
+
args: [ANIMATION_MODULE_TYPE]
|
|
1125
|
+
}]
|
|
1126
|
+
}], {
|
|
1127
|
+
_lines: [{
|
|
1128
|
+
type: ContentChildren,
|
|
1129
|
+
args: [MatListItemLine, {
|
|
1130
|
+
descendants: true
|
|
1131
|
+
}]
|
|
1132
|
+
}],
|
|
1133
|
+
_titles: [{
|
|
1134
|
+
type: ContentChildren,
|
|
1135
|
+
args: [MatListItemTitle, {
|
|
1136
|
+
descendants: true
|
|
1137
|
+
}]
|
|
1138
|
+
}],
|
|
1139
|
+
_meta: [{
|
|
1140
|
+
type: ContentChildren,
|
|
1141
|
+
args: [MatListItemMeta, {
|
|
1142
|
+
descendants: true
|
|
1143
|
+
}]
|
|
1144
|
+
}],
|
|
1145
|
+
_unscopedContent: [{
|
|
1146
|
+
type: ViewChild,
|
|
1147
|
+
args: ["unscopedContent"]
|
|
1148
|
+
}],
|
|
1149
|
+
_itemText: [{
|
|
1150
|
+
type: ViewChild,
|
|
1151
|
+
args: ["text"]
|
|
1152
|
+
}],
|
|
1153
|
+
activated: [{
|
|
1154
|
+
type: Input
|
|
1155
|
+
}]
|
|
1156
|
+
});
|
|
1157
|
+
})();
|
|
1158
|
+
var SELECTION_LIST = new InjectionToken("SelectionList");
|
|
1159
|
+
var MatListOption = class _MatListOption extends MatListItemBase {
|
|
1160
|
+
/**
|
|
1161
|
+
* Whether the label should appear before or after the checkbox/radio. Defaults to 'after'
|
|
1162
|
+
*
|
|
1163
|
+
* @deprecated Use `togglePosition` instead.
|
|
1164
|
+
* @breaking-change 17.0.0
|
|
1165
|
+
*/
|
|
1166
|
+
get checkboxPosition() {
|
|
1167
|
+
return this.togglePosition;
|
|
1168
|
+
}
|
|
1169
|
+
set checkboxPosition(value) {
|
|
1170
|
+
this.togglePosition = value;
|
|
1171
|
+
}
|
|
1172
|
+
/**
|
|
1173
|
+
* Theme color of the list option. This sets the color of the checkbox/radio.
|
|
1174
|
+
* This API is supported in M2 themes only, it has no effect in M3 themes.
|
|
1175
|
+
*
|
|
1176
|
+
* For information on applying color variants in M3, see
|
|
1177
|
+
* https://material.angular.io/guide/theming#using-component-color-variants.
|
|
1178
|
+
*/
|
|
1179
|
+
get color() {
|
|
1180
|
+
return this._color || this._selectionList.color;
|
|
1181
|
+
}
|
|
1182
|
+
set color(newValue) {
|
|
1183
|
+
this._color = newValue;
|
|
1184
|
+
}
|
|
1185
|
+
/** Value of the option */
|
|
1186
|
+
get value() {
|
|
1187
|
+
return this._value;
|
|
1188
|
+
}
|
|
1189
|
+
set value(newValue) {
|
|
1190
|
+
if (this.selected && newValue !== this.value && this._inputsInitialized) {
|
|
1191
|
+
this.selected = false;
|
|
1192
|
+
}
|
|
1193
|
+
this._value = newValue;
|
|
1194
|
+
}
|
|
1195
|
+
/** Whether the option is selected. */
|
|
1196
|
+
get selected() {
|
|
1197
|
+
return this._selectionList.selectedOptions.isSelected(this);
|
|
1198
|
+
}
|
|
1199
|
+
set selected(value) {
|
|
1200
|
+
const isSelected = coerceBooleanProperty(value);
|
|
1201
|
+
if (isSelected !== this._selected) {
|
|
1202
|
+
this._setSelected(isSelected);
|
|
1203
|
+
if (isSelected || this._selectionList.multiple) {
|
|
1204
|
+
this._selectionList._reportValueChange();
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
constructor(elementRef, ngZone, _selectionList, platform, _changeDetectorRef, globalRippleOptions, animationMode) {
|
|
1209
|
+
super(elementRef, ngZone, _selectionList, platform, globalRippleOptions, animationMode);
|
|
1210
|
+
this._selectionList = _selectionList;
|
|
1211
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
1212
|
+
this.selectedChange = new EventEmitter();
|
|
1213
|
+
this.togglePosition = "after";
|
|
1214
|
+
this._selected = false;
|
|
1215
|
+
this._inputsInitialized = false;
|
|
1216
|
+
}
|
|
1217
|
+
ngOnInit() {
|
|
1218
|
+
const list = this._selectionList;
|
|
1219
|
+
if (list._value && list._value.some((value) => list.compareWith(this._value, value))) {
|
|
1220
|
+
this._setSelected(true);
|
|
1221
|
+
}
|
|
1222
|
+
const wasSelected = this._selected;
|
|
1223
|
+
Promise.resolve().then(() => {
|
|
1224
|
+
if (this._selected || wasSelected) {
|
|
1225
|
+
this.selected = true;
|
|
1226
|
+
this._changeDetectorRef.markForCheck();
|
|
1227
|
+
}
|
|
1228
|
+
});
|
|
1229
|
+
this._inputsInitialized = true;
|
|
1230
|
+
}
|
|
1231
|
+
ngOnDestroy() {
|
|
1232
|
+
super.ngOnDestroy();
|
|
1233
|
+
if (this.selected) {
|
|
1234
|
+
Promise.resolve().then(() => {
|
|
1235
|
+
this.selected = false;
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
/** Toggles the selection state of the option. */
|
|
1240
|
+
toggle() {
|
|
1241
|
+
this.selected = !this.selected;
|
|
1242
|
+
}
|
|
1243
|
+
/** Allows for programmatic focusing of the option. */
|
|
1244
|
+
focus() {
|
|
1245
|
+
this._hostElement.focus();
|
|
1246
|
+
}
|
|
1247
|
+
/** Gets the text label of the list option. Used for the typeahead functionality in the list. */
|
|
1248
|
+
getLabel() {
|
|
1249
|
+
const titleElement = this._titles?.get(0)?._elementRef.nativeElement;
|
|
1250
|
+
const labelEl = titleElement || this._unscopedContent?.nativeElement;
|
|
1251
|
+
return labelEl?.textContent || "";
|
|
1252
|
+
}
|
|
1253
|
+
/** Whether a checkbox is shown at the given position. */
|
|
1254
|
+
_hasCheckboxAt(position) {
|
|
1255
|
+
return this._selectionList.multiple && this._getTogglePosition() === position;
|
|
1256
|
+
}
|
|
1257
|
+
/** Where a radio indicator is shown at the given position. */
|
|
1258
|
+
_hasRadioAt(position) {
|
|
1259
|
+
return !this._selectionList.multiple && this._getTogglePosition() === position && !this._selectionList.hideSingleSelectionIndicator;
|
|
1260
|
+
}
|
|
1261
|
+
/** Whether icons or avatars are shown at the given position. */
|
|
1262
|
+
_hasIconsOrAvatarsAt(position) {
|
|
1263
|
+
return this._hasProjected("icons", position) || this._hasProjected("avatars", position);
|
|
1264
|
+
}
|
|
1265
|
+
/** Gets whether the given type of element is projected at the specified position. */
|
|
1266
|
+
_hasProjected(type, position) {
|
|
1267
|
+
return this._getTogglePosition() !== position && (type === "avatars" ? this._avatars.length !== 0 : this._icons.length !== 0);
|
|
1268
|
+
}
|
|
1269
|
+
_handleBlur() {
|
|
1270
|
+
this._selectionList._onTouched();
|
|
1271
|
+
}
|
|
1272
|
+
/** Gets the current position of the checkbox/radio. */
|
|
1273
|
+
_getTogglePosition() {
|
|
1274
|
+
return this.togglePosition || "after";
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Sets the selected state of the option.
|
|
1278
|
+
* @returns Whether the value has changed.
|
|
1279
|
+
*/
|
|
1280
|
+
_setSelected(selected) {
|
|
1281
|
+
if (selected === this._selected) {
|
|
1282
|
+
return false;
|
|
1283
|
+
}
|
|
1284
|
+
this._selected = selected;
|
|
1285
|
+
if (selected) {
|
|
1286
|
+
this._selectionList.selectedOptions.select(this);
|
|
1287
|
+
} else {
|
|
1288
|
+
this._selectionList.selectedOptions.deselect(this);
|
|
1289
|
+
}
|
|
1290
|
+
this.selectedChange.emit(selected);
|
|
1291
|
+
this._changeDetectorRef.markForCheck();
|
|
1292
|
+
return true;
|
|
1293
|
+
}
|
|
1294
|
+
/**
|
|
1295
|
+
* Notifies Angular that the option needs to be checked in the next change detection run.
|
|
1296
|
+
* Mainly used to trigger an update of the list option if the disabled state of the selection
|
|
1297
|
+
* list changed.
|
|
1298
|
+
*/
|
|
1299
|
+
_markForCheck() {
|
|
1300
|
+
this._changeDetectorRef.markForCheck();
|
|
1301
|
+
}
|
|
1302
|
+
/** Toggles the option's value based on a user interaction. */
|
|
1303
|
+
_toggleOnInteraction() {
|
|
1304
|
+
if (!this.disabled) {
|
|
1305
|
+
if (this._selectionList.multiple) {
|
|
1306
|
+
this.selected = !this.selected;
|
|
1307
|
+
this._selectionList._emitChangeEvent([this]);
|
|
1308
|
+
} else if (!this.selected) {
|
|
1309
|
+
this.selected = true;
|
|
1310
|
+
this._selectionList._emitChangeEvent([this]);
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
/** Sets the tabindex of the list option. */
|
|
1315
|
+
_setTabindex(value) {
|
|
1316
|
+
this._hostElement.setAttribute("tabindex", value + "");
|
|
1317
|
+
}
|
|
1318
|
+
_hasBothLeadingAndTrailing() {
|
|
1319
|
+
const hasLeading = this._hasProjected("avatars", "before") || this._hasProjected("icons", "before") || this._hasCheckboxAt("before") || this._hasRadioAt("before");
|
|
1320
|
+
const hasTrailing = this._hasProjected("icons", "after") || this._hasProjected("avatars", "after") || this._hasCheckboxAt("after") || this._hasRadioAt("after");
|
|
1321
|
+
return hasLeading && hasTrailing;
|
|
1322
|
+
}
|
|
1323
|
+
static {
|
|
1324
|
+
this.ɵfac = function MatListOption_Factory(__ngFactoryType__) {
|
|
1325
|
+
return new (__ngFactoryType__ || _MatListOption)(ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(NgZone), ɵɵdirectiveInject(SELECTION_LIST), ɵɵdirectiveInject(Platform), ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(MAT_RIPPLE_GLOBAL_OPTIONS, 8), ɵɵdirectiveInject(ANIMATION_MODULE_TYPE, 8));
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
static {
|
|
1329
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
1330
|
+
type: _MatListOption,
|
|
1331
|
+
selectors: [["mat-list-option"]],
|
|
1332
|
+
contentQueries: function MatListOption_ContentQueries(rf, ctx, dirIndex) {
|
|
1333
|
+
if (rf & 1) {
|
|
1334
|
+
ɵɵcontentQuery(dirIndex, MatListItemLine, 5);
|
|
1335
|
+
ɵɵcontentQuery(dirIndex, MatListItemTitle, 5);
|
|
1336
|
+
}
|
|
1337
|
+
if (rf & 2) {
|
|
1338
|
+
let _t;
|
|
1339
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._lines = _t);
|
|
1340
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._titles = _t);
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
viewQuery: function MatListOption_Query(rf, ctx) {
|
|
1344
|
+
if (rf & 1) {
|
|
1345
|
+
ɵɵviewQuery(_c2, 5);
|
|
1346
|
+
}
|
|
1347
|
+
if (rf & 2) {
|
|
1348
|
+
let _t;
|
|
1349
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._unscopedContent = _t.first);
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
hostAttrs: ["role", "option", 1, "mat-mdc-list-item", "mat-mdc-list-option", "mdc-list-item"],
|
|
1353
|
+
hostVars: 27,
|
|
1354
|
+
hostBindings: function MatListOption_HostBindings(rf, ctx) {
|
|
1355
|
+
if (rf & 1) {
|
|
1356
|
+
ɵɵlistener("blur", function MatListOption_blur_HostBindingHandler() {
|
|
1357
|
+
return ctx._handleBlur();
|
|
1358
|
+
})("click", function MatListOption_click_HostBindingHandler() {
|
|
1359
|
+
return ctx._toggleOnInteraction();
|
|
1360
|
+
});
|
|
1361
|
+
}
|
|
1362
|
+
if (rf & 2) {
|
|
1363
|
+
ɵɵattribute("aria-selected", ctx.selected);
|
|
1364
|
+
ɵɵclassProp("mdc-list-item--selected", ctx.selected && !ctx._selectionList.multiple && ctx._selectionList.hideSingleSelectionIndicator)("mdc-list-item--with-leading-avatar", ctx._hasProjected("avatars", "before"))("mdc-list-item--with-leading-icon", ctx._hasProjected("icons", "before"))("mdc-list-item--with-trailing-icon", ctx._hasProjected("icons", "after"))("mat-mdc-list-option-with-trailing-avatar", ctx._hasProjected("avatars", "after"))("mdc-list-item--with-leading-checkbox", ctx._hasCheckboxAt("before"))("mdc-list-item--with-trailing-checkbox", ctx._hasCheckboxAt("after"))("mdc-list-item--with-leading-radio", ctx._hasRadioAt("before"))("mdc-list-item--with-trailing-radio", ctx._hasRadioAt("after"))("mat-mdc-list-item-both-leading-and-trailing", ctx._hasBothLeadingAndTrailing())("mat-accent", ctx.color !== "primary" && ctx.color !== "warn")("mat-warn", ctx.color === "warn")("_mat-animation-noopable", ctx._noopAnimations);
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
inputs: {
|
|
1368
|
+
togglePosition: "togglePosition",
|
|
1369
|
+
checkboxPosition: "checkboxPosition",
|
|
1370
|
+
color: "color",
|
|
1371
|
+
value: "value",
|
|
1372
|
+
selected: "selected"
|
|
1373
|
+
},
|
|
1374
|
+
outputs: {
|
|
1375
|
+
selectedChange: "selectedChange"
|
|
1376
|
+
},
|
|
1377
|
+
exportAs: ["matListOption"],
|
|
1378
|
+
standalone: true,
|
|
1379
|
+
features: [ɵɵProvidersFeature([{
|
|
1380
|
+
provide: MatListItemBase,
|
|
1381
|
+
useExisting: _MatListOption
|
|
1382
|
+
}, {
|
|
1383
|
+
provide: LIST_OPTION,
|
|
1384
|
+
useExisting: _MatListOption
|
|
1385
|
+
}]), ɵɵInheritDefinitionFeature, ɵɵStandaloneFeature],
|
|
1386
|
+
ngContentSelectors: _c7,
|
|
1387
|
+
decls: 20,
|
|
1388
|
+
vars: 4,
|
|
1389
|
+
consts: [["icons", ""], ["checkbox", ""], ["radio", ""], ["unscopedContent", ""], [1, "mdc-list-item__start", "mat-mdc-list-option-checkbox-before"], [1, "mdc-list-item__start", "mat-mdc-list-option-radio-before"], [3, "ngTemplateOutlet"], [1, "mdc-list-item__content"], [1, "mat-mdc-list-item-unscoped-content", 3, "cdkObserveContent"], [1, "mdc-list-item__end"], [1, "mat-mdc-focus-indicator"], [1, "mdc-checkbox"], ["type", "checkbox", 1, "mdc-checkbox__native-control", 3, "checked", "disabled"], [1, "mdc-checkbox__background"], ["viewBox", "0 0 24 24", "aria-hidden", "true", 1, "mdc-checkbox__checkmark"], ["fill", "none", "d", "M1.73,12.91 8.1,19.28 22.79,4.59", 1, "mdc-checkbox__checkmark-path"], [1, "mdc-checkbox__mixedmark"], [1, "mdc-radio"], ["type", "radio", 1, "mdc-radio__native-control", 3, "checked", "disabled"], [1, "mdc-radio__background"], [1, "mdc-radio__outer-circle"], [1, "mdc-radio__inner-circle"]],
|
|
1390
|
+
template: function MatListOption_Template(rf, ctx) {
|
|
1391
|
+
if (rf & 1) {
|
|
1392
|
+
const _r1 = ɵɵgetCurrentView();
|
|
1393
|
+
ɵɵprojectionDef(_c6);
|
|
1394
|
+
ɵɵtemplate(0, MatListOption_ng_template_0_Template, 1, 0, "ng-template", null, 0, ɵɵtemplateRefExtractor)(2, MatListOption_ng_template_2_Template, 6, 4, "ng-template", null, 1, ɵɵtemplateRefExtractor)(4, MatListOption_ng_template_4_Template, 5, 4, "ng-template", null, 2, ɵɵtemplateRefExtractor)(6, MatListOption_Conditional_6_Template, 2, 1, "span", 4)(7, MatListOption_Conditional_7_Template, 2, 1, "span", 5)(8, MatListOption_Conditional_8_Template, 1, 1, null, 6);
|
|
1395
|
+
ɵɵelementStart(9, "span", 7);
|
|
1396
|
+
ɵɵprojection(10);
|
|
1397
|
+
ɵɵprojection(11, 1);
|
|
1398
|
+
ɵɵelementStart(12, "span", 8, 3);
|
|
1399
|
+
ɵɵlistener("cdkObserveContent", function MatListOption_Template_span_cdkObserveContent_12_listener() {
|
|
1400
|
+
ɵɵrestoreView(_r1);
|
|
1401
|
+
return ɵɵresetView(ctx._updateItemLines(true));
|
|
1402
|
+
});
|
|
1403
|
+
ɵɵprojection(14, 2);
|
|
1404
|
+
ɵɵelementEnd()();
|
|
1405
|
+
ɵɵtemplate(15, MatListOption_Conditional_15_Template, 2, 1, "span", 9)(16, MatListOption_Conditional_16_Template, 2, 1, "span", 9)(17, MatListOption_Conditional_17_Template, 1, 1, null, 6);
|
|
1406
|
+
ɵɵprojection(18, 3);
|
|
1407
|
+
ɵɵelement(19, "div", 10);
|
|
1408
|
+
}
|
|
1409
|
+
if (rf & 2) {
|
|
1410
|
+
ɵɵadvance(6);
|
|
1411
|
+
ɵɵconditional(ctx._hasCheckboxAt("before") ? 6 : ctx._hasRadioAt("before") ? 7 : -1);
|
|
1412
|
+
ɵɵadvance(2);
|
|
1413
|
+
ɵɵconditional(ctx._hasIconsOrAvatarsAt("before") ? 8 : -1);
|
|
1414
|
+
ɵɵadvance(7);
|
|
1415
|
+
ɵɵconditional(ctx._hasCheckboxAt("after") ? 15 : ctx._hasRadioAt("after") ? 16 : -1);
|
|
1416
|
+
ɵɵadvance(2);
|
|
1417
|
+
ɵɵconditional(ctx._hasIconsOrAvatarsAt("after") ? 17 : -1);
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
dependencies: [NgTemplateOutlet, CdkObserveContent],
|
|
1421
|
+
styles: ['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}'],
|
|
1422
|
+
encapsulation: 2,
|
|
1423
|
+
changeDetection: 0
|
|
1424
|
+
});
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
(() => {
|
|
1428
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListOption, [{
|
|
1429
|
+
type: Component,
|
|
1430
|
+
args: [{
|
|
1431
|
+
selector: "mat-list-option",
|
|
1432
|
+
exportAs: "matListOption",
|
|
1433
|
+
host: {
|
|
1434
|
+
"class": "mat-mdc-list-item mat-mdc-list-option mdc-list-item",
|
|
1435
|
+
"role": "option",
|
|
1436
|
+
// As per MDC, only list items without checkbox or radio indicator should receive the
|
|
1437
|
+
// `--selected` class.
|
|
1438
|
+
"[class.mdc-list-item--selected]": "selected && !_selectionList.multiple && _selectionList.hideSingleSelectionIndicator",
|
|
1439
|
+
// Based on the checkbox/radio position and whether there are icons or avatars, we apply MDC's
|
|
1440
|
+
// list-item `--leading` and `--trailing` classes.
|
|
1441
|
+
"[class.mdc-list-item--with-leading-avatar]": '_hasProjected("avatars", "before")',
|
|
1442
|
+
"[class.mdc-list-item--with-leading-icon]": '_hasProjected("icons", "before")',
|
|
1443
|
+
"[class.mdc-list-item--with-trailing-icon]": '_hasProjected("icons", "after")',
|
|
1444
|
+
"[class.mat-mdc-list-option-with-trailing-avatar]": '_hasProjected("avatars", "after")',
|
|
1445
|
+
// Based on the checkbox/radio position, we apply the `--leading` or `--trailing` MDC classes
|
|
1446
|
+
// which ensure that the checkbox/radio is positioned correctly within the list item.
|
|
1447
|
+
"[class.mdc-list-item--with-leading-checkbox]": '_hasCheckboxAt("before")',
|
|
1448
|
+
"[class.mdc-list-item--with-trailing-checkbox]": '_hasCheckboxAt("after")',
|
|
1449
|
+
"[class.mdc-list-item--with-leading-radio]": '_hasRadioAt("before")',
|
|
1450
|
+
"[class.mdc-list-item--with-trailing-radio]": '_hasRadioAt("after")',
|
|
1451
|
+
// Utility class that makes it easier to target the case where there's both a leading
|
|
1452
|
+
// and a trailing icon. Avoids having to write out all the combinations.
|
|
1453
|
+
"[class.mat-mdc-list-item-both-leading-and-trailing]": "_hasBothLeadingAndTrailing()",
|
|
1454
|
+
"[class.mat-accent]": 'color !== "primary" && color !== "warn"',
|
|
1455
|
+
"[class.mat-warn]": 'color === "warn"',
|
|
1456
|
+
"[class._mat-animation-noopable]": "_noopAnimations",
|
|
1457
|
+
"[attr.aria-selected]": "selected",
|
|
1458
|
+
"(blur)": "_handleBlur()",
|
|
1459
|
+
"(click)": "_toggleOnInteraction()"
|
|
1460
|
+
},
|
|
1461
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
1462
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1463
|
+
providers: [{
|
|
1464
|
+
provide: MatListItemBase,
|
|
1465
|
+
useExisting: MatListOption
|
|
1466
|
+
}, {
|
|
1467
|
+
provide: LIST_OPTION,
|
|
1468
|
+
useExisting: MatListOption
|
|
1469
|
+
}],
|
|
1470
|
+
standalone: true,
|
|
1471
|
+
imports: [NgTemplateOutlet, CdkObserveContent],
|
|
1472
|
+
template: `<!--
|
|
1473
|
+
Save icons and the pseudo checkbox/radio so that they can be re-used in the template without
|
|
1474
|
+
duplication. Also content can only be injected once so we need to extract icons/avatars
|
|
1475
|
+
into a template since we use it in multiple places.
|
|
1476
|
+
-->
|
|
1477
|
+
<ng-template #icons>
|
|
1478
|
+
<ng-content select="[matListItemAvatar],[matListItemIcon]">
|
|
1479
|
+
</ng-content>
|
|
1480
|
+
</ng-template>
|
|
1481
|
+
|
|
1482
|
+
<ng-template #checkbox>
|
|
1483
|
+
<div class="mdc-checkbox" [class.mdc-checkbox--disabled]="disabled">
|
|
1484
|
+
<input type="checkbox" class="mdc-checkbox__native-control"
|
|
1485
|
+
[checked]="selected" [disabled]="disabled"/>
|
|
1486
|
+
<div class="mdc-checkbox__background">
|
|
1487
|
+
<svg class="mdc-checkbox__checkmark"
|
|
1488
|
+
viewBox="0 0 24 24"
|
|
1489
|
+
aria-hidden="true">
|
|
1490
|
+
<path class="mdc-checkbox__checkmark-path"
|
|
1491
|
+
fill="none"
|
|
1492
|
+
d="M1.73,12.91 8.1,19.28 22.79,4.59"/>
|
|
1493
|
+
</svg>
|
|
1494
|
+
<div class="mdc-checkbox__mixedmark"></div>
|
|
1495
|
+
</div>
|
|
1496
|
+
</div>
|
|
1497
|
+
</ng-template>
|
|
1498
|
+
|
|
1499
|
+
<ng-template #radio>
|
|
1500
|
+
<div class="mdc-radio" [class.mdc-radio--disabled]="disabled">
|
|
1501
|
+
<input type="radio" class="mdc-radio__native-control"
|
|
1502
|
+
[checked]="selected" [disabled]="disabled"/>
|
|
1503
|
+
<div class="mdc-radio__background">
|
|
1504
|
+
<div class="mdc-radio__outer-circle"></div>
|
|
1505
|
+
<div class="mdc-radio__inner-circle"></div>
|
|
1506
|
+
</div>
|
|
1507
|
+
</div>
|
|
1508
|
+
</ng-template>
|
|
1509
|
+
|
|
1510
|
+
@if (_hasCheckboxAt('before')) {
|
|
1511
|
+
<!-- Container for the checkbox at start. -->
|
|
1512
|
+
<span class="mdc-list-item__start mat-mdc-list-option-checkbox-before">
|
|
1513
|
+
<ng-template [ngTemplateOutlet]="checkbox"></ng-template>
|
|
1514
|
+
</span>
|
|
1515
|
+
} @else if (_hasRadioAt('before')) {
|
|
1516
|
+
<!-- Container for the radio at the start. -->
|
|
1517
|
+
<span class="mdc-list-item__start mat-mdc-list-option-radio-before">
|
|
1518
|
+
<ng-template [ngTemplateOutlet]="radio"></ng-template>
|
|
1519
|
+
</span>
|
|
1520
|
+
}
|
|
1521
|
+
<!-- Conditionally renders icons/avatars before the list item text. -->
|
|
1522
|
+
@if (_hasIconsOrAvatarsAt('before')) {
|
|
1523
|
+
<ng-template [ngTemplateOutlet]="icons"></ng-template>
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
<!-- Text -->
|
|
1527
|
+
<span class="mdc-list-item__content">
|
|
1528
|
+
<ng-content select="[matListItemTitle]"></ng-content>
|
|
1529
|
+
<ng-content select="[matListItemLine]"></ng-content>
|
|
1530
|
+
<span #unscopedContent class="mat-mdc-list-item-unscoped-content"
|
|
1531
|
+
(cdkObserveContent)="_updateItemLines(true)">
|
|
1532
|
+
<ng-content></ng-content>
|
|
1533
|
+
</span>
|
|
1534
|
+
</span>
|
|
1535
|
+
|
|
1536
|
+
@if (_hasCheckboxAt('after')) {
|
|
1537
|
+
<!-- Container for the checkbox at the end. -->
|
|
1538
|
+
<span class="mdc-list-item__end">
|
|
1539
|
+
<ng-template [ngTemplateOutlet]="checkbox"></ng-template>
|
|
1540
|
+
</span>
|
|
1541
|
+
} @else if (_hasRadioAt('after')) {
|
|
1542
|
+
<!-- Container for the radio at the end. -->
|
|
1543
|
+
<span class="mdc-list-item__end">
|
|
1544
|
+
<ng-template [ngTemplateOutlet]="radio"></ng-template>
|
|
1545
|
+
</span>
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
<!-- Conditionally renders icons/avatars after the list item text. -->
|
|
1549
|
+
@if (_hasIconsOrAvatarsAt('after')) {
|
|
1550
|
+
<ng-template [ngTemplateOutlet]="icons"></ng-template>
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
<!-- Divider -->
|
|
1554
|
+
<ng-content select="mat-divider"></ng-content>
|
|
1555
|
+
|
|
1556
|
+
<!--
|
|
1557
|
+
Strong focus indicator element. MDC uses the \`::before\` pseudo element for the default
|
|
1558
|
+
focus/hover/selected state, so we need a separate element.
|
|
1559
|
+
-->
|
|
1560
|
+
<div class="mat-mdc-focus-indicator"></div>
|
|
1561
|
+
`,
|
|
1562
|
+
styles: ['.mat-mdc-list-option-with-trailing-avatar.mdc-list-item,[dir=rtl] .mat-mdc-list-option-with-trailing-avatar.mdc-list-item{padding-left:0;padding-right:0}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{margin-left:16px;margin-right:16px;width:40px;height:40px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mat-mdc-list-option-with-trailing-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mat-mdc-list-option-with-trailing-avatar .mdc-list-item__end{border-radius:50%}.mat-mdc-list-option .mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mat-mdc-list-option .mdc-checkbox--disabled{cursor:default;pointer-events:none}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled{opacity:.5}.mat-mdc-list-option .mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mdc-checkbox-unselected-icon-color, var(--mat-app-on-surface-variant));top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mat-mdc-list-option .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mat-mdc-list-option .mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mat-app-on-surface));background-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mat-app-on-surface))}.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover .mdc-checkbox__native-control~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-mdc-list-option .mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__checkmark{color:CanvasText}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__checkmark,.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:CanvasText}.mat-mdc-list-option .mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mat-mdc-list-option .mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color, var(--mat-app-on-primary))}.cdk-high-contrast-active .mat-mdc-list-option .mdc-checkbox__mixedmark{margin:0 1px}.mat-mdc-list-option .mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mat-mdc-list-option .mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, var(--mat-app-surface))}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mat-mdc-list-option .mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *,.mat-mdc-list-option._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-list-option .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-list-option .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-list-option .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-list-option .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-list-option .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-list-option .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-list-option .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-list-option .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-list-option .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-list-option._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-list-option._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-list-option .mdc-checkbox__native-control,.mat-mdc-list-option .mdc-radio__native-control{display:none}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active .mat-mdc-list-option.mdc-list-item--selected [dir=rtl]::after{right:auto;left:16px}']
|
|
1563
|
+
}]
|
|
1564
|
+
}], () => [{
|
|
1565
|
+
type: ElementRef
|
|
1566
|
+
}, {
|
|
1567
|
+
type: NgZone
|
|
1568
|
+
}, {
|
|
1569
|
+
type: void 0,
|
|
1570
|
+
decorators: [{
|
|
1571
|
+
type: Inject,
|
|
1572
|
+
args: [SELECTION_LIST]
|
|
1573
|
+
}]
|
|
1574
|
+
}, {
|
|
1575
|
+
type: Platform
|
|
1576
|
+
}, {
|
|
1577
|
+
type: ChangeDetectorRef
|
|
1578
|
+
}, {
|
|
1579
|
+
type: void 0,
|
|
1580
|
+
decorators: [{
|
|
1581
|
+
type: Optional
|
|
1582
|
+
}, {
|
|
1583
|
+
type: Inject,
|
|
1584
|
+
args: [MAT_RIPPLE_GLOBAL_OPTIONS]
|
|
1585
|
+
}]
|
|
1586
|
+
}, {
|
|
1587
|
+
type: void 0,
|
|
1588
|
+
decorators: [{
|
|
1589
|
+
type: Optional
|
|
1590
|
+
}, {
|
|
1591
|
+
type: Inject,
|
|
1592
|
+
args: [ANIMATION_MODULE_TYPE]
|
|
1593
|
+
}]
|
|
1594
|
+
}], {
|
|
1595
|
+
_lines: [{
|
|
1596
|
+
type: ContentChildren,
|
|
1597
|
+
args: [MatListItemLine, {
|
|
1598
|
+
descendants: true
|
|
1599
|
+
}]
|
|
1600
|
+
}],
|
|
1601
|
+
_titles: [{
|
|
1602
|
+
type: ContentChildren,
|
|
1603
|
+
args: [MatListItemTitle, {
|
|
1604
|
+
descendants: true
|
|
1605
|
+
}]
|
|
1606
|
+
}],
|
|
1607
|
+
_unscopedContent: [{
|
|
1608
|
+
type: ViewChild,
|
|
1609
|
+
args: ["unscopedContent"]
|
|
1610
|
+
}],
|
|
1611
|
+
selectedChange: [{
|
|
1612
|
+
type: Output
|
|
1613
|
+
}],
|
|
1614
|
+
togglePosition: [{
|
|
1615
|
+
type: Input
|
|
1616
|
+
}],
|
|
1617
|
+
checkboxPosition: [{
|
|
1618
|
+
type: Input
|
|
1619
|
+
}],
|
|
1620
|
+
color: [{
|
|
1621
|
+
type: Input
|
|
1622
|
+
}],
|
|
1623
|
+
value: [{
|
|
1624
|
+
type: Input
|
|
1625
|
+
}],
|
|
1626
|
+
selected: [{
|
|
1627
|
+
type: Input
|
|
1628
|
+
}]
|
|
1629
|
+
});
|
|
1630
|
+
})();
|
|
1631
|
+
var MatListSubheaderCssMatStyler = class _MatListSubheaderCssMatStyler {
|
|
1632
|
+
static {
|
|
1633
|
+
this.ɵfac = function MatListSubheaderCssMatStyler_Factory(__ngFactoryType__) {
|
|
1634
|
+
return new (__ngFactoryType__ || _MatListSubheaderCssMatStyler)();
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
static {
|
|
1638
|
+
this.ɵdir = ɵɵdefineDirective({
|
|
1639
|
+
type: _MatListSubheaderCssMatStyler,
|
|
1640
|
+
selectors: [["", "mat-subheader", ""], ["", "matSubheader", ""]],
|
|
1641
|
+
hostAttrs: [1, "mat-mdc-subheader", "mdc-list-group__subheader"],
|
|
1642
|
+
standalone: true
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
};
|
|
1646
|
+
(() => {
|
|
1647
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListSubheaderCssMatStyler, [{
|
|
1648
|
+
type: Directive,
|
|
1649
|
+
args: [{
|
|
1650
|
+
selector: "[mat-subheader], [matSubheader]",
|
|
1651
|
+
// TODO(mmalerba): MDC's subheader font looks identical to the list item font, figure out why and
|
|
1652
|
+
// make a change in one of the repos to visually distinguish.
|
|
1653
|
+
host: {
|
|
1654
|
+
"class": "mat-mdc-subheader mdc-list-group__subheader"
|
|
1655
|
+
},
|
|
1656
|
+
standalone: true
|
|
1657
|
+
}]
|
|
1658
|
+
}], null, null);
|
|
1659
|
+
})();
|
|
1660
|
+
var MAT_NAV_LIST = new InjectionToken("MatNavList");
|
|
1661
|
+
var MatNavList = class _MatNavList extends MatListBase {
|
|
1662
|
+
constructor() {
|
|
1663
|
+
super(...arguments);
|
|
1664
|
+
this._isNonInteractive = false;
|
|
1665
|
+
}
|
|
1666
|
+
static {
|
|
1667
|
+
this.ɵfac = /* @__PURE__ */ (() => {
|
|
1668
|
+
let ɵMatNavList_BaseFactory;
|
|
1669
|
+
return function MatNavList_Factory(__ngFactoryType__) {
|
|
1670
|
+
return (ɵMatNavList_BaseFactory || (ɵMatNavList_BaseFactory = ɵɵgetInheritedFactory(_MatNavList)))(__ngFactoryType__ || _MatNavList);
|
|
1671
|
+
};
|
|
1672
|
+
})();
|
|
1673
|
+
}
|
|
1674
|
+
static {
|
|
1675
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
1676
|
+
type: _MatNavList,
|
|
1677
|
+
selectors: [["mat-nav-list"]],
|
|
1678
|
+
hostAttrs: ["role", "navigation", 1, "mat-mdc-nav-list", "mat-mdc-list-base", "mdc-list"],
|
|
1679
|
+
exportAs: ["matNavList"],
|
|
1680
|
+
standalone: true,
|
|
1681
|
+
features: [ɵɵProvidersFeature([{
|
|
1682
|
+
provide: MatListBase,
|
|
1683
|
+
useExisting: _MatNavList
|
|
1684
|
+
}]), ɵɵInheritDefinitionFeature, ɵɵStandaloneFeature],
|
|
1685
|
+
ngContentSelectors: _c0,
|
|
1686
|
+
decls: 1,
|
|
1687
|
+
vars: 0,
|
|
1688
|
+
template: function MatNavList_Template(rf, ctx) {
|
|
1689
|
+
if (rf & 1) {
|
|
1690
|
+
ɵɵprojectionDef();
|
|
1691
|
+
ɵɵprojection(0);
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
styles: [_c1],
|
|
1695
|
+
encapsulation: 2,
|
|
1696
|
+
changeDetection: 0
|
|
1697
|
+
});
|
|
1698
|
+
}
|
|
1699
|
+
};
|
|
1700
|
+
(() => {
|
|
1701
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatNavList, [{
|
|
1702
|
+
type: Component,
|
|
1703
|
+
args: [{
|
|
1704
|
+
selector: "mat-nav-list",
|
|
1705
|
+
exportAs: "matNavList",
|
|
1706
|
+
template: "<ng-content></ng-content>",
|
|
1707
|
+
host: {
|
|
1708
|
+
"class": "mat-mdc-nav-list mat-mdc-list-base mdc-list",
|
|
1709
|
+
"role": "navigation"
|
|
1710
|
+
},
|
|
1711
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
1712
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1713
|
+
providers: [{
|
|
1714
|
+
provide: MatListBase,
|
|
1715
|
+
useExisting: MatNavList
|
|
1716
|
+
}],
|
|
1717
|
+
standalone: true,
|
|
1718
|
+
styles: ['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}']
|
|
1719
|
+
}]
|
|
1720
|
+
}], null, null);
|
|
1721
|
+
})();
|
|
1722
|
+
var MAT_SELECTION_LIST_VALUE_ACCESSOR = {
|
|
1723
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1724
|
+
useExisting: forwardRef(() => MatSelectionList),
|
|
1725
|
+
multi: true
|
|
1726
|
+
};
|
|
1727
|
+
var MatSelectionListChange = class {
|
|
1728
|
+
constructor(source, options) {
|
|
1729
|
+
this.source = source;
|
|
1730
|
+
this.options = options;
|
|
1731
|
+
}
|
|
1732
|
+
};
|
|
1733
|
+
var MatSelectionList = class _MatSelectionList extends MatListBase {
|
|
1734
|
+
/** Whether selection is limited to one or multiple items (default multiple). */
|
|
1735
|
+
get multiple() {
|
|
1736
|
+
return this._multiple;
|
|
1737
|
+
}
|
|
1738
|
+
set multiple(value) {
|
|
1739
|
+
const newValue = coerceBooleanProperty(value);
|
|
1740
|
+
if (newValue !== this._multiple) {
|
|
1741
|
+
if ((typeof ngDevMode === "undefined" || ngDevMode) && this._initialized) {
|
|
1742
|
+
throw new Error("Cannot change `multiple` mode of mat-selection-list after initialization.");
|
|
1743
|
+
}
|
|
1744
|
+
this._multiple = newValue;
|
|
1745
|
+
this.selectedOptions = new SelectionModel(this._multiple, this.selectedOptions.selected);
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
/** Whether radio indicator for all list items is hidden. */
|
|
1749
|
+
get hideSingleSelectionIndicator() {
|
|
1750
|
+
return this._hideSingleSelectionIndicator;
|
|
1751
|
+
}
|
|
1752
|
+
set hideSingleSelectionIndicator(value) {
|
|
1753
|
+
this._hideSingleSelectionIndicator = coerceBooleanProperty(value);
|
|
1754
|
+
}
|
|
1755
|
+
constructor(_element, _ngZone) {
|
|
1756
|
+
super();
|
|
1757
|
+
this._element = _element;
|
|
1758
|
+
this._ngZone = _ngZone;
|
|
1759
|
+
this._initialized = false;
|
|
1760
|
+
this._destroyed = new Subject();
|
|
1761
|
+
this._onChange = (_) => {
|
|
1762
|
+
};
|
|
1763
|
+
this.selectionChange = new EventEmitter();
|
|
1764
|
+
this.color = "accent";
|
|
1765
|
+
this.compareWith = (a1, a2) => a1 === a2;
|
|
1766
|
+
this._multiple = true;
|
|
1767
|
+
this._hideSingleSelectionIndicator = this._defaultOptions?.hideSingleSelectionIndicator ?? false;
|
|
1768
|
+
this.selectedOptions = new SelectionModel(this._multiple);
|
|
1769
|
+
this._onTouched = () => {
|
|
1770
|
+
};
|
|
1771
|
+
this._changeDetectorRef = inject(ChangeDetectorRef);
|
|
1772
|
+
this._selectionListDisabled = false;
|
|
1773
|
+
this._handleFocusout = () => {
|
|
1774
|
+
setTimeout(() => {
|
|
1775
|
+
if (!this._containsFocus()) {
|
|
1776
|
+
this._resetActiveOption();
|
|
1777
|
+
}
|
|
1778
|
+
});
|
|
1779
|
+
};
|
|
1780
|
+
this._handleFocusin = (event) => {
|
|
1781
|
+
if (this.disabled) {
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
const activeIndex = this._items.toArray().findIndex((item) => item._elementRef.nativeElement.contains(event.target));
|
|
1785
|
+
if (activeIndex > -1) {
|
|
1786
|
+
this._setActiveOption(activeIndex);
|
|
1787
|
+
} else {
|
|
1788
|
+
this._resetActiveOption();
|
|
1789
|
+
}
|
|
1790
|
+
};
|
|
1791
|
+
this._isNonInteractive = false;
|
|
1792
|
+
}
|
|
1793
|
+
ngAfterViewInit() {
|
|
1794
|
+
this._initialized = true;
|
|
1795
|
+
this._setupRovingTabindex();
|
|
1796
|
+
this._ngZone.runOutsideAngular(() => {
|
|
1797
|
+
this._element.nativeElement.addEventListener("focusin", this._handleFocusin);
|
|
1798
|
+
this._element.nativeElement.addEventListener("focusout", this._handleFocusout);
|
|
1799
|
+
});
|
|
1800
|
+
if (this._value) {
|
|
1801
|
+
this._setOptionsFromValues(this._value);
|
|
1802
|
+
}
|
|
1803
|
+
this._watchForSelectionChange();
|
|
1804
|
+
}
|
|
1805
|
+
ngOnChanges(changes) {
|
|
1806
|
+
const disabledChanges = changes["disabled"];
|
|
1807
|
+
const disableRippleChanges = changes["disableRipple"];
|
|
1808
|
+
const hideSingleSelectionIndicatorChanges = changes["hideSingleSelectionIndicator"];
|
|
1809
|
+
if (disableRippleChanges && !disableRippleChanges.firstChange || disabledChanges && !disabledChanges.firstChange || hideSingleSelectionIndicatorChanges && !hideSingleSelectionIndicatorChanges.firstChange) {
|
|
1810
|
+
this._markOptionsForCheck();
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
ngOnDestroy() {
|
|
1814
|
+
this._keyManager?.destroy();
|
|
1815
|
+
this._element.nativeElement.removeEventListener("focusin", this._handleFocusin);
|
|
1816
|
+
this._element.nativeElement.removeEventListener("focusout", this._handleFocusout);
|
|
1817
|
+
this._destroyed.next();
|
|
1818
|
+
this._destroyed.complete();
|
|
1819
|
+
this._isDestroyed = true;
|
|
1820
|
+
}
|
|
1821
|
+
/** Focuses the selection list. */
|
|
1822
|
+
focus(options) {
|
|
1823
|
+
this._element.nativeElement.focus(options);
|
|
1824
|
+
}
|
|
1825
|
+
/** Selects all of the options. Returns the options that changed as a result. */
|
|
1826
|
+
selectAll() {
|
|
1827
|
+
return this._setAllOptionsSelected(true);
|
|
1828
|
+
}
|
|
1829
|
+
/** Deselects all of the options. Returns the options that changed as a result. */
|
|
1830
|
+
deselectAll() {
|
|
1831
|
+
return this._setAllOptionsSelected(false);
|
|
1832
|
+
}
|
|
1833
|
+
/** Reports a value change to the ControlValueAccessor */
|
|
1834
|
+
_reportValueChange() {
|
|
1835
|
+
if (this.options && !this._isDestroyed) {
|
|
1836
|
+
const value = this._getSelectedOptionValues();
|
|
1837
|
+
this._onChange(value);
|
|
1838
|
+
this._value = value;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
/** Emits a change event if the selected state of an option changed. */
|
|
1842
|
+
_emitChangeEvent(options) {
|
|
1843
|
+
this.selectionChange.emit(new MatSelectionListChange(this, options));
|
|
1844
|
+
}
|
|
1845
|
+
/** Implemented as part of ControlValueAccessor. */
|
|
1846
|
+
writeValue(values) {
|
|
1847
|
+
this._value = values;
|
|
1848
|
+
if (this.options) {
|
|
1849
|
+
this._setOptionsFromValues(values || []);
|
|
1850
|
+
}
|
|
1851
|
+
}
|
|
1852
|
+
/** Implemented as a part of ControlValueAccessor. */
|
|
1853
|
+
setDisabledState(isDisabled) {
|
|
1854
|
+
this.disabled = isDisabled;
|
|
1855
|
+
this._changeDetectorRef.markForCheck();
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
* Whether the *entire* selection list is disabled. When true, each list item is also disabled
|
|
1859
|
+
* and each list item is removed from the tab order (has tabindex="-1").
|
|
1860
|
+
*/
|
|
1861
|
+
get disabled() {
|
|
1862
|
+
return this._selectionListDisabled;
|
|
1863
|
+
}
|
|
1864
|
+
set disabled(value) {
|
|
1865
|
+
this._selectionListDisabled = coerceBooleanProperty(value);
|
|
1866
|
+
if (this._selectionListDisabled) {
|
|
1867
|
+
this._keyManager?.setActiveItem(-1);
|
|
1868
|
+
}
|
|
1869
|
+
}
|
|
1870
|
+
/** Implemented as part of ControlValueAccessor. */
|
|
1871
|
+
registerOnChange(fn) {
|
|
1872
|
+
this._onChange = fn;
|
|
1873
|
+
}
|
|
1874
|
+
/** Implemented as part of ControlValueAccessor. */
|
|
1875
|
+
registerOnTouched(fn) {
|
|
1876
|
+
this._onTouched = fn;
|
|
1877
|
+
}
|
|
1878
|
+
/** Watches for changes in the selected state of the options and updates the list accordingly. */
|
|
1879
|
+
_watchForSelectionChange() {
|
|
1880
|
+
this.selectedOptions.changed.pipe(takeUntil(this._destroyed)).subscribe((event) => {
|
|
1881
|
+
for (let item of event.added) {
|
|
1882
|
+
item.selected = true;
|
|
1883
|
+
}
|
|
1884
|
+
for (let item of event.removed) {
|
|
1885
|
+
item.selected = false;
|
|
1886
|
+
}
|
|
1887
|
+
if (!this._containsFocus()) {
|
|
1888
|
+
this._resetActiveOption();
|
|
1889
|
+
}
|
|
1890
|
+
});
|
|
1891
|
+
}
|
|
1892
|
+
/** Sets the selected options based on the specified values. */
|
|
1893
|
+
_setOptionsFromValues(values) {
|
|
1894
|
+
this.options.forEach((option) => option._setSelected(false));
|
|
1895
|
+
values.forEach((value) => {
|
|
1896
|
+
const correspondingOption = this.options.find((option) => {
|
|
1897
|
+
return option.selected ? false : this.compareWith(option.value, value);
|
|
1898
|
+
});
|
|
1899
|
+
if (correspondingOption) {
|
|
1900
|
+
correspondingOption._setSelected(true);
|
|
1901
|
+
}
|
|
1902
|
+
});
|
|
1903
|
+
}
|
|
1904
|
+
/** Returns the values of the selected options. */
|
|
1905
|
+
_getSelectedOptionValues() {
|
|
1906
|
+
return this.options.filter((option) => option.selected).map((option) => option.value);
|
|
1907
|
+
}
|
|
1908
|
+
/** Marks all the options to be checked in the next change detection run. */
|
|
1909
|
+
_markOptionsForCheck() {
|
|
1910
|
+
if (this.options) {
|
|
1911
|
+
this.options.forEach((option) => option._markForCheck());
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
/**
|
|
1915
|
+
* Sets the selected state on all of the options
|
|
1916
|
+
* and emits an event if anything changed.
|
|
1917
|
+
*/
|
|
1918
|
+
_setAllOptionsSelected(isSelected, skipDisabled) {
|
|
1919
|
+
const changedOptions = [];
|
|
1920
|
+
this.options.forEach((option) => {
|
|
1921
|
+
if ((!skipDisabled || !option.disabled) && option._setSelected(isSelected)) {
|
|
1922
|
+
changedOptions.push(option);
|
|
1923
|
+
}
|
|
1924
|
+
});
|
|
1925
|
+
if (changedOptions.length) {
|
|
1926
|
+
this._reportValueChange();
|
|
1927
|
+
}
|
|
1928
|
+
return changedOptions;
|
|
1929
|
+
}
|
|
1930
|
+
// Note: This getter exists for backwards compatibility. The `_items` query list
|
|
1931
|
+
// cannot be named `options` as it will be picked up by the interactive list base.
|
|
1932
|
+
/** The option components contained within this selection-list. */
|
|
1933
|
+
get options() {
|
|
1934
|
+
return this._items;
|
|
1935
|
+
}
|
|
1936
|
+
/** Handles keydown events within the list. */
|
|
1937
|
+
_handleKeydown(event) {
|
|
1938
|
+
const activeItem = this._keyManager.activeItem;
|
|
1939
|
+
if ((event.keyCode === ENTER || event.keyCode === SPACE) && !this._keyManager.isTyping() && activeItem && !activeItem.disabled) {
|
|
1940
|
+
event.preventDefault();
|
|
1941
|
+
activeItem._toggleOnInteraction();
|
|
1942
|
+
} else if (event.keyCode === A && this.multiple && !this._keyManager.isTyping() && hasModifierKey(event, "ctrlKey")) {
|
|
1943
|
+
const shouldSelect = this.options.some((option) => !option.disabled && !option.selected);
|
|
1944
|
+
event.preventDefault();
|
|
1945
|
+
this._emitChangeEvent(this._setAllOptionsSelected(shouldSelect, true));
|
|
1946
|
+
} else {
|
|
1947
|
+
this._keyManager.onKeydown(event);
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
/**
|
|
1951
|
+
* Sets up the logic for maintaining the roving tabindex.
|
|
1952
|
+
*
|
|
1953
|
+
* `skipPredicate` determines if key manager should avoid putting a given list item in the tab
|
|
1954
|
+
* index. Allow disabled list items to receive focus to align with WAI ARIA recommendation.
|
|
1955
|
+
* Normally WAI ARIA's instructions are to exclude disabled items from the tab order, but it
|
|
1956
|
+
* makes a few exceptions for compound widgets.
|
|
1957
|
+
*
|
|
1958
|
+
* From [Developing a Keyboard Interface](
|
|
1959
|
+
* https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/):
|
|
1960
|
+
* "For the following composite widget elements, keep them focusable when disabled: Options in a
|
|
1961
|
+
* Listbox..."
|
|
1962
|
+
*/
|
|
1963
|
+
_setupRovingTabindex() {
|
|
1964
|
+
this._keyManager = new FocusKeyManager(this._items).withHomeAndEnd().withTypeAhead().withWrap().skipPredicate(() => this.disabled);
|
|
1965
|
+
this._resetActiveOption();
|
|
1966
|
+
this._keyManager.change.subscribe((activeItemIndex) => this._setActiveOption(activeItemIndex));
|
|
1967
|
+
this._items.changes.pipe(takeUntil(this._destroyed)).subscribe(() => {
|
|
1968
|
+
const activeItem = this._keyManager.activeItem;
|
|
1969
|
+
if (!activeItem || this._items.toArray().indexOf(activeItem) === -1) {
|
|
1970
|
+
this._resetActiveOption();
|
|
1971
|
+
}
|
|
1972
|
+
});
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Sets an option as active.
|
|
1976
|
+
* @param index Index of the active option. If set to -1, no option will be active.
|
|
1977
|
+
*/
|
|
1978
|
+
_setActiveOption(index) {
|
|
1979
|
+
this._items.forEach((item, itemIndex) => item._setTabindex(itemIndex === index ? 0 : -1));
|
|
1980
|
+
this._keyManager.updateActiveItem(index);
|
|
1981
|
+
}
|
|
1982
|
+
/**
|
|
1983
|
+
* Resets the active option. When the list is disabled, remove all options from to the tab order.
|
|
1984
|
+
* Otherwise, focus the first selected option.
|
|
1985
|
+
*/
|
|
1986
|
+
_resetActiveOption() {
|
|
1987
|
+
if (this.disabled) {
|
|
1988
|
+
this._setActiveOption(-1);
|
|
1989
|
+
return;
|
|
1990
|
+
}
|
|
1991
|
+
const activeItem = this._items.find((item) => item.selected && !item.disabled) || this._items.first;
|
|
1992
|
+
this._setActiveOption(activeItem ? this._items.toArray().indexOf(activeItem) : -1);
|
|
1993
|
+
}
|
|
1994
|
+
/** Returns whether the focus is currently within the list. */
|
|
1995
|
+
_containsFocus() {
|
|
1996
|
+
const activeElement = _getFocusedElementPierceShadowDom();
|
|
1997
|
+
return activeElement && this._element.nativeElement.contains(activeElement);
|
|
1998
|
+
}
|
|
1999
|
+
static {
|
|
2000
|
+
this.ɵfac = function MatSelectionList_Factory(__ngFactoryType__) {
|
|
2001
|
+
return new (__ngFactoryType__ || _MatSelectionList)(ɵɵdirectiveInject(ElementRef), ɵɵdirectiveInject(NgZone));
|
|
2002
|
+
};
|
|
2003
|
+
}
|
|
2004
|
+
static {
|
|
2005
|
+
this.ɵcmp = ɵɵdefineComponent({
|
|
2006
|
+
type: _MatSelectionList,
|
|
2007
|
+
selectors: [["mat-selection-list"]],
|
|
2008
|
+
contentQueries: function MatSelectionList_ContentQueries(rf, ctx, dirIndex) {
|
|
2009
|
+
if (rf & 1) {
|
|
2010
|
+
ɵɵcontentQuery(dirIndex, MatListOption, 5);
|
|
2011
|
+
}
|
|
2012
|
+
if (rf & 2) {
|
|
2013
|
+
let _t;
|
|
2014
|
+
ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx._items = _t);
|
|
2015
|
+
}
|
|
2016
|
+
},
|
|
2017
|
+
hostAttrs: ["role", "listbox", 1, "mat-mdc-selection-list", "mat-mdc-list-base", "mdc-list"],
|
|
2018
|
+
hostVars: 1,
|
|
2019
|
+
hostBindings: function MatSelectionList_HostBindings(rf, ctx) {
|
|
2020
|
+
if (rf & 1) {
|
|
2021
|
+
ɵɵlistener("keydown", function MatSelectionList_keydown_HostBindingHandler($event) {
|
|
2022
|
+
return ctx._handleKeydown($event);
|
|
2023
|
+
});
|
|
2024
|
+
}
|
|
2025
|
+
if (rf & 2) {
|
|
2026
|
+
ɵɵattribute("aria-multiselectable", ctx.multiple);
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
inputs: {
|
|
2030
|
+
color: "color",
|
|
2031
|
+
compareWith: "compareWith",
|
|
2032
|
+
multiple: "multiple",
|
|
2033
|
+
hideSingleSelectionIndicator: "hideSingleSelectionIndicator",
|
|
2034
|
+
disabled: "disabled"
|
|
2035
|
+
},
|
|
2036
|
+
outputs: {
|
|
2037
|
+
selectionChange: "selectionChange"
|
|
2038
|
+
},
|
|
2039
|
+
exportAs: ["matSelectionList"],
|
|
2040
|
+
standalone: true,
|
|
2041
|
+
features: [ɵɵProvidersFeature([MAT_SELECTION_LIST_VALUE_ACCESSOR, {
|
|
2042
|
+
provide: MatListBase,
|
|
2043
|
+
useExisting: _MatSelectionList
|
|
2044
|
+
}, {
|
|
2045
|
+
provide: SELECTION_LIST,
|
|
2046
|
+
useExisting: _MatSelectionList
|
|
2047
|
+
}]), ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵStandaloneFeature],
|
|
2048
|
+
ngContentSelectors: _c0,
|
|
2049
|
+
decls: 1,
|
|
2050
|
+
vars: 0,
|
|
2051
|
+
template: function MatSelectionList_Template(rf, ctx) {
|
|
2052
|
+
if (rf & 1) {
|
|
2053
|
+
ɵɵprojectionDef();
|
|
2054
|
+
ɵɵprojection(0);
|
|
2055
|
+
}
|
|
2056
|
+
},
|
|
2057
|
+
styles: [_c1],
|
|
2058
|
+
encapsulation: 2,
|
|
2059
|
+
changeDetection: 0
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
};
|
|
2063
|
+
(() => {
|
|
2064
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatSelectionList, [{
|
|
2065
|
+
type: Component,
|
|
2066
|
+
args: [{
|
|
2067
|
+
selector: "mat-selection-list",
|
|
2068
|
+
exportAs: "matSelectionList",
|
|
2069
|
+
host: {
|
|
2070
|
+
"class": "mat-mdc-selection-list mat-mdc-list-base mdc-list",
|
|
2071
|
+
"role": "listbox",
|
|
2072
|
+
"[attr.aria-multiselectable]": "multiple",
|
|
2073
|
+
"(keydown)": "_handleKeydown($event)"
|
|
2074
|
+
},
|
|
2075
|
+
template: "<ng-content></ng-content>",
|
|
2076
|
+
encapsulation: ViewEncapsulation$1.None,
|
|
2077
|
+
providers: [MAT_SELECTION_LIST_VALUE_ACCESSOR, {
|
|
2078
|
+
provide: MatListBase,
|
|
2079
|
+
useExisting: MatSelectionList
|
|
2080
|
+
}, {
|
|
2081
|
+
provide: SELECTION_LIST,
|
|
2082
|
+
useExisting: MatSelectionList
|
|
2083
|
+
}],
|
|
2084
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2085
|
+
standalone: true,
|
|
2086
|
+
styles: ['.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}']
|
|
2087
|
+
}]
|
|
2088
|
+
}], () => [{
|
|
2089
|
+
type: ElementRef
|
|
2090
|
+
}, {
|
|
2091
|
+
type: NgZone
|
|
2092
|
+
}], {
|
|
2093
|
+
_items: [{
|
|
2094
|
+
type: ContentChildren,
|
|
2095
|
+
args: [MatListOption, {
|
|
2096
|
+
descendants: true
|
|
2097
|
+
}]
|
|
2098
|
+
}],
|
|
2099
|
+
selectionChange: [{
|
|
2100
|
+
type: Output
|
|
2101
|
+
}],
|
|
2102
|
+
color: [{
|
|
2103
|
+
type: Input
|
|
2104
|
+
}],
|
|
2105
|
+
compareWith: [{
|
|
2106
|
+
type: Input
|
|
2107
|
+
}],
|
|
2108
|
+
multiple: [{
|
|
2109
|
+
type: Input
|
|
2110
|
+
}],
|
|
2111
|
+
hideSingleSelectionIndicator: [{
|
|
2112
|
+
type: Input
|
|
2113
|
+
}],
|
|
2114
|
+
disabled: [{
|
|
2115
|
+
type: Input
|
|
2116
|
+
}]
|
|
2117
|
+
});
|
|
2118
|
+
})();
|
|
2119
|
+
var MatListModule = class _MatListModule {
|
|
2120
|
+
static {
|
|
2121
|
+
this.ɵfac = function MatListModule_Factory(__ngFactoryType__) {
|
|
2122
|
+
return new (__ngFactoryType__ || _MatListModule)();
|
|
2123
|
+
};
|
|
2124
|
+
}
|
|
2125
|
+
static {
|
|
2126
|
+
this.ɵmod = ɵɵdefineNgModule({
|
|
2127
|
+
type: _MatListModule,
|
|
2128
|
+
imports: [ObserversModule, CommonModule, MatCommonModule, MatRippleModule, MatPseudoCheckboxModule, MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListSubheaderCssMatStyler, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemTitle, MatListItemMeta],
|
|
2129
|
+
exports: [MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListItemAvatar, MatListItemIcon, MatListSubheaderCssMatStyler, MatDividerModule, MatListItemLine, MatListItemTitle, MatListItemMeta]
|
|
2130
|
+
});
|
|
2131
|
+
}
|
|
2132
|
+
static {
|
|
2133
|
+
this.ɵinj = ɵɵdefineInjector({
|
|
2134
|
+
imports: [ObserversModule, CommonModule, MatCommonModule, MatRippleModule, MatPseudoCheckboxModule, MatDividerModule]
|
|
2135
|
+
});
|
|
2136
|
+
}
|
|
2137
|
+
};
|
|
2138
|
+
(() => {
|
|
2139
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(MatListModule, [{
|
|
2140
|
+
type: NgModule,
|
|
2141
|
+
args: [{
|
|
2142
|
+
imports: [ObserversModule, CommonModule, MatCommonModule, MatRippleModule, MatPseudoCheckboxModule, MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListSubheaderCssMatStyler, MatListItemAvatar, MatListItemIcon, MatListItemLine, MatListItemTitle, MatListItemMeta],
|
|
2143
|
+
exports: [MatList, MatActionList, MatNavList, MatSelectionList, MatListItem, MatListOption, MatListItemAvatar, MatListItemIcon, MatListSubheaderCssMatStyler, MatDividerModule, MatListItemLine, MatListItemTitle, MatListItemMeta]
|
|
2144
|
+
}]
|
|
2145
|
+
}], null, null);
|
|
2146
|
+
})();
|
|
2147
|
+
export {
|
|
2148
|
+
MAT_LIST,
|
|
2149
|
+
MAT_LIST_CONFIG,
|
|
2150
|
+
MAT_NAV_LIST,
|
|
2151
|
+
MAT_SELECTION_LIST_VALUE_ACCESSOR,
|
|
2152
|
+
MatActionList,
|
|
2153
|
+
MatList,
|
|
2154
|
+
MatListItem,
|
|
2155
|
+
MatListItemAvatar,
|
|
2156
|
+
MatListItemIcon,
|
|
2157
|
+
MatListItemLine,
|
|
2158
|
+
MatListItemMeta,
|
|
2159
|
+
MatListItemTitle,
|
|
2160
|
+
MatListModule,
|
|
2161
|
+
MatListOption,
|
|
2162
|
+
MatListSubheaderCssMatStyler,
|
|
2163
|
+
MatNavList,
|
|
2164
|
+
MatSelectionList,
|
|
2165
|
+
MatSelectionListChange,
|
|
2166
|
+
SELECTION_LIST,
|
|
2167
|
+
_MatListItemGraphicBase
|
|
2168
|
+
};
|
|
2169
|
+
//# sourceMappingURL=@angular_material_list.js.map
|