igniteui-webcomponents-inputs 4.8.0 → 4.8.1-beta.0

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.
Files changed (34) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +1046 -730
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonView_combined.js +22 -22
  4. package/esm2015/lib/CalendarView_combined.js +16 -14
  5. package/esm2015/lib/CheckboxView_combined.js +73 -67
  6. package/esm2015/lib/DatePickerView_combined.js +14 -14
  7. package/esm2015/lib/IconView_combined.js +663 -467
  8. package/esm2015/lib/IconVisualModelExport.js +13 -11
  9. package/esm2015/lib/InputGroupView_combined.js +29 -29
  10. package/esm2015/lib/NativeUIXInputsFactory.js +1 -1
  11. package/esm2015/lib/XButtonBridge.js +7 -0
  12. package/esm2015/lib/XIconBridge.js +58 -31
  13. package/esm2015/lib/XIconButtonBridge.js +1 -1
  14. package/esm2015/lib/igc-x-icon-component.js +113 -91
  15. package/esm5/lib/ButtonView_combined.js +22 -22
  16. package/esm5/lib/CalendarView_combined.js +16 -14
  17. package/esm5/lib/CheckboxView_combined.js +77 -67
  18. package/esm5/lib/DatePickerView_combined.js +14 -14
  19. package/esm5/lib/IconView_combined.js +685 -444
  20. package/esm5/lib/IconVisualModelExport.js +13 -11
  21. package/esm5/lib/InputGroupView_combined.js +29 -29
  22. package/esm5/lib/NativeUIXInputsFactory.js +1 -1
  23. package/esm5/lib/XButtonBridge.js +7 -0
  24. package/esm5/lib/XIconBridge.js +58 -31
  25. package/esm5/lib/XIconButtonBridge.js +1 -1
  26. package/esm5/lib/igc-x-icon-component.js +121 -91
  27. package/fesm2015/igniteui-webcomponents-inputs.js +1007 -748
  28. package/fesm5/igniteui-webcomponents-inputs.js +1047 -731
  29. package/lib/CheckboxView_combined.d.ts +17 -16
  30. package/lib/IconView_combined.d.ts +150 -134
  31. package/lib/IconVisualModelExport.d.ts +4 -3
  32. package/lib/XIconBridge.d.ts +3 -0
  33. package/lib/igc-x-icon-component.d.ts +10 -0
  34. package/package.json +2 -2
@@ -214,11 +214,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
214
214
  * Gets or sets the base built in theme to use for the button.
215
215
  */
216
216
  get: function () {
217
- return this.i.i;
217
+ return this.i.k;
218
218
  },
219
219
  set: function (v) {
220
- this.i.i = ensureEnum(BaseControlTheme_$type, v);
221
- this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.i));
220
+ this.i.k = ensureEnum(BaseControlTheme_$type, v);
221
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.k));
222
222
  },
223
223
  enumerable: false,
224
224
  configurable: true
@@ -228,11 +228,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
228
228
  * Gets the fill color currently used by the icon.
229
229
  */
230
230
  get: function () {
231
- return brushToString(this.i.cp);
231
+ return brushToString(this.i.cw);
232
232
  },
233
233
  set: function (v) {
234
- this.i.cp = stringToBrush(v);
235
- this._a("actualFill", brushToString(this.i.cp));
234
+ this.i.cw = stringToBrush(v);
235
+ this._a("actualFill", brushToString(this.i.cw));
236
236
  },
237
237
  enumerable: false,
238
238
  configurable: true
@@ -242,11 +242,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
242
242
  * Gets the stroke color currently used by the icon.
243
243
  */
244
244
  get: function () {
245
- return brushToString(this.i.cq);
245
+ return brushToString(this.i.cx);
246
246
  },
247
247
  set: function (v) {
248
- this.i.cq = stringToBrush(v);
249
- this._a("actualStroke", brushToString(this.i.cq));
248
+ this.i.cx = stringToBrush(v);
249
+ this._a("actualStroke", brushToString(this.i.cx));
250
250
  },
251
251
  enumerable: false,
252
252
  configurable: true
@@ -256,11 +256,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
256
256
  * Gets the text color currently used by the icon.
257
257
  */
258
258
  get: function () {
259
- return brushToString(this.i.cr);
259
+ return brushToString(this.i.cy);
260
260
  },
261
261
  set: function (v) {
262
- this.i.cr = stringToBrush(v);
263
- this._a("actualTextColor", brushToString(this.i.cr));
262
+ this.i.cy = stringToBrush(v);
263
+ this._a("actualTextColor", brushToString(this.i.cy));
264
264
  },
265
265
  enumerable: false,
266
266
  configurable: true
@@ -270,11 +270,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
270
270
  * Gets the stroke width currently used by the icon.
271
271
  */
272
272
  get: function () {
273
- return this.i.ad;
273
+ return this.i.af;
274
274
  },
275
275
  set: function (v) {
276
- this.i.ad = +v;
277
- this._a("actualStrokeWidth", this.i.ad);
276
+ this.i.af = +v;
277
+ this._a("actualStrokeWidth", this.i.af);
278
278
  },
279
279
  enumerable: false,
280
280
  configurable: true
@@ -298,11 +298,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
298
298
  * Gets or sets the stroke color to use for the icon.
299
299
  */
300
300
  get: function () {
301
- return brushToString(this.i.c5);
301
+ return brushToString(this.i.dc);
302
302
  },
303
303
  set: function (v) {
304
- this.i.c5 = stringToBrush(v);
305
- this._a("stroke", brushToString(this.i.c5));
304
+ this.i.dc = stringToBrush(v);
305
+ this._a("stroke", brushToString(this.i.dc));
306
306
  },
307
307
  enumerable: false,
308
308
  configurable: true
@@ -312,11 +312,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
312
312
  * Gets or sets the stroke thickness to use for the icon.
313
313
  */
314
314
  get: function () {
315
- return this.i.aj;
315
+ return this.i.al;
316
316
  },
317
317
  set: function (v) {
318
- this.i.aj = +v;
319
- this._a("strokeWidth", this.i.aj);
318
+ this.i.al = +v;
319
+ this._a("strokeWidth", this.i.al);
320
320
  },
321
321
  enumerable: false,
322
322
  configurable: true
@@ -326,11 +326,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
326
326
  * Gets or sets the text color to use for the icon.
327
327
  */
328
328
  get: function () {
329
- return brushToString(this.i.c6);
329
+ return brushToString(this.i.dd);
330
330
  },
331
331
  set: function (v) {
332
- this.i.c6 = stringToBrush(v);
333
- this._a("textColor", brushToString(this.i.c6));
332
+ this.i.dd = stringToBrush(v);
333
+ this._a("textColor", brushToString(this.i.dd));
334
334
  },
335
335
  enumerable: false,
336
336
  configurable: true
@@ -340,11 +340,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
340
340
  * Gets or sets the fill color to use when the icon is hovered.
341
341
  */
342
342
  get: function () {
343
- return brushToString(this.i.cy);
343
+ return brushToString(this.i.c5);
344
344
  },
345
345
  set: function (v) {
346
- this.i.cy = stringToBrush(v);
347
- this._a("hoverFill", brushToString(this.i.cy));
346
+ this.i.c5 = stringToBrush(v);
347
+ this._a("hoverFill", brushToString(this.i.c5));
348
348
  },
349
349
  enumerable: false,
350
350
  configurable: true
@@ -354,11 +354,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
354
354
  * Gets or sets the stroke color to use when the icon is hovered.
355
355
  */
356
356
  get: function () {
357
- return brushToString(this.i.cz);
357
+ return brushToString(this.i.c6);
358
358
  },
359
359
  set: function (v) {
360
- this.i.cz = stringToBrush(v);
361
- this._a("hoverStroke", brushToString(this.i.cz));
360
+ this.i.c6 = stringToBrush(v);
361
+ this._a("hoverStroke", brushToString(this.i.c6));
362
362
  },
363
363
  enumerable: false,
364
364
  configurable: true
@@ -368,11 +368,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
368
368
  * Gets or sets the stroke thickness to use when the icon is hovered.
369
369
  */
370
370
  get: function () {
371
- return this.i.ah;
371
+ return this.i.aj;
372
372
  },
373
373
  set: function (v) {
374
- this.i.ah = +v;
375
- this._a("hoverStrokeThickness", this.i.ah);
374
+ this.i.aj = +v;
375
+ this._a("hoverStrokeThickness", this.i.aj);
376
376
  },
377
377
  enumerable: false,
378
378
  configurable: true
@@ -382,11 +382,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
382
382
  * Gets or sets the text color to use when the icon is hovered.
383
383
  */
384
384
  get: function () {
385
- return brushToString(this.i.c0);
385
+ return brushToString(this.i.c7);
386
386
  },
387
387
  set: function (v) {
388
- this.i.c0 = stringToBrush(v);
389
- this._a("hoverTextColor", brushToString(this.i.c0));
388
+ this.i.c7 = stringToBrush(v);
389
+ this._a("hoverTextColor", brushToString(this.i.c7));
390
390
  },
391
391
  enumerable: false,
392
392
  configurable: true
@@ -399,11 +399,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
399
399
  * class where # is a number from 0 to count - 1.
400
400
  */
401
401
  get: function () {
402
- return fromBrushCollection(this.i.c);
402
+ return fromBrushCollection(this.i.e);
403
403
  },
404
404
  set: function (v) {
405
- this.i.c = toBrushCollection(v);
406
- this._a("fillColors", brushCollectionToString(this.i.c));
405
+ this.i.e = toBrushCollection(v);
406
+ this._a("fillColors", brushCollectionToString(this.i.e));
407
407
  },
408
408
  enumerable: false,
409
409
  configurable: true
@@ -416,11 +416,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
416
416
  * class where # is a number from 0 to count - 1.
417
417
  */
418
418
  get: function () {
419
- return fromBrushCollection(this.i.d);
419
+ return fromBrushCollection(this.i.f);
420
420
  },
421
421
  set: function (v) {
422
- this.i.d = toBrushCollection(v);
423
- this._a("strokeColors", brushCollectionToString(this.i.d));
422
+ this.i.f = toBrushCollection(v);
423
+ this._a("strokeColors", brushCollectionToString(this.i.f));
424
424
  },
425
425
  enumerable: false,
426
426
  configurable: true
@@ -434,11 +434,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
434
434
  * class.
435
435
  */
436
436
  get: function () {
437
- return brushToString(this.i.c1);
437
+ return brushToString(this.i.c8);
438
438
  },
439
439
  set: function (v) {
440
- this.i.c1 = stringToBrush(v);
441
- this._a("primaryFillColor", brushToString(this.i.c1));
440
+ this.i.c8 = stringToBrush(v);
441
+ this._a("primaryFillColor", brushToString(this.i.c8));
442
442
  },
443
443
  enumerable: false,
444
444
  configurable: true
@@ -452,11 +452,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
452
452
  * class.
453
453
  */
454
454
  get: function () {
455
- return brushToString(this.i.c2);
455
+ return brushToString(this.i.c9);
456
456
  },
457
457
  set: function (v) {
458
- this.i.c2 = stringToBrush(v);
459
- this._a("primaryStrokeColor", brushToString(this.i.c2));
458
+ this.i.c9 = stringToBrush(v);
459
+ this._a("primaryStrokeColor", brushToString(this.i.c9));
460
460
  },
461
461
  enumerable: false,
462
462
  configurable: true
@@ -470,11 +470,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
470
470
  * class.
471
471
  */
472
472
  get: function () {
473
- return brushToString(this.i.c3);
473
+ return brushToString(this.i.da);
474
474
  },
475
475
  set: function (v) {
476
- this.i.c3 = stringToBrush(v);
477
- this._a("secondaryFillColor", brushToString(this.i.c3));
476
+ this.i.da = stringToBrush(v);
477
+ this._a("secondaryFillColor", brushToString(this.i.da));
478
478
  },
479
479
  enumerable: false,
480
480
  configurable: true
@@ -488,11 +488,24 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
488
488
  * class.
489
489
  */
490
490
  get: function () {
491
- return brushToString(this.i.c4);
491
+ return brushToString(this.i.db);
492
+ },
493
+ set: function (v) {
494
+ this.i.db = stringToBrush(v);
495
+ this._a("secondaryStrokeColor", brushToString(this.i.db));
496
+ },
497
+ enumerable: false,
498
+ configurable: true
499
+ });
500
+ Object.defineProperty(IgcXIconComponent.prototype, "dataURL", {
501
+ /**
502
+ * Gets or sets data url for the icon to use.
503
+ */
504
+ get: function () {
505
+ return this.i.a7;
492
506
  },
493
507
  set: function (v) {
494
- this.i.c4 = stringToBrush(v);
495
- this._a("secondaryStrokeColor", brushToString(this.i.c4));
508
+ this.i.a7 = v;
496
509
  },
497
510
  enumerable: false,
498
511
  configurable: true
@@ -523,21 +536,38 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
523
536
  enumerable: false,
524
537
  configurable: true
525
538
  });
539
+ Object.defineProperty(IgcXIconComponent.prototype, "sVGPaths", {
540
+ /**
541
+ * Gets or sets an array of path data for the icon to use.
542
+ */
543
+ get: function () {
544
+ return this.i.b;
545
+ },
546
+ set: function (v) {
547
+ if (v && !Array.isArray(v) && typeof (v) == "string") {
548
+ var re = /\s*(?:,|\s|$)\s*/gm;
549
+ v = v.split(re);
550
+ }
551
+ this.i.b = v;
552
+ },
553
+ enumerable: false,
554
+ configurable: true
555
+ });
526
556
  Object.defineProperty(IgcXIconComponent.prototype, "textStyle", {
527
557
  /**
528
558
  * Gets or sets the use for the button.
529
559
  */
530
560
  get: function () {
531
- if (this.i.k == null) {
561
+ if (this.i.m == null) {
532
562
  return null;
533
563
  }
534
- return this.i.k.fontString;
564
+ return this.i.m.fontString;
535
565
  },
536
566
  set: function (v) {
537
567
  var fi = new FontInfo();
538
568
  fi.fontString = v;
539
- this.i.k = fi;
540
- this._a("textStyle", this.i.k != null ? this.i.k.fontString : "");
569
+ this.i.m = fi;
570
+ this._a("textStyle", this.i.m != null ? this.i.m.fontString : "");
541
571
  },
542
572
  enumerable: false,
543
573
  configurable: true
@@ -547,10 +577,10 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
547
577
  * Gets or sets the id to use for the checkbox.
548
578
  */
549
579
  get: function () {
550
- return this.i.bc;
580
+ return this.i.bh;
551
581
  },
552
582
  set: function (v) {
553
- this.i.bc = v;
583
+ this.i.bh = v;
554
584
  },
555
585
  enumerable: false,
556
586
  configurable: true
@@ -560,11 +590,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
560
590
  * Gets or sets TabIndex to use for the checkbox.
561
591
  */
562
592
  get: function () {
563
- return this.i.aq;
593
+ return this.i.as;
564
594
  },
565
595
  set: function (v) {
566
- this.i.aq = +v;
567
- this._a("tabIndex", this.i.aq);
596
+ this.i.as = +v;
597
+ this._a("tabIndex", this.i.as);
568
598
  },
569
599
  enumerable: false,
570
600
  configurable: true
@@ -574,10 +604,10 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
574
604
  * Gets or sets the value of the aria-label attribute.
575
605
  */
576
606
  get: function () {
577
- return this.i.a1;
607
+ return this.i.a4;
578
608
  },
579
609
  set: function (v) {
580
- this.i.a1 = v;
610
+ this.i.a4 = v;
581
611
  },
582
612
  enumerable: false,
583
613
  configurable: true
@@ -587,11 +617,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
587
617
  * Gets or sets whether the icon is hovered.
588
618
  */
589
619
  get: function () {
590
- return this.i.r;
620
+ return this.i.t;
591
621
  },
592
622
  set: function (v) {
593
- this.i.r = ensureBool(v);
594
- this._a("isHover", this.i.r);
623
+ this.i.t = ensureBool(v);
624
+ this._a("isHover", this.i.t);
595
625
  },
596
626
  enumerable: false,
597
627
  configurable: true
@@ -612,11 +642,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
612
642
  });
613
643
  Object.defineProperty(IgcXIconComponent.prototype, "opacity", {
614
644
  get: function () {
615
- return this.i.ai;
645
+ return this.i.ak;
616
646
  },
617
647
  set: function (v) {
618
- this.i.ai = +v;
619
- this._a("opacity", this.i.ai);
648
+ this.i.ak = +v;
649
+ this._a("opacity", this.i.ak);
620
650
  },
621
651
  enumerable: false,
622
652
  configurable: true
@@ -626,11 +656,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
626
656
  * Gets or sets the viewbox left for the svg icon.
627
657
  */
628
658
  get: function () {
629
- return this.i.al;
659
+ return this.i.an;
630
660
  },
631
661
  set: function (v) {
632
- this.i.al = +v;
633
- this._a("viewBoxLeft", this.i.al);
662
+ this.i.an = +v;
663
+ this._a("viewBoxLeft", this.i.an);
634
664
  },
635
665
  enumerable: false,
636
666
  configurable: true
@@ -640,11 +670,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
640
670
  * Gets or sets the viewbox top for the svg icon.
641
671
  */
642
672
  get: function () {
643
- return this.i.am;
673
+ return this.i.ao;
644
674
  },
645
675
  set: function (v) {
646
- this.i.am = +v;
647
- this._a("viewBoxTop", this.i.am);
676
+ this.i.ao = +v;
677
+ this._a("viewBoxTop", this.i.ao);
648
678
  },
649
679
  enumerable: false,
650
680
  configurable: true
@@ -654,11 +684,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
654
684
  * Gets or sets the viewbox width for the svg icon.
655
685
  */
656
686
  get: function () {
657
- return this.i.an;
687
+ return this.i.ap;
658
688
  },
659
689
  set: function (v) {
660
- this.i.an = +v;
661
- this._a("viewBoxWidth", this.i.an);
690
+ this.i.ap = +v;
691
+ this._a("viewBoxWidth", this.i.ap);
662
692
  },
663
693
  enumerable: false,
664
694
  configurable: true
@@ -668,11 +698,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
668
698
  * Gets or sets the viewbox height for the svg icon.
669
699
  */
670
700
  get: function () {
671
- return this.i.ak;
701
+ return this.i.am;
672
702
  },
673
703
  set: function (v) {
674
- this.i.ak = +v;
675
- this._a("viewBoxHeight", this.i.ak);
704
+ this.i.am = +v;
705
+ this._a("viewBoxHeight", this.i.am);
676
706
  },
677
707
  enumerable: false,
678
708
  configurable: true
@@ -682,11 +712,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
682
712
  * Gets or sets the width of the icon.
683
713
  */
684
714
  get: function () {
685
- return this.i.ao;
715
+ return this.i.aq;
686
716
  },
687
717
  set: function (v) {
688
- this.i.ao = +v;
689
- this._a("width", this.i.ao);
718
+ this.i.aq = +v;
719
+ this._a("width", this.i.aq);
690
720
  },
691
721
  enumerable: false,
692
722
  configurable: true
@@ -696,11 +726,11 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
696
726
  * Gets or sets the height of the icon.
697
727
  */
698
728
  get: function () {
699
- return this.i.ag;
729
+ return this.i.ai;
700
730
  },
701
731
  set: function (v) {
702
- this.i.ag = +v;
703
- this._a("height", this.i.ag);
732
+ this.i.ai = +v;
733
+ this._a("height", this.i.ai);
704
734
  },
705
735
  enumerable: false,
706
736
  configurable: true
@@ -781,7 +811,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
781
811
 
782
812
  */
783
813
  IgcXIconComponent.prototype.exportVisualModel = function () {
784
- var iv = this.i.as();
814
+ var iv = this.i.au();
785
815
  return (iv);
786
816
  };
787
817
  /**
@@ -789,7 +819,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
789
819
 
790
820
  */
791
821
  IgcXIconComponent.prototype.exportSerializedVisualModel = function () {
792
- var iv = this.i.a4();
822
+ var iv = this.i.a9();
793
823
  return (iv);
794
824
  };
795
825
  IgcXIconComponent._observedAttributesIgcXIconComponent = null;