igniteui-webcomponents-inputs 4.0.3 → 4.2.2
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-webcomponents-inputs.umd.js +2781 -2143
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +17 -17
- package/esm2015/lib/ButtonView_combined.js +945 -939
- package/esm2015/lib/CalendarView_combined.js +80 -80
- package/esm2015/lib/DatePickerView_combined.js +82 -64
- package/esm2015/lib/IconView_combined.js +250 -238
- package/esm2015/lib/InputGroupView_combined.js +368 -357
- package/esm2015/lib/NativeUIXInputsFactory.js +143 -0
- package/esm2015/lib/XButtonBridge.js +101 -0
- package/esm2015/lib/XCheckboxBridge.js +69 -0
- package/esm2015/lib/XComponentBridge.js +34 -0
- package/esm2015/lib/XIconButtonBridge.js +65 -0
- package/esm2015/lib/XInputBridge.js +162 -0
- package/esm2015/lib/igc-x-button-component.js +366 -366
- package/esm2015/lib/igc-x-icon-component.js +74 -63
- package/esm2015/lib/igc-x-input-component.js +65 -54
- package/esm2015/public_api.js +6 -0
- package/esm5/lib/ButtonGroupView_combined.js +17 -17
- package/esm5/lib/ButtonView_combined.js +941 -935
- package/esm5/lib/CalendarView_combined.js +80 -80
- package/esm5/lib/DatePickerView_combined.js +82 -64
- package/esm5/lib/IconView_combined.js +240 -224
- package/esm5/lib/InputGroupView_combined.js +353 -338
- package/esm5/lib/NativeUIXInputsFactory.js +153 -0
- package/esm5/lib/XButtonBridge.js +103 -0
- package/esm5/lib/XCheckboxBridge.js +71 -0
- package/esm5/lib/XComponentBridge.js +36 -0
- package/esm5/lib/XIconButtonBridge.js +67 -0
- package/esm5/lib/XInputBridge.js +164 -0
- package/esm5/lib/igc-x-button-component.js +366 -366
- package/esm5/lib/igc-x-icon-component.js +79 -64
- package/esm5/lib/igc-x-input-component.js +70 -55
- package/esm5/public_api.js +6 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +2785 -2178
- package/fesm5/igniteui-webcomponents-inputs.js +2772 -2141
- package/lib/ButtonView_combined.d.ts +262 -260
- package/lib/DatePickerView_combined.d.ts +22 -21
- package/lib/DatePickerVisualModelExport.d.ts +1 -1
- package/lib/IconView_combined.d.ts +59 -56
- package/lib/InputGroupView_combined.d.ts +91 -89
- package/lib/NativeUIXInputsFactory.d.ts +22 -0
- package/lib/XButtonBridge.d.ts +21 -0
- package/lib/XCheckboxBridge.d.ts +19 -0
- package/lib/XComponentBridge.d.ts +17 -0
- package/lib/XIconButtonBridge.d.ts +16 -0
- package/lib/XInputBridge.d.ts +24 -0
- package/lib/igc-x-icon-component.d.ts +6 -1
- package/lib/igc-x-input-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +6 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as tslib_1 from "tslib";
|
|
2
2
|
import { XIcon } from "./XIcon";
|
|
3
|
-
import { brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
3
|
+
import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
|
|
4
4
|
import { FontInfo } from "igniteui-webcomponents-core";
|
|
5
5
|
import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
|
|
6
6
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
7
7
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
8
8
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
9
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
9
10
|
var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
10
11
|
tslib_1.__extends(IgcXIconComponent, _super);
|
|
11
12
|
function IgcXIconComponent() {
|
|
@@ -208,16 +209,30 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
208
209
|
RegisterElementHelper.registerElement(IgcXIconComponent.htmlTagName, IgcXIconComponent);
|
|
209
210
|
}
|
|
210
211
|
};
|
|
211
|
-
Object.defineProperty(IgcXIconComponent.prototype, "
|
|
212
|
+
Object.defineProperty(IgcXIconComponent.prototype, "baseTheme", {
|
|
212
213
|
/**
|
|
213
|
-
* Gets the
|
|
214
|
+
* Gets or sets the base built in theme to use for the button.
|
|
214
215
|
*/
|
|
215
216
|
get: function () {
|
|
216
|
-
return
|
|
217
|
+
return this.i.e;
|
|
218
|
+
},
|
|
219
|
+
set: function (v) {
|
|
220
|
+
this.i.e = ensureEnum(BaseControlTheme_$type, v);
|
|
221
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.e));
|
|
222
|
+
},
|
|
223
|
+
enumerable: true,
|
|
224
|
+
configurable: true
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(IgcXIconComponent.prototype, "actualFill", {
|
|
227
|
+
/**
|
|
228
|
+
* Gets the color to use for the actual background.
|
|
229
|
+
*/
|
|
230
|
+
get: function () {
|
|
231
|
+
return brushToString(this.i.bx);
|
|
217
232
|
},
|
|
218
233
|
set: function (v) {
|
|
219
|
-
this.i.
|
|
220
|
-
this._a("actualFill", brushToString(this.i.
|
|
234
|
+
this.i.bx = stringToBrush(v);
|
|
235
|
+
this._a("actualFill", brushToString(this.i.bx));
|
|
221
236
|
},
|
|
222
237
|
enumerable: true,
|
|
223
238
|
configurable: true
|
|
@@ -227,11 +242,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
227
242
|
* Gets the color to use for the actual text color.
|
|
228
243
|
*/
|
|
229
244
|
get: function () {
|
|
230
|
-
return brushToString(this.i.
|
|
245
|
+
return brushToString(this.i.b1);
|
|
231
246
|
},
|
|
232
247
|
set: function (v) {
|
|
233
|
-
this.i.
|
|
234
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
248
|
+
this.i.b1 = stringToBrush(v);
|
|
249
|
+
this._a("actualTextColor", brushToString(this.i.b1));
|
|
235
250
|
},
|
|
236
251
|
enumerable: true,
|
|
237
252
|
configurable: true
|
|
@@ -241,11 +256,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
241
256
|
* Gets the color to use for the actual background.
|
|
242
257
|
*/
|
|
243
258
|
get: function () {
|
|
244
|
-
return brushToString(this.i.
|
|
259
|
+
return brushToString(this.i.by);
|
|
245
260
|
},
|
|
246
261
|
set: function (v) {
|
|
247
|
-
this.i.
|
|
248
|
-
this._a("actualHoverFill", brushToString(this.i.
|
|
262
|
+
this.i.by = stringToBrush(v);
|
|
263
|
+
this._a("actualHoverFill", brushToString(this.i.by));
|
|
249
264
|
},
|
|
250
265
|
enumerable: true,
|
|
251
266
|
configurable: true
|
|
@@ -255,11 +270,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
255
270
|
* Gets the hover stroke to use for the icon.
|
|
256
271
|
*/
|
|
257
272
|
get: function () {
|
|
258
|
-
return brushToString(this.i.
|
|
273
|
+
return brushToString(this.i.bz);
|
|
259
274
|
},
|
|
260
275
|
set: function (v) {
|
|
261
|
-
this.i.
|
|
262
|
-
this._a("actualHoverStroke", brushToString(this.i.
|
|
276
|
+
this.i.bz = stringToBrush(v);
|
|
277
|
+
this._a("actualHoverStroke", brushToString(this.i.bz));
|
|
263
278
|
},
|
|
264
279
|
enumerable: true,
|
|
265
280
|
configurable: true
|
|
@@ -269,11 +284,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
269
284
|
* Gets the stroke to use for the icon.
|
|
270
285
|
*/
|
|
271
286
|
get: function () {
|
|
272
|
-
return brushToString(this.i.
|
|
287
|
+
return brushToString(this.i.b0);
|
|
273
288
|
},
|
|
274
289
|
set: function (v) {
|
|
275
|
-
this.i.
|
|
276
|
-
this._a("actualStroke", brushToString(this.i.
|
|
290
|
+
this.i.b0 = stringToBrush(v);
|
|
291
|
+
this._a("actualStroke", brushToString(this.i.b0));
|
|
277
292
|
},
|
|
278
293
|
enumerable: true,
|
|
279
294
|
configurable: true
|
|
@@ -283,11 +298,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
283
298
|
* Gets the hover stroke to use for the icon.
|
|
284
299
|
*/
|
|
285
300
|
get: function () {
|
|
286
|
-
return this.i.
|
|
301
|
+
return this.i.u;
|
|
287
302
|
},
|
|
288
303
|
set: function (v) {
|
|
289
|
-
this.i.
|
|
290
|
-
this._a("actualHoverStrokeThickness", this.i.
|
|
304
|
+
this.i.u = +v;
|
|
305
|
+
this._a("actualHoverStrokeThickness", this.i.u);
|
|
291
306
|
},
|
|
292
307
|
enumerable: true,
|
|
293
308
|
configurable: true
|
|
@@ -297,11 +312,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
297
312
|
* Gets the stroke to use for the icon.
|
|
298
313
|
*/
|
|
299
314
|
get: function () {
|
|
300
|
-
return this.i.
|
|
315
|
+
return this.i.v;
|
|
301
316
|
},
|
|
302
317
|
set: function (v) {
|
|
303
|
-
this.i.
|
|
304
|
-
this._a("actualStrokeThickness", this.i.
|
|
318
|
+
this.i.v = +v;
|
|
319
|
+
this._a("actualStrokeThickness", this.i.v);
|
|
305
320
|
},
|
|
306
321
|
enumerable: true,
|
|
307
322
|
configurable: true
|
|
@@ -325,11 +340,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
325
340
|
* Gets or sets the color to use for the text.
|
|
326
341
|
*/
|
|
327
342
|
get: function () {
|
|
328
|
-
return brushToString(this.i.
|
|
343
|
+
return brushToString(this.i.cb);
|
|
329
344
|
},
|
|
330
345
|
set: function (v) {
|
|
331
|
-
this.i.
|
|
332
|
-
this._a("textColor", brushToString(this.i.
|
|
346
|
+
this.i.cb = stringToBrush(v);
|
|
347
|
+
this._a("textColor", brushToString(this.i.cb));
|
|
333
348
|
},
|
|
334
349
|
enumerable: true,
|
|
335
350
|
configurable: true
|
|
@@ -352,11 +367,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
352
367
|
* Gets or sets the color to use for the actual background.
|
|
353
368
|
*/
|
|
354
369
|
get: function () {
|
|
355
|
-
return brushToString(this.i.
|
|
370
|
+
return brushToString(this.i.b7);
|
|
356
371
|
},
|
|
357
372
|
set: function (v) {
|
|
358
|
-
this.i.
|
|
359
|
-
this._a("hoverFill", brushToString(this.i.
|
|
373
|
+
this.i.b7 = stringToBrush(v);
|
|
374
|
+
this._a("hoverFill", brushToString(this.i.b7));
|
|
360
375
|
},
|
|
361
376
|
enumerable: true,
|
|
362
377
|
configurable: true
|
|
@@ -366,11 +381,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
366
381
|
* Gets or sets the hover stroke to use for the icon.
|
|
367
382
|
*/
|
|
368
383
|
get: function () {
|
|
369
|
-
return brushToString(this.i.
|
|
384
|
+
return brushToString(this.i.b8);
|
|
370
385
|
},
|
|
371
386
|
set: function (v) {
|
|
372
|
-
this.i.
|
|
373
|
-
this._a("hoverStroke", brushToString(this.i.
|
|
387
|
+
this.i.b8 = stringToBrush(v);
|
|
388
|
+
this._a("hoverStroke", brushToString(this.i.b8));
|
|
374
389
|
},
|
|
375
390
|
enumerable: true,
|
|
376
391
|
configurable: true
|
|
@@ -380,11 +395,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
380
395
|
* Gets or sets the stroke to use for the icon.
|
|
381
396
|
*/
|
|
382
397
|
get: function () {
|
|
383
|
-
return brushToString(this.i.
|
|
398
|
+
return brushToString(this.i.ca);
|
|
384
399
|
},
|
|
385
400
|
set: function (v) {
|
|
386
|
-
this.i.
|
|
387
|
-
this._a("stroke", brushToString(this.i.
|
|
401
|
+
this.i.ca = stringToBrush(v);
|
|
402
|
+
this._a("stroke", brushToString(this.i.ca));
|
|
388
403
|
},
|
|
389
404
|
enumerable: true,
|
|
390
405
|
configurable: true
|
|
@@ -394,11 +409,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
394
409
|
* Gets or sets the hover stroke to use for the icon.
|
|
395
410
|
*/
|
|
396
411
|
get: function () {
|
|
397
|
-
return this.i.
|
|
412
|
+
return this.i.y;
|
|
398
413
|
},
|
|
399
414
|
set: function (v) {
|
|
400
|
-
this.i.
|
|
401
|
-
this._a("hoverStrokeThickness", this.i.
|
|
415
|
+
this.i.y = +v;
|
|
416
|
+
this._a("hoverStrokeThickness", this.i.y);
|
|
402
417
|
},
|
|
403
418
|
enumerable: true,
|
|
404
419
|
configurable: true
|
|
@@ -408,11 +423,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
408
423
|
* Gets or sets the stroke to use for the icon.
|
|
409
424
|
*/
|
|
410
425
|
get: function () {
|
|
411
|
-
return this.i.
|
|
426
|
+
return this.i.aa;
|
|
412
427
|
},
|
|
413
428
|
set: function (v) {
|
|
414
|
-
this.i.
|
|
415
|
-
this._a("strokeThickness", this.i.
|
|
429
|
+
this.i.aa = +v;
|
|
430
|
+
this._a("strokeThickness", this.i.aa);
|
|
416
431
|
},
|
|
417
432
|
enumerable: true,
|
|
418
433
|
configurable: true
|
|
@@ -422,16 +437,16 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
422
437
|
* Gets or sets the use for the button.
|
|
423
438
|
*/
|
|
424
439
|
get: function () {
|
|
425
|
-
if (this.i.
|
|
440
|
+
if (this.i.g == null) {
|
|
426
441
|
return null;
|
|
427
442
|
}
|
|
428
|
-
return this.i.
|
|
443
|
+
return this.i.g.fontString;
|
|
429
444
|
},
|
|
430
445
|
set: function (v) {
|
|
431
446
|
var fi = new FontInfo();
|
|
432
447
|
fi.fontString = v;
|
|
433
|
-
this.i.
|
|
434
|
-
this._a("textStyle", this.i.
|
|
448
|
+
this.i.g = fi;
|
|
449
|
+
this._a("textStyle", this.i.g != null ? this.i.g.fontString : "");
|
|
435
450
|
},
|
|
436
451
|
enumerable: true,
|
|
437
452
|
configurable: true
|
|
@@ -441,11 +456,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
441
456
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
442
457
|
*/
|
|
443
458
|
get: function () {
|
|
444
|
-
return brushToString(this.i.
|
|
459
|
+
return brushToString(this.i.b9);
|
|
445
460
|
},
|
|
446
461
|
set: function (v) {
|
|
447
|
-
this.i.
|
|
448
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
462
|
+
this.i.b9 = stringToBrush(v);
|
|
463
|
+
this._a("hoverTextColor", brushToString(this.i.b9));
|
|
449
464
|
},
|
|
450
465
|
enumerable: true,
|
|
451
466
|
configurable: true
|
|
@@ -455,10 +470,10 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
455
470
|
* Gets or sets the id to use for the checkbox.
|
|
456
471
|
*/
|
|
457
472
|
get: function () {
|
|
458
|
-
return this.i.
|
|
473
|
+
return this.i.ay;
|
|
459
474
|
},
|
|
460
475
|
set: function (v) {
|
|
461
|
-
this.i.
|
|
476
|
+
this.i.ay = v;
|
|
462
477
|
},
|
|
463
478
|
enumerable: true,
|
|
464
479
|
configurable: true
|
|
@@ -468,11 +483,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
468
483
|
* Gets or sets TabIndex to use for the checkbox.
|
|
469
484
|
*/
|
|
470
485
|
get: function () {
|
|
471
|
-
return this.i.
|
|
486
|
+
return this.i.ac;
|
|
472
487
|
},
|
|
473
488
|
set: function (v) {
|
|
474
|
-
this.i.
|
|
475
|
-
this._a("tabIndex", this.i.
|
|
489
|
+
this.i.ac = +v;
|
|
490
|
+
this._a("tabIndex", this.i.ac);
|
|
476
491
|
},
|
|
477
492
|
enumerable: true,
|
|
478
493
|
configurable: true
|
|
@@ -482,10 +497,10 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
482
497
|
* Gets or sets the value of the aria-label attribute.
|
|
483
498
|
*/
|
|
484
499
|
get: function () {
|
|
485
|
-
return this.i.
|
|
500
|
+
return this.i.ap;
|
|
486
501
|
},
|
|
487
502
|
set: function (v) {
|
|
488
|
-
this.i.
|
|
503
|
+
this.i.ap = v;
|
|
489
504
|
},
|
|
490
505
|
enumerable: true,
|
|
491
506
|
configurable: true
|
|
@@ -495,11 +510,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
495
510
|
* Gets or sets whether the icon is hovered.
|
|
496
511
|
*/
|
|
497
512
|
get: function () {
|
|
498
|
-
return this.i.
|
|
513
|
+
return this.i.n;
|
|
499
514
|
},
|
|
500
515
|
set: function (v) {
|
|
501
|
-
this.i.
|
|
502
|
-
this._a("isHover", this.i.
|
|
516
|
+
this.i.n = ensureBool(v);
|
|
517
|
+
this._a("isHover", this.i.n);
|
|
503
518
|
},
|
|
504
519
|
enumerable: true,
|
|
505
520
|
configurable: true
|
|
@@ -520,11 +535,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
520
535
|
});
|
|
521
536
|
Object.defineProperty(IgcXIconComponent.prototype, "opacity", {
|
|
522
537
|
get: function () {
|
|
523
|
-
return this.i.
|
|
538
|
+
return this.i.z;
|
|
524
539
|
},
|
|
525
540
|
set: function (v) {
|
|
526
|
-
this.i.
|
|
527
|
-
this._a("opacity", this.i.
|
|
541
|
+
this.i.z = +v;
|
|
542
|
+
this._a("opacity", this.i.z);
|
|
528
543
|
},
|
|
529
544
|
enumerable: true,
|
|
530
545
|
configurable: true
|
|
@@ -605,7 +620,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
605
620
|
|
|
606
621
|
*/
|
|
607
622
|
IgcXIconComponent.prototype.exportVisualModel = function () {
|
|
608
|
-
var iv = this.i.
|
|
623
|
+
var iv = this.i.ae();
|
|
609
624
|
return (iv);
|
|
610
625
|
};
|
|
611
626
|
/**
|
|
@@ -613,7 +628,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
613
628
|
|
|
614
629
|
*/
|
|
615
630
|
IgcXIconComponent.prototype.exportSerializedVisualModel = function () {
|
|
616
|
-
var iv = this.i.
|
|
631
|
+
var iv = this.i.as();
|
|
617
632
|
return (iv);
|
|
618
633
|
};
|
|
619
634
|
IgcXIconComponent._observedAttributesIgcXIconComponent = null;
|
|
@@ -9,6 +9,7 @@ import { IgcXInputGroupItemComponent } from './igc-x-input-group-item-component'
|
|
|
9
9
|
import { IgcInputChangeEventArgs } from './igc-input-change-event-args';
|
|
10
10
|
import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
11
11
|
import { IgcKeyEventArgs } from "igniteui-webcomponents-core";
|
|
12
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
12
13
|
var requiredStyle = "\n\n";
|
|
13
14
|
var pending = [];
|
|
14
15
|
var checked = /*@__PURE__*/ new WeakMap(); // TODO why not WeakSet?
|
|
@@ -204,16 +205,30 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
204
205
|
RegisterElementHelper.registerElement(IgcXInputComponent.htmlTagName, IgcXInputComponent);
|
|
205
206
|
}
|
|
206
207
|
};
|
|
207
|
-
Object.defineProperty(IgcXInputComponent.prototype, "
|
|
208
|
+
Object.defineProperty(IgcXInputComponent.prototype, "baseTheme", {
|
|
208
209
|
/**
|
|
209
|
-
* Gets or sets the
|
|
210
|
+
* Gets or sets the base built in theme to use for the button.
|
|
210
211
|
*/
|
|
211
212
|
get: function () {
|
|
212
|
-
return this.i.
|
|
213
|
+
return this.i.w;
|
|
214
|
+
},
|
|
215
|
+
set: function (v) {
|
|
216
|
+
this.i.w = ensureEnum(BaseControlTheme_$type, v);
|
|
217
|
+
this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.w));
|
|
218
|
+
},
|
|
219
|
+
enumerable: true,
|
|
220
|
+
configurable: true
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(IgcXInputComponent.prototype, "density", {
|
|
223
|
+
/**
|
|
224
|
+
* Gets or sets the display density to use for the input.
|
|
225
|
+
*/
|
|
226
|
+
get: function () {
|
|
227
|
+
return this.i.aa;
|
|
213
228
|
},
|
|
214
229
|
set: function (v) {
|
|
215
|
-
this.i.
|
|
216
|
-
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.
|
|
230
|
+
this.i.aa = ensureEnum(ControlDisplayDensity_$type, v);
|
|
231
|
+
this._a("density", enumToString(ControlDisplayDensity_$type, this.i.aa));
|
|
217
232
|
},
|
|
218
233
|
enumerable: true,
|
|
219
234
|
configurable: true
|
|
@@ -223,11 +238,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
223
238
|
* Gets the actual display density to use for the label.
|
|
224
239
|
*/
|
|
225
240
|
get: function () {
|
|
226
|
-
return this.i.
|
|
241
|
+
return this.i.z;
|
|
227
242
|
},
|
|
228
243
|
set: function (v) {
|
|
229
|
-
this.i.
|
|
230
|
-
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.
|
|
244
|
+
this.i.z = ensureEnum(ControlDisplayDensity_$type, v);
|
|
245
|
+
this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.z));
|
|
231
246
|
},
|
|
232
247
|
enumerable: true,
|
|
233
248
|
configurable: true
|
|
@@ -237,10 +252,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
237
252
|
* Gets/Sets the input mask for the input.
|
|
238
253
|
*/
|
|
239
254
|
get: function () {
|
|
240
|
-
return this.i.
|
|
255
|
+
return this.i.cc;
|
|
241
256
|
},
|
|
242
257
|
set: function (v) {
|
|
243
|
-
this.i.
|
|
258
|
+
this.i.cc = v;
|
|
244
259
|
},
|
|
245
260
|
enumerable: true,
|
|
246
261
|
configurable: true
|
|
@@ -250,10 +265,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
250
265
|
* Gets/Sets the character representing a fillable spot in the input mask
|
|
251
266
|
*/
|
|
252
267
|
get: function () {
|
|
253
|
-
return this.i.
|
|
268
|
+
return this.i.cg;
|
|
254
269
|
},
|
|
255
270
|
set: function (v) {
|
|
256
|
-
this.i.
|
|
271
|
+
this.i.cg = v;
|
|
257
272
|
},
|
|
258
273
|
enumerable: true,
|
|
259
274
|
configurable: true
|
|
@@ -263,11 +278,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
263
278
|
* Specifies if the bound value includes the formatting symbols.
|
|
264
279
|
*/
|
|
265
280
|
get: function () {
|
|
266
|
-
return this.i.
|
|
281
|
+
return this.i.at;
|
|
267
282
|
},
|
|
268
283
|
set: function (v) {
|
|
269
|
-
this.i.
|
|
270
|
-
this._a("includeLiterals", this.i.
|
|
284
|
+
this.i.at = ensureBool(v);
|
|
285
|
+
this._a("includeLiterals", this.i.at);
|
|
271
286
|
},
|
|
272
287
|
enumerable: true,
|
|
273
288
|
configurable: true
|
|
@@ -277,11 +292,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
277
292
|
* Gets the actual color to use for the text color.
|
|
278
293
|
*/
|
|
279
294
|
get: function () {
|
|
280
|
-
return brushToString(this.i.
|
|
295
|
+
return brushToString(this.i.dx);
|
|
281
296
|
},
|
|
282
297
|
set: function (v) {
|
|
283
|
-
this.i.
|
|
284
|
-
this._a("actualTextColor", brushToString(this.i.
|
|
298
|
+
this.i.dx = stringToBrush(v);
|
|
299
|
+
this._a("actualTextColor", brushToString(this.i.dx));
|
|
285
300
|
},
|
|
286
301
|
enumerable: true,
|
|
287
302
|
configurable: true
|
|
@@ -291,11 +306,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
291
306
|
* Gets the actual hover color to use for the text.
|
|
292
307
|
*/
|
|
293
308
|
get: function () {
|
|
294
|
-
return brushToString(this.i.
|
|
309
|
+
return brushToString(this.i.dw);
|
|
295
310
|
},
|
|
296
311
|
set: function (v) {
|
|
297
|
-
this.i.
|
|
298
|
-
this._a("actualHoverTextColor", brushToString(this.i.
|
|
312
|
+
this.i.dw = stringToBrush(v);
|
|
313
|
+
this._a("actualHoverTextColor", brushToString(this.i.dw));
|
|
299
314
|
},
|
|
300
315
|
enumerable: true,
|
|
301
316
|
configurable: true
|
|
@@ -305,11 +320,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
305
320
|
* Gets or sets the color to use for the text.
|
|
306
321
|
*/
|
|
307
322
|
get: function () {
|
|
308
|
-
return brushToString(this.i.
|
|
323
|
+
return brushToString(this.i.d1);
|
|
309
324
|
},
|
|
310
325
|
set: function (v) {
|
|
311
|
-
this.i.
|
|
312
|
-
this._a("textColor", brushToString(this.i.
|
|
326
|
+
this.i.d1 = stringToBrush(v);
|
|
327
|
+
this._a("textColor", brushToString(this.i.d1));
|
|
313
328
|
},
|
|
314
329
|
enumerable: true,
|
|
315
330
|
configurable: true
|
|
@@ -319,16 +334,16 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
319
334
|
* Gets or sets the use for the button.
|
|
320
335
|
*/
|
|
321
336
|
get: function () {
|
|
322
|
-
if (this.i.
|
|
337
|
+
if (this.i.af == null) {
|
|
323
338
|
return null;
|
|
324
339
|
}
|
|
325
|
-
return this.i.
|
|
340
|
+
return this.i.af.fontString;
|
|
326
341
|
},
|
|
327
342
|
set: function (v) {
|
|
328
343
|
var fi = new FontInfo();
|
|
329
344
|
fi.fontString = v;
|
|
330
|
-
this.i.
|
|
331
|
-
this._a("textStyle", this.i.
|
|
345
|
+
this.i.af = fi;
|
|
346
|
+
this._a("textStyle", this.i.af != null ? this.i.af.fontString : "");
|
|
332
347
|
},
|
|
333
348
|
enumerable: true,
|
|
334
349
|
configurable: true
|
|
@@ -338,10 +353,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
338
353
|
* Gets or sets the type to use for the input.
|
|
339
354
|
*/
|
|
340
355
|
get: function () {
|
|
341
|
-
return this.i.
|
|
356
|
+
return this.i.b6;
|
|
342
357
|
},
|
|
343
358
|
set: function (v) {
|
|
344
|
-
this.i.
|
|
359
|
+
this.i.b6 = v;
|
|
345
360
|
},
|
|
346
361
|
enumerable: true,
|
|
347
362
|
configurable: true
|
|
@@ -351,10 +366,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
351
366
|
* Gets or sets the placeholder to use for the input.
|
|
352
367
|
*/
|
|
353
368
|
get: function () {
|
|
354
|
-
return this.i.
|
|
369
|
+
return this.i.ce;
|
|
355
370
|
},
|
|
356
371
|
set: function (v) {
|
|
357
|
-
this.i.
|
|
372
|
+
this.i.ce = v;
|
|
358
373
|
},
|
|
359
374
|
enumerable: true,
|
|
360
375
|
configurable: true
|
|
@@ -364,11 +379,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
364
379
|
* Gets or sets the color to use for the hovered text of the button regardless of type.
|
|
365
380
|
*/
|
|
366
381
|
get: function () {
|
|
367
|
-
return brushToString(this.i.
|
|
382
|
+
return brushToString(this.i.d0);
|
|
368
383
|
},
|
|
369
384
|
set: function (v) {
|
|
370
|
-
this.i.
|
|
371
|
-
this._a("hoverTextColor", brushToString(this.i.
|
|
385
|
+
this.i.d0 = stringToBrush(v);
|
|
386
|
+
this._a("hoverTextColor", brushToString(this.i.d0));
|
|
372
387
|
},
|
|
373
388
|
enumerable: true,
|
|
374
389
|
configurable: true
|
|
@@ -378,10 +393,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
378
393
|
* Gets or sets the id to use for the checkbox.
|
|
379
394
|
*/
|
|
380
395
|
get: function () {
|
|
381
|
-
return this.i.
|
|
396
|
+
return this.i.b3;
|
|
382
397
|
},
|
|
383
398
|
set: function (v) {
|
|
384
|
-
this.i.
|
|
399
|
+
this.i.b3 = v;
|
|
385
400
|
},
|
|
386
401
|
enumerable: true,
|
|
387
402
|
configurable: true
|
|
@@ -391,11 +406,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
391
406
|
* Gets or sets TabIndex to use for the checkbox.
|
|
392
407
|
*/
|
|
393
408
|
get: function () {
|
|
394
|
-
return this.i.
|
|
409
|
+
return this.i.bc;
|
|
395
410
|
},
|
|
396
411
|
set: function (v) {
|
|
397
|
-
this.i.
|
|
398
|
-
this._a("tabIndex", this.i.
|
|
412
|
+
this.i.bc = +v;
|
|
413
|
+
this._a("tabIndex", this.i.bc);
|
|
399
414
|
},
|
|
400
415
|
enumerable: true,
|
|
401
416
|
configurable: true
|
|
@@ -405,10 +420,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
405
420
|
* Gets or sets the for attribute to use for the input.
|
|
406
421
|
*/
|
|
407
422
|
get: function () {
|
|
408
|
-
return this.i.
|
|
423
|
+
return this.i.b0;
|
|
409
424
|
},
|
|
410
425
|
set: function (v) {
|
|
411
|
-
this.i.
|
|
426
|
+
this.i.b0 = v;
|
|
412
427
|
},
|
|
413
428
|
enumerable: true,
|
|
414
429
|
configurable: true
|
|
@@ -418,10 +433,10 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
418
433
|
* Gets or sets the value of the aria-label attribute.
|
|
419
434
|
*/
|
|
420
435
|
get: function () {
|
|
421
|
-
return this.i.
|
|
436
|
+
return this.i.bv;
|
|
422
437
|
},
|
|
423
438
|
set: function (v) {
|
|
424
|
-
this.i.
|
|
439
|
+
this.i.bv = v;
|
|
425
440
|
},
|
|
426
441
|
enumerable: true,
|
|
427
442
|
configurable: true
|
|
@@ -431,11 +446,11 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
431
446
|
* Gets or sets whether the input is hovered.
|
|
432
447
|
*/
|
|
433
448
|
get: function () {
|
|
434
|
-
return this.i.
|
|
449
|
+
return this.i.av;
|
|
435
450
|
},
|
|
436
451
|
set: function (v) {
|
|
437
|
-
this.i.
|
|
438
|
-
this._a("isHover", this.i.
|
|
452
|
+
this.i.av = ensureBool(v);
|
|
453
|
+
this._a("isHover", this.i.av);
|
|
439
454
|
},
|
|
440
455
|
enumerable: true,
|
|
441
456
|
configurable: true
|
|
@@ -445,17 +460,17 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
445
460
|
* Gets or sets the value for the input.
|
|
446
461
|
*/
|
|
447
462
|
get: function () {
|
|
448
|
-
return this.i.
|
|
463
|
+
return this.i.cm;
|
|
449
464
|
},
|
|
450
465
|
set: function (v) {
|
|
451
|
-
this.i.
|
|
466
|
+
this.i.cm = v;
|
|
452
467
|
},
|
|
453
468
|
enumerable: true,
|
|
454
469
|
configurable: true
|
|
455
470
|
});
|
|
456
471
|
Object.defineProperty(IgcXInputComponent.prototype, "hasValue", {
|
|
457
472
|
get: function () {
|
|
458
|
-
return this.i.
|
|
473
|
+
return this.i.as;
|
|
459
474
|
},
|
|
460
475
|
enumerable: true,
|
|
461
476
|
configurable: true
|
|
@@ -527,7 +542,7 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
527
542
|
|
|
528
543
|
*/
|
|
529
544
|
IgcXInputComponent.prototype.exportVisualModel = function () {
|
|
530
|
-
var iv = this.i.
|
|
545
|
+
var iv = this.i.be();
|
|
531
546
|
return (iv);
|
|
532
547
|
};
|
|
533
548
|
/**
|
|
@@ -535,17 +550,17 @@ var IgcXInputComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
535
550
|
|
|
536
551
|
*/
|
|
537
552
|
IgcXInputComponent.prototype.exportSerializedVisualModel = function () {
|
|
538
|
-
var iv = this.i.
|
|
553
|
+
var iv = this.i.bz();
|
|
539
554
|
return (iv);
|
|
540
555
|
};
|
|
541
556
|
IgcXInputComponent.prototype.setSelectionRange = function (selectionStart, selectionEnd) {
|
|
542
|
-
this.i.
|
|
557
|
+
this.i.dl(selectionStart, selectionEnd);
|
|
543
558
|
};
|
|
544
559
|
IgcXInputComponent.prototype.blur = function () {
|
|
545
|
-
this.i.
|
|
560
|
+
this.i.cp();
|
|
546
561
|
};
|
|
547
562
|
IgcXInputComponent.prototype.select = function () {
|
|
548
|
-
this.i.
|
|
563
|
+
this.i.dj();
|
|
549
564
|
};
|
|
550
565
|
Object.defineProperty(IgcXInputComponent.prototype, "keyDown", {
|
|
551
566
|
get: function () {
|