@whoz-oss/coday-factory-cockpit 0.0.0-workstream-forge.310 → 0.0.0-workstream-forge.311
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/browser/chunk-B-EzcDXX.js +1233 -0
- package/browser/{chunk-CYwplJeI.js → chunk-BQ3GOt7z.js} +1 -1
- package/browser/{chunk-CPCXJtgc.js → chunk-BUtEDy1H.js} +1 -1
- package/browser/chunk-BhnF2Pdl.js +1 -0
- package/browser/chunk-BoIoyQI_.js +1 -0
- package/browser/{chunk-el-z4iRF.js → chunk-BwxSG216.js} +2 -2
- package/browser/{chunk-C-qu5lON.js → chunk-By0WSWo6.js} +1 -1
- package/browser/chunk-C4rmKOg_.js +1 -0
- package/browser/{chunk-C4tkfNSW.js → chunk-CJg0Tm8L.js} +1 -1
- package/browser/chunk-CXvDK4lS.js +1 -0
- package/browser/chunk-CakYLeOn.js +281 -0
- package/browser/chunk-DQMbATrJ.js +1 -0
- package/browser/{chunk-BlZk5vZF.js → chunk-DrKVRVS8.js} +1 -1
- package/browser/{chunk-D9qJN01e.js → chunk-Eq3dGk0b.js} +1 -1
- package/browser/chunk-F7CKvaWy.js +1 -0
- package/browser/chunk-GUKABzYh.js +1 -0
- package/browser/chunk-SCR6FJps.js +1 -0
- package/browser/index.html +1 -1
- package/browser/{main-T4S6RIJZ.js → main-5IVYFXQL.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-1Psr-icp.js +0 -1
- package/browser/chunk-B_4j4J3_.js +0 -1
- package/browser/chunk-BgFBBwpx.js +0 -1
- package/browser/chunk-CM2lHl3p.js +0 -1
- package/browser/chunk-D7Rw3ZfK.js +0 -1513
- package/browser/chunk-Dedq0OWd.js +0 -1
- package/browser/chunk-Dl4d2552.js +0 -1
- package/browser/chunk-DtYNvLBh.js +0 -1
- package/browser/chunk-KRWk__j_.js +0 -1
|
@@ -0,0 +1,1233 @@
|
|
|
1
|
+
import {X as he,_ as ce,b3 as mb,a0 as no,cd as Vt,a1 as y,h,b7 as Oe,ce as Ac,b2 as Er,bU as pm,x as xe,bV as Kr,bb as wt,a2 as sr,bS as dn,a3 as ot,bT as fn,ar as Ey,bc as R,f as ey,bx as Xg,z as ir,L as It,bd as ny,be as gC,bf as yC,j as Yg,m as ma,i as ci,e as Id,r as ri,n as Zg,u as ui,bg as ue,b4 as Ly,b5 as iM,b1 as Z,cf as Qn,aZ as Nc,bO as Jb,cg as hf,bw as Bd,bv as Es,ch as fU,aX as j,bh as uf,ci as Df,c0 as O,bi as so,b6 as mf,cj as fb,b_ as K,bj as Ht,bk as pb,ck as tc,a8 as di,bp as ry,ba as rt,bs as rh}from'./main-5IVYFXQL.js';var Ci=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],xi=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Di(n,y){n&1&&(ma(0,"span",3),ot(1,1),Id());}function Mi(n,y){n&1&&(ma(0,"span",6),ot(1,2),Id());}function Fi(n,y){n&1&&(ma(0,"span",3),ot(1,1),ma(2,"span",7),rh(),ma(3,"svg",8),Yg(4,"path",9),Id()()());}function Ai(n,y){n&1&&(ma(0,"span",6),ot(1,2),Id());}var Ri=`.mdc-evolution-chip,
|
|
2
|
+
.mdc-evolution-chip__cell,
|
|
3
|
+
.mdc-evolution-chip__action {
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.mdc-evolution-chip {
|
|
9
|
+
position: relative;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.mdc-evolution-chip__cell,
|
|
14
|
+
.mdc-evolution-chip__action {
|
|
15
|
+
height: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.mdc-evolution-chip__cell--primary {
|
|
19
|
+
flex-basis: 100%;
|
|
20
|
+
overflow-x: hidden;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.mdc-evolution-chip__cell--trailing {
|
|
24
|
+
flex: 1 0 auto;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.mdc-evolution-chip__action {
|
|
28
|
+
align-items: center;
|
|
29
|
+
background: none;
|
|
30
|
+
border: none;
|
|
31
|
+
box-sizing: content-box;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
outline: none;
|
|
36
|
+
padding: 0;
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
color: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.mdc-evolution-chip__action--presentational {
|
|
42
|
+
cursor: auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.mdc-evolution-chip--disabled,
|
|
46
|
+
.mdc-evolution-chip__action:disabled {
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
}
|
|
49
|
+
@media (forced-colors: active) {
|
|
50
|
+
.mdc-evolution-chip--disabled,
|
|
51
|
+
.mdc-evolution-chip__action:disabled {
|
|
52
|
+
forced-color-adjust: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.mdc-evolution-chip__action--primary {
|
|
57
|
+
font: inherit;
|
|
58
|
+
letter-spacing: inherit;
|
|
59
|
+
white-space: inherit;
|
|
60
|
+
overflow-x: hidden;
|
|
61
|
+
}
|
|
62
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
|
|
63
|
+
border-width: var(--mat-chip-outline-width, 1px);
|
|
64
|
+
border-radius: var(--mat-chip-container-shape-radius, 8px);
|
|
65
|
+
box-sizing: border-box;
|
|
66
|
+
content: "";
|
|
67
|
+
height: 100%;
|
|
68
|
+
left: 0;
|
|
69
|
+
position: absolute;
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
top: 0;
|
|
72
|
+
width: 100%;
|
|
73
|
+
z-index: 1;
|
|
74
|
+
border-style: solid;
|
|
75
|
+
}
|
|
76
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
|
|
77
|
+
padding-left: 12px;
|
|
78
|
+
padding-right: 12px;
|
|
79
|
+
}
|
|
80
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
81
|
+
padding-left: 0;
|
|
82
|
+
padding-right: 12px;
|
|
83
|
+
}
|
|
84
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
85
|
+
padding-left: 12px;
|
|
86
|
+
padding-right: 0;
|
|
87
|
+
}
|
|
88
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
|
|
89
|
+
border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
|
|
90
|
+
}
|
|
91
|
+
.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
|
|
92
|
+
border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
|
|
93
|
+
}
|
|
94
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
|
|
95
|
+
border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
96
|
+
}
|
|
97
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
|
|
98
|
+
border-width: var(--mat-chip-flat-selected-outline-width, 0);
|
|
99
|
+
}
|
|
100
|
+
.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
|
|
101
|
+
font: inherit;
|
|
102
|
+
}
|
|
103
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
|
|
104
|
+
padding-left: 0;
|
|
105
|
+
padding-right: 12px;
|
|
106
|
+
}
|
|
107
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
|
|
108
|
+
padding-left: 12px;
|
|
109
|
+
padding-right: 0;
|
|
110
|
+
}
|
|
111
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
112
|
+
padding-left: 12px;
|
|
113
|
+
padding-right: 0;
|
|
114
|
+
}
|
|
115
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
116
|
+
padding-left: 0;
|
|
117
|
+
padding-right: 12px;
|
|
118
|
+
}
|
|
119
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
120
|
+
padding-left: 0;
|
|
121
|
+
padding-right: 0;
|
|
122
|
+
}
|
|
123
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
124
|
+
padding-left: 0;
|
|
125
|
+
padding-right: 0;
|
|
126
|
+
}
|
|
127
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
128
|
+
padding-left: 0;
|
|
129
|
+
padding-right: 0;
|
|
130
|
+
}
|
|
131
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
132
|
+
padding-left: 0;
|
|
133
|
+
padding-right: 12px;
|
|
134
|
+
}
|
|
135
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
136
|
+
padding-left: 12px;
|
|
137
|
+
padding-right: 0;
|
|
138
|
+
}
|
|
139
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
140
|
+
padding-left: 0;
|
|
141
|
+
padding-right: 0;
|
|
142
|
+
}
|
|
143
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
144
|
+
padding-left: 0;
|
|
145
|
+
padding-right: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.mdc-evolution-chip__action--secondary {
|
|
149
|
+
position: relative;
|
|
150
|
+
overflow: visible;
|
|
151
|
+
}
|
|
152
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
|
|
153
|
+
color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
|
|
154
|
+
}
|
|
155
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
|
|
156
|
+
color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
|
|
157
|
+
}
|
|
158
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
159
|
+
padding-left: 8px;
|
|
160
|
+
padding-right: 8px;
|
|
161
|
+
}
|
|
162
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
163
|
+
padding-left: 8px;
|
|
164
|
+
padding-right: 8px;
|
|
165
|
+
}
|
|
166
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
167
|
+
padding-left: 8px;
|
|
168
|
+
padding-right: 8px;
|
|
169
|
+
}
|
|
170
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
171
|
+
padding-left: 8px;
|
|
172
|
+
padding-right: 8px;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.mdc-evolution-chip__text-label {
|
|
176
|
+
-webkit-user-select: none;
|
|
177
|
+
user-select: none;
|
|
178
|
+
white-space: nowrap;
|
|
179
|
+
text-overflow: ellipsis;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
}
|
|
182
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__text-label {
|
|
183
|
+
font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
|
|
184
|
+
line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
|
|
185
|
+
font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
|
|
186
|
+
font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
|
|
187
|
+
letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
188
|
+
}
|
|
189
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
|
|
190
|
+
color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
|
|
191
|
+
}
|
|
192
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
|
|
193
|
+
color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
|
|
194
|
+
}
|
|
195
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
|
|
196
|
+
color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.mdc-evolution-chip__graphic {
|
|
200
|
+
align-items: center;
|
|
201
|
+
display: inline-flex;
|
|
202
|
+
justify-content: center;
|
|
203
|
+
overflow: hidden;
|
|
204
|
+
pointer-events: none;
|
|
205
|
+
position: relative;
|
|
206
|
+
flex: 1 0 auto;
|
|
207
|
+
}
|
|
208
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__graphic {
|
|
209
|
+
width: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
210
|
+
height: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
211
|
+
font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
212
|
+
}
|
|
213
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
|
|
214
|
+
transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
215
|
+
}
|
|
216
|
+
.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
|
|
217
|
+
width: 0;
|
|
218
|
+
}
|
|
219
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
220
|
+
padding-left: 6px;
|
|
221
|
+
padding-right: 6px;
|
|
222
|
+
}
|
|
223
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
224
|
+
padding-left: 4px;
|
|
225
|
+
padding-right: 8px;
|
|
226
|
+
}
|
|
227
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
228
|
+
padding-left: 8px;
|
|
229
|
+
padding-right: 4px;
|
|
230
|
+
}
|
|
231
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
232
|
+
padding-left: 6px;
|
|
233
|
+
padding-right: 6px;
|
|
234
|
+
}
|
|
235
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
236
|
+
padding-left: 4px;
|
|
237
|
+
padding-right: 8px;
|
|
238
|
+
}
|
|
239
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
240
|
+
padding-left: 8px;
|
|
241
|
+
padding-right: 4px;
|
|
242
|
+
}
|
|
243
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
|
|
244
|
+
padding-left: 0;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.mdc-evolution-chip__checkmark {
|
|
248
|
+
position: absolute;
|
|
249
|
+
opacity: 0;
|
|
250
|
+
top: 50%;
|
|
251
|
+
left: 50%;
|
|
252
|
+
height: 20px;
|
|
253
|
+
width: 20px;
|
|
254
|
+
}
|
|
255
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
|
|
256
|
+
color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
|
|
257
|
+
}
|
|
258
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
|
|
259
|
+
color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
|
|
260
|
+
}
|
|
261
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
|
|
262
|
+
transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
263
|
+
transform: translate(-75%, -50%);
|
|
264
|
+
}
|
|
265
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
|
|
266
|
+
transform: translate(-50%, -50%);
|
|
267
|
+
opacity: 1;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.mdc-evolution-chip__checkmark-svg {
|
|
271
|
+
display: block;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.mdc-evolution-chip__checkmark-path {
|
|
275
|
+
stroke-width: 2px;
|
|
276
|
+
stroke-dasharray: 29.7833385;
|
|
277
|
+
stroke-dashoffset: 29.7833385;
|
|
278
|
+
stroke: currentColor;
|
|
279
|
+
}
|
|
280
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
|
|
281
|
+
transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
282
|
+
}
|
|
283
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
|
|
284
|
+
stroke-dashoffset: 0;
|
|
285
|
+
}
|
|
286
|
+
@media (forced-colors: active) {
|
|
287
|
+
.mdc-evolution-chip__checkmark-path {
|
|
288
|
+
stroke: CanvasText !important;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
|
|
293
|
+
height: 18px;
|
|
294
|
+
width: 18px;
|
|
295
|
+
font-size: 18px;
|
|
296
|
+
}
|
|
297
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
|
|
298
|
+
opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
|
|
299
|
+
}
|
|
300
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
|
|
301
|
+
opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.mat-mdc-standard-chip {
|
|
305
|
+
border-radius: var(--mat-chip-container-shape-radius, 8px);
|
|
306
|
+
height: var(--mat-chip-container-height, 32px);
|
|
307
|
+
}
|
|
308
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
|
|
309
|
+
background-color: var(--mat-chip-elevated-container-color, transparent);
|
|
310
|
+
}
|
|
311
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
|
|
312
|
+
background-color: var(--mat-chip-elevated-disabled-container-color);
|
|
313
|
+
}
|
|
314
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
|
|
315
|
+
background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
|
|
316
|
+
}
|
|
317
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
|
|
318
|
+
background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
319
|
+
}
|
|
320
|
+
@media (forced-colors: active) {
|
|
321
|
+
.mat-mdc-standard-chip {
|
|
322
|
+
outline: solid 1px;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
|
|
327
|
+
border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
|
|
328
|
+
width: var(--mat-chip-with-icon-icon-size, 18px);
|
|
329
|
+
height: var(--mat-chip-with-icon-icon-size, 18px);
|
|
330
|
+
font-size: var(--mat-chip-with-icon-icon-size, 18px);
|
|
331
|
+
}
|
|
332
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
|
|
333
|
+
opacity: 0;
|
|
334
|
+
}
|
|
335
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
|
|
336
|
+
color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
|
|
337
|
+
}
|
|
338
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
|
|
339
|
+
color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.mat-mdc-chip-highlighted {
|
|
343
|
+
--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
|
|
344
|
+
--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
|
|
345
|
+
--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
|
|
346
|
+
--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.mat-mdc-chip-focus-overlay {
|
|
350
|
+
background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
351
|
+
}
|
|
352
|
+
.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
|
|
353
|
+
background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
354
|
+
}
|
|
355
|
+
.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
|
|
356
|
+
background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
357
|
+
opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
358
|
+
}
|
|
359
|
+
.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
|
|
360
|
+
background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
361
|
+
opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
362
|
+
}
|
|
363
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
|
|
364
|
+
background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
365
|
+
opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
366
|
+
}
|
|
367
|
+
.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {
|
|
368
|
+
background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
369
|
+
opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
|
|
373
|
+
opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
|
|
377
|
+
opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
|
|
381
|
+
opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
|
|
385
|
+
opacity: var(--mat-chip-disabled-container-opacity, 1);
|
|
386
|
+
}
|
|
387
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
|
|
388
|
+
color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
|
|
389
|
+
}
|
|
390
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
|
|
391
|
+
color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.mat-mdc-chip-edit, .mat-mdc-chip-remove {
|
|
395
|
+
opacity: var(--mat-chip-trailing-action-opacity, 1);
|
|
396
|
+
}
|
|
397
|
+
.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
|
|
398
|
+
opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
|
|
399
|
+
}
|
|
400
|
+
.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
|
|
401
|
+
background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
402
|
+
}
|
|
403
|
+
.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
|
|
404
|
+
opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
|
|
405
|
+
}
|
|
406
|
+
.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
|
|
407
|
+
opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.mat-mdc-chip-selected .mat-mdc-chip-remove::after,
|
|
411
|
+
.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
|
|
412
|
+
background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
|
|
416
|
+
opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
|
|
417
|
+
}
|
|
418
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
|
|
419
|
+
opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.mat-mdc-standard-chip {
|
|
423
|
+
-webkit-tap-highlight-color: transparent;
|
|
424
|
+
}
|
|
425
|
+
.mat-mdc-standard-chip .mat-mdc-chip-graphic,
|
|
426
|
+
.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
|
|
427
|
+
box-sizing: content-box;
|
|
428
|
+
}
|
|
429
|
+
.mat-mdc-standard-chip._mat-animation-noopable,
|
|
430
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
|
|
431
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
|
|
432
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
|
|
433
|
+
transition-duration: 1ms;
|
|
434
|
+
animation-duration: 1ms;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.mat-mdc-chip-focus-overlay {
|
|
438
|
+
top: 0;
|
|
439
|
+
left: 0;
|
|
440
|
+
right: 0;
|
|
441
|
+
bottom: 0;
|
|
442
|
+
position: absolute;
|
|
443
|
+
pointer-events: none;
|
|
444
|
+
opacity: 0;
|
|
445
|
+
border-radius: inherit;
|
|
446
|
+
transition: opacity 150ms linear;
|
|
447
|
+
}
|
|
448
|
+
._mat-animation-noopable .mat-mdc-chip-focus-overlay {
|
|
449
|
+
transition: none;
|
|
450
|
+
}
|
|
451
|
+
.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
|
|
452
|
+
display: none;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
|
|
456
|
+
top: 0;
|
|
457
|
+
left: 0;
|
|
458
|
+
right: 0;
|
|
459
|
+
bottom: 0;
|
|
460
|
+
position: absolute;
|
|
461
|
+
pointer-events: none;
|
|
462
|
+
border-radius: inherit;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.mat-mdc-chip-avatar {
|
|
466
|
+
text-align: center;
|
|
467
|
+
line-height: 1;
|
|
468
|
+
color: var(--mat-chip-with-icon-icon-color, currentColor);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.mat-mdc-chip {
|
|
472
|
+
position: relative;
|
|
473
|
+
z-index: 0;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.mat-mdc-chip-action-label {
|
|
477
|
+
text-align: left;
|
|
478
|
+
z-index: 1;
|
|
479
|
+
}
|
|
480
|
+
[dir=rtl] .mat-mdc-chip-action-label {
|
|
481
|
+
text-align: right;
|
|
482
|
+
}
|
|
483
|
+
.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
|
|
484
|
+
position: relative;
|
|
485
|
+
}
|
|
486
|
+
.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
|
|
487
|
+
position: absolute;
|
|
488
|
+
top: 0;
|
|
489
|
+
right: 0;
|
|
490
|
+
bottom: 0;
|
|
491
|
+
left: 0;
|
|
492
|
+
pointer-events: none;
|
|
493
|
+
}
|
|
494
|
+
.mat-mdc-chip-action-label .mat-focus-indicator::before {
|
|
495
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
|
|
499
|
+
margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
|
|
500
|
+
left: 8px;
|
|
501
|
+
right: 8px;
|
|
502
|
+
}
|
|
503
|
+
.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
|
|
504
|
+
content: "";
|
|
505
|
+
display: block;
|
|
506
|
+
opacity: 0;
|
|
507
|
+
position: absolute;
|
|
508
|
+
top: -3px;
|
|
509
|
+
bottom: -3px;
|
|
510
|
+
left: 5px;
|
|
511
|
+
right: 5px;
|
|
512
|
+
border-radius: 50%;
|
|
513
|
+
box-sizing: border-box;
|
|
514
|
+
padding: 12px;
|
|
515
|
+
margin: -12px;
|
|
516
|
+
background-clip: content-box;
|
|
517
|
+
}
|
|
518
|
+
.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
|
|
519
|
+
width: 18px;
|
|
520
|
+
height: 18px;
|
|
521
|
+
font-size: 18px;
|
|
522
|
+
box-sizing: content-box;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.mat-chip-edit-input {
|
|
526
|
+
cursor: text;
|
|
527
|
+
display: inline-block;
|
|
528
|
+
color: inherit;
|
|
529
|
+
outline: 0;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
@media (forced-colors: active) {
|
|
533
|
+
.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
|
|
534
|
+
outline-width: 3px;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
|
|
539
|
+
content: "";
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
|
|
543
|
+
min-height: fit-content;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
img.mdc-evolution-chip__icon {
|
|
547
|
+
min-height: 0;
|
|
548
|
+
}
|
|
549
|
+
`;var Ii=["*"],Ti=`.mat-mdc-chip-set {
|
|
550
|
+
display: flex;
|
|
551
|
+
}
|
|
552
|
+
.mat-mdc-chip-set:focus {
|
|
553
|
+
outline: none;
|
|
554
|
+
}
|
|
555
|
+
.mat-mdc-chip-set .mdc-evolution-chip-set__chips {
|
|
556
|
+
min-width: 100%;
|
|
557
|
+
margin-left: -8px;
|
|
558
|
+
margin-right: 0;
|
|
559
|
+
}
|
|
560
|
+
.mat-mdc-chip-set .mdc-evolution-chip {
|
|
561
|
+
margin: 4px 0 4px 8px;
|
|
562
|
+
}
|
|
563
|
+
[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
|
|
564
|
+
margin-left: 0;
|
|
565
|
+
margin-right: -8px;
|
|
566
|
+
}
|
|
567
|
+
[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
|
|
568
|
+
margin-left: 0;
|
|
569
|
+
margin-right: 8px;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.mdc-evolution-chip-set__chips {
|
|
573
|
+
display: flex;
|
|
574
|
+
flex-flow: wrap;
|
|
575
|
+
min-width: 0;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.mat-mdc-chip-set-stacked {
|
|
579
|
+
flex-direction: column;
|
|
580
|
+
align-items: flex-start;
|
|
581
|
+
}
|
|
582
|
+
.mat-mdc-chip-set-stacked .mat-mdc-chip {
|
|
583
|
+
width: 100%;
|
|
584
|
+
}
|
|
585
|
+
.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
|
|
586
|
+
flex-grow: 0;
|
|
587
|
+
}
|
|
588
|
+
.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
|
|
589
|
+
flex-basis: 100%;
|
|
590
|
+
justify-content: start;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
input.mat-mdc-chip-input {
|
|
594
|
+
flex: 1 0 150px;
|
|
595
|
+
margin-left: 8px;
|
|
596
|
+
}
|
|
597
|
+
[dir=rtl] input.mat-mdc-chip-input {
|
|
598
|
+
margin-left: 0;
|
|
599
|
+
margin-right: 8px;
|
|
600
|
+
}
|
|
601
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
|
|
602
|
+
opacity: 1;
|
|
603
|
+
}
|
|
604
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
|
|
605
|
+
opacity: 1;
|
|
606
|
+
}
|
|
607
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
|
|
608
|
+
opacity: 1;
|
|
609
|
+
}
|
|
610
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
|
|
611
|
+
opacity: 1;
|
|
612
|
+
}
|
|
613
|
+
.mat-mdc-chip-set + input.mat-mdc-chip-input {
|
|
614
|
+
margin-left: 0;
|
|
615
|
+
margin-right: 0;
|
|
616
|
+
}
|
|
617
|
+
`,Q=new y("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),gi=new y("MatChipAvatar"),fi=new y("MatChipTrailingIcon"),yi=new y("MatChipEdit"),bi=new y("MatChipRemove"),N=new y("MatChip"),ki=(()=>{class n{_elementRef=h(ue);_parentChip=h(N);_isPrimary=true;_isLeading=false;get disabled(){return this._disabled||this._parentChip?.disabled||false}set disabled(i){this._disabled=i;}_disabled=false;tabIndex=-1;_allowFocusWhenDisabled=false;_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}constructor(){h(Ht).load(pb),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button");}focus(){this._elementRef.nativeElement.focus();}static \u0275fac=function(e){return new(e||n)};static \u0275dir=rt({type:n,selectors:[["","matChipContent",""]],hostAttrs:[1,"mat-mdc-chip-action","mdc-evolution-chip__action","mdc-evolution-chip__action--presentational"],hostVars:8,hostBindings:function(e,t){e&2&&(ir("disabled",t._getDisabledAttribute())("aria-disabled",t.disabled),It("mdc-evolution-chip__action--primary",t._isPrimary)("mdc-evolution-chip__action--secondary",!t._isPrimary)("mdc-evolution-chip__action--trailing",!t._isPrimary&&!t._isLeading));},inputs:{disabled:[2,"disabled","disabled",wt],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:Bd(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}})}return n})(),Ei=(()=>{class n extends ki{_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled?null:this.tabIndex.toString()}_handleClick(i){!this.disabled&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction());}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction());}static \u0275fac=(()=>{let i;return function(t){return (i||(i=pm(n)))(t||n)}})();static \u0275dir=rt({type:n,selectors:[["","matChipAction",""]],hostVars:3,hostBindings:function(e,t){e&1&&ey("click",function(a){return t._handleClick(a)})("keydown",function(a){return t._handleKeydown(a)}),e&2&&(ir("tabindex",t._getTabindex()),It("mdc-evolution-chip__action--presentational",false));},features:[Kr]})}return n})();var G=(()=>{class n{_changeDetectorRef=h(Ly);_elementRef=h(ue);_tagName=h(fU);_ngZone=h(j);_focusMonitor=h(uf);_globalRippleOptions=h(Df,{optional:true});_document=h(O);_onFocus=new Z;_onBlur=new Z;_isBasicChip=false;role=null;_hasFocusInternal=false;_pendingFocus=false;_actionChanges;_animationsDisabled=so();_allLeadingIcons;_allTrailingIcons;_allEditIcons;_allRemoveIcons;_hasFocus(){return this._hasFocusInternal}id=h(mf).getId("mat-mdc-chip-");ariaLabel=null;ariaDescription=null;_chipListDisabled=false;_hadFocusOnRemove=false;_textElement;get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i;}_value;color;removable=true;highlighted=false;disableRipple=false;get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i;}_disabled=false;removed=new Oe;destroyed=new Oe;basicChipAttrName="mat-basic-chip";leadingIcon;editIcon;trailingIcon;removeIcon;primaryAction;_rippleLoader=h(fb);_injector=h(K);constructor(){let i=h(Ht);i.load(pb),i.load(tc),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()});}ngOnInit(){this._isBasicChip=this._elementRef.nativeElement.hasAttribute(this.basicChipAttrName)||this._tagName.toLowerCase()===this.basicChipAttrName;}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=false,this.focus());}ngAfterContentInit(){this._actionChanges=Jb(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allEditIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck());}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled());}ngOnDestroy(){this.destroyed.emit({chip:this}),this.destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement),this._actionChanges?.unsubscribe();}remove(){this.removable&&(this._hadFocusOnRemove=this._hasFocus(),this.removed.emit({chip:this}));}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!this._hasInteractiveActions()||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return !!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove());}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=true);}_getSourceAction(i){return this._getActions().find(e=>{let t=e._elementRef.nativeElement;return t===i||t.contains(i)})}_getActions(){let i=[];return this.editIcon&&i.push(this.editIcon),this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),i}_handlePrimaryActionInteraction(){}_hasInteractiveActions(){return this._getActions().length>0}_edit(i){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,true).subscribe(i=>{let e=i!==null;e!==this._hasFocusInternal&&(this._hasFocusInternal=e,e?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))));});}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=xe({type:n,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,c){if(e&1&&ny(c,gi,5)(c,yi,5)(c,fi,5)(c,bi,5)(c,gi,5)(c,fi,5)(c,yi,5)(c,bi,5),e&2){let a;gC(a=yC())&&(t.leadingIcon=a.first),gC(a=yC())&&(t.editIcon=a.first),gC(a=yC())&&(t.trailingIcon=a.first),gC(a=yC())&&(t.removeIcon=a.first),gC(a=yC())&&(t._allLeadingIcons=a),gC(a=yC())&&(t._allTrailingIcons=a),gC(a=yC())&&(t._allEditIcons=a),gC(a=yC())&&(t._allRemoveIcons=a);}},viewQuery:function(e,t){if(e&1&&ry(Ei,5),e&2){let c;gC(c=yC())&&(t.primaryAction=c.first);}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(e,t){e&1&&ey("keydown",function(a){return t._handleKeydown(a)}),e&2&&(Xg("id",t.id),ir("role",t.role)("aria-label",t.ariaLabel),di("mat-"+(t.color||"primary")),It("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",t.leadingIcon)("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-basic-chip",t._isBasicChip)("mat-mdc-standard-chip",!t._isBasicChip)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon())("_mat-animation-noopable",t._animationsDisabled));},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",wt],highlighted:[2,"highlighted","highlighted",wt],disableRipple:[2,"disableRipple","disableRipple",wt],disabled:[2,"disabled","disabled",wt]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Ey([{provide:N,useExisting:n}])],ngContentSelectors:xi,decls:8,vars:2,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipContent",""],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(e,t){e&1&&(sr(Ci),Yg(0,"span",0),ma(1,"span",1)(2,"span",2),ci(3,Di,2,0,"span",3),ma(4,"span",4),ot(5),Yg(6,"span",5),Id()()(),ci(7,Mi,2,0,"span",6)),e&2&&(ri(3),ui(t.leadingIcon?3:-1),ri(4),ui(t._hasTrailingIcon()?7:-1));},dependencies:[ki],styles:[`.mdc-evolution-chip,
|
|
618
|
+
.mdc-evolution-chip__cell,
|
|
619
|
+
.mdc-evolution-chip__action {
|
|
620
|
+
display: inline-flex;
|
|
621
|
+
align-items: center;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
.mdc-evolution-chip {
|
|
625
|
+
position: relative;
|
|
626
|
+
max-width: 100%;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
.mdc-evolution-chip__cell,
|
|
630
|
+
.mdc-evolution-chip__action {
|
|
631
|
+
height: 100%;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.mdc-evolution-chip__cell--primary {
|
|
635
|
+
flex-basis: 100%;
|
|
636
|
+
overflow-x: hidden;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.mdc-evolution-chip__cell--trailing {
|
|
640
|
+
flex: 1 0 auto;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.mdc-evolution-chip__action {
|
|
644
|
+
align-items: center;
|
|
645
|
+
background: none;
|
|
646
|
+
border: none;
|
|
647
|
+
box-sizing: content-box;
|
|
648
|
+
cursor: pointer;
|
|
649
|
+
display: inline-flex;
|
|
650
|
+
justify-content: center;
|
|
651
|
+
outline: none;
|
|
652
|
+
padding: 0;
|
|
653
|
+
text-decoration: none;
|
|
654
|
+
color: inherit;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.mdc-evolution-chip__action--presentational {
|
|
658
|
+
cursor: auto;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.mdc-evolution-chip--disabled,
|
|
662
|
+
.mdc-evolution-chip__action:disabled {
|
|
663
|
+
pointer-events: none;
|
|
664
|
+
}
|
|
665
|
+
@media (forced-colors: active) {
|
|
666
|
+
.mdc-evolution-chip--disabled,
|
|
667
|
+
.mdc-evolution-chip__action:disabled {
|
|
668
|
+
forced-color-adjust: none;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.mdc-evolution-chip__action--primary {
|
|
673
|
+
font: inherit;
|
|
674
|
+
letter-spacing: inherit;
|
|
675
|
+
white-space: inherit;
|
|
676
|
+
overflow-x: hidden;
|
|
677
|
+
}
|
|
678
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before {
|
|
679
|
+
border-width: var(--mat-chip-outline-width, 1px);
|
|
680
|
+
border-radius: var(--mat-chip-container-shape-radius, 8px);
|
|
681
|
+
box-sizing: border-box;
|
|
682
|
+
content: "";
|
|
683
|
+
height: 100%;
|
|
684
|
+
left: 0;
|
|
685
|
+
position: absolute;
|
|
686
|
+
pointer-events: none;
|
|
687
|
+
top: 0;
|
|
688
|
+
width: 100%;
|
|
689
|
+
z-index: 1;
|
|
690
|
+
border-style: solid;
|
|
691
|
+
}
|
|
692
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__action--primary {
|
|
693
|
+
padding-left: 12px;
|
|
694
|
+
padding-right: 12px;
|
|
695
|
+
}
|
|
696
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
697
|
+
padding-left: 0;
|
|
698
|
+
padding-right: 12px;
|
|
699
|
+
}
|
|
700
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
701
|
+
padding-left: 12px;
|
|
702
|
+
padding-right: 0;
|
|
703
|
+
}
|
|
704
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before {
|
|
705
|
+
border-color: var(--mat-chip-outline-color, var(--mat-sys-outline));
|
|
706
|
+
}
|
|
707
|
+
.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before {
|
|
708
|
+
border-color: var(--mat-chip-focus-outline-color, var(--mat-sys-on-surface-variant));
|
|
709
|
+
}
|
|
710
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before {
|
|
711
|
+
border-color: var(--mat-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
712
|
+
}
|
|
713
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before {
|
|
714
|
+
border-width: var(--mat-chip-flat-selected-outline-width, 0);
|
|
715
|
+
}
|
|
716
|
+
.mat-mdc-basic-chip .mdc-evolution-chip__action--primary {
|
|
717
|
+
font: inherit;
|
|
718
|
+
}
|
|
719
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
|
|
720
|
+
padding-left: 0;
|
|
721
|
+
padding-right: 12px;
|
|
722
|
+
}
|
|
723
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--primary {
|
|
724
|
+
padding-left: 12px;
|
|
725
|
+
padding-right: 0;
|
|
726
|
+
}
|
|
727
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
728
|
+
padding-left: 12px;
|
|
729
|
+
padding-right: 0;
|
|
730
|
+
}
|
|
731
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
732
|
+
padding-left: 0;
|
|
733
|
+
padding-right: 12px;
|
|
734
|
+
}
|
|
735
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
736
|
+
padding-left: 0;
|
|
737
|
+
padding-right: 0;
|
|
738
|
+
}
|
|
739
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
740
|
+
padding-left: 0;
|
|
741
|
+
padding-right: 0;
|
|
742
|
+
}
|
|
743
|
+
[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
744
|
+
padding-left: 0;
|
|
745
|
+
padding-right: 0;
|
|
746
|
+
}
|
|
747
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
748
|
+
padding-left: 0;
|
|
749
|
+
padding-right: 12px;
|
|
750
|
+
}
|
|
751
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary {
|
|
752
|
+
padding-left: 12px;
|
|
753
|
+
padding-right: 0;
|
|
754
|
+
}
|
|
755
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
756
|
+
padding-left: 0;
|
|
757
|
+
padding-right: 0;
|
|
758
|
+
}
|
|
759
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary {
|
|
760
|
+
padding-left: 0;
|
|
761
|
+
padding-right: 0;
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.mdc-evolution-chip__action--secondary {
|
|
765
|
+
position: relative;
|
|
766
|
+
overflow: visible;
|
|
767
|
+
}
|
|
768
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--secondary {
|
|
769
|
+
color: var(--mat-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant));
|
|
770
|
+
}
|
|
771
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--secondary {
|
|
772
|
+
color: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface));
|
|
773
|
+
}
|
|
774
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
775
|
+
padding-left: 8px;
|
|
776
|
+
padding-right: 8px;
|
|
777
|
+
}
|
|
778
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
779
|
+
padding-left: 8px;
|
|
780
|
+
padding-right: 8px;
|
|
781
|
+
}
|
|
782
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
783
|
+
padding-left: 8px;
|
|
784
|
+
padding-right: 8px;
|
|
785
|
+
}
|
|
786
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--secondary, [dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__action--secondary {
|
|
787
|
+
padding-left: 8px;
|
|
788
|
+
padding-right: 8px;
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.mdc-evolution-chip__text-label {
|
|
792
|
+
-webkit-user-select: none;
|
|
793
|
+
user-select: none;
|
|
794
|
+
white-space: nowrap;
|
|
795
|
+
text-overflow: ellipsis;
|
|
796
|
+
overflow: hidden;
|
|
797
|
+
}
|
|
798
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__text-label {
|
|
799
|
+
font-family: var(--mat-chip-label-text-font, var(--mat-sys-label-large-font));
|
|
800
|
+
line-height: var(--mat-chip-label-text-line-height, var(--mat-sys-label-large-line-height));
|
|
801
|
+
font-size: var(--mat-chip-label-text-size, var(--mat-sys-label-large-size));
|
|
802
|
+
font-weight: var(--mat-chip-label-text-weight, var(--mat-sys-label-large-weight));
|
|
803
|
+
letter-spacing: var(--mat-chip-label-text-tracking, var(--mat-sys-label-large-tracking));
|
|
804
|
+
}
|
|
805
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
|
|
806
|
+
color: var(--mat-chip-label-text-color, var(--mat-sys-on-surface-variant));
|
|
807
|
+
}
|
|
808
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label {
|
|
809
|
+
color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
|
|
810
|
+
}
|
|
811
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label, .mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label {
|
|
812
|
+
color: var(--mat-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.mdc-evolution-chip__graphic {
|
|
816
|
+
align-items: center;
|
|
817
|
+
display: inline-flex;
|
|
818
|
+
justify-content: center;
|
|
819
|
+
overflow: hidden;
|
|
820
|
+
pointer-events: none;
|
|
821
|
+
position: relative;
|
|
822
|
+
flex: 1 0 auto;
|
|
823
|
+
}
|
|
824
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__graphic {
|
|
825
|
+
width: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
826
|
+
height: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
827
|
+
font-size: var(--mat-chip-with-avatar-avatar-size, 24px);
|
|
828
|
+
}
|
|
829
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic {
|
|
830
|
+
transition: width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
831
|
+
}
|
|
832
|
+
.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic {
|
|
833
|
+
width: 0;
|
|
834
|
+
}
|
|
835
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
836
|
+
padding-left: 6px;
|
|
837
|
+
padding-right: 6px;
|
|
838
|
+
}
|
|
839
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
840
|
+
padding-left: 4px;
|
|
841
|
+
padding-right: 8px;
|
|
842
|
+
}
|
|
843
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic {
|
|
844
|
+
padding-left: 8px;
|
|
845
|
+
padding-right: 4px;
|
|
846
|
+
}
|
|
847
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
848
|
+
padding-left: 6px;
|
|
849
|
+
padding-right: 6px;
|
|
850
|
+
}
|
|
851
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
852
|
+
padding-left: 4px;
|
|
853
|
+
padding-right: 8px;
|
|
854
|
+
}
|
|
855
|
+
[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic {
|
|
856
|
+
padding-left: 8px;
|
|
857
|
+
padding-right: 4px;
|
|
858
|
+
}
|
|
859
|
+
.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-leading-action .mdc-evolution-chip__graphic {
|
|
860
|
+
padding-left: 0;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.mdc-evolution-chip__checkmark {
|
|
864
|
+
position: absolute;
|
|
865
|
+
opacity: 0;
|
|
866
|
+
top: 50%;
|
|
867
|
+
left: 50%;
|
|
868
|
+
height: 20px;
|
|
869
|
+
width: 20px;
|
|
870
|
+
}
|
|
871
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark {
|
|
872
|
+
color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
|
|
873
|
+
}
|
|
874
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark {
|
|
875
|
+
color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
|
|
876
|
+
}
|
|
877
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark {
|
|
878
|
+
transition: transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
879
|
+
transform: translate(-75%, -50%);
|
|
880
|
+
}
|
|
881
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
|
|
882
|
+
transform: translate(-50%, -50%);
|
|
883
|
+
opacity: 1;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.mdc-evolution-chip__checkmark-svg {
|
|
887
|
+
display: block;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.mdc-evolution-chip__checkmark-path {
|
|
891
|
+
stroke-width: 2px;
|
|
892
|
+
stroke-dasharray: 29.7833385;
|
|
893
|
+
stroke-dashoffset: 29.7833385;
|
|
894
|
+
stroke: currentColor;
|
|
895
|
+
}
|
|
896
|
+
.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path {
|
|
897
|
+
transition: stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
898
|
+
}
|
|
899
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path {
|
|
900
|
+
stroke-dashoffset: 0;
|
|
901
|
+
}
|
|
902
|
+
@media (forced-colors: active) {
|
|
903
|
+
.mdc-evolution-chip__checkmark-path {
|
|
904
|
+
stroke: CanvasText !important;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing {
|
|
909
|
+
height: 18px;
|
|
910
|
+
width: 18px;
|
|
911
|
+
font-size: 18px;
|
|
912
|
+
}
|
|
913
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove {
|
|
914
|
+
opacity: calc(var(--mat-chip-trailing-action-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
|
|
915
|
+
}
|
|
916
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus {
|
|
917
|
+
opacity: calc(var(--mat-chip-trailing-action-focus-opacity, 1) * var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38));
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
.mat-mdc-standard-chip {
|
|
921
|
+
border-radius: var(--mat-chip-container-shape-radius, 8px);
|
|
922
|
+
height: var(--mat-chip-container-height, 32px);
|
|
923
|
+
}
|
|
924
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) {
|
|
925
|
+
background-color: var(--mat-chip-elevated-container-color, transparent);
|
|
926
|
+
}
|
|
927
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
|
|
928
|
+
background-color: var(--mat-chip-elevated-disabled-container-color);
|
|
929
|
+
}
|
|
930
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) {
|
|
931
|
+
background-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
|
|
932
|
+
}
|
|
933
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled {
|
|
934
|
+
background-color: var(--mat-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
935
|
+
}
|
|
936
|
+
@media (forced-colors: active) {
|
|
937
|
+
.mat-mdc-standard-chip {
|
|
938
|
+
outline: solid 1px;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary {
|
|
943
|
+
border-radius: var(--mat-chip-with-avatar-avatar-shape-radius, 24px);
|
|
944
|
+
width: var(--mat-chip-with-icon-icon-size, 18px);
|
|
945
|
+
height: var(--mat-chip-with-icon-icon-size, 18px);
|
|
946
|
+
font-size: var(--mat-chip-with-icon-icon-size, 18px);
|
|
947
|
+
}
|
|
948
|
+
.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary {
|
|
949
|
+
opacity: 0;
|
|
950
|
+
}
|
|
951
|
+
.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary {
|
|
952
|
+
color: var(--mat-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant));
|
|
953
|
+
}
|
|
954
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary {
|
|
955
|
+
color: var(--mat-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface));
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.mat-mdc-chip-highlighted {
|
|
959
|
+
--mat-chip-with-icon-icon-color: var(--mat-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));
|
|
960
|
+
--mat-chip-elevated-container-color: var(--mat-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));
|
|
961
|
+
--mat-chip-label-text-color: var(--mat-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));
|
|
962
|
+
--mat-chip-outline-width: var(--mat-chip-flat-selected-outline-width, 0);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.mat-mdc-chip-focus-overlay {
|
|
966
|
+
background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
967
|
+
}
|
|
968
|
+
.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay {
|
|
969
|
+
background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
970
|
+
}
|
|
971
|
+
.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay {
|
|
972
|
+
background: var(--mat-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
973
|
+
opacity: var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
974
|
+
}
|
|
975
|
+
.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover, .mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay {
|
|
976
|
+
background: var(--mat-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
977
|
+
opacity: var(--mat-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
978
|
+
}
|
|
979
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay {
|
|
980
|
+
background: var(--mat-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
981
|
+
opacity: var(--mat-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
982
|
+
}
|
|
983
|
+
.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay, .mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay {
|
|
984
|
+
background: var(--mat-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
985
|
+
opacity: var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar {
|
|
989
|
+
opacity: var(--mat-chip-with-avatar-disabled-avatar-opacity, 0.38);
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
|
|
993
|
+
opacity: var(--mat-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38);
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark {
|
|
997
|
+
opacity: var(--mat-chip-with-icon-disabled-icon-opacity, 0.38);
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--disabled {
|
|
1001
|
+
opacity: var(--mat-chip-disabled-container-opacity, 1);
|
|
1002
|
+
}
|
|
1003
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing {
|
|
1004
|
+
color: var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container));
|
|
1005
|
+
}
|
|
1006
|
+
.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing, .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing {
|
|
1007
|
+
color: var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface));
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
.mat-mdc-chip-edit, .mat-mdc-chip-remove {
|
|
1011
|
+
opacity: var(--mat-chip-trailing-action-opacity, 1);
|
|
1012
|
+
}
|
|
1013
|
+
.mat-mdc-chip-edit:focus, .mat-mdc-chip-remove:focus {
|
|
1014
|
+
opacity: var(--mat-chip-trailing-action-focus-opacity, 1);
|
|
1015
|
+
}
|
|
1016
|
+
.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
|
|
1017
|
+
background-color: var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant));
|
|
1018
|
+
}
|
|
1019
|
+
.mat-mdc-chip-edit:hover::after, .mat-mdc-chip-remove:hover::after {
|
|
1020
|
+
opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
|
|
1021
|
+
}
|
|
1022
|
+
.mat-mdc-chip-edit:focus::after, .mat-mdc-chip-remove:focus::after {
|
|
1023
|
+
opacity: calc(var(--mat-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
.mat-mdc-chip-selected .mat-mdc-chip-remove::after,
|
|
1027
|
+
.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after {
|
|
1028
|
+
background-color: var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container));
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:focus::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:focus::after {
|
|
1032
|
+
opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)));
|
|
1033
|
+
}
|
|
1034
|
+
.mat-mdc-chip.cdk-focused .mat-mdc-chip-edit:hover::after, .mat-mdc-chip.cdk-focused .mat-mdc-chip-remove:hover::after {
|
|
1035
|
+
opacity: calc(var(--mat-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)) + var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)));
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.mat-mdc-standard-chip {
|
|
1039
|
+
-webkit-tap-highlight-color: transparent;
|
|
1040
|
+
}
|
|
1041
|
+
.mat-mdc-standard-chip .mat-mdc-chip-graphic,
|
|
1042
|
+
.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon {
|
|
1043
|
+
box-sizing: content-box;
|
|
1044
|
+
}
|
|
1045
|
+
.mat-mdc-standard-chip._mat-animation-noopable,
|
|
1046
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,
|
|
1047
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,
|
|
1048
|
+
.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path {
|
|
1049
|
+
transition-duration: 1ms;
|
|
1050
|
+
animation-duration: 1ms;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.mat-mdc-chip-focus-overlay {
|
|
1054
|
+
top: 0;
|
|
1055
|
+
left: 0;
|
|
1056
|
+
right: 0;
|
|
1057
|
+
bottom: 0;
|
|
1058
|
+
position: absolute;
|
|
1059
|
+
pointer-events: none;
|
|
1060
|
+
opacity: 0;
|
|
1061
|
+
border-radius: inherit;
|
|
1062
|
+
transition: opacity 150ms linear;
|
|
1063
|
+
}
|
|
1064
|
+
._mat-animation-noopable .mat-mdc-chip-focus-overlay {
|
|
1065
|
+
transition: none;
|
|
1066
|
+
}
|
|
1067
|
+
.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay {
|
|
1068
|
+
display: none;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple {
|
|
1072
|
+
top: 0;
|
|
1073
|
+
left: 0;
|
|
1074
|
+
right: 0;
|
|
1075
|
+
bottom: 0;
|
|
1076
|
+
position: absolute;
|
|
1077
|
+
pointer-events: none;
|
|
1078
|
+
border-radius: inherit;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
.mat-mdc-chip-avatar {
|
|
1082
|
+
text-align: center;
|
|
1083
|
+
line-height: 1;
|
|
1084
|
+
color: var(--mat-chip-with-icon-icon-color, currentColor);
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.mat-mdc-chip {
|
|
1088
|
+
position: relative;
|
|
1089
|
+
z-index: 0;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
.mat-mdc-chip-action-label {
|
|
1093
|
+
text-align: left;
|
|
1094
|
+
z-index: 1;
|
|
1095
|
+
}
|
|
1096
|
+
[dir=rtl] .mat-mdc-chip-action-label {
|
|
1097
|
+
text-align: right;
|
|
1098
|
+
}
|
|
1099
|
+
.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label {
|
|
1100
|
+
position: relative;
|
|
1101
|
+
}
|
|
1102
|
+
.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator {
|
|
1103
|
+
position: absolute;
|
|
1104
|
+
top: 0;
|
|
1105
|
+
right: 0;
|
|
1106
|
+
bottom: 0;
|
|
1107
|
+
left: 0;
|
|
1108
|
+
pointer-events: none;
|
|
1109
|
+
}
|
|
1110
|
+
.mat-mdc-chip-action-label .mat-focus-indicator::before {
|
|
1111
|
+
margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1);
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
.mat-mdc-chip-edit::before, .mat-mdc-chip-remove::before {
|
|
1115
|
+
margin: calc(var(--mat-focus-indicator-border-width, 3px) * -1);
|
|
1116
|
+
left: 8px;
|
|
1117
|
+
right: 8px;
|
|
1118
|
+
}
|
|
1119
|
+
.mat-mdc-chip-edit::after, .mat-mdc-chip-remove::after {
|
|
1120
|
+
content: "";
|
|
1121
|
+
display: block;
|
|
1122
|
+
opacity: 0;
|
|
1123
|
+
position: absolute;
|
|
1124
|
+
top: -3px;
|
|
1125
|
+
bottom: -3px;
|
|
1126
|
+
left: 5px;
|
|
1127
|
+
right: 5px;
|
|
1128
|
+
border-radius: 50%;
|
|
1129
|
+
box-sizing: border-box;
|
|
1130
|
+
padding: 12px;
|
|
1131
|
+
margin: -12px;
|
|
1132
|
+
background-clip: content-box;
|
|
1133
|
+
}
|
|
1134
|
+
.mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
|
|
1135
|
+
width: 18px;
|
|
1136
|
+
height: 18px;
|
|
1137
|
+
font-size: 18px;
|
|
1138
|
+
box-sizing: content-box;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.mat-chip-edit-input {
|
|
1142
|
+
cursor: text;
|
|
1143
|
+
display: inline-block;
|
|
1144
|
+
color: inherit;
|
|
1145
|
+
outline: 0;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
@media (forced-colors: active) {
|
|
1149
|
+
.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple) {
|
|
1150
|
+
outline-width: 3px;
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
.mat-mdc-chip-action:focus-visible .mat-focus-indicator::before {
|
|
1155
|
+
content: "";
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.mdc-evolution-chip__icon, .mat-mdc-chip-edit .mat-icon, .mat-mdc-chip-remove .mat-icon {
|
|
1159
|
+
min-height: fit-content;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
img.mdc-evolution-chip__icon {
|
|
1163
|
+
min-height: 0;
|
|
1164
|
+
}
|
|
1165
|
+
`],encapsulation:2})}return n})();var Bi=(()=>{class n extends G{_defaultOptions=h(Q,{optional:true});chipListSelectable=true;_chipListMultiple=false;_chipListHideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??false;get selectable(){return this._selectable&&this.chipListSelectable}set selectable(i){this._selectable=i,this._changeDetectorRef.markForCheck();}_selectable=true;get selected(){return this._selected}set selected(i){this._setSelectedState(i,false,true);}_selected=false;get ariaSelected(){return this.selectable?this.selected.toString():null}basicChipAttrName="mat-basic-chip-option";selectionChange=new Oe;ngOnInit(){super.ngOnInit(),this.role="presentation";}select(){this._setSelectedState(true,false,true);}deselect(){this._setSelectedState(false,false,true);}selectViaInteraction(){this._setSelectedState(true,true,true);}toggleSelected(i=false){return this._setSelectedState(!this.selected,i,true),this.selected}_handlePrimaryActionInteraction(){this.disabled||(this.focus(),this.selectable&&this.toggleSelected(true));}_hasLeadingGraphic(){return this.leadingIcon?true:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple}_setSelectedState(i,e,t){i!==this.selected&&(this._selected=i,t&&this.selectionChange.emit({source:this,isUserInput:e,selected:this.selected}),this._changeDetectorRef.markForCheck());}static \u0275fac=(()=>{let i;return function(t){return (i||(i=pm(n)))(t||n)}})();static \u0275cmp=xe({type:n,selectors:[["mat-basic-chip-option"],["","mat-basic-chip-option",""],["mat-chip-option"],["","mat-chip-option",""]],hostAttrs:[1,"mat-mdc-chip","mat-mdc-chip-option"],hostVars:37,hostBindings:function(e,t){e&2&&(Xg("id",t.id),ir("tabindex",null)("aria-label",null)("aria-description",null)("role",t.role),It("mdc-evolution-chip",!t._isBasicChip)("mdc-evolution-chip--filter",!t._isBasicChip)("mdc-evolution-chip--selectable",!t._isBasicChip)("mat-mdc-chip-selected",t.selected)("mat-mdc-chip-multiple",t._chipListMultiple)("mat-mdc-chip-disabled",t.disabled)("mat-mdc-chip-with-avatar",t.leadingIcon)("mdc-evolution-chip--disabled",t.disabled)("mdc-evolution-chip--selected",t.selected)("mdc-evolution-chip--selecting",!t._animationsDisabled)("mdc-evolution-chip--with-trailing-action",t._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",t.leadingIcon)("mdc-evolution-chip--with-primary-graphic",t._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",t.leadingIcon)("mat-mdc-chip-highlighted",t.highlighted)("mat-mdc-chip-with-trailing-icon",t._hasTrailingIcon()));},inputs:{selectable:[2,"selectable","selectable",wt],selected:[2,"selected","selected",wt]},outputs:{selectionChange:"selectionChange"},features:[Ey([{provide:G,useExisting:n},{provide:N,useExisting:n}]),Kr],ngContentSelectors:xi,decls:8,vars:6,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"_allowFocusWhenDisabled"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"]],template:function(e,t){e&1&&(sr(Ci),Yg(0,"span",0),ma(1,"span",1)(2,"button",2),ci(3,Fi,5,0,"span",3),ma(4,"span",4),ot(5),Yg(6,"span",5),Id()()(),ci(7,Ai,2,0,"span",6)),e&2&&(ri(2),Zg("_allowFocusWhenDisabled",true),ir("aria-description",t.ariaDescription)("aria-label",t.ariaLabel)("aria-selected",t.ariaSelected),ri(),ui(t._hasLeadingGraphic()?3:-1),ri(4),ui(t._hasTrailingIcon()?7:-1));},dependencies:[Ei],styles:[Ri],encapsulation:2})}return n})();var Pi=(()=>{class n{_elementRef=h(ue);_changeDetectorRef=h(Ly);_dir=h(iM,{optional:true});_lastDestroyedFocusedChipIndex=null;_keyManager;_destroyed=new Z;_defaultRole="presentation";get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState();}_disabled=false;get empty(){return !this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}tabIndex=0;set role(i){this._explicitRole=i;}_explicitRole=null;get focused(){return this._hasFocusedChip()}_chips;_chipActions=new Qn;ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip();}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete();}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips?.forEach(i=>{i._chipListDisabled=this._disabled,i._changeDetectorRef.markForCheck();});}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i);}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i));}_getChipStream(i){return this._chips.changes.pipe(Ac(null),Nc(()=>Jb(...this._chips.map(i))))}_originatesFromChip(i){let e=i.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-mdc-chip"))return true;e=e.parentElement;}return false}_setUpFocusManagement(){this._chips.changes.pipe(Ac(this._chips)).subscribe(i=>{let e=[];i.forEach(t=>t._getActions().forEach(c=>e.push(c))),this._chipActions.reset(e),this._chipActions.notifyOnChanges();}),this._keyManager=new hf(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe(Er(this._destroyed)).subscribe(({chip:i})=>{let e=i._getSourceAction(document.activeElement);e&&this._keyManager.updateActiveItem(e);}),this._dir?.change.pipe(Er(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i));}_skipPredicate(i){return i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Ac(null),Er(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus();});}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Er(this._destroyed)).subscribe(i=>{let t=this._chips.toArray().indexOf(i.chip),c=i.chip._hasFocus(),a=i.chip._hadFocusOnRemove&&this._keyManager.activeItem&&i.chip._getActions().includes(this._keyManager.activeItem),Si=c||a;this._isValidIndex(t)&&Si&&(this._lastDestroyedFocusedChipIndex=t);});}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),e=this._chips.toArray()[i];e.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():e.focus();}else this.focus();this._lastDestroyedFocusedChipIndex=null;}}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=xe({type:n,selectors:[["mat-chip-set"]],contentQueries:function(e,t,c){if(e&1&&ny(c,G,5),e&2){let a;gC(a=yC())&&(t._chips=a);}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(e,t){e&1&&ey("keydown",function(a){return t._handleKeydown(a)}),e&2&&ir("role",t.role);},inputs:{disabled:[2,"disabled","disabled",wt],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:Bd(i)]},ngContentSelectors:Ii,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(sr(),dn(0,"div",0),ot(1),fn());},styles:[`.mat-mdc-chip-set {
|
|
1166
|
+
display: flex;
|
|
1167
|
+
}
|
|
1168
|
+
.mat-mdc-chip-set:focus {
|
|
1169
|
+
outline: none;
|
|
1170
|
+
}
|
|
1171
|
+
.mat-mdc-chip-set .mdc-evolution-chip-set__chips {
|
|
1172
|
+
min-width: 100%;
|
|
1173
|
+
margin-left: -8px;
|
|
1174
|
+
margin-right: 0;
|
|
1175
|
+
}
|
|
1176
|
+
.mat-mdc-chip-set .mdc-evolution-chip {
|
|
1177
|
+
margin: 4px 0 4px 8px;
|
|
1178
|
+
}
|
|
1179
|
+
[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips {
|
|
1180
|
+
margin-left: 0;
|
|
1181
|
+
margin-right: -8px;
|
|
1182
|
+
}
|
|
1183
|
+
[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip {
|
|
1184
|
+
margin-left: 0;
|
|
1185
|
+
margin-right: 8px;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.mdc-evolution-chip-set__chips {
|
|
1189
|
+
display: flex;
|
|
1190
|
+
flex-flow: wrap;
|
|
1191
|
+
min-width: 0;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
.mat-mdc-chip-set-stacked {
|
|
1195
|
+
flex-direction: column;
|
|
1196
|
+
align-items: flex-start;
|
|
1197
|
+
}
|
|
1198
|
+
.mat-mdc-chip-set-stacked .mat-mdc-chip {
|
|
1199
|
+
width: 100%;
|
|
1200
|
+
}
|
|
1201
|
+
.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic {
|
|
1202
|
+
flex-grow: 0;
|
|
1203
|
+
}
|
|
1204
|
+
.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary {
|
|
1205
|
+
flex-basis: 100%;
|
|
1206
|
+
justify-content: start;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
input.mat-mdc-chip-input {
|
|
1210
|
+
flex: 1 0 150px;
|
|
1211
|
+
margin-left: 8px;
|
|
1212
|
+
}
|
|
1213
|
+
[dir=rtl] input.mat-mdc-chip-input {
|
|
1214
|
+
margin-left: 0;
|
|
1215
|
+
margin-right: 8px;
|
|
1216
|
+
}
|
|
1217
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::placeholder {
|
|
1218
|
+
opacity: 1;
|
|
1219
|
+
}
|
|
1220
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-moz-placeholder {
|
|
1221
|
+
opacity: 1;
|
|
1222
|
+
}
|
|
1223
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input::-webkit-input-placeholder {
|
|
1224
|
+
opacity: 1;
|
|
1225
|
+
}
|
|
1226
|
+
.mat-mdc-form-field:not(.mat-form-field-hide-placeholder) input.mat-mdc-chip-input:-ms-input-placeholder {
|
|
1227
|
+
opacity: 1;
|
|
1228
|
+
}
|
|
1229
|
+
.mat-mdc-chip-set + input.mat-mdc-chip-input {
|
|
1230
|
+
margin-left: 0;
|
|
1231
|
+
margin-right: 0;
|
|
1232
|
+
}
|
|
1233
|
+
`],encapsulation:2})}return n})(),q=class{source;value;constructor(y,i){this.source=y,this.value=i;}},Li={provide:R,useExisting:Es(()=>Oi),multi:true},Oi=(()=>{class n extends Pi{_onTouched=()=>{};_onChange=()=>{};_defaultRole="listbox";_defaultOptions=h(Q,{optional:true});get multiple(){return this._multiple}set multiple(i){this._multiple=i,this._syncListboxProperties();}_multiple=false;get selected(){let i=this._chips.toArray().filter(e=>e.selected);return this.multiple?i:i[0]}ariaOrientation="horizontal";get selectable(){return this._selectable}set selectable(i){this._selectable=i,this._syncListboxProperties();}_selectable=true;compareWith=(i,e)=>i===e;required=false;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(i){this._hideSingleSelectionIndicator=i,this._syncListboxProperties();}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??false;get chipSelectionChanges(){return this._getChipStream(i=>i.selectionChange)}get chipBlurChanges(){return this._getChipStream(i=>i._onBlur)}get value(){return this._value}set value(i){this._chips&&this._chips.length&&this._setSelectionByValue(i,false),this._value=i;}_value;change=new Oe;_chips=void 0;ngAfterContentInit(){this._chips.changes.pipe(Ac(null),Er(this._destroyed)).subscribe(()=>{this.value!==void 0&&Promise.resolve().then(()=>{this._setSelectionByValue(this.value,false);}),this._syncListboxProperties();}),this.chipBlurChanges.pipe(Er(this._destroyed)).subscribe(()=>this._blur()),this.chipSelectionChanges.pipe(Er(this._destroyed)).subscribe(i=>{this.multiple||this._chips.forEach(e=>{e!==i.source&&e._setSelectedState(false,false,false);}),i.isUserInput&&this._propagateChanges();});}focus(){if(this.disabled)return;let i=this._getFirstSelectedChip();i&&!i.disabled?i.focus():this._chips.length>0?this._keyManager.setFirstItemActive():this._elementRef.nativeElement.focus();}writeValue(i){i!=null?this.value=i:this.value=void 0;}registerOnChange(i){this._onChange=i;}registerOnTouched(i){this._onTouched=i;}setDisabledState(i){this.disabled=i;}_setSelectionByValue(i,e=true){this._clearSelection(),Array.isArray(i)?i.forEach(t=>this._selectValue(t,e)):this._selectValue(i,e);}_blur(){this.disabled||setTimeout(()=>{this.focused||this._markAsTouched();});}_keydown(i){i.keyCode===9&&super._allowFocusEscape();}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck();}_propagateChanges(){let i=null;Array.isArray(this.selected)?i=this.selected.map(e=>e.value):i=this.selected?this.selected.value:void 0,this._value=i,this.change.emit(new q(this,i)),this._onChange(i),this._changeDetectorRef.markForCheck();}_clearSelection(i){this._chips.forEach(e=>{e!==i&&e.deselect();});}_selectValue(i,e){let t=this._chips.find(c=>c.value!=null&&this.compareWith(c.value,i));return t&&(e?t.selectViaInteraction():t.select()),t}_syncListboxProperties(){this._chips&&Promise.resolve().then(()=>{this._chips.forEach(i=>{i._chipListMultiple=this.multiple,i.chipListSelectable=this._selectable,i._chipListHideSingleSelectionIndicator=this.hideSingleSelectionIndicator,i._changeDetectorRef.markForCheck();});});}_getFirstSelectedChip(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected}_skipPredicate(i){return false}static \u0275fac=(()=>{let i;return function(t){return (i||(i=pm(n)))(t||n)}})();static \u0275cmp=xe({type:n,selectors:[["mat-chip-listbox"]],contentQueries:function(e,t,c){if(e&1&&ny(c,Bi,5),e&2){let a;gC(a=yC())&&(t._chips=a);}},hostAttrs:[1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:10,hostBindings:function(e,t){e&1&&ey("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(a){return t._keydown(a)}),e&2&&(Xg("tabIndex",t.disabled||t.empty?-1:t.tabIndex),ir("role",t.role)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-multiselectable",t.multiple)("aria-orientation",t.ariaOrientation),It("mat-mdc-chip-list-disabled",t.disabled)("mat-mdc-chip-list-required",t.required));},inputs:{multiple:[2,"multiple","multiple",wt],ariaOrientation:[0,"aria-orientation","ariaOrientation"],selectable:[2,"selectable","selectable",wt],compareWith:"compareWith",required:[2,"required","required",wt],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",wt],value:"value"},outputs:{change:"change"},features:[Ey([Li]),Kr],ngContentSelectors:Ii,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(e,t){e&1&&(sr(),dn(0,"div",0),ot(1),fn());},styles:[Ti],encapsulation:2})}return n})();var yt=(()=>{class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=he({type:n});static \u0275inj=ce({providers:[Vt,{provide:Q,useValue:{separatorKeyCodes:[13]}}],imports:[mb,no]})}return n})();export{Bi as B,Oi as O,yt as y};
|