igniteui-angular-inputs 18.2.0 → 19.0.1
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/bundles/igniteui-angular-inputs.umd.js +3069 -2910
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +26 -26
- package/esm2015/lib/ButtonView_combined.js +1716 -1662
- package/esm2015/lib/CalendarView_combined.js +312 -298
- package/esm2015/lib/IconViewType.js +11 -0
- package/esm2015/lib/IconView_combined.js +462 -432
- package/esm2015/lib/InputGroupView_combined.js +115 -93
- package/esm2015/lib/MultiSliderBridge.js +14 -14
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +4 -4
- package/esm2015/lib/XButtonBridge.js +39 -35
- package/esm2015/lib/XButtonGroupBridge.js +2 -2
- package/esm2015/lib/XCheckboxBridge.js +8 -8
- package/esm2015/lib/XComponentBridge.js +1 -1
- package/esm2015/lib/XIconBridge.js +25 -23
- package/esm2015/lib/XInputBridge.js +16 -16
- package/esm2015/lib/XPopupBridge.js +5 -3
- package/esm2015/lib/igx-x-button-component.js +396 -385
- package/esm2015/lib/igx-x-icon-component.js +63 -63
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/ButtonGroupView_combined.js +26 -26
- package/esm5/lib/ButtonView_combined.js +1583 -1525
- package/esm5/lib/CalendarView_combined.js +312 -298
- package/esm5/lib/IconViewType.js +11 -0
- package/esm5/lib/IconView_combined.js +449 -419
- package/esm5/lib/InputGroupView_combined.js +115 -93
- package/esm5/lib/MultiSliderBridge.js +14 -14
- package/esm5/lib/NativeUIXInputsFactory_combined.js +4 -4
- package/esm5/lib/XButtonBridge.js +39 -35
- package/esm5/lib/XButtonGroupBridge.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +8 -8
- package/esm5/lib/XComponentBridge.js +1 -1
- package/esm5/lib/XIconBridge.js +25 -23
- package/esm5/lib/XInputBridge.js +16 -16
- package/esm5/lib/XPopupBridge.js +5 -3
- package/esm5/lib/igx-x-button-component.js +400 -385
- package/esm5/lib/igx-x-icon-component.js +63 -63
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-angular-inputs.js +3204 -3054
- package/fesm5/igniteui-angular-inputs.js +3070 -2912
- package/lib/ButtonView_combined.d.ts +513 -504
- package/lib/CalendarView_combined.d.ts +38 -35
- package/lib/IconViewType.d.ts +16 -0
- package/lib/IconView_combined.d.ts +115 -111
- package/lib/InputGroupView_combined.d.ts +28 -26
- package/lib/igx-x-button-component.d.ts +7 -1
- package/package.json +5 -5
- package/public_api.d.ts +1 -0
|
@@ -106,19 +106,19 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
106
106
|
* Gets or sets the min width to use for the button.
|
|
107
107
|
*/
|
|
108
108
|
get minWidth() {
|
|
109
|
-
return this.i.
|
|
109
|
+
return this.i.by;
|
|
110
110
|
}
|
|
111
111
|
set minWidth(v) {
|
|
112
|
-
this.i.
|
|
112
|
+
this.i.by = +v;
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Gets or sets the min height to use for the button.
|
|
116
116
|
*/
|
|
117
117
|
get minHeight() {
|
|
118
|
-
return this.i.
|
|
118
|
+
return this.i.bx;
|
|
119
119
|
}
|
|
120
120
|
set minHeight(v) {
|
|
121
|
-
this.i.
|
|
121
|
+
this.i.bx = +v;
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* Gets or sets the display style to use for the button.
|
|
@@ -160,156 +160,156 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
160
160
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
161
161
|
*/
|
|
162
162
|
get actualBorderColor() {
|
|
163
|
-
return brushToString(this.i.
|
|
163
|
+
return brushToString(this.i.np);
|
|
164
164
|
}
|
|
165
165
|
set actualBorderColor(v) {
|
|
166
|
-
this.i.
|
|
166
|
+
this.i.np = stringToBrush(v);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
169
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
170
170
|
*/
|
|
171
171
|
get actualUmbraShadowColor() {
|
|
172
|
-
return brushToString(this.i.
|
|
172
|
+
return brushToString(this.i.n0);
|
|
173
173
|
}
|
|
174
174
|
set actualUmbraShadowColor(v) {
|
|
175
|
-
this.i.
|
|
175
|
+
this.i.n0 = stringToBrush(v);
|
|
176
176
|
}
|
|
177
177
|
/**
|
|
178
178
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
179
179
|
*/
|
|
180
180
|
get actualPenumbraShadowColor() {
|
|
181
|
-
return brushToString(this.i.
|
|
181
|
+
return brushToString(this.i.nx);
|
|
182
182
|
}
|
|
183
183
|
set actualPenumbraShadowColor(v) {
|
|
184
|
-
this.i.
|
|
184
|
+
this.i.nx = stringToBrush(v);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
188
188
|
*/
|
|
189
189
|
get actualAmbientShadowColor() {
|
|
190
|
-
return brushToString(this.i.
|
|
190
|
+
return brushToString(this.i.nn);
|
|
191
191
|
}
|
|
192
192
|
set actualAmbientShadowColor(v) {
|
|
193
|
-
this.i.
|
|
193
|
+
this.i.nn = stringToBrush(v);
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
197
197
|
*/
|
|
198
198
|
get actualRestingElevation() {
|
|
199
|
-
return this.i.
|
|
199
|
+
return this.i.cx;
|
|
200
200
|
}
|
|
201
201
|
set actualRestingElevation(v) {
|
|
202
|
-
this.i.
|
|
202
|
+
this.i.cx = +v;
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
205
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
206
206
|
*/
|
|
207
207
|
get actualFocusElevation() {
|
|
208
|
-
return this.i.
|
|
208
|
+
return this.i.cv;
|
|
209
209
|
}
|
|
210
210
|
set actualFocusElevation(v) {
|
|
211
|
-
this.i.
|
|
211
|
+
this.i.cv = +v;
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
214
|
* Gets or sets the color to use for the check mark when the checkbox is checked.
|
|
215
215
|
*/
|
|
216
216
|
get actualHoverElevation() {
|
|
217
|
-
return this.i.
|
|
217
|
+
return this.i.cw;
|
|
218
218
|
}
|
|
219
219
|
set actualHoverElevation(v) {
|
|
220
|
-
this.i.
|
|
220
|
+
this.i.cw = +v;
|
|
221
221
|
}
|
|
222
222
|
/**
|
|
223
223
|
* Gets or sets the color to use for the ripple when the button is pressed.
|
|
224
224
|
*/
|
|
225
225
|
get actualRippleColor() {
|
|
226
|
-
return brushToString(this.i.
|
|
226
|
+
return brushToString(this.i.ny);
|
|
227
227
|
}
|
|
228
228
|
set actualRippleColor(v) {
|
|
229
|
-
this.i.
|
|
229
|
+
this.i.ny = stringToBrush(v);
|
|
230
230
|
}
|
|
231
231
|
get actualCornerRadiusBottomRight() {
|
|
232
|
-
return this.i.
|
|
232
|
+
return this.i.kz ? this.i.kz.c : NaN;
|
|
233
233
|
}
|
|
234
234
|
set actualCornerRadiusBottomRight(v) {
|
|
235
235
|
this.ensureActualCornerRadius();
|
|
236
|
-
this.i.
|
|
237
|
-
this.i.
|
|
236
|
+
this.i.kz.c = +v;
|
|
237
|
+
this.i.kz = this.i.kz;
|
|
238
238
|
}
|
|
239
239
|
get actualCornerRadiusBottomLeft() {
|
|
240
|
-
return this.i.
|
|
240
|
+
return this.i.kz ? this.i.kz.b : NaN;
|
|
241
241
|
}
|
|
242
242
|
set actualCornerRadiusBottomLeft(v) {
|
|
243
243
|
this.ensureActualCornerRadius();
|
|
244
|
-
this.i.
|
|
245
|
-
this.i.
|
|
244
|
+
this.i.kz.b = +v;
|
|
245
|
+
this.i.kz = this.i.kz;
|
|
246
246
|
}
|
|
247
247
|
get actualCornerRadiusTopLeft() {
|
|
248
|
-
return this.i.
|
|
248
|
+
return this.i.kz ? this.i.kz.d : NaN;
|
|
249
249
|
}
|
|
250
250
|
set actualCornerRadiusTopLeft(v) {
|
|
251
251
|
this.ensureActualCornerRadius();
|
|
252
|
-
this.i.
|
|
253
|
-
this.i.
|
|
252
|
+
this.i.kz.d = +v;
|
|
253
|
+
this.i.kz = this.i.kz;
|
|
254
254
|
}
|
|
255
255
|
get actualCornerRadiusTopRight() {
|
|
256
|
-
return this.i.
|
|
256
|
+
return this.i.kz ? this.i.kz.e : NaN;
|
|
257
257
|
}
|
|
258
258
|
set actualCornerRadiusTopRight(v) {
|
|
259
259
|
this.ensureActualCornerRadius();
|
|
260
|
-
this.i.
|
|
261
|
-
this.i.
|
|
260
|
+
this.i.kz.e = +v;
|
|
261
|
+
this.i.kz = this.i.kz;
|
|
262
262
|
}
|
|
263
263
|
ensureActualCornerRadius() {
|
|
264
|
-
if (this.i.
|
|
264
|
+
if (this.i.kz) {
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
this.i.
|
|
267
|
+
this.i.kz = new CornerRadius(2);
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* Gets the color to use for the actual background.
|
|
271
271
|
*/
|
|
272
272
|
get actualBackgroundColor() {
|
|
273
|
-
return brushToString(this.i.
|
|
273
|
+
return brushToString(this.i.no);
|
|
274
274
|
}
|
|
275
275
|
set actualBackgroundColor(v) {
|
|
276
|
-
this.i.
|
|
276
|
+
this.i.no = stringToBrush(v);
|
|
277
277
|
}
|
|
278
278
|
/**
|
|
279
279
|
* Gets the actual color to use for the disabled background of the button.
|
|
280
280
|
*/
|
|
281
281
|
get actualDisabledBackgroundColor() {
|
|
282
|
-
return brushToString(this.i.
|
|
282
|
+
return brushToString(this.i.nq);
|
|
283
283
|
}
|
|
284
284
|
set actualDisabledBackgroundColor(v) {
|
|
285
|
-
this.i.
|
|
285
|
+
this.i.nq = stringToBrush(v);
|
|
286
286
|
}
|
|
287
287
|
/**
|
|
288
288
|
* Gets the actual color to use for the disabled border of the button.
|
|
289
289
|
*/
|
|
290
290
|
get actualDisabledBorderColor() {
|
|
291
|
-
return brushToString(this.i.
|
|
291
|
+
return brushToString(this.i.nr);
|
|
292
292
|
}
|
|
293
293
|
set actualDisabledBorderColor(v) {
|
|
294
|
-
this.i.
|
|
294
|
+
this.i.nr = stringToBrush(v);
|
|
295
295
|
}
|
|
296
296
|
/**
|
|
297
297
|
* Gets the actual color to use for the disabled text of the button.
|
|
298
298
|
*/
|
|
299
299
|
get actualDisabledTextColor() {
|
|
300
|
-
return brushToString(this.i.
|
|
300
|
+
return brushToString(this.i.ns);
|
|
301
301
|
}
|
|
302
302
|
set actualDisabledTextColor(v) {
|
|
303
|
-
this.i.
|
|
303
|
+
this.i.ns = stringToBrush(v);
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
306
|
* Gets the actual disabled elevation to use for the button.
|
|
307
307
|
*/
|
|
308
308
|
get actualDisabledElevation() {
|
|
309
|
-
return this.i.
|
|
309
|
+
return this.i.cu;
|
|
310
310
|
}
|
|
311
311
|
set actualDisabledElevation(v) {
|
|
312
|
-
this.i.
|
|
312
|
+
this.i.cu = +v;
|
|
313
313
|
}
|
|
314
314
|
/**
|
|
315
315
|
* Gets the actual disabled elevation to use for the button.
|
|
@@ -324,428 +324,428 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
324
324
|
* Gets the color to use for the actual background.
|
|
325
325
|
*/
|
|
326
326
|
get actualTextColor() {
|
|
327
|
-
return brushToString(this.i.
|
|
327
|
+
return brushToString(this.i.nz);
|
|
328
328
|
}
|
|
329
329
|
set actualTextColor(v) {
|
|
330
|
-
this.i.
|
|
330
|
+
this.i.nz = stringToBrush(v);
|
|
331
331
|
}
|
|
332
332
|
/**
|
|
333
333
|
* Gets the color to use for the actual background.
|
|
334
334
|
*/
|
|
335
335
|
get actualHoverTextColor() {
|
|
336
|
-
return brushToString(this.i.
|
|
336
|
+
return brushToString(this.i.nw);
|
|
337
337
|
}
|
|
338
338
|
set actualHoverTextColor(v) {
|
|
339
|
-
this.i.
|
|
339
|
+
this.i.nw = stringToBrush(v);
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
342
|
* Gets the color to use for the actual background.
|
|
343
343
|
*/
|
|
344
344
|
get actualFocusBackgroundColor() {
|
|
345
|
-
return brushToString(this.i.
|
|
345
|
+
return brushToString(this.i.nt);
|
|
346
346
|
}
|
|
347
347
|
set actualFocusBackgroundColor(v) {
|
|
348
|
-
this.i.
|
|
348
|
+
this.i.nt = stringToBrush(v);
|
|
349
349
|
}
|
|
350
350
|
/**
|
|
351
351
|
* Gets the actual color to use for the focused text.
|
|
352
352
|
*/
|
|
353
353
|
get actualFocusTextColor() {
|
|
354
|
-
return brushToString(this.i.
|
|
354
|
+
return brushToString(this.i.nu);
|
|
355
355
|
}
|
|
356
356
|
set actualFocusTextColor(v) {
|
|
357
|
-
this.i.
|
|
357
|
+
this.i.nu = stringToBrush(v);
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
360
|
* Gets the hover color to use for the actual background.
|
|
361
361
|
*/
|
|
362
362
|
get actualHoverBackgroundColor() {
|
|
363
|
-
return brushToString(this.i.
|
|
363
|
+
return brushToString(this.i.nv);
|
|
364
364
|
}
|
|
365
365
|
set actualHoverBackgroundColor(v) {
|
|
366
|
-
this.i.
|
|
366
|
+
this.i.nv = stringToBrush(v);
|
|
367
367
|
}
|
|
368
368
|
/**
|
|
369
369
|
* Gets or sets the Width to use for the check mark when the checkbox is checked.
|
|
370
370
|
*/
|
|
371
371
|
get actualBorderWidth() {
|
|
372
|
-
return this.i.
|
|
372
|
+
return this.i.bj;
|
|
373
373
|
}
|
|
374
374
|
set actualBorderWidth(v) {
|
|
375
|
-
this.i.
|
|
375
|
+
this.i.bj = +v;
|
|
376
376
|
}
|
|
377
377
|
/**
|
|
378
378
|
* Gets or sets the color to use for the background of the button when the type is raised.
|
|
379
379
|
*/
|
|
380
380
|
get raisedBackgroundColor() {
|
|
381
|
-
return brushToString(this.i.
|
|
381
|
+
return brushToString(this.i.q4);
|
|
382
382
|
}
|
|
383
383
|
set raisedBackgroundColor(v) {
|
|
384
|
-
this.i.
|
|
384
|
+
this.i.q4 = stringToBrush(v);
|
|
385
385
|
}
|
|
386
386
|
/**
|
|
387
387
|
* Gets or sets the color to use for the disabled background of the button when the type is raised.
|
|
388
388
|
*/
|
|
389
389
|
get raisedDisabledBackgroundColor() {
|
|
390
|
-
return brushToString(this.i.
|
|
390
|
+
return brushToString(this.i.q6);
|
|
391
391
|
}
|
|
392
392
|
set raisedDisabledBackgroundColor(v) {
|
|
393
|
-
this.i.
|
|
393
|
+
this.i.q6 = stringToBrush(v);
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
396
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
397
397
|
*/
|
|
398
398
|
get raisedDisabledBorderColor() {
|
|
399
|
-
return brushToString(this.i.
|
|
399
|
+
return brushToString(this.i.q7);
|
|
400
400
|
}
|
|
401
401
|
set raisedDisabledBorderColor(v) {
|
|
402
|
-
this.i.
|
|
402
|
+
this.i.q7 = stringToBrush(v);
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
406
406
|
*/
|
|
407
407
|
get raisedDisabledTextColor() {
|
|
408
|
-
return brushToString(this.i.
|
|
408
|
+
return brushToString(this.i.q8);
|
|
409
409
|
}
|
|
410
410
|
set raisedDisabledTextColor(v) {
|
|
411
|
-
this.i.
|
|
411
|
+
this.i.q8 = stringToBrush(v);
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
414
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
415
415
|
*/
|
|
416
416
|
get raisedDisabledElevation() {
|
|
417
|
-
return this.i.
|
|
417
|
+
return this.i.d2;
|
|
418
418
|
}
|
|
419
419
|
set raisedDisabledElevation(v) {
|
|
420
|
-
this.i.
|
|
420
|
+
this.i.d2 = +v;
|
|
421
421
|
}
|
|
422
422
|
/**
|
|
423
423
|
* Gets or sets the hover color to use for the background of the button when the type is raised.
|
|
424
424
|
*/
|
|
425
425
|
get raisedHoverBackgroundColor() {
|
|
426
|
-
return brushToString(this.i.
|
|
426
|
+
return brushToString(this.i.rb);
|
|
427
427
|
}
|
|
428
428
|
set raisedHoverBackgroundColor(v) {
|
|
429
|
-
this.i.
|
|
429
|
+
this.i.rb = stringToBrush(v);
|
|
430
430
|
}
|
|
431
431
|
/**
|
|
432
432
|
* Gets or sets the border color to use for the button when the type is raised.
|
|
433
433
|
*/
|
|
434
434
|
get raisedBorderColor() {
|
|
435
|
-
return brushToString(this.i.
|
|
435
|
+
return brushToString(this.i.q5);
|
|
436
436
|
}
|
|
437
437
|
set raisedBorderColor(v) {
|
|
438
|
-
this.i.
|
|
438
|
+
this.i.q5 = stringToBrush(v);
|
|
439
439
|
}
|
|
440
440
|
/**
|
|
441
441
|
* Gets or sets the elevation to use for the button when the type is raised.
|
|
442
442
|
*/
|
|
443
443
|
get raisedRestingElevation() {
|
|
444
|
-
return this.i.
|
|
444
|
+
return this.i.d5;
|
|
445
445
|
}
|
|
446
446
|
set raisedRestingElevation(v) {
|
|
447
|
-
this.i.
|
|
447
|
+
this.i.d5 = +v;
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
450
|
* Gets or sets the hover elevation to use for the button when the type is raised.
|
|
451
451
|
*/
|
|
452
452
|
get raisedHoverElevation() {
|
|
453
|
-
return this.i.
|
|
453
|
+
return this.i.d4;
|
|
454
454
|
}
|
|
455
455
|
set raisedHoverElevation(v) {
|
|
456
|
-
this.i.
|
|
456
|
+
this.i.d4 = +v;
|
|
457
457
|
}
|
|
458
458
|
/**
|
|
459
459
|
* Gets or sets the focus elevation to use for the button when the type is raised.
|
|
460
460
|
*/
|
|
461
461
|
get raisedFocusElevation() {
|
|
462
|
-
return this.i.
|
|
462
|
+
return this.i.d3;
|
|
463
463
|
}
|
|
464
464
|
set raisedFocusElevation(v) {
|
|
465
|
-
this.i.
|
|
465
|
+
this.i.d3 = +v;
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* Gets or sets the width to use for the button border when the type is raised.
|
|
469
469
|
*/
|
|
470
470
|
get raisedBorderWidth() {
|
|
471
|
-
return this.i.
|
|
471
|
+
return this.i.b0;
|
|
472
472
|
}
|
|
473
473
|
set raisedBorderWidth(v) {
|
|
474
|
-
this.i.
|
|
474
|
+
this.i.b0 = +v;
|
|
475
475
|
}
|
|
476
476
|
get raisedCornerRadiusBottomRight() {
|
|
477
|
-
return this.i.
|
|
477
|
+
return this.i.lc ? this.i.lc.c : NaN;
|
|
478
478
|
}
|
|
479
479
|
set raisedCornerRadiusBottomRight(v) {
|
|
480
480
|
this.ensureRaisedCornerRadius();
|
|
481
|
-
this.i.
|
|
482
|
-
this.i.
|
|
481
|
+
this.i.lc.c = +v;
|
|
482
|
+
this.i.lc = this.i.lc;
|
|
483
483
|
}
|
|
484
484
|
get raisedCornerRadiusBottomLeft() {
|
|
485
|
-
return this.i.
|
|
485
|
+
return this.i.lc ? this.i.lc.b : NaN;
|
|
486
486
|
}
|
|
487
487
|
set raisedCornerRadiusBottomLeft(v) {
|
|
488
488
|
this.ensureRaisedCornerRadius();
|
|
489
|
-
this.i.
|
|
490
|
-
this.i.
|
|
489
|
+
this.i.lc.b = +v;
|
|
490
|
+
this.i.lc = this.i.lc;
|
|
491
491
|
}
|
|
492
492
|
get raisedCornerRadiusTopLeft() {
|
|
493
|
-
return this.i.
|
|
493
|
+
return this.i.lc ? this.i.lc.d : NaN;
|
|
494
494
|
}
|
|
495
495
|
set raisedCornerRadiusTopLeft(v) {
|
|
496
496
|
this.ensureRaisedCornerRadius();
|
|
497
|
-
this.i.
|
|
498
|
-
this.i.
|
|
497
|
+
this.i.lc.d = +v;
|
|
498
|
+
this.i.lc = this.i.lc;
|
|
499
499
|
}
|
|
500
500
|
get raisedCornerRadiusTopRight() {
|
|
501
|
-
return this.i.
|
|
501
|
+
return this.i.lc ? this.i.lc.e : NaN;
|
|
502
502
|
}
|
|
503
503
|
set raisedCornerRadiusTopRight(v) {
|
|
504
504
|
this.ensureRaisedCornerRadius();
|
|
505
|
-
this.i.
|
|
506
|
-
this.i.
|
|
505
|
+
this.i.lc.e = +v;
|
|
506
|
+
this.i.lc = this.i.lc;
|
|
507
507
|
}
|
|
508
508
|
ensureRaisedCornerRadius() {
|
|
509
|
-
if (this.i.
|
|
509
|
+
if (this.i.lc) {
|
|
510
510
|
return;
|
|
511
511
|
}
|
|
512
|
-
this.i.
|
|
512
|
+
this.i.lc = new CornerRadius(2);
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
515
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
516
516
|
*/
|
|
517
517
|
get raisedRippleColor() {
|
|
518
|
-
return brushToString(this.i.
|
|
518
|
+
return brushToString(this.i.rd);
|
|
519
519
|
}
|
|
520
520
|
set raisedRippleColor(v) {
|
|
521
|
-
this.i.
|
|
521
|
+
this.i.rd = stringToBrush(v);
|
|
522
522
|
}
|
|
523
523
|
/**
|
|
524
524
|
* Gets or sets the color to use for the background of the button when the type is flat.
|
|
525
525
|
*/
|
|
526
526
|
get flatBackgroundColor() {
|
|
527
|
-
return brushToString(this.i.
|
|
527
|
+
return brushToString(this.i.p3);
|
|
528
528
|
}
|
|
529
529
|
set flatBackgroundColor(v) {
|
|
530
|
-
this.i.
|
|
530
|
+
this.i.p3 = stringToBrush(v);
|
|
531
531
|
}
|
|
532
532
|
/**
|
|
533
533
|
* Gets or sets the color to use for the disabled background of the button when the type is flat.
|
|
534
534
|
*/
|
|
535
535
|
get flatDisabledBackgroundColor() {
|
|
536
|
-
return brushToString(this.i.
|
|
536
|
+
return brushToString(this.i.p5);
|
|
537
537
|
}
|
|
538
538
|
set flatDisabledBackgroundColor(v) {
|
|
539
|
-
this.i.
|
|
539
|
+
this.i.p5 = stringToBrush(v);
|
|
540
540
|
}
|
|
541
541
|
/**
|
|
542
542
|
* Gets or sets the color to use for the disabled border of the button when the type is flat.
|
|
543
543
|
*/
|
|
544
544
|
get flatDisabledBorderColor() {
|
|
545
|
-
return brushToString(this.i.
|
|
545
|
+
return brushToString(this.i.p6);
|
|
546
546
|
}
|
|
547
547
|
set flatDisabledBorderColor(v) {
|
|
548
|
-
this.i.
|
|
548
|
+
this.i.p6 = stringToBrush(v);
|
|
549
549
|
}
|
|
550
550
|
/**
|
|
551
551
|
* Gets or sets the color to use for the disabled text of the button when the type is flat.
|
|
552
552
|
*/
|
|
553
553
|
get flatDisabledTextColor() {
|
|
554
|
-
return brushToString(this.i.
|
|
554
|
+
return brushToString(this.i.p7);
|
|
555
555
|
}
|
|
556
556
|
set flatDisabledTextColor(v) {
|
|
557
|
-
this.i.
|
|
557
|
+
this.i.p7 = stringToBrush(v);
|
|
558
558
|
}
|
|
559
559
|
/**
|
|
560
560
|
* Gets or sets the disabled elevation to use for the button when the type is flat.
|
|
561
561
|
*/
|
|
562
562
|
get flatDisabledElevation() {
|
|
563
|
-
return this.i.
|
|
563
|
+
return this.i.dn;
|
|
564
564
|
}
|
|
565
565
|
set flatDisabledElevation(v) {
|
|
566
|
-
this.i.
|
|
566
|
+
this.i.dn = +v;
|
|
567
567
|
}
|
|
568
568
|
/**
|
|
569
569
|
* Gets or sets the hover color to use for the background of the button when the type is flat.
|
|
570
570
|
*/
|
|
571
571
|
get flatHoverBackgroundColor() {
|
|
572
|
-
return brushToString(this.i.
|
|
572
|
+
return brushToString(this.i.qa);
|
|
573
573
|
}
|
|
574
574
|
set flatHoverBackgroundColor(v) {
|
|
575
|
-
this.i.
|
|
575
|
+
this.i.qa = stringToBrush(v);
|
|
576
576
|
}
|
|
577
577
|
/**
|
|
578
578
|
* Gets or sets the border color to use for the button when the type is flat.
|
|
579
579
|
*/
|
|
580
580
|
get flatBorderColor() {
|
|
581
|
-
return brushToString(this.i.
|
|
581
|
+
return brushToString(this.i.p4);
|
|
582
582
|
}
|
|
583
583
|
set flatBorderColor(v) {
|
|
584
|
-
this.i.
|
|
584
|
+
this.i.p4 = stringToBrush(v);
|
|
585
585
|
}
|
|
586
586
|
/**
|
|
587
587
|
* Gets or sets the elevation to use for the button when the type is flat.
|
|
588
588
|
*/
|
|
589
589
|
get flatRestingElevation() {
|
|
590
|
-
return this.i.
|
|
590
|
+
return this.i.dr;
|
|
591
591
|
}
|
|
592
592
|
set flatRestingElevation(v) {
|
|
593
|
-
this.i.
|
|
593
|
+
this.i.dr = +v;
|
|
594
594
|
}
|
|
595
595
|
/**
|
|
596
596
|
* Gets or sets the hover elevation to use for the button when the type is flat.
|
|
597
597
|
*/
|
|
598
598
|
get flatHoverElevation() {
|
|
599
|
-
return this.i.
|
|
599
|
+
return this.i.dq;
|
|
600
600
|
}
|
|
601
601
|
set flatHoverElevation(v) {
|
|
602
|
-
this.i.
|
|
602
|
+
this.i.dq = +v;
|
|
603
603
|
}
|
|
604
604
|
/**
|
|
605
605
|
* Gets or sets the focus elevation to use for the button when the type is flat.
|
|
606
606
|
*/
|
|
607
607
|
get flatFocusElevation() {
|
|
608
|
-
return this.i.
|
|
608
|
+
return this.i.dp;
|
|
609
609
|
}
|
|
610
610
|
set flatFocusElevation(v) {
|
|
611
|
-
this.i.
|
|
611
|
+
this.i.dp = +v;
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
615
615
|
*/
|
|
616
616
|
get flatRippleColor() {
|
|
617
|
-
return brushToString(this.i.
|
|
617
|
+
return brushToString(this.i.qc);
|
|
618
618
|
}
|
|
619
619
|
set flatRippleColor(v) {
|
|
620
|
-
this.i.
|
|
620
|
+
this.i.qc = stringToBrush(v);
|
|
621
621
|
}
|
|
622
622
|
/**
|
|
623
623
|
* Gets or sets the color to use for the text of the button when type is flat.
|
|
624
624
|
*/
|
|
625
625
|
get flatTextColor() {
|
|
626
|
-
return brushToString(this.i.
|
|
626
|
+
return brushToString(this.i.qd);
|
|
627
627
|
}
|
|
628
628
|
set flatTextColor(v) {
|
|
629
|
-
this.i.
|
|
629
|
+
this.i.qd = stringToBrush(v);
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
632
|
* Gets or sets the color to use for the hovered text of the button when type is flat.
|
|
633
633
|
*/
|
|
634
634
|
get flatHoverTextColor() {
|
|
635
|
-
return brushToString(this.i.
|
|
635
|
+
return brushToString(this.i.qb);
|
|
636
636
|
}
|
|
637
637
|
set flatHoverTextColor(v) {
|
|
638
|
-
this.i.
|
|
638
|
+
this.i.qb = stringToBrush(v);
|
|
639
639
|
}
|
|
640
640
|
/**
|
|
641
641
|
* Gets or sets the color to use for the backround the button when it is focused and flat.
|
|
642
642
|
*/
|
|
643
643
|
get flatFocusBackgroundColor() {
|
|
644
|
-
return brushToString(this.i.
|
|
644
|
+
return brushToString(this.i.p8);
|
|
645
645
|
}
|
|
646
646
|
set flatFocusBackgroundColor(v) {
|
|
647
|
-
this.i.
|
|
647
|
+
this.i.p8 = stringToBrush(v);
|
|
648
648
|
}
|
|
649
649
|
/**
|
|
650
650
|
* Gets or sets the color to use for the text the button when it is focused and flat.
|
|
651
651
|
*/
|
|
652
652
|
get flatFocusTextColor() {
|
|
653
|
-
return brushToString(this.i.
|
|
653
|
+
return brushToString(this.i.p9);
|
|
654
654
|
}
|
|
655
655
|
set flatFocusTextColor(v) {
|
|
656
|
-
this.i.
|
|
656
|
+
this.i.p9 = stringToBrush(v);
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
* Gets or sets the width to use for the button border when the type is flat.
|
|
660
660
|
*/
|
|
661
661
|
get flatBorderWidth() {
|
|
662
|
-
return this.i.
|
|
662
|
+
return this.i.bv;
|
|
663
663
|
}
|
|
664
664
|
set flatBorderWidth(v) {
|
|
665
|
-
this.i.
|
|
665
|
+
this.i.bv = +v;
|
|
666
666
|
}
|
|
667
667
|
get flatCornerRadiusBottomRight() {
|
|
668
|
-
return this.i.
|
|
668
|
+
return this.i.k8 ? this.i.k8.c : NaN;
|
|
669
669
|
}
|
|
670
670
|
set flatCornerRadiusBottomRight(v) {
|
|
671
671
|
this.ensureFlatCornerRadius();
|
|
672
|
-
this.i.
|
|
673
|
-
this.i.
|
|
672
|
+
this.i.k8.c = +v;
|
|
673
|
+
this.i.k8 = this.i.k8;
|
|
674
674
|
}
|
|
675
675
|
get flatCornerRadiusBottomLeft() {
|
|
676
|
-
return this.i.
|
|
676
|
+
return this.i.k8 ? this.i.k8.b : NaN;
|
|
677
677
|
}
|
|
678
678
|
set flatCornerRadiusBottomLeft(v) {
|
|
679
679
|
this.ensureFlatCornerRadius();
|
|
680
|
-
this.i.
|
|
681
|
-
this.i.
|
|
680
|
+
this.i.k8.b = +v;
|
|
681
|
+
this.i.k8 = this.i.k8;
|
|
682
682
|
}
|
|
683
683
|
get flatCornerRadiusTopLeft() {
|
|
684
|
-
return this.i.
|
|
684
|
+
return this.i.k8 ? this.i.k8.d : NaN;
|
|
685
685
|
}
|
|
686
686
|
set flatCornerRadiusTopLeft(v) {
|
|
687
687
|
this.ensureFlatCornerRadius();
|
|
688
|
-
this.i.
|
|
689
|
-
this.i.
|
|
688
|
+
this.i.k8.d = +v;
|
|
689
|
+
this.i.k8 = this.i.k8;
|
|
690
690
|
}
|
|
691
691
|
get flatCornerRadiusTopRight() {
|
|
692
|
-
return this.i.
|
|
692
|
+
return this.i.k8 ? this.i.k8.e : NaN;
|
|
693
693
|
}
|
|
694
694
|
set flatCornerRadiusTopRight(v) {
|
|
695
695
|
this.ensureFlatCornerRadius();
|
|
696
|
-
this.i.
|
|
697
|
-
this.i.
|
|
696
|
+
this.i.k8.e = +v;
|
|
697
|
+
this.i.k8 = this.i.k8;
|
|
698
698
|
}
|
|
699
699
|
ensureFlatCornerRadius() {
|
|
700
|
-
if (this.i.
|
|
700
|
+
if (this.i.k8) {
|
|
701
701
|
return;
|
|
702
702
|
}
|
|
703
|
-
this.i.
|
|
703
|
+
this.i.k8 = new CornerRadius(2);
|
|
704
704
|
}
|
|
705
705
|
/**
|
|
706
706
|
* Gets or sets the color to use for the background when the button regardless of type.
|
|
707
707
|
*/
|
|
708
708
|
get backgroundColor() {
|
|
709
|
-
return brushToString(this.i.
|
|
709
|
+
return brushToString(this.i.n1);
|
|
710
710
|
}
|
|
711
711
|
set backgroundColor(v) {
|
|
712
|
-
this.i.
|
|
712
|
+
this.i.n1 = stringToBrush(v);
|
|
713
713
|
}
|
|
714
714
|
/**
|
|
715
715
|
* Gets or sets the color to use for the disabled background of the button when the type is disabled.
|
|
716
716
|
*/
|
|
717
717
|
get disabledBackgroundColor() {
|
|
718
|
-
return brushToString(this.i.
|
|
718
|
+
return brushToString(this.i.pp);
|
|
719
719
|
}
|
|
720
720
|
set disabledBackgroundColor(v) {
|
|
721
|
-
this.i.
|
|
721
|
+
this.i.pp = stringToBrush(v);
|
|
722
722
|
}
|
|
723
723
|
/**
|
|
724
724
|
* Gets or sets the color to use for the disabled border of the button when the type is raised.
|
|
725
725
|
*/
|
|
726
726
|
get disabledBorderColor() {
|
|
727
|
-
return brushToString(this.i.
|
|
727
|
+
return brushToString(this.i.pq);
|
|
728
728
|
}
|
|
729
729
|
set disabledBorderColor(v) {
|
|
730
|
-
this.i.
|
|
730
|
+
this.i.pq = stringToBrush(v);
|
|
731
731
|
}
|
|
732
732
|
/**
|
|
733
733
|
* Gets or sets the color to use for the disabled text of the button when the type is raised.
|
|
734
734
|
*/
|
|
735
735
|
get disabledTextColor() {
|
|
736
|
-
return brushToString(this.i.
|
|
736
|
+
return brushToString(this.i.pr);
|
|
737
737
|
}
|
|
738
738
|
set disabledTextColor(v) {
|
|
739
|
-
this.i.
|
|
739
|
+
this.i.pr = stringToBrush(v);
|
|
740
740
|
}
|
|
741
741
|
/**
|
|
742
742
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
743
743
|
*/
|
|
744
744
|
get disabledElevation() {
|
|
745
|
-
return this.i.
|
|
745
|
+
return this.i.di;
|
|
746
746
|
}
|
|
747
747
|
set disabledElevation(v) {
|
|
748
|
-
this.i.
|
|
748
|
+
this.i.di = +v;
|
|
749
749
|
}
|
|
750
750
|
/**
|
|
751
751
|
* Gets or sets the disabled elevation to use for the button when the type is raised.
|
|
@@ -760,46 +760,46 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
760
760
|
* Gets or sets the hover color to use for the background of the button when the type is hovered.
|
|
761
761
|
*/
|
|
762
762
|
get hoverBackgroundColor() {
|
|
763
|
-
return brushToString(this.i.
|
|
763
|
+
return brushToString(this.i.qg);
|
|
764
764
|
}
|
|
765
765
|
set hoverBackgroundColor(v) {
|
|
766
|
-
this.i.
|
|
766
|
+
this.i.qg = stringToBrush(v);
|
|
767
767
|
}
|
|
768
768
|
/**
|
|
769
769
|
* Gets or sets the border color to use for the button regardless of type.
|
|
770
770
|
*/
|
|
771
771
|
get borderColor() {
|
|
772
|
-
return brushToString(this.i.
|
|
772
|
+
return brushToString(this.i.n2);
|
|
773
773
|
}
|
|
774
774
|
set borderColor(v) {
|
|
775
|
-
this.i.
|
|
775
|
+
this.i.n2 = stringToBrush(v);
|
|
776
776
|
}
|
|
777
777
|
/**
|
|
778
778
|
* Gets or sets the elevation to use for the button regardless of type.
|
|
779
779
|
*/
|
|
780
780
|
get restingElevation() {
|
|
781
|
-
return this.i.
|
|
781
|
+
return this.i.d6;
|
|
782
782
|
}
|
|
783
783
|
set restingElevation(v) {
|
|
784
|
-
this.i.
|
|
784
|
+
this.i.d6 = +v;
|
|
785
785
|
}
|
|
786
786
|
/**
|
|
787
787
|
* Gets or sets the hover elevation to use for the button regardless of type.
|
|
788
788
|
*/
|
|
789
789
|
get hoverElevation() {
|
|
790
|
-
return this.i.
|
|
790
|
+
return this.i.dt;
|
|
791
791
|
}
|
|
792
792
|
set hoverElevation(v) {
|
|
793
|
-
this.i.
|
|
793
|
+
this.i.dt = +v;
|
|
794
794
|
}
|
|
795
795
|
/**
|
|
796
796
|
* Gets or sets the focus elevation to use for the button regardless of type.
|
|
797
797
|
*/
|
|
798
798
|
get focusElevation() {
|
|
799
|
-
return this.i.
|
|
799
|
+
return this.i.ds;
|
|
800
800
|
}
|
|
801
801
|
set focusElevation(v) {
|
|
802
|
-
this.i.
|
|
802
|
+
this.i.ds = +v;
|
|
803
803
|
}
|
|
804
804
|
/**
|
|
805
805
|
* Gets or sets the use for the button.
|
|
@@ -819,775 +819,775 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
819
819
|
* Gets or sets the color to use for the text of the button regardless of type.
|
|
820
820
|
*/
|
|
821
821
|
get textColor() {
|
|
822
|
-
return brushToString(this.i.
|
|
822
|
+
return brushToString(this.i.rg);
|
|
823
823
|
}
|
|
824
824
|
set textColor(v) {
|
|
825
|
-
this.i.
|
|
825
|
+
this.i.rg = stringToBrush(v);
|
|
826
826
|
}
|
|
827
827
|
/**
|
|
828
828
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
829
829
|
*/
|
|
830
830
|
get hoverTextColor() {
|
|
831
|
-
return brushToString(this.i.
|
|
831
|
+
return brushToString(this.i.qh);
|
|
832
832
|
}
|
|
833
833
|
set hoverTextColor(v) {
|
|
834
|
-
this.i.
|
|
834
|
+
this.i.qh = stringToBrush(v);
|
|
835
835
|
}
|
|
836
836
|
/**
|
|
837
837
|
* Gets or sets the color to use for the background of the button regardless of type.
|
|
838
838
|
*/
|
|
839
839
|
get rippleColor() {
|
|
840
|
-
return brushToString(this.i.
|
|
840
|
+
return brushToString(this.i.rf);
|
|
841
841
|
}
|
|
842
842
|
set rippleColor(v) {
|
|
843
|
-
this.i.
|
|
843
|
+
this.i.rf = stringToBrush(v);
|
|
844
844
|
}
|
|
845
845
|
/**
|
|
846
846
|
* Gets or sets the color to use for the text of the button when type is raised.
|
|
847
847
|
*/
|
|
848
848
|
get raisedTextColor() {
|
|
849
|
-
return brushToString(this.i.
|
|
849
|
+
return brushToString(this.i.re);
|
|
850
850
|
}
|
|
851
851
|
set raisedTextColor(v) {
|
|
852
|
-
this.i.
|
|
852
|
+
this.i.re = stringToBrush(v);
|
|
853
853
|
}
|
|
854
854
|
/**
|
|
855
855
|
* Gets or sets the color to use for the hovered text of the button when type is raised.
|
|
856
856
|
*/
|
|
857
857
|
get raisedHoverTextColor() {
|
|
858
|
-
return brushToString(this.i.
|
|
858
|
+
return brushToString(this.i.rc);
|
|
859
859
|
}
|
|
860
860
|
set raisedHoverTextColor(v) {
|
|
861
|
-
this.i.
|
|
861
|
+
this.i.rc = stringToBrush(v);
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
864
864
|
* Gets or sets the color to use for the backround the button when it is focused and raised.
|
|
865
865
|
*/
|
|
866
866
|
get raisedFocusBackgroundColor() {
|
|
867
|
-
return brushToString(this.i.
|
|
867
|
+
return brushToString(this.i.q9);
|
|
868
868
|
}
|
|
869
869
|
set raisedFocusBackgroundColor(v) {
|
|
870
|
-
this.i.
|
|
870
|
+
this.i.q9 = stringToBrush(v);
|
|
871
871
|
}
|
|
872
872
|
/**
|
|
873
873
|
* Gets or sets the color to use for the text the button when it is focused and raised.
|
|
874
874
|
*/
|
|
875
875
|
get raisedFocusTextColor() {
|
|
876
|
-
return brushToString(this.i.
|
|
876
|
+
return brushToString(this.i.ra);
|
|
877
877
|
}
|
|
878
878
|
set raisedFocusTextColor(v) {
|
|
879
|
-
this.i.
|
|
879
|
+
this.i.ra = stringToBrush(v);
|
|
880
880
|
}
|
|
881
881
|
/**
|
|
882
882
|
* Gets or sets the color to use for the backround the button when it is focused.
|
|
883
883
|
*/
|
|
884
884
|
get focusBackgroundColor() {
|
|
885
|
-
return brushToString(this.i.
|
|
885
|
+
return brushToString(this.i.qe);
|
|
886
886
|
}
|
|
887
887
|
set focusBackgroundColor(v) {
|
|
888
|
-
this.i.
|
|
888
|
+
this.i.qe = stringToBrush(v);
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
891
|
* Gets or sets the color to use for the text of the button when it is focused.
|
|
892
892
|
*/
|
|
893
893
|
get focusTextColor() {
|
|
894
|
-
return brushToString(this.i.
|
|
894
|
+
return brushToString(this.i.qf);
|
|
895
895
|
}
|
|
896
896
|
set focusTextColor(v) {
|
|
897
|
-
this.i.
|
|
897
|
+
this.i.qf = stringToBrush(v);
|
|
898
898
|
}
|
|
899
899
|
/**
|
|
900
900
|
* Gets or sets the width to use for the button border regardless of type.
|
|
901
901
|
*/
|
|
902
902
|
get borderWidth() {
|
|
903
|
-
return this.i.
|
|
903
|
+
return this.i.bk;
|
|
904
904
|
}
|
|
905
905
|
set borderWidth(v) {
|
|
906
|
-
this.i.
|
|
906
|
+
this.i.bk = +v;
|
|
907
907
|
}
|
|
908
908
|
get cornerRadiusBottomRight() {
|
|
909
|
-
return this.i.
|
|
909
|
+
return this.i.k1 ? this.i.k1.c : NaN;
|
|
910
910
|
}
|
|
911
911
|
set cornerRadiusBottomRight(v) {
|
|
912
912
|
this.ensureCornerRadius();
|
|
913
|
-
this.i.
|
|
914
|
-
this.i.
|
|
913
|
+
this.i.k1.c = +v;
|
|
914
|
+
this.i.k1 = this.i.k1;
|
|
915
915
|
}
|
|
916
916
|
get cornerRadiusBottomLeft() {
|
|
917
|
-
return this.i.
|
|
917
|
+
return this.i.k1 ? this.i.k1.b : NaN;
|
|
918
918
|
}
|
|
919
919
|
set cornerRadiusBottomLeft(v) {
|
|
920
920
|
this.ensureCornerRadius();
|
|
921
|
-
this.i.
|
|
922
|
-
this.i.
|
|
921
|
+
this.i.k1.b = +v;
|
|
922
|
+
this.i.k1 = this.i.k1;
|
|
923
923
|
}
|
|
924
924
|
get cornerRadiusTopLeft() {
|
|
925
|
-
return this.i.
|
|
925
|
+
return this.i.k1 ? this.i.k1.d : NaN;
|
|
926
926
|
}
|
|
927
927
|
set cornerRadiusTopLeft(v) {
|
|
928
928
|
this.ensureCornerRadius();
|
|
929
|
-
this.i.
|
|
930
|
-
this.i.
|
|
929
|
+
this.i.k1.d = +v;
|
|
930
|
+
this.i.k1 = this.i.k1;
|
|
931
931
|
}
|
|
932
932
|
get cornerRadiusTopRight() {
|
|
933
|
-
return this.i.
|
|
933
|
+
return this.i.k1 ? this.i.k1.e : NaN;
|
|
934
934
|
}
|
|
935
935
|
set cornerRadiusTopRight(v) {
|
|
936
936
|
this.ensureCornerRadius();
|
|
937
|
-
this.i.
|
|
938
|
-
this.i.
|
|
937
|
+
this.i.k1.e = +v;
|
|
938
|
+
this.i.k1 = this.i.k1;
|
|
939
939
|
}
|
|
940
940
|
ensureCornerRadius() {
|
|
941
|
-
if (this.i.
|
|
941
|
+
if (this.i.k1) {
|
|
942
942
|
return;
|
|
943
943
|
}
|
|
944
|
-
this.i.
|
|
944
|
+
this.i.k1 = new CornerRadius(2);
|
|
945
945
|
}
|
|
946
946
|
/**
|
|
947
947
|
* Gets or sets the color to use for the background of the button when the type is outlined.
|
|
948
948
|
*/
|
|
949
949
|
get outlinedBackgroundColor() {
|
|
950
|
-
return brushToString(this.i.
|
|
950
|
+
return brushToString(this.i.qt);
|
|
951
951
|
}
|
|
952
952
|
set outlinedBackgroundColor(v) {
|
|
953
|
-
this.i.
|
|
953
|
+
this.i.qt = stringToBrush(v);
|
|
954
954
|
}
|
|
955
955
|
/**
|
|
956
956
|
* Gets or sets the color to use for the disabled background of the button when the type is outlined.
|
|
957
957
|
*/
|
|
958
958
|
get outlinedDisabledBackgroundColor() {
|
|
959
|
-
return brushToString(this.i.
|
|
959
|
+
return brushToString(this.i.qv);
|
|
960
960
|
}
|
|
961
961
|
set outlinedDisabledBackgroundColor(v) {
|
|
962
|
-
this.i.
|
|
962
|
+
this.i.qv = stringToBrush(v);
|
|
963
963
|
}
|
|
964
964
|
/**
|
|
965
965
|
* Gets or sets the color to use for the disabled border of the button when the type is outlined.
|
|
966
966
|
*/
|
|
967
967
|
get outlinedDisabledBorderColor() {
|
|
968
|
-
return brushToString(this.i.
|
|
968
|
+
return brushToString(this.i.qw);
|
|
969
969
|
}
|
|
970
970
|
set outlinedDisabledBorderColor(v) {
|
|
971
|
-
this.i.
|
|
971
|
+
this.i.qw = stringToBrush(v);
|
|
972
972
|
}
|
|
973
973
|
/**
|
|
974
974
|
* Gets or sets the color to use for the disabled text of the button when the type is outlined.
|
|
975
975
|
*/
|
|
976
976
|
get outlinedDisabledTextColor() {
|
|
977
|
-
return brushToString(this.i.
|
|
977
|
+
return brushToString(this.i.qx);
|
|
978
978
|
}
|
|
979
979
|
set outlinedDisabledTextColor(v) {
|
|
980
|
-
this.i.
|
|
980
|
+
this.i.qx = stringToBrush(v);
|
|
981
981
|
}
|
|
982
982
|
/**
|
|
983
983
|
* Gets or sets the disabled elevation to use for the button when the type is outlined.
|
|
984
984
|
*/
|
|
985
985
|
get outlinedDisabledElevation() {
|
|
986
|
-
return this.i.
|
|
986
|
+
return this.i.dy;
|
|
987
987
|
}
|
|
988
988
|
set outlinedDisabledElevation(v) {
|
|
989
|
-
this.i.
|
|
989
|
+
this.i.dy = +v;
|
|
990
990
|
}
|
|
991
991
|
/**
|
|
992
992
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
|
|
993
993
|
*/
|
|
994
994
|
get outlinedHoverBackgroundColor() {
|
|
995
|
-
return brushToString(this.i.
|
|
995
|
+
return brushToString(this.i.q0);
|
|
996
996
|
}
|
|
997
997
|
set outlinedHoverBackgroundColor(v) {
|
|
998
|
-
this.i.
|
|
998
|
+
this.i.q0 = stringToBrush(v);
|
|
999
999
|
}
|
|
1000
1000
|
/**
|
|
1001
1001
|
* Gets or sets the border color to use for the button when the type is outlined.
|
|
1002
1002
|
*/
|
|
1003
1003
|
get outlinedBorderColor() {
|
|
1004
|
-
return brushToString(this.i.
|
|
1004
|
+
return brushToString(this.i.qu);
|
|
1005
1005
|
}
|
|
1006
1006
|
set outlinedBorderColor(v) {
|
|
1007
|
-
this.i.
|
|
1007
|
+
this.i.qu = stringToBrush(v);
|
|
1008
1008
|
}
|
|
1009
1009
|
/**
|
|
1010
1010
|
* Gets or sets the elevation to use for the button when the type is outlined.
|
|
1011
1011
|
*/
|
|
1012
1012
|
get outlinedRestingElevation() {
|
|
1013
|
-
return this.i.
|
|
1013
|
+
return this.i.d1;
|
|
1014
1014
|
}
|
|
1015
1015
|
set outlinedRestingElevation(v) {
|
|
1016
|
-
this.i.
|
|
1016
|
+
this.i.d1 = +v;
|
|
1017
1017
|
}
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Gets or sets the hover elevation to use for the button when the type is outlined.
|
|
1020
1020
|
*/
|
|
1021
1021
|
get outlinedHoverElevation() {
|
|
1022
|
-
return this.i.
|
|
1022
|
+
return this.i.d0;
|
|
1023
1023
|
}
|
|
1024
1024
|
set outlinedHoverElevation(v) {
|
|
1025
|
-
this.i.
|
|
1025
|
+
this.i.d0 = +v;
|
|
1026
1026
|
}
|
|
1027
1027
|
/**
|
|
1028
1028
|
* Gets or sets the focus elevation to use for the button when the type is outlined.
|
|
1029
1029
|
*/
|
|
1030
1030
|
get outlinedFocusElevation() {
|
|
1031
|
-
return this.i.
|
|
1031
|
+
return this.i.dz;
|
|
1032
1032
|
}
|
|
1033
1033
|
set outlinedFocusElevation(v) {
|
|
1034
|
-
this.i.
|
|
1034
|
+
this.i.dz = +v;
|
|
1035
1035
|
}
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Gets or sets the width to use for the button border when the type is outlined.
|
|
1038
1038
|
*/
|
|
1039
1039
|
get outlinedBorderWidth() {
|
|
1040
|
-
return this.i.
|
|
1040
|
+
return this.i.bz;
|
|
1041
1041
|
}
|
|
1042
1042
|
set outlinedBorderWidth(v) {
|
|
1043
|
-
this.i.
|
|
1043
|
+
this.i.bz = +v;
|
|
1044
1044
|
}
|
|
1045
1045
|
get outlinedCornerRadiusBottomRight() {
|
|
1046
|
-
return this.i.
|
|
1046
|
+
return this.i.lb ? this.i.lb.c : NaN;
|
|
1047
1047
|
}
|
|
1048
1048
|
set outlinedCornerRadiusBottomRight(v) {
|
|
1049
1049
|
this.ensureOutlinedCornerRadius();
|
|
1050
|
-
this.i.
|
|
1051
|
-
this.i.
|
|
1050
|
+
this.i.lb.c = +v;
|
|
1051
|
+
this.i.lb = this.i.lb;
|
|
1052
1052
|
}
|
|
1053
1053
|
get outlinedCornerRadiusBottomLeft() {
|
|
1054
|
-
return this.i.
|
|
1054
|
+
return this.i.lb ? this.i.lb.b : NaN;
|
|
1055
1055
|
}
|
|
1056
1056
|
set outlinedCornerRadiusBottomLeft(v) {
|
|
1057
1057
|
this.ensureOutlinedCornerRadius();
|
|
1058
|
-
this.i.
|
|
1059
|
-
this.i.
|
|
1058
|
+
this.i.lb.b = +v;
|
|
1059
|
+
this.i.lb = this.i.lb;
|
|
1060
1060
|
}
|
|
1061
1061
|
get outlinedCornerRadiusTopLeft() {
|
|
1062
|
-
return this.i.
|
|
1062
|
+
return this.i.lb ? this.i.lb.d : NaN;
|
|
1063
1063
|
}
|
|
1064
1064
|
set outlinedCornerRadiusTopLeft(v) {
|
|
1065
1065
|
this.ensureOutlinedCornerRadius();
|
|
1066
|
-
this.i.
|
|
1067
|
-
this.i.
|
|
1066
|
+
this.i.lb.d = +v;
|
|
1067
|
+
this.i.lb = this.i.lb;
|
|
1068
1068
|
}
|
|
1069
1069
|
get outlinedCornerRadiusTopRight() {
|
|
1070
|
-
return this.i.
|
|
1070
|
+
return this.i.lb ? this.i.lb.e : NaN;
|
|
1071
1071
|
}
|
|
1072
1072
|
set outlinedCornerRadiusTopRight(v) {
|
|
1073
1073
|
this.ensureOutlinedCornerRadius();
|
|
1074
|
-
this.i.
|
|
1075
|
-
this.i.
|
|
1074
|
+
this.i.lb.e = +v;
|
|
1075
|
+
this.i.lb = this.i.lb;
|
|
1076
1076
|
}
|
|
1077
1077
|
ensureOutlinedCornerRadius() {
|
|
1078
|
-
if (this.i.
|
|
1078
|
+
if (this.i.lb) {
|
|
1079
1079
|
return;
|
|
1080
1080
|
}
|
|
1081
|
-
this.i.
|
|
1081
|
+
this.i.lb = new CornerRadius(2);
|
|
1082
1082
|
}
|
|
1083
1083
|
/**
|
|
1084
1084
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1085
1085
|
*/
|
|
1086
1086
|
get outlinedRippleColor() {
|
|
1087
|
-
return brushToString(this.i.
|
|
1087
|
+
return brushToString(this.i.q2);
|
|
1088
1088
|
}
|
|
1089
1089
|
set outlinedRippleColor(v) {
|
|
1090
|
-
this.i.
|
|
1090
|
+
this.i.q2 = stringToBrush(v);
|
|
1091
1091
|
}
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Gets or sets the color to use for the text of the button when type is outlined.
|
|
1094
1094
|
*/
|
|
1095
1095
|
get outlinedTextColor() {
|
|
1096
|
-
return brushToString(this.i.
|
|
1096
|
+
return brushToString(this.i.q3);
|
|
1097
1097
|
}
|
|
1098
1098
|
set outlinedTextColor(v) {
|
|
1099
|
-
this.i.
|
|
1099
|
+
this.i.q3 = stringToBrush(v);
|
|
1100
1100
|
}
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Gets or sets the color to use for the hovered text of the button when type is outlined.
|
|
1103
1103
|
*/
|
|
1104
1104
|
get outlinedHoverTextColor() {
|
|
1105
|
-
return brushToString(this.i.
|
|
1105
|
+
return brushToString(this.i.q1);
|
|
1106
1106
|
}
|
|
1107
1107
|
set outlinedHoverTextColor(v) {
|
|
1108
|
-
this.i.
|
|
1108
|
+
this.i.q1 = stringToBrush(v);
|
|
1109
1109
|
}
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Gets or sets the color to use for the backround the button when it is focused and outlined.
|
|
1112
1112
|
*/
|
|
1113
1113
|
get outlinedFocusBackgroundColor() {
|
|
1114
|
-
return brushToString(this.i.
|
|
1114
|
+
return brushToString(this.i.qy);
|
|
1115
1115
|
}
|
|
1116
1116
|
set outlinedFocusBackgroundColor(v) {
|
|
1117
|
-
this.i.
|
|
1117
|
+
this.i.qy = stringToBrush(v);
|
|
1118
1118
|
}
|
|
1119
1119
|
/**
|
|
1120
1120
|
* Gets or sets the color to use for the text the button when it is focused and outlined.
|
|
1121
1121
|
*/
|
|
1122
1122
|
get outlinedFocusTextColor() {
|
|
1123
|
-
return brushToString(this.i.
|
|
1123
|
+
return brushToString(this.i.qz);
|
|
1124
1124
|
}
|
|
1125
1125
|
set outlinedFocusTextColor(v) {
|
|
1126
|
-
this.i.
|
|
1126
|
+
this.i.qz = stringToBrush(v);
|
|
1127
1127
|
}
|
|
1128
1128
|
/**
|
|
1129
1129
|
* Gets or sets the color to use for the background of the button when the type is floating action button.
|
|
1130
1130
|
*/
|
|
1131
1131
|
get fabBackgroundColor() {
|
|
1132
|
-
return brushToString(this.i.
|
|
1132
|
+
return brushToString(this.i.ps);
|
|
1133
1133
|
}
|
|
1134
1134
|
set fabBackgroundColor(v) {
|
|
1135
|
-
this.i.
|
|
1135
|
+
this.i.ps = stringToBrush(v);
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
1138
|
* Gets or sets the color to use for the disabled background of the button when the type is fab.
|
|
1139
1139
|
*/
|
|
1140
1140
|
get fabDisabledBackgroundColor() {
|
|
1141
|
-
return brushToString(this.i.
|
|
1141
|
+
return brushToString(this.i.pu);
|
|
1142
1142
|
}
|
|
1143
1143
|
set fabDisabledBackgroundColor(v) {
|
|
1144
|
-
this.i.
|
|
1144
|
+
this.i.pu = stringToBrush(v);
|
|
1145
1145
|
}
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Gets or sets the color to use for the disabled border of the button when the type is fab.
|
|
1148
1148
|
*/
|
|
1149
1149
|
get fabDisabledBorderColor() {
|
|
1150
|
-
return brushToString(this.i.
|
|
1150
|
+
return brushToString(this.i.pv);
|
|
1151
1151
|
}
|
|
1152
1152
|
set fabDisabledBorderColor(v) {
|
|
1153
|
-
this.i.
|
|
1153
|
+
this.i.pv = stringToBrush(v);
|
|
1154
1154
|
}
|
|
1155
1155
|
/**
|
|
1156
1156
|
* Gets or sets the color to use for the disabled text of the button when the type is fab.
|
|
1157
1157
|
*/
|
|
1158
1158
|
get fabDisabledTextColor() {
|
|
1159
|
-
return brushToString(this.i.
|
|
1159
|
+
return brushToString(this.i.pw);
|
|
1160
1160
|
}
|
|
1161
1161
|
set fabDisabledTextColor(v) {
|
|
1162
|
-
this.i.
|
|
1162
|
+
this.i.pw = stringToBrush(v);
|
|
1163
1163
|
}
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Gets or sets the disabled elevation to use for the button when the type is fab.
|
|
1166
1166
|
*/
|
|
1167
1167
|
get fabDisabledElevation() {
|
|
1168
|
-
return this.i.
|
|
1168
|
+
return this.i.dj;
|
|
1169
1169
|
}
|
|
1170
1170
|
set fabDisabledElevation(v) {
|
|
1171
|
-
this.i.
|
|
1171
|
+
this.i.dj = +v;
|
|
1172
1172
|
}
|
|
1173
1173
|
/**
|
|
1174
1174
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
|
|
1175
1175
|
*/
|
|
1176
1176
|
get fabHoverBackgroundColor() {
|
|
1177
|
-
return brushToString(this.i.
|
|
1177
|
+
return brushToString(this.i.pz);
|
|
1178
1178
|
}
|
|
1179
1179
|
set fabHoverBackgroundColor(v) {
|
|
1180
|
-
this.i.
|
|
1180
|
+
this.i.pz = stringToBrush(v);
|
|
1181
1181
|
}
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Gets or sets the border color to use for the button when the type is floating action button.
|
|
1184
1184
|
*/
|
|
1185
1185
|
get fabBorderColor() {
|
|
1186
|
-
return brushToString(this.i.
|
|
1186
|
+
return brushToString(this.i.pt);
|
|
1187
1187
|
}
|
|
1188
1188
|
set fabBorderColor(v) {
|
|
1189
|
-
this.i.
|
|
1189
|
+
this.i.pt = stringToBrush(v);
|
|
1190
1190
|
}
|
|
1191
1191
|
/**
|
|
1192
1192
|
* Gets or sets the elevation to use for the button when the type is floating action button.
|
|
1193
1193
|
*/
|
|
1194
1194
|
get fabRestingElevation() {
|
|
1195
|
-
return this.i.
|
|
1195
|
+
return this.i.dm;
|
|
1196
1196
|
}
|
|
1197
1197
|
set fabRestingElevation(v) {
|
|
1198
|
-
this.i.
|
|
1198
|
+
this.i.dm = +v;
|
|
1199
1199
|
}
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Gets or sets the hover elevation to use for the button when the type is floating action button.
|
|
1202
1202
|
*/
|
|
1203
1203
|
get fabHoverElevation() {
|
|
1204
|
-
return this.i.
|
|
1204
|
+
return this.i.dl;
|
|
1205
1205
|
}
|
|
1206
1206
|
set fabHoverElevation(v) {
|
|
1207
|
-
this.i.
|
|
1207
|
+
this.i.dl = +v;
|
|
1208
1208
|
}
|
|
1209
1209
|
/**
|
|
1210
1210
|
* Gets or sets the focus elevation to use for the button when the type is floating action button.
|
|
1211
1211
|
*/
|
|
1212
1212
|
get fabFocusElevation() {
|
|
1213
|
-
return this.i.
|
|
1213
|
+
return this.i.dk;
|
|
1214
1214
|
}
|
|
1215
1215
|
set fabFocusElevation(v) {
|
|
1216
|
-
this.i.
|
|
1216
|
+
this.i.dk = +v;
|
|
1217
1217
|
}
|
|
1218
1218
|
/**
|
|
1219
1219
|
* Gets or sets the width to use for the button border when the type is floating action button.
|
|
1220
1220
|
*/
|
|
1221
1221
|
get fabBorderWidth() {
|
|
1222
|
-
return this.i.
|
|
1222
|
+
return this.i.bu;
|
|
1223
1223
|
}
|
|
1224
1224
|
set fabBorderWidth(v) {
|
|
1225
|
-
this.i.
|
|
1225
|
+
this.i.bu = +v;
|
|
1226
1226
|
}
|
|
1227
1227
|
get fabCornerRadiusBottomRight() {
|
|
1228
|
-
return this.i.
|
|
1228
|
+
return this.i.k7 ? this.i.k7.c : NaN;
|
|
1229
1229
|
}
|
|
1230
1230
|
set fabCornerRadiusBottomRight(v) {
|
|
1231
1231
|
this.ensureFabCornerRadius();
|
|
1232
|
-
this.i.
|
|
1233
|
-
this.i.
|
|
1232
|
+
this.i.k7.c = +v;
|
|
1233
|
+
this.i.k7 = this.i.k7;
|
|
1234
1234
|
}
|
|
1235
1235
|
get fabCornerRadiusBottomLeft() {
|
|
1236
|
-
return this.i.
|
|
1236
|
+
return this.i.k7 ? this.i.k7.b : NaN;
|
|
1237
1237
|
}
|
|
1238
1238
|
set fabCornerRadiusBottomLeft(v) {
|
|
1239
1239
|
this.ensureFabCornerRadius();
|
|
1240
|
-
this.i.
|
|
1241
|
-
this.i.
|
|
1240
|
+
this.i.k7.b = +v;
|
|
1241
|
+
this.i.k7 = this.i.k7;
|
|
1242
1242
|
}
|
|
1243
1243
|
get fabCornerRadiusTopLeft() {
|
|
1244
|
-
return this.i.
|
|
1244
|
+
return this.i.k7 ? this.i.k7.d : NaN;
|
|
1245
1245
|
}
|
|
1246
1246
|
set fabCornerRadiusTopLeft(v) {
|
|
1247
1247
|
this.ensureFabCornerRadius();
|
|
1248
|
-
this.i.
|
|
1249
|
-
this.i.
|
|
1248
|
+
this.i.k7.d = +v;
|
|
1249
|
+
this.i.k7 = this.i.k7;
|
|
1250
1250
|
}
|
|
1251
1251
|
get fabCornerRadiusTopRight() {
|
|
1252
|
-
return this.i.
|
|
1252
|
+
return this.i.k7 ? this.i.k7.e : NaN;
|
|
1253
1253
|
}
|
|
1254
1254
|
set fabCornerRadiusTopRight(v) {
|
|
1255
1255
|
this.ensureFabCornerRadius();
|
|
1256
|
-
this.i.
|
|
1257
|
-
this.i.
|
|
1256
|
+
this.i.k7.e = +v;
|
|
1257
|
+
this.i.k7 = this.i.k7;
|
|
1258
1258
|
}
|
|
1259
1259
|
ensureFabCornerRadius() {
|
|
1260
|
-
if (this.i.
|
|
1260
|
+
if (this.i.k7) {
|
|
1261
1261
|
return;
|
|
1262
1262
|
}
|
|
1263
|
-
this.i.
|
|
1263
|
+
this.i.k7 = new CornerRadius(2);
|
|
1264
1264
|
}
|
|
1265
1265
|
/**
|
|
1266
1266
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1267
1267
|
*/
|
|
1268
1268
|
get fabRippleColor() {
|
|
1269
|
-
return brushToString(this.i.
|
|
1269
|
+
return brushToString(this.i.p1);
|
|
1270
1270
|
}
|
|
1271
1271
|
set fabRippleColor(v) {
|
|
1272
|
-
this.i.
|
|
1272
|
+
this.i.p1 = stringToBrush(v);
|
|
1273
1273
|
}
|
|
1274
1274
|
/**
|
|
1275
1275
|
* Gets or sets the color to use for the text of the button when type is floating action button.
|
|
1276
1276
|
*/
|
|
1277
1277
|
get fabTextColor() {
|
|
1278
|
-
return brushToString(this.i.
|
|
1278
|
+
return brushToString(this.i.p2);
|
|
1279
1279
|
}
|
|
1280
1280
|
set fabTextColor(v) {
|
|
1281
|
-
this.i.
|
|
1281
|
+
this.i.p2 = stringToBrush(v);
|
|
1282
1282
|
}
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Gets or sets the color to use for the hovered text of the button when type is floating action button.
|
|
1285
1285
|
*/
|
|
1286
1286
|
get fabHoverTextColor() {
|
|
1287
|
-
return brushToString(this.i.
|
|
1287
|
+
return brushToString(this.i.p0);
|
|
1288
1288
|
}
|
|
1289
1289
|
set fabHoverTextColor(v) {
|
|
1290
|
-
this.i.
|
|
1290
|
+
this.i.p0 = stringToBrush(v);
|
|
1291
1291
|
}
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Gets or sets the color to use for the backround the button when it is focused and fab.
|
|
1294
1294
|
*/
|
|
1295
1295
|
get fabFocusBackgroundColor() {
|
|
1296
|
-
return brushToString(this.i.
|
|
1296
|
+
return brushToString(this.i.px);
|
|
1297
1297
|
}
|
|
1298
1298
|
set fabFocusBackgroundColor(v) {
|
|
1299
|
-
this.i.
|
|
1299
|
+
this.i.px = stringToBrush(v);
|
|
1300
1300
|
}
|
|
1301
1301
|
/**
|
|
1302
1302
|
* Gets or sets the color to use for the text the button when it is focused and fab.
|
|
1303
1303
|
*/
|
|
1304
1304
|
get fabFocusTextColor() {
|
|
1305
|
-
return brushToString(this.i.
|
|
1305
|
+
return brushToString(this.i.py);
|
|
1306
1306
|
}
|
|
1307
1307
|
set fabFocusTextColor(v) {
|
|
1308
|
-
this.i.
|
|
1308
|
+
this.i.py = stringToBrush(v);
|
|
1309
1309
|
}
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Gets or sets the color to use for the background of the button when the type is icon.
|
|
1312
1312
|
*/
|
|
1313
1313
|
get iconBackgroundColor() {
|
|
1314
|
-
return brushToString(this.i.
|
|
1314
|
+
return brushToString(this.i.qi);
|
|
1315
1315
|
}
|
|
1316
1316
|
set iconBackgroundColor(v) {
|
|
1317
|
-
this.i.
|
|
1317
|
+
this.i.qi = stringToBrush(v);
|
|
1318
1318
|
}
|
|
1319
1319
|
/**
|
|
1320
1320
|
* Gets or sets the color to use for the disabled background of the button when the type is icon.
|
|
1321
1321
|
*/
|
|
1322
1322
|
get iconDisabledBackgroundColor() {
|
|
1323
|
-
return brushToString(this.i.
|
|
1323
|
+
return brushToString(this.i.qk);
|
|
1324
1324
|
}
|
|
1325
1325
|
set iconDisabledBackgroundColor(v) {
|
|
1326
|
-
this.i.
|
|
1326
|
+
this.i.qk = stringToBrush(v);
|
|
1327
1327
|
}
|
|
1328
1328
|
/**
|
|
1329
1329
|
* Gets or sets the color to use for the disabled border of the button when the type is icon.
|
|
1330
1330
|
*/
|
|
1331
1331
|
get iconDisabledBorderColor() {
|
|
1332
|
-
return brushToString(this.i.
|
|
1332
|
+
return brushToString(this.i.ql);
|
|
1333
1333
|
}
|
|
1334
1334
|
set iconDisabledBorderColor(v) {
|
|
1335
|
-
this.i.
|
|
1335
|
+
this.i.ql = stringToBrush(v);
|
|
1336
1336
|
}
|
|
1337
1337
|
/**
|
|
1338
1338
|
* Gets or sets the color to use for the disabled text of the button when the type is icon.
|
|
1339
1339
|
*/
|
|
1340
1340
|
get iconDisabledTextColor() {
|
|
1341
|
-
return brushToString(this.i.
|
|
1341
|
+
return brushToString(this.i.qm);
|
|
1342
1342
|
}
|
|
1343
1343
|
set iconDisabledTextColor(v) {
|
|
1344
|
-
this.i.
|
|
1344
|
+
this.i.qm = stringToBrush(v);
|
|
1345
1345
|
}
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Gets or sets the disabled elevation to use for the button when the type is icon.
|
|
1348
1348
|
*/
|
|
1349
1349
|
get iconDisabledElevation() {
|
|
1350
|
-
return this.i.
|
|
1350
|
+
return this.i.du;
|
|
1351
1351
|
}
|
|
1352
1352
|
set iconDisabledElevation(v) {
|
|
1353
|
-
this.i.
|
|
1353
|
+
this.i.du = +v;
|
|
1354
1354
|
}
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
|
|
1357
1357
|
*/
|
|
1358
1358
|
get iconHoverBackgroundColor() {
|
|
1359
|
-
return brushToString(this.i.
|
|
1359
|
+
return brushToString(this.i.qp);
|
|
1360
1360
|
}
|
|
1361
1361
|
set iconHoverBackgroundColor(v) {
|
|
1362
|
-
this.i.
|
|
1362
|
+
this.i.qp = stringToBrush(v);
|
|
1363
1363
|
}
|
|
1364
1364
|
/**
|
|
1365
1365
|
* Gets or sets the border color to use for the button when the type is icon.
|
|
1366
1366
|
*/
|
|
1367
1367
|
get iconBorderColor() {
|
|
1368
|
-
return brushToString(this.i.
|
|
1368
|
+
return brushToString(this.i.qj);
|
|
1369
1369
|
}
|
|
1370
1370
|
set iconBorderColor(v) {
|
|
1371
|
-
this.i.
|
|
1371
|
+
this.i.qj = stringToBrush(v);
|
|
1372
1372
|
}
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Gets or sets the elevation to use for the button when the type is icon.
|
|
1375
1375
|
*/
|
|
1376
1376
|
get iconRestingElevation() {
|
|
1377
|
-
return this.i.
|
|
1377
|
+
return this.i.dx;
|
|
1378
1378
|
}
|
|
1379
1379
|
set iconRestingElevation(v) {
|
|
1380
|
-
this.i.
|
|
1380
|
+
this.i.dx = +v;
|
|
1381
1381
|
}
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Gets or sets the hover elevation to use for the button when the type is icon.
|
|
1384
1384
|
*/
|
|
1385
1385
|
get iconHoverElevation() {
|
|
1386
|
-
return this.i.
|
|
1386
|
+
return this.i.dw;
|
|
1387
1387
|
}
|
|
1388
1388
|
set iconHoverElevation(v) {
|
|
1389
|
-
this.i.
|
|
1389
|
+
this.i.dw = +v;
|
|
1390
1390
|
}
|
|
1391
1391
|
/**
|
|
1392
1392
|
* Gets or sets the focus elevation to use for the button when the type is icon.
|
|
1393
1393
|
*/
|
|
1394
1394
|
get iconFocusElevation() {
|
|
1395
|
-
return this.i.
|
|
1395
|
+
return this.i.dv;
|
|
1396
1396
|
}
|
|
1397
1397
|
set iconFocusElevation(v) {
|
|
1398
|
-
this.i.
|
|
1398
|
+
this.i.dv = +v;
|
|
1399
1399
|
}
|
|
1400
1400
|
/**
|
|
1401
1401
|
* Gets or sets the width to use for the button border when the type is icon.
|
|
1402
1402
|
*/
|
|
1403
1403
|
get iconBorderWidth() {
|
|
1404
|
-
return this.i.
|
|
1404
|
+
return this.i.bw;
|
|
1405
1405
|
}
|
|
1406
1406
|
set iconBorderWidth(v) {
|
|
1407
|
-
this.i.
|
|
1407
|
+
this.i.bw = +v;
|
|
1408
1408
|
}
|
|
1409
1409
|
get iconCornerRadiusBottomRight() {
|
|
1410
|
-
return this.i.
|
|
1410
|
+
return this.i.la ? this.i.la.c : NaN;
|
|
1411
1411
|
}
|
|
1412
1412
|
set iconCornerRadiusBottomRight(v) {
|
|
1413
1413
|
this.ensureIconCornerRadius();
|
|
1414
|
-
this.i.
|
|
1415
|
-
this.i.
|
|
1414
|
+
this.i.la.c = +v;
|
|
1415
|
+
this.i.la = this.i.la;
|
|
1416
1416
|
}
|
|
1417
1417
|
get iconCornerRadiusBottomLeft() {
|
|
1418
|
-
return this.i.
|
|
1418
|
+
return this.i.la ? this.i.la.b : NaN;
|
|
1419
1419
|
}
|
|
1420
1420
|
set iconCornerRadiusBottomLeft(v) {
|
|
1421
1421
|
this.ensureIconCornerRadius();
|
|
1422
|
-
this.i.
|
|
1423
|
-
this.i.
|
|
1422
|
+
this.i.la.b = +v;
|
|
1423
|
+
this.i.la = this.i.la;
|
|
1424
1424
|
}
|
|
1425
1425
|
get iconCornerRadiusTopLeft() {
|
|
1426
|
-
return this.i.
|
|
1426
|
+
return this.i.la ? this.i.la.d : NaN;
|
|
1427
1427
|
}
|
|
1428
1428
|
set iconCornerRadiusTopLeft(v) {
|
|
1429
1429
|
this.ensureIconCornerRadius();
|
|
1430
|
-
this.i.
|
|
1431
|
-
this.i.
|
|
1430
|
+
this.i.la.d = +v;
|
|
1431
|
+
this.i.la = this.i.la;
|
|
1432
1432
|
}
|
|
1433
1433
|
get iconCornerRadiusTopRight() {
|
|
1434
|
-
return this.i.
|
|
1434
|
+
return this.i.la ? this.i.la.e : NaN;
|
|
1435
1435
|
}
|
|
1436
1436
|
set iconCornerRadiusTopRight(v) {
|
|
1437
1437
|
this.ensureIconCornerRadius();
|
|
1438
|
-
this.i.
|
|
1439
|
-
this.i.
|
|
1438
|
+
this.i.la.e = +v;
|
|
1439
|
+
this.i.la = this.i.la;
|
|
1440
1440
|
}
|
|
1441
1441
|
ensureIconCornerRadius() {
|
|
1442
|
-
if (this.i.
|
|
1442
|
+
if (this.i.la) {
|
|
1443
1443
|
return;
|
|
1444
1444
|
}
|
|
1445
|
-
this.i.
|
|
1445
|
+
this.i.la = new CornerRadius(2);
|
|
1446
1446
|
}
|
|
1447
1447
|
/**
|
|
1448
1448
|
* Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
|
|
1449
1449
|
*/
|
|
1450
1450
|
get iconRippleColor() {
|
|
1451
|
-
return brushToString(this.i.
|
|
1451
|
+
return brushToString(this.i.qr);
|
|
1452
1452
|
}
|
|
1453
1453
|
set iconRippleColor(v) {
|
|
1454
|
-
this.i.
|
|
1454
|
+
this.i.qr = stringToBrush(v);
|
|
1455
1455
|
}
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Gets or sets the color to use for the text of the button when type is icon.
|
|
1458
1458
|
*/
|
|
1459
1459
|
get iconTextColor() {
|
|
1460
|
-
return brushToString(this.i.
|
|
1460
|
+
return brushToString(this.i.qs);
|
|
1461
1461
|
}
|
|
1462
1462
|
set iconTextColor(v) {
|
|
1463
|
-
this.i.
|
|
1463
|
+
this.i.qs = stringToBrush(v);
|
|
1464
1464
|
}
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Gets or sets the color to use for the hovered text of the button when type is icon.
|
|
1467
1467
|
*/
|
|
1468
1468
|
get iconHoverTextColor() {
|
|
1469
|
-
return brushToString(this.i.
|
|
1469
|
+
return brushToString(this.i.qq);
|
|
1470
1470
|
}
|
|
1471
1471
|
set iconHoverTextColor(v) {
|
|
1472
|
-
this.i.
|
|
1472
|
+
this.i.qq = stringToBrush(v);
|
|
1473
1473
|
}
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Gets or sets the color to use for the backround the button when it is focused and icon.
|
|
1476
1476
|
*/
|
|
1477
1477
|
get iconFocusBackgroundColor() {
|
|
1478
|
-
return brushToString(this.i.
|
|
1478
|
+
return brushToString(this.i.qn);
|
|
1479
1479
|
}
|
|
1480
1480
|
set iconFocusBackgroundColor(v) {
|
|
1481
|
-
this.i.
|
|
1481
|
+
this.i.qn = stringToBrush(v);
|
|
1482
1482
|
}
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Gets or sets the color to use for the text the button when it is focused and icon.
|
|
1485
1485
|
*/
|
|
1486
1486
|
get iconFocusTextColor() {
|
|
1487
|
-
return brushToString(this.i.
|
|
1487
|
+
return brushToString(this.i.qo);
|
|
1488
1488
|
}
|
|
1489
1489
|
set iconFocusTextColor(v) {
|
|
1490
|
-
this.i.
|
|
1490
|
+
this.i.qo = stringToBrush(v);
|
|
1491
1491
|
}
|
|
1492
1492
|
/**
|
|
1493
1493
|
* Gets or sets the id to use for the internal native checkbox.
|
|
1494
1494
|
*/
|
|
1495
1495
|
get inputId() {
|
|
1496
|
-
return this.i.
|
|
1496
|
+
return this.i.hy;
|
|
1497
1497
|
}
|
|
1498
1498
|
set inputId(v) {
|
|
1499
|
-
this.i.
|
|
1499
|
+
this.i.hy = v;
|
|
1500
1500
|
}
|
|
1501
1501
|
/**
|
|
1502
1502
|
* Gets or sets the id to use for the checkbox.
|
|
1503
1503
|
*/
|
|
1504
1504
|
get id() {
|
|
1505
|
-
return this.i.
|
|
1505
|
+
return this.i.hw;
|
|
1506
1506
|
}
|
|
1507
1507
|
set id(v) {
|
|
1508
|
-
this.i.
|
|
1508
|
+
this.i.hw = v;
|
|
1509
1509
|
}
|
|
1510
1510
|
/**
|
|
1511
1511
|
* Gets or sets the id to use for the checkbox.
|
|
1512
1512
|
*/
|
|
1513
1513
|
get display() {
|
|
1514
|
-
return this.i.
|
|
1514
|
+
return this.i.f0;
|
|
1515
1515
|
}
|
|
1516
1516
|
set display(v) {
|
|
1517
|
-
this.i.
|
|
1517
|
+
this.i.f0 = v;
|
|
1518
1518
|
}
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Gets or sets the id to use for the checkbox.
|
|
1521
1521
|
*/
|
|
1522
1522
|
get flexDirection() {
|
|
1523
|
-
return this.i.
|
|
1523
|
+
return this.i.g4;
|
|
1524
1524
|
}
|
|
1525
1525
|
set flexDirection(v) {
|
|
1526
|
-
this.i.
|
|
1526
|
+
this.i.g4 = v;
|
|
1527
1527
|
}
|
|
1528
1528
|
/**
|
|
1529
1529
|
* Gets or sets the flex-grow setting for the button.
|
|
1530
1530
|
*/
|
|
1531
1531
|
get flexGrow() {
|
|
1532
|
-
return this.i.
|
|
1532
|
+
return this.i.g6;
|
|
1533
1533
|
}
|
|
1534
1534
|
set flexGrow(v) {
|
|
1535
|
-
this.i.
|
|
1535
|
+
this.i.g6 = v;
|
|
1536
1536
|
}
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Gets or sets the id to use for the checkbox.
|
|
1539
1539
|
*/
|
|
1540
1540
|
get alignItems() {
|
|
1541
|
-
return this.i.
|
|
1541
|
+
return this.i.fb;
|
|
1542
1542
|
}
|
|
1543
1543
|
set alignItems(v) {
|
|
1544
|
-
this.i.
|
|
1544
|
+
this.i.fb = v;
|
|
1545
1545
|
}
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Gets or sets value to use for the checkbox.
|
|
1548
1548
|
*/
|
|
1549
1549
|
get value() {
|
|
1550
|
-
return this.i.
|
|
1550
|
+
return this.i.ee;
|
|
1551
1551
|
}
|
|
1552
1552
|
set value(v) {
|
|
1553
|
-
this.i.
|
|
1553
|
+
this.i.ee = v;
|
|
1554
1554
|
}
|
|
1555
1555
|
/**
|
|
1556
1556
|
* Gets or sets name to use for the button.
|
|
1557
1557
|
*/
|
|
1558
1558
|
get name() {
|
|
1559
|
-
return this.i.
|
|
1559
|
+
return this.i.h6;
|
|
1560
1560
|
}
|
|
1561
1561
|
set name(v) {
|
|
1562
|
-
this.i.
|
|
1562
|
+
this.i.h6 = v;
|
|
1563
1563
|
}
|
|
1564
1564
|
/**
|
|
1565
1565
|
* Gets or sets TabIndex to use for the checkbox.
|
|
1566
1566
|
*/
|
|
1567
1567
|
get tabIndex() {
|
|
1568
|
-
return this.i.
|
|
1568
|
+
return this.i.d7;
|
|
1569
1569
|
}
|
|
1570
1570
|
set tabIndex(v) {
|
|
1571
|
-
this.i.
|
|
1571
|
+
this.i.d7 = +v;
|
|
1572
1572
|
}
|
|
1573
1573
|
/**
|
|
1574
1574
|
* Gets or sets the value of the aria-label attribute.
|
|
1575
1575
|
*/
|
|
1576
1576
|
get ariaLabel() {
|
|
1577
|
-
return this.i.
|
|
1577
|
+
return this.i.fd;
|
|
1578
1578
|
}
|
|
1579
1579
|
set ariaLabel(v) {
|
|
1580
|
-
this.i.
|
|
1580
|
+
this.i.fd = v;
|
|
1581
1581
|
}
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Gets or sets whether the button should fill the available space. If false, the button
|
|
1584
1584
|
* will use an intrinsic size.
|
|
1585
1585
|
*/
|
|
1586
1586
|
get fillAvailableSpace() {
|
|
1587
|
-
return this.i.
|
|
1587
|
+
return this.i.ay;
|
|
1588
1588
|
}
|
|
1589
1589
|
set fillAvailableSpace(v) {
|
|
1590
|
-
this.i.
|
|
1590
|
+
this.i.ay = ensureBool(v);
|
|
1591
1591
|
}
|
|
1592
1592
|
/**
|
|
1593
1593
|
* Gets or sets if the checkbox is Focused.
|
|
@@ -1602,46 +1602,46 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1602
1602
|
* Gets or sets if the button show use styling to show focus.
|
|
1603
1603
|
*/
|
|
1604
1604
|
get isFocusStyleEnabled() {
|
|
1605
|
-
return this.i.
|
|
1605
|
+
return this.i.a2;
|
|
1606
1606
|
}
|
|
1607
1607
|
set isFocusStyleEnabled(v) {
|
|
1608
|
-
this.i.
|
|
1608
|
+
this.i.a2 = ensureBool(v);
|
|
1609
1609
|
}
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Gets or sets whether to disable the ripple effect for the button.
|
|
1612
1612
|
*/
|
|
1613
1613
|
get disableRipple() {
|
|
1614
|
-
return this.i.
|
|
1614
|
+
return this.i.aw;
|
|
1615
1615
|
}
|
|
1616
1616
|
set disableRipple(v) {
|
|
1617
|
-
this.i.
|
|
1617
|
+
this.i.aw = ensureBool(v);
|
|
1618
1618
|
}
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Gets whether to actually disable the ripple effect for the button.
|
|
1621
1621
|
*/
|
|
1622
1622
|
get actualDisableRipple() {
|
|
1623
|
-
return this.i.
|
|
1623
|
+
return this.i.as;
|
|
1624
1624
|
}
|
|
1625
1625
|
set actualDisableRipple(v) {
|
|
1626
|
-
this.i.
|
|
1626
|
+
this.i.as = ensureBool(v);
|
|
1627
1627
|
}
|
|
1628
1628
|
/**
|
|
1629
1629
|
* Gets or sets whether the hover effect is disabled.
|
|
1630
1630
|
*/
|
|
1631
1631
|
get disableHover() {
|
|
1632
|
-
return this.i.
|
|
1632
|
+
return this.i.au;
|
|
1633
1633
|
}
|
|
1634
1634
|
set disableHover(v) {
|
|
1635
|
-
this.i.
|
|
1635
|
+
this.i.au = ensureBool(v);
|
|
1636
1636
|
}
|
|
1637
1637
|
/**
|
|
1638
1638
|
* Gets or sets whether the checkbox is checked.
|
|
1639
1639
|
*/
|
|
1640
1640
|
get isHover() {
|
|
1641
|
-
return this.i.
|
|
1641
|
+
return this.i.a3;
|
|
1642
1642
|
}
|
|
1643
1643
|
set isHover(v) {
|
|
1644
|
-
this.i.
|
|
1644
|
+
this.i.a3 = ensureBool(v);
|
|
1645
1645
|
}
|
|
1646
1646
|
/**
|
|
1647
1647
|
* Gets or sets whether the checkbox is disabled.
|
|
@@ -1656,76 +1656,85 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1656
1656
|
* Gets or sets whether the checkbox transitions are disabled.
|
|
1657
1657
|
*/
|
|
1658
1658
|
get disableTransitions() {
|
|
1659
|
-
return this.i.
|
|
1659
|
+
return this.i.ax;
|
|
1660
1660
|
}
|
|
1661
1661
|
set disableTransitions(v) {
|
|
1662
|
-
this.i.
|
|
1662
|
+
this.i.ax = ensureBool(v);
|
|
1663
1663
|
}
|
|
1664
1664
|
/**
|
|
1665
1665
|
* Gets or sets whether the cursor will change into a pointer when the button is hovered.
|
|
1666
1666
|
*/
|
|
1667
1667
|
get disablePointer() {
|
|
1668
|
-
return this.i.
|
|
1668
|
+
return this.i.av;
|
|
1669
1669
|
}
|
|
1670
1670
|
set disablePointer(v) {
|
|
1671
|
-
this.i.
|
|
1671
|
+
this.i.av = ensureBool(v);
|
|
1672
1672
|
}
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Gets or sets the left padding for the button content.
|
|
1675
1675
|
*/
|
|
1676
1676
|
get contentPaddingLeft() {
|
|
1677
|
-
return this.i.
|
|
1677
|
+
return this.i.bm;
|
|
1678
1678
|
}
|
|
1679
1679
|
set contentPaddingLeft(v) {
|
|
1680
|
-
this.i.
|
|
1680
|
+
this.i.bm = +v;
|
|
1681
1681
|
}
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Gets or sets the top padding for the button content.
|
|
1684
1684
|
*/
|
|
1685
1685
|
get contentPaddingTop() {
|
|
1686
|
-
return this.i.
|
|
1686
|
+
return this.i.bo;
|
|
1687
1687
|
}
|
|
1688
1688
|
set contentPaddingTop(v) {
|
|
1689
|
-
this.i.
|
|
1689
|
+
this.i.bo = +v;
|
|
1690
1690
|
}
|
|
1691
1691
|
/**
|
|
1692
1692
|
* Gets or sets the right padding for the button content.
|
|
1693
1693
|
*/
|
|
1694
1694
|
get contentPaddingRight() {
|
|
1695
|
-
return this.i.
|
|
1695
|
+
return this.i.bn;
|
|
1696
1696
|
}
|
|
1697
1697
|
set contentPaddingRight(v) {
|
|
1698
|
-
this.i.
|
|
1698
|
+
this.i.bn = +v;
|
|
1699
1699
|
}
|
|
1700
1700
|
/**
|
|
1701
1701
|
* Gets or sets the bottom padding for the button content.
|
|
1702
1702
|
*/
|
|
1703
1703
|
get contentPaddingBottom() {
|
|
1704
|
-
return this.i.
|
|
1704
|
+
return this.i.bl;
|
|
1705
1705
|
}
|
|
1706
1706
|
set contentPaddingBottom(v) {
|
|
1707
|
-
this.i.
|
|
1707
|
+
this.i.bl = +v;
|
|
1708
1708
|
}
|
|
1709
1709
|
get horizontalContentAlignment() {
|
|
1710
|
-
return this.i.
|
|
1710
|
+
return this.i.le;
|
|
1711
1711
|
}
|
|
1712
1712
|
set horizontalContentAlignment(v) {
|
|
1713
|
-
this.i.
|
|
1713
|
+
this.i.le = ensureEnum(HorizontalAlignment_$type, v);
|
|
1714
1714
|
}
|
|
1715
1715
|
get verticalContentAlignment() {
|
|
1716
|
-
return this.i.
|
|
1716
|
+
return this.i.ri;
|
|
1717
1717
|
}
|
|
1718
1718
|
set verticalContentAlignment(v) {
|
|
1719
|
-
this.i.
|
|
1719
|
+
this.i.ri = ensureEnum(VerticalAlignment_$type, v);
|
|
1720
1720
|
}
|
|
1721
1721
|
/**
|
|
1722
1722
|
* Gets or sets if clicking on the button is allowed to tunnel down to button content.
|
|
1723
1723
|
*/
|
|
1724
1724
|
get clickTunneling() {
|
|
1725
|
-
return this.i.
|
|
1725
|
+
return this.i.at;
|
|
1726
1726
|
}
|
|
1727
1727
|
set clickTunneling(v) {
|
|
1728
|
-
this.i.
|
|
1728
|
+
this.i.at = ensureBool(v);
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Gets or sets whether mouse events on the button will bubble up to parent elements.
|
|
1732
|
+
*/
|
|
1733
|
+
get stopPropagation() {
|
|
1734
|
+
return this.i.a5;
|
|
1735
|
+
}
|
|
1736
|
+
set stopPropagation(v) {
|
|
1737
|
+
this.i.a5 = ensureBool(v);
|
|
1729
1738
|
}
|
|
1730
1739
|
findByName(name) {
|
|
1731
1740
|
if (this.findEphemera) {
|
|
@@ -1799,7 +1808,7 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1799
1808
|
|
|
1800
1809
|
*/
|
|
1801
1810
|
exportVisualModel() {
|
|
1802
|
-
let iv = this.i.
|
|
1811
|
+
let iv = this.i.eb();
|
|
1803
1812
|
return (iv);
|
|
1804
1813
|
}
|
|
1805
1814
|
/**
|
|
@@ -1807,7 +1816,7 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1807
1816
|
|
|
1808
1817
|
*/
|
|
1809
1818
|
exportSerializedVisualModel() {
|
|
1810
|
-
let iv = this.i.
|
|
1819
|
+
let iv = this.i.f4();
|
|
1811
1820
|
return (iv);
|
|
1812
1821
|
}
|
|
1813
1822
|
get clicked() {
|
|
@@ -1877,7 +1886,7 @@ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
|
|
|
1877
1886
|
}
|
|
1878
1887
|
}
|
|
1879
1888
|
IgxXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
|
|
1880
|
-
IgxXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxXButtonComponent, selector: "igx-x-button", inputs: { minWidth: "minWidth", minHeight: "minHeight", displayType: "displayType", density: "density", baseTheme: "baseTheme", actualDensity: "actualDensity", actualBorderColor: "actualBorderColor", actualUmbraShadowColor: "actualUmbraShadowColor", actualPenumbraShadowColor: "actualPenumbraShadowColor", actualAmbientShadowColor: "actualAmbientShadowColor", actualRestingElevation: "actualRestingElevation", actualFocusElevation: "actualFocusElevation", actualHoverElevation: "actualHoverElevation", actualRippleColor: "actualRippleColor", actualCornerRadiusBottomRight: "actualCornerRadiusBottomRight", actualCornerRadiusBottomLeft: "actualCornerRadiusBottomLeft", actualCornerRadiusTopLeft: "actualCornerRadiusTopLeft", actualCornerRadiusTopRight: "actualCornerRadiusTopRight", actualBackgroundColor: "actualBackgroundColor", actualDisabledBackgroundColor: "actualDisabledBackgroundColor", actualDisabledBorderColor: "actualDisabledBorderColor", actualDisabledTextColor: "actualDisabledTextColor", actualDisabledElevation: "actualDisabledElevation", actualElevationMode: "actualElevationMode", actualTextColor: "actualTextColor", actualHoverTextColor: "actualHoverTextColor", actualFocusBackgroundColor: "actualFocusBackgroundColor", actualFocusTextColor: "actualFocusTextColor", actualHoverBackgroundColor: "actualHoverBackgroundColor", actualBorderWidth: "actualBorderWidth", raisedBackgroundColor: "raisedBackgroundColor", raisedDisabledBackgroundColor: "raisedDisabledBackgroundColor", raisedDisabledBorderColor: "raisedDisabledBorderColor", raisedDisabledTextColor: "raisedDisabledTextColor", raisedDisabledElevation: "raisedDisabledElevation", raisedHoverBackgroundColor: "raisedHoverBackgroundColor", raisedBorderColor: "raisedBorderColor", raisedRestingElevation: "raisedRestingElevation", raisedHoverElevation: "raisedHoverElevation", raisedFocusElevation: "raisedFocusElevation", raisedBorderWidth: "raisedBorderWidth", raisedCornerRadiusBottomRight: "raisedCornerRadiusBottomRight", raisedCornerRadiusBottomLeft: "raisedCornerRadiusBottomLeft", raisedCornerRadiusTopLeft: "raisedCornerRadiusTopLeft", raisedCornerRadiusTopRight: "raisedCornerRadiusTopRight", raisedRippleColor: "raisedRippleColor", flatBackgroundColor: "flatBackgroundColor", flatDisabledBackgroundColor: "flatDisabledBackgroundColor", flatDisabledBorderColor: "flatDisabledBorderColor", flatDisabledTextColor: "flatDisabledTextColor", flatDisabledElevation: "flatDisabledElevation", flatHoverBackgroundColor: "flatHoverBackgroundColor", flatBorderColor: "flatBorderColor", flatRestingElevation: "flatRestingElevation", flatHoverElevation: "flatHoverElevation", flatFocusElevation: "flatFocusElevation", flatRippleColor: "flatRippleColor", flatTextColor: "flatTextColor", flatHoverTextColor: "flatHoverTextColor", flatFocusBackgroundColor: "flatFocusBackgroundColor", flatFocusTextColor: "flatFocusTextColor", flatBorderWidth: "flatBorderWidth", flatCornerRadiusBottomRight: "flatCornerRadiusBottomRight", flatCornerRadiusBottomLeft: "flatCornerRadiusBottomLeft", flatCornerRadiusTopLeft: "flatCornerRadiusTopLeft", flatCornerRadiusTopRight: "flatCornerRadiusTopRight", backgroundColor: "backgroundColor", disabledBackgroundColor: "disabledBackgroundColor", disabledBorderColor: "disabledBorderColor", disabledTextColor: "disabledTextColor", disabledElevation: "disabledElevation", elevationMode: "elevationMode", hoverBackgroundColor: "hoverBackgroundColor", borderColor: "borderColor", restingElevation: "restingElevation", hoverElevation: "hoverElevation", focusElevation: "focusElevation", textStyle: "textStyle", textColor: "textColor", hoverTextColor: "hoverTextColor", rippleColor: "rippleColor", raisedTextColor: "raisedTextColor", raisedHoverTextColor: "raisedHoverTextColor", raisedFocusBackgroundColor: "raisedFocusBackgroundColor", raisedFocusTextColor: "raisedFocusTextColor", focusBackgroundColor: "focusBackgroundColor", focusTextColor: "focusTextColor", borderWidth: "borderWidth", cornerRadiusBottomRight: "cornerRadiusBottomRight", cornerRadiusBottomLeft: "cornerRadiusBottomLeft", cornerRadiusTopLeft: "cornerRadiusTopLeft", cornerRadiusTopRight: "cornerRadiusTopRight", outlinedBackgroundColor: "outlinedBackgroundColor", outlinedDisabledBackgroundColor: "outlinedDisabledBackgroundColor", outlinedDisabledBorderColor: "outlinedDisabledBorderColor", outlinedDisabledTextColor: "outlinedDisabledTextColor", outlinedDisabledElevation: "outlinedDisabledElevation", outlinedHoverBackgroundColor: "outlinedHoverBackgroundColor", outlinedBorderColor: "outlinedBorderColor", outlinedRestingElevation: "outlinedRestingElevation", outlinedHoverElevation: "outlinedHoverElevation", outlinedFocusElevation: "outlinedFocusElevation", outlinedBorderWidth: "outlinedBorderWidth", outlinedCornerRadiusBottomRight: "outlinedCornerRadiusBottomRight", outlinedCornerRadiusBottomLeft: "outlinedCornerRadiusBottomLeft", outlinedCornerRadiusTopLeft: "outlinedCornerRadiusTopLeft", outlinedCornerRadiusTopRight: "outlinedCornerRadiusTopRight", outlinedRippleColor: "outlinedRippleColor", outlinedTextColor: "outlinedTextColor", outlinedHoverTextColor: "outlinedHoverTextColor", outlinedFocusBackgroundColor: "outlinedFocusBackgroundColor", outlinedFocusTextColor: "outlinedFocusTextColor", fabBackgroundColor: "fabBackgroundColor", fabDisabledBackgroundColor: "fabDisabledBackgroundColor", fabDisabledBorderColor: "fabDisabledBorderColor", fabDisabledTextColor: "fabDisabledTextColor", fabDisabledElevation: "fabDisabledElevation", fabHoverBackgroundColor: "fabHoverBackgroundColor", fabBorderColor: "fabBorderColor", fabRestingElevation: "fabRestingElevation", fabHoverElevation: "fabHoverElevation", fabFocusElevation: "fabFocusElevation", fabBorderWidth: "fabBorderWidth", fabCornerRadiusBottomRight: "fabCornerRadiusBottomRight", fabCornerRadiusBottomLeft: "fabCornerRadiusBottomLeft", fabCornerRadiusTopLeft: "fabCornerRadiusTopLeft", fabCornerRadiusTopRight: "fabCornerRadiusTopRight", fabRippleColor: "fabRippleColor", fabTextColor: "fabTextColor", fabHoverTextColor: "fabHoverTextColor", fabFocusBackgroundColor: "fabFocusBackgroundColor", fabFocusTextColor: "fabFocusTextColor", iconBackgroundColor: "iconBackgroundColor", iconDisabledBackgroundColor: "iconDisabledBackgroundColor", iconDisabledBorderColor: "iconDisabledBorderColor", iconDisabledTextColor: "iconDisabledTextColor", iconDisabledElevation: "iconDisabledElevation", iconHoverBackgroundColor: "iconHoverBackgroundColor", iconBorderColor: "iconBorderColor", iconRestingElevation: "iconRestingElevation", iconHoverElevation: "iconHoverElevation", iconFocusElevation: "iconFocusElevation", iconBorderWidth: "iconBorderWidth", iconCornerRadiusBottomRight: "iconCornerRadiusBottomRight", iconCornerRadiusBottomLeft: "iconCornerRadiusBottomLeft", iconCornerRadiusTopLeft: "iconCornerRadiusTopLeft", iconCornerRadiusTopRight: "iconCornerRadiusTopRight", iconRippleColor: "iconRippleColor", iconTextColor: "iconTextColor", iconHoverTextColor: "iconHoverTextColor", iconFocusBackgroundColor: "iconFocusBackgroundColor", iconFocusTextColor: "iconFocusTextColor", inputId: "inputId", id: "id", display: "display", flexDirection: "flexDirection", flexGrow: "flexGrow", alignItems: "alignItems", value: "value", name: "name", tabIndex: ["tabindex", "tabIndex"], ariaLabel: ["aria-label", "ariaLabel"], fillAvailableSpace: "fillAvailableSpace", focused: "focused", isFocusStyleEnabled: "isFocusStyleEnabled", disableRipple: "disableRipple", actualDisableRipple: "actualDisableRipple", disableHover: "disableHover", isHover: "isHover", disabled: "disabled", disableTransitions: "disableTransitions", disablePointer: "disablePointer", contentPaddingLeft: "contentPaddingLeft", contentPaddingTop: "contentPaddingTop", contentPaddingRight: "contentPaddingRight", contentPaddingBottom: "contentPaddingBottom", horizontalContentAlignment: "horizontalContentAlignment", verticalContentAlignment: "verticalContentAlignment", clickTunneling: "clickTunneling" }, outputs: { clicked: "clicked", gotFocus: "gotFocus", lostFocus: "lostFocus" }, host: { properties: { "attr.id": "this.id", "style.display": "this.display", "style.flexDirection": "this.flexDirection", "style.flexGrow": "this.flexGrow", "style.alignItems": "this.alignItems" }, classAttribute: "ig-x-button igx-x-button" }, providers: [], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childTemplateRef", first: true, predicate: ["childContent"], descendants: true, read: TemplateRef }], ngImport: i0, template: `<ng-template #childContent><ng-content></ng-content></ng-template>
|
|
1889
|
+
IgxXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxXButtonComponent, selector: "igx-x-button", inputs: { minWidth: "minWidth", minHeight: "minHeight", displayType: "displayType", density: "density", baseTheme: "baseTheme", actualDensity: "actualDensity", actualBorderColor: "actualBorderColor", actualUmbraShadowColor: "actualUmbraShadowColor", actualPenumbraShadowColor: "actualPenumbraShadowColor", actualAmbientShadowColor: "actualAmbientShadowColor", actualRestingElevation: "actualRestingElevation", actualFocusElevation: "actualFocusElevation", actualHoverElevation: "actualHoverElevation", actualRippleColor: "actualRippleColor", actualCornerRadiusBottomRight: "actualCornerRadiusBottomRight", actualCornerRadiusBottomLeft: "actualCornerRadiusBottomLeft", actualCornerRadiusTopLeft: "actualCornerRadiusTopLeft", actualCornerRadiusTopRight: "actualCornerRadiusTopRight", actualBackgroundColor: "actualBackgroundColor", actualDisabledBackgroundColor: "actualDisabledBackgroundColor", actualDisabledBorderColor: "actualDisabledBorderColor", actualDisabledTextColor: "actualDisabledTextColor", actualDisabledElevation: "actualDisabledElevation", actualElevationMode: "actualElevationMode", actualTextColor: "actualTextColor", actualHoverTextColor: "actualHoverTextColor", actualFocusBackgroundColor: "actualFocusBackgroundColor", actualFocusTextColor: "actualFocusTextColor", actualHoverBackgroundColor: "actualHoverBackgroundColor", actualBorderWidth: "actualBorderWidth", raisedBackgroundColor: "raisedBackgroundColor", raisedDisabledBackgroundColor: "raisedDisabledBackgroundColor", raisedDisabledBorderColor: "raisedDisabledBorderColor", raisedDisabledTextColor: "raisedDisabledTextColor", raisedDisabledElevation: "raisedDisabledElevation", raisedHoverBackgroundColor: "raisedHoverBackgroundColor", raisedBorderColor: "raisedBorderColor", raisedRestingElevation: "raisedRestingElevation", raisedHoverElevation: "raisedHoverElevation", raisedFocusElevation: "raisedFocusElevation", raisedBorderWidth: "raisedBorderWidth", raisedCornerRadiusBottomRight: "raisedCornerRadiusBottomRight", raisedCornerRadiusBottomLeft: "raisedCornerRadiusBottomLeft", raisedCornerRadiusTopLeft: "raisedCornerRadiusTopLeft", raisedCornerRadiusTopRight: "raisedCornerRadiusTopRight", raisedRippleColor: "raisedRippleColor", flatBackgroundColor: "flatBackgroundColor", flatDisabledBackgroundColor: "flatDisabledBackgroundColor", flatDisabledBorderColor: "flatDisabledBorderColor", flatDisabledTextColor: "flatDisabledTextColor", flatDisabledElevation: "flatDisabledElevation", flatHoverBackgroundColor: "flatHoverBackgroundColor", flatBorderColor: "flatBorderColor", flatRestingElevation: "flatRestingElevation", flatHoverElevation: "flatHoverElevation", flatFocusElevation: "flatFocusElevation", flatRippleColor: "flatRippleColor", flatTextColor: "flatTextColor", flatHoverTextColor: "flatHoverTextColor", flatFocusBackgroundColor: "flatFocusBackgroundColor", flatFocusTextColor: "flatFocusTextColor", flatBorderWidth: "flatBorderWidth", flatCornerRadiusBottomRight: "flatCornerRadiusBottomRight", flatCornerRadiusBottomLeft: "flatCornerRadiusBottomLeft", flatCornerRadiusTopLeft: "flatCornerRadiusTopLeft", flatCornerRadiusTopRight: "flatCornerRadiusTopRight", backgroundColor: "backgroundColor", disabledBackgroundColor: "disabledBackgroundColor", disabledBorderColor: "disabledBorderColor", disabledTextColor: "disabledTextColor", disabledElevation: "disabledElevation", elevationMode: "elevationMode", hoverBackgroundColor: "hoverBackgroundColor", borderColor: "borderColor", restingElevation: "restingElevation", hoverElevation: "hoverElevation", focusElevation: "focusElevation", textStyle: "textStyle", textColor: "textColor", hoverTextColor: "hoverTextColor", rippleColor: "rippleColor", raisedTextColor: "raisedTextColor", raisedHoverTextColor: "raisedHoverTextColor", raisedFocusBackgroundColor: "raisedFocusBackgroundColor", raisedFocusTextColor: "raisedFocusTextColor", focusBackgroundColor: "focusBackgroundColor", focusTextColor: "focusTextColor", borderWidth: "borderWidth", cornerRadiusBottomRight: "cornerRadiusBottomRight", cornerRadiusBottomLeft: "cornerRadiusBottomLeft", cornerRadiusTopLeft: "cornerRadiusTopLeft", cornerRadiusTopRight: "cornerRadiusTopRight", outlinedBackgroundColor: "outlinedBackgroundColor", outlinedDisabledBackgroundColor: "outlinedDisabledBackgroundColor", outlinedDisabledBorderColor: "outlinedDisabledBorderColor", outlinedDisabledTextColor: "outlinedDisabledTextColor", outlinedDisabledElevation: "outlinedDisabledElevation", outlinedHoverBackgroundColor: "outlinedHoverBackgroundColor", outlinedBorderColor: "outlinedBorderColor", outlinedRestingElevation: "outlinedRestingElevation", outlinedHoverElevation: "outlinedHoverElevation", outlinedFocusElevation: "outlinedFocusElevation", outlinedBorderWidth: "outlinedBorderWidth", outlinedCornerRadiusBottomRight: "outlinedCornerRadiusBottomRight", outlinedCornerRadiusBottomLeft: "outlinedCornerRadiusBottomLeft", outlinedCornerRadiusTopLeft: "outlinedCornerRadiusTopLeft", outlinedCornerRadiusTopRight: "outlinedCornerRadiusTopRight", outlinedRippleColor: "outlinedRippleColor", outlinedTextColor: "outlinedTextColor", outlinedHoverTextColor: "outlinedHoverTextColor", outlinedFocusBackgroundColor: "outlinedFocusBackgroundColor", outlinedFocusTextColor: "outlinedFocusTextColor", fabBackgroundColor: "fabBackgroundColor", fabDisabledBackgroundColor: "fabDisabledBackgroundColor", fabDisabledBorderColor: "fabDisabledBorderColor", fabDisabledTextColor: "fabDisabledTextColor", fabDisabledElevation: "fabDisabledElevation", fabHoverBackgroundColor: "fabHoverBackgroundColor", fabBorderColor: "fabBorderColor", fabRestingElevation: "fabRestingElevation", fabHoverElevation: "fabHoverElevation", fabFocusElevation: "fabFocusElevation", fabBorderWidth: "fabBorderWidth", fabCornerRadiusBottomRight: "fabCornerRadiusBottomRight", fabCornerRadiusBottomLeft: "fabCornerRadiusBottomLeft", fabCornerRadiusTopLeft: "fabCornerRadiusTopLeft", fabCornerRadiusTopRight: "fabCornerRadiusTopRight", fabRippleColor: "fabRippleColor", fabTextColor: "fabTextColor", fabHoverTextColor: "fabHoverTextColor", fabFocusBackgroundColor: "fabFocusBackgroundColor", fabFocusTextColor: "fabFocusTextColor", iconBackgroundColor: "iconBackgroundColor", iconDisabledBackgroundColor: "iconDisabledBackgroundColor", iconDisabledBorderColor: "iconDisabledBorderColor", iconDisabledTextColor: "iconDisabledTextColor", iconDisabledElevation: "iconDisabledElevation", iconHoverBackgroundColor: "iconHoverBackgroundColor", iconBorderColor: "iconBorderColor", iconRestingElevation: "iconRestingElevation", iconHoverElevation: "iconHoverElevation", iconFocusElevation: "iconFocusElevation", iconBorderWidth: "iconBorderWidth", iconCornerRadiusBottomRight: "iconCornerRadiusBottomRight", iconCornerRadiusBottomLeft: "iconCornerRadiusBottomLeft", iconCornerRadiusTopLeft: "iconCornerRadiusTopLeft", iconCornerRadiusTopRight: "iconCornerRadiusTopRight", iconRippleColor: "iconRippleColor", iconTextColor: "iconTextColor", iconHoverTextColor: "iconHoverTextColor", iconFocusBackgroundColor: "iconFocusBackgroundColor", iconFocusTextColor: "iconFocusTextColor", inputId: "inputId", id: "id", display: "display", flexDirection: "flexDirection", flexGrow: "flexGrow", alignItems: "alignItems", value: "value", name: "name", tabIndex: ["tabindex", "tabIndex"], ariaLabel: ["aria-label", "ariaLabel"], fillAvailableSpace: "fillAvailableSpace", focused: "focused", isFocusStyleEnabled: "isFocusStyleEnabled", disableRipple: "disableRipple", actualDisableRipple: "actualDisableRipple", disableHover: "disableHover", isHover: "isHover", disabled: "disabled", disableTransitions: "disableTransitions", disablePointer: "disablePointer", contentPaddingLeft: "contentPaddingLeft", contentPaddingTop: "contentPaddingTop", contentPaddingRight: "contentPaddingRight", contentPaddingBottom: "contentPaddingBottom", horizontalContentAlignment: "horizontalContentAlignment", verticalContentAlignment: "verticalContentAlignment", clickTunneling: "clickTunneling", stopPropagation: "stopPropagation" }, outputs: { clicked: "clicked", gotFocus: "gotFocus", lostFocus: "lostFocus" }, host: { properties: { "attr.id": "this.id", "style.display": "this.display", "style.flexDirection": "this.flexDirection", "style.flexGrow": "this.flexGrow", "style.alignItems": "this.alignItems" }, classAttribute: "ig-x-button igx-x-button" }, providers: [], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childTemplateRef", first: true, predicate: ["childContent"], descendants: true, read: TemplateRef }], ngImport: i0, template: `<ng-template #childContent><ng-content></ng-content></ng-template>
|
|
1881
1890
|
<ng-container #dynamicContent></ng-container>`, isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: inline-block; \n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1882
1891
|
return IgxXButtonComponent;
|
|
1883
1892
|
})();
|
|
@@ -2277,6 +2286,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
2277
2286
|
type: Input
|
|
2278
2287
|
}], clickTunneling: [{
|
|
2279
2288
|
type: Input
|
|
2289
|
+
}], stopPropagation: [{
|
|
2290
|
+
type: Input
|
|
2280
2291
|
}], clicked: [{
|
|
2281
2292
|
type: Output
|
|
2282
2293
|
}], gotFocus: [{
|