igniteui-webcomponents-inputs 4.2.5 → 4.3.0-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 (146) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +98 -98
  4. package/esm2015/lib/ButtonView_combined.js +2206 -1799
  5. package/esm2015/lib/CalendarView_combined.js +156 -156
  6. package/esm2015/lib/CheckboxView_combined.js +532 -458
  7. package/esm2015/lib/DatePickerView_combined.js +398 -364
  8. package/esm2015/lib/IconView_combined.js +553 -355
  9. package/esm2015/lib/InputGroupView_combined.js +2432 -2152
  10. package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
  11. package/esm2015/lib/RippleView_combined.js +1 -1
  12. package/esm2015/lib/Theme.js +48 -0
  13. package/esm2015/lib/ThemeResolver.js +131 -7
  14. package/esm2015/lib/XButtonBridge.js +218 -22
  15. package/esm2015/lib/XCheckboxBridge.js +25 -16
  16. package/esm2015/lib/XComponentBridge.js +20 -6
  17. package/esm2015/lib/XIconBridge.js +93 -0
  18. package/esm2015/lib/XIconButtonBridge.js +45 -33
  19. package/esm2015/lib/XInputBridge.js +91 -38
  20. package/esm2015/lib/XPopupBridge.js +287 -0
  21. package/esm2015/lib/igc-date-picker-component.js +60 -58
  22. package/esm2015/lib/igc-x-button-component.js +694 -546
  23. package/esm2015/lib/igc-x-button-group-component.js +28 -28
  24. package/esm2015/lib/igc-x-calendar-component.js +16 -16
  25. package/esm2015/lib/igc-x-checkbox-component.js +77 -77
  26. package/esm2015/lib/igc-x-icon-component.js +239 -118
  27. package/esm2015/lib/igc-x-input-component.js +61 -43
  28. package/esm2015/lib/igc-x-input-group-component.js +576 -576
  29. package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
  30. package/esm2015/lib/igc-x-ripple-component.js +35 -35
  31. package/esm2015/public_api.js +3 -0
  32. package/esm5/lib/ButtonClickEventArgs.js +2 -2
  33. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
  34. package/esm5/lib/ButtonGroupView_combined.js +176 -176
  35. package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
  36. package/esm5/lib/ButtonView_combined.js +2259 -1808
  37. package/esm5/lib/ButtonVisualModelExport.js +2 -2
  38. package/esm5/lib/CalendarView_combined.js +181 -181
  39. package/esm5/lib/CalendarVisualModelExport.js +2 -2
  40. package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
  41. package/esm5/lib/CheckboxView_combined.js +561 -483
  42. package/esm5/lib/CheckboxVisualModelExport.js +2 -2
  43. package/esm5/lib/DatePickerView_combined.js +421 -383
  44. package/esm5/lib/DatePickerVisualModelExport.js +2 -2
  45. package/esm5/lib/DateTimeValueFormatter.js +2 -2
  46. package/esm5/lib/DayInfo.js +2 -2
  47. package/esm5/lib/ElevationHelper.js +2 -2
  48. package/esm5/lib/GotFocusEventArgs.js +2 -2
  49. package/esm5/lib/IconClickedEventArgs.js +2 -2
  50. package/esm5/lib/IconView_combined.js +600 -362
  51. package/esm5/lib/IconVisualModelExport.js +3 -3
  52. package/esm5/lib/InputChangeEventArgs.js +4 -4
  53. package/esm5/lib/InputGroupView_combined.js +2534 -2246
  54. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  55. package/esm5/lib/InputVisualModelExport.js +2 -2
  56. package/esm5/lib/LabelVisualModelExport.js +2 -2
  57. package/esm5/lib/LostFocusEventArgs.js +2 -2
  58. package/esm5/lib/MaskOptions.js +2 -2
  59. package/esm5/lib/MaskParsingService.js +5 -5
  60. package/esm5/lib/NativeUIXInputsFactory.js +69 -27
  61. package/esm5/lib/PrefixVisualModelExport.js +2 -2
  62. package/esm5/lib/Replaced.js +2 -2
  63. package/esm5/lib/RippleView_combined.js +17 -17
  64. package/esm5/lib/RippleVisualModelExport.js +2 -2
  65. package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
  66. package/esm5/lib/SuffixVisualModelExport.js +2 -2
  67. package/esm5/lib/TextElementsVisualModelExport.js +2 -2
  68. package/esm5/lib/Theme.js +58 -0
  69. package/esm5/lib/ThemeResolver.js +137 -11
  70. package/esm5/lib/XButtonBridge.js +220 -24
  71. package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
  72. package/esm5/lib/XCheckboxBridge.js +27 -18
  73. package/esm5/lib/XComponentBridge.js +26 -8
  74. package/esm5/lib/XIconBridge.js +95 -0
  75. package/esm5/lib/XIconButtonBridge.js +47 -35
  76. package/esm5/lib/XInputBridge.js +93 -40
  77. package/esm5/lib/XPopupBridge.js +289 -0
  78. package/esm5/lib/igc-button-click-event-args.js +1 -1
  79. package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
  80. package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
  81. package/esm5/lib/igc-date-picker-component.js +80 -78
  82. package/esm5/lib/igc-got-focus-event-args.js +1 -1
  83. package/esm5/lib/igc-input-change-event-args.js +3 -3
  84. package/esm5/lib/igc-lost-focus-event-args.js +1 -1
  85. package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
  86. package/esm5/lib/igc-x-button-component.js +908 -710
  87. package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
  88. package/esm5/lib/igc-x-button-group-component.js +73 -73
  89. package/esm5/lib/igc-x-calendar-component.js +30 -30
  90. package/esm5/lib/igc-x-checkbox-component.js +117 -117
  91. package/esm5/lib/igc-x-icon-component.js +297 -136
  92. package/esm5/lib/igc-x-input-component.js +104 -78
  93. package/esm5/lib/igc-x-input-group-component.js +716 -716
  94. package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
  95. package/esm5/lib/igc-x-input-group-item-component.js +6 -6
  96. package/esm5/lib/igc-x-label-component.js +30 -30
  97. package/esm5/lib/igc-x-prefix-component.js +9 -9
  98. package/esm5/lib/igc-x-ripple-component.js +19 -19
  99. package/esm5/lib/igc-x-suffix-component.js +9 -9
  100. package/esm5/public_api.js +3 -0
  101. package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
  102. package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
  103. package/lib/ButtonGroupView_combined.d.ts +136 -70
  104. package/lib/ButtonView_combined.d.ts +609 -583
  105. package/lib/CalendarView_combined.d.ts +43 -22
  106. package/lib/CheckboxChangeEventArgs.d.ts +4 -2
  107. package/lib/CheckboxView_combined.d.ts +150 -117
  108. package/lib/DatePickerView_combined.d.ts +109 -81
  109. package/lib/IconView_combined.d.ts +164 -93
  110. package/lib/IconVisualModelExport.d.ts +2 -1
  111. package/lib/InputChangeEventArgs.d.ts +4 -2
  112. package/lib/InputGroupView_combined.d.ts +771 -771
  113. package/lib/NativeUIXInputsFactory.d.ts +6 -4
  114. package/lib/RippleView_combined.d.ts +19 -10
  115. package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
  116. package/lib/Theme.d.ts +15 -0
  117. package/lib/ThemeResolver.d.ts +44 -6
  118. package/lib/XButtonBridge.d.ts +23 -5
  119. package/lib/XCheckboxBridge.d.ts +3 -3
  120. package/lib/XComponentBridge.d.ts +2 -1
  121. package/lib/XIconBridge.d.ts +14 -0
  122. package/lib/XIconButtonBridge.d.ts +4 -4
  123. package/lib/XInputBridge.d.ts +11 -7
  124. package/lib/XPopupBridge.d.ts +52 -0
  125. package/lib/igc-button-click-event-args.d.ts +1 -1
  126. package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
  127. package/lib/igc-checkbox-change-event-args.d.ts +5 -3
  128. package/lib/igc-date-picker-component.d.ts +65 -34
  129. package/lib/igc-got-focus-event-args.d.ts +1 -1
  130. package/lib/igc-input-change-event-args.d.ts +5 -3
  131. package/lib/igc-lost-focus-event-args.d.ts +1 -1
  132. package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
  133. package/lib/igc-x-button-component.d.ts +399 -173
  134. package/lib/igc-x-button-group-component.d.ts +136 -70
  135. package/lib/igc-x-calendar-component.d.ts +53 -28
  136. package/lib/igc-x-checkbox-component.d.ts +71 -37
  137. package/lib/igc-x-icon-component.d.ts +140 -44
  138. package/lib/igc-x-input-component.d.ts +69 -32
  139. package/lib/igc-x-input-group-component.d.ts +325 -165
  140. package/lib/igc-x-input-group-item-component.d.ts +5 -4
  141. package/lib/igc-x-label-component.d.ts +52 -27
  142. package/lib/igc-x-prefix-component.d.ts +10 -6
  143. package/lib/igc-x-ripple-component.d.ts +31 -17
  144. package/lib/igc-x-suffix-component.d.ts +10 -6
  145. package/package.json +2 -2
  146. package/public_api.d.ts +3 -0
@@ -1,6 +1,6 @@
1
- import * as tslib_1 from "tslib";
1
+ import { __extends, __values } from "tslib";
2
2
  import { XIcon } from "./XIcon";
3
- import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
3
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, fromBrushCollection, toBrushCollection, brushCollectionToString, 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";
@@ -8,7 +8,7 @@ import { RegisterElementHelper } from "igniteui-webcomponents-core";
8
8
  import { IgcHTMLElement } from "igniteui-webcomponents-core";
9
9
  import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
10
10
  var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
11
- tslib_1.__extends(IgcXIconComponent, _super);
11
+ __extends(IgcXIconComponent, _super);
12
12
  function IgcXIconComponent() {
13
13
  var _this = _super.call(this) || this;
14
14
  _this._disconnected = false;
@@ -46,7 +46,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
46
46
  var mut = new MutationObserver(function (list) {
47
47
  var e_1, _b;
48
48
  try {
49
- for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
49
+ for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
50
50
  var mutation = list_1_1.value;
51
51
  if (mutation.type == 'childList') {
52
52
  _this._onChildrenChanged();
@@ -135,7 +135,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
135
135
  } /**
136
136
  * @hidden
137
137
  */,
138
- enumerable: true,
138
+ enumerable: false,
139
139
  configurable: true
140
140
  });
141
141
  IgcXIconComponent._createFromInternal = function (internal) {
@@ -191,7 +191,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
191
191
  }
192
192
  return IgcXIconComponent._observedAttributesIgcXIconComponent;
193
193
  },
194
- enumerable: true,
194
+ enumerable: false,
195
195
  configurable: true
196
196
  });
197
197
  IgcXIconComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
@@ -214,255 +214,332 @@ 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.e;
217
+ return this.i.i;
218
218
  },
219
219
  set: function (v) {
220
- this.i.e = ensureEnum(BaseControlTheme_$type, v);
221
- this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.e));
220
+ this.i.i = ensureEnum(BaseControlTheme_$type, v);
221
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.i));
222
222
  },
223
- enumerable: true,
223
+ enumerable: false,
224
224
  configurable: true
225
225
  });
226
226
  Object.defineProperty(IgcXIconComponent.prototype, "actualFill", {
227
227
  /**
228
- * Gets the color to use for the actual background.
228
+ * Gets the fill color currently used by the icon.
229
229
  */
230
230
  get: function () {
231
- return brushToString(this.i.bx);
231
+ return brushToString(this.i.cp);
232
232
  },
233
233
  set: function (v) {
234
- this.i.bx = stringToBrush(v);
235
- this._a("actualFill", brushToString(this.i.bx));
234
+ this.i.cp = stringToBrush(v);
235
+ this._a("actualFill", brushToString(this.i.cp));
236
236
  },
237
- enumerable: true,
237
+ enumerable: false,
238
+ configurable: true
239
+ });
240
+ Object.defineProperty(IgcXIconComponent.prototype, "actualStroke", {
241
+ /**
242
+ * Gets the stroke color currently used by the icon.
243
+ */
244
+ get: function () {
245
+ return brushToString(this.i.cq);
246
+ },
247
+ set: function (v) {
248
+ this.i.cq = stringToBrush(v);
249
+ this._a("actualStroke", brushToString(this.i.cq));
250
+ },
251
+ enumerable: false,
238
252
  configurable: true
239
253
  });
240
254
  Object.defineProperty(IgcXIconComponent.prototype, "actualTextColor", {
241
255
  /**
242
- * Gets the color to use for the actual text color.
256
+ * Gets the text color currently used by the icon.
243
257
  */
244
258
  get: function () {
245
- return brushToString(this.i.b1);
259
+ return brushToString(this.i.cr);
246
260
  },
247
261
  set: function (v) {
248
- this.i.b1 = stringToBrush(v);
249
- this._a("actualTextColor", brushToString(this.i.b1));
262
+ this.i.cr = stringToBrush(v);
263
+ this._a("actualTextColor", brushToString(this.i.cr));
250
264
  },
251
- enumerable: true,
265
+ enumerable: false,
252
266
  configurable: true
253
267
  });
254
- Object.defineProperty(IgcXIconComponent.prototype, "actualHoverFill", {
268
+ Object.defineProperty(IgcXIconComponent.prototype, "actualStrokeWidth", {
255
269
  /**
256
- * Gets the color to use for the actual background.
270
+ * Gets the stroke width currently used by the icon.
257
271
  */
258
272
  get: function () {
259
- return brushToString(this.i.by);
273
+ return this.i.ad;
260
274
  },
261
275
  set: function (v) {
262
- this.i.by = stringToBrush(v);
263
- this._a("actualHoverFill", brushToString(this.i.by));
276
+ this.i.ad = +v;
277
+ this._a("actualStrokeWidth", this.i.ad);
264
278
  },
265
- enumerable: true,
279
+ enumerable: false,
266
280
  configurable: true
267
281
  });
268
- Object.defineProperty(IgcXIconComponent.prototype, "actualHoverStroke", {
282
+ Object.defineProperty(IgcXIconComponent.prototype, "fill", {
269
283
  /**
270
- * Gets the hover stroke to use for the icon.
284
+ * Gets or sets the fill color to use for the icon.
271
285
  */
272
286
  get: function () {
273
- return brushToString(this.i.bz);
287
+ return brushToString(this.i.fill);
274
288
  },
275
289
  set: function (v) {
276
- this.i.bz = stringToBrush(v);
277
- this._a("actualHoverStroke", brushToString(this.i.bz));
290
+ this.i.fill = stringToBrush(v);
291
+ this._a("fill", brushToString(this.i.fill));
278
292
  },
279
- enumerable: true,
293
+ enumerable: false,
280
294
  configurable: true
281
295
  });
282
- Object.defineProperty(IgcXIconComponent.prototype, "actualStroke", {
296
+ Object.defineProperty(IgcXIconComponent.prototype, "stroke", {
283
297
  /**
284
- * Gets the stroke to use for the icon.
298
+ * Gets or sets the stroke color to use for the icon.
285
299
  */
286
300
  get: function () {
287
- return brushToString(this.i.b0);
301
+ return brushToString(this.i.c5);
288
302
  },
289
303
  set: function (v) {
290
- this.i.b0 = stringToBrush(v);
291
- this._a("actualStroke", brushToString(this.i.b0));
304
+ this.i.c5 = stringToBrush(v);
305
+ this._a("stroke", brushToString(this.i.c5));
292
306
  },
293
- enumerable: true,
307
+ enumerable: false,
294
308
  configurable: true
295
309
  });
296
- Object.defineProperty(IgcXIconComponent.prototype, "actualHoverStrokeThickness", {
310
+ Object.defineProperty(IgcXIconComponent.prototype, "strokeWidth", {
297
311
  /**
298
- * Gets the hover stroke to use for the icon.
312
+ * Gets or sets the stroke thickness to use for the icon.
299
313
  */
300
314
  get: function () {
301
- return this.i.u;
315
+ return this.i.aj;
302
316
  },
303
317
  set: function (v) {
304
- this.i.u = +v;
305
- this._a("actualHoverStrokeThickness", this.i.u);
318
+ this.i.aj = +v;
319
+ this._a("strokeWidth", this.i.aj);
306
320
  },
307
- enumerable: true,
321
+ enumerable: false,
308
322
  configurable: true
309
323
  });
310
- Object.defineProperty(IgcXIconComponent.prototype, "actualStrokeThickness", {
324
+ Object.defineProperty(IgcXIconComponent.prototype, "textColor", {
311
325
  /**
312
- * Gets the stroke to use for the icon.
326
+ * Gets or sets the text color to use for the icon.
313
327
  */
314
328
  get: function () {
315
- return this.i.v;
329
+ return brushToString(this.i.c6);
316
330
  },
317
331
  set: function (v) {
318
- this.i.v = +v;
319
- this._a("actualStrokeThickness", this.i.v);
332
+ this.i.c6 = stringToBrush(v);
333
+ this._a("textColor", brushToString(this.i.c6));
320
334
  },
321
- enumerable: true,
335
+ enumerable: false,
322
336
  configurable: true
323
337
  });
324
- Object.defineProperty(IgcXIconComponent.prototype, "fill", {
338
+ Object.defineProperty(IgcXIconComponent.prototype, "hoverFill", {
325
339
  /**
326
- * Gets or sets the color to use for the actual background.
340
+ * Gets or sets the fill color to use when the icon is hovered.
327
341
  */
328
342
  get: function () {
329
- return brushToString(this.i.fill);
343
+ return brushToString(this.i.cy);
330
344
  },
331
345
  set: function (v) {
332
- this.i.fill = stringToBrush(v);
333
- this._a("fill", brushToString(this.i.fill));
346
+ this.i.cy = stringToBrush(v);
347
+ this._a("hoverFill", brushToString(this.i.cy));
334
348
  },
335
- enumerable: true,
349
+ enumerable: false,
336
350
  configurable: true
337
351
  });
338
- Object.defineProperty(IgcXIconComponent.prototype, "textColor", {
352
+ Object.defineProperty(IgcXIconComponent.prototype, "hoverStroke", {
339
353
  /**
340
- * Gets or sets the color to use for the text.
354
+ * Gets or sets the stroke color to use when the icon is hovered.
341
355
  */
342
356
  get: function () {
343
- return brushToString(this.i.cb);
357
+ return brushToString(this.i.cz);
344
358
  },
345
359
  set: function (v) {
346
- this.i.cb = stringToBrush(v);
347
- this._a("textColor", brushToString(this.i.cb));
360
+ this.i.cz = stringToBrush(v);
361
+ this._a("hoverStroke", brushToString(this.i.cz));
348
362
  },
349
- enumerable: true,
363
+ enumerable: false,
350
364
  configurable: true
351
365
  });
352
- Object.defineProperty(IgcXIconComponent.prototype, "svgPath", {
366
+ Object.defineProperty(IgcXIconComponent.prototype, "hoverStrokeThickness", {
353
367
  /**
354
- * Gets or sets the color to use for the text.
368
+ * Gets or sets the stroke thickness to use when the icon is hovered.
355
369
  */
356
370
  get: function () {
357
- return this.i.svgPath;
371
+ return this.i.ah;
358
372
  },
359
373
  set: function (v) {
360
- this.i.svgPath = v;
374
+ this.i.ah = +v;
375
+ this._a("hoverStrokeThickness", this.i.ah);
361
376
  },
362
- enumerable: true,
377
+ enumerable: false,
363
378
  configurable: true
364
379
  });
365
- Object.defineProperty(IgcXIconComponent.prototype, "hoverFill", {
380
+ Object.defineProperty(IgcXIconComponent.prototype, "hoverTextColor", {
366
381
  /**
367
- * Gets or sets the color to use for the actual background.
382
+ * Gets or sets the text color to use when the icon is hovered.
368
383
  */
369
384
  get: function () {
370
- return brushToString(this.i.b7);
385
+ return brushToString(this.i.c0);
371
386
  },
372
387
  set: function (v) {
373
- this.i.b7 = stringToBrush(v);
374
- this._a("hoverFill", brushToString(this.i.b7));
388
+ this.i.c0 = stringToBrush(v);
389
+ this._a("hoverTextColor", brushToString(this.i.c0));
375
390
  },
376
- enumerable: true,
391
+ enumerable: false,
377
392
  configurable: true
378
393
  });
379
- Object.defineProperty(IgcXIconComponent.prototype, "hoverStroke", {
394
+ Object.defineProperty(IgcXIconComponent.prototype, "fillColors", {
380
395
  /**
381
- * Gets or sets the hover stroke to use for the icon.
396
+ * Gets or sets a collection of fill colors to use in the icon.
397
+ * These colors can be used by SVG elements that have been marked with the
398
+ * ig-icon-fill-#
399
+ * class where # is a number from 0 to count - 1.
382
400
  */
383
401
  get: function () {
384
- return brushToString(this.i.b8);
402
+ return fromBrushCollection(this.i.c);
385
403
  },
386
404
  set: function (v) {
387
- this.i.b8 = stringToBrush(v);
388
- this._a("hoverStroke", brushToString(this.i.b8));
405
+ this.i.c = toBrushCollection(v);
406
+ this._a("fillColors", brushCollectionToString(this.i.c));
389
407
  },
390
- enumerable: true,
408
+ enumerable: false,
391
409
  configurable: true
392
410
  });
393
- Object.defineProperty(IgcXIconComponent.prototype, "stroke", {
411
+ Object.defineProperty(IgcXIconComponent.prototype, "strokeColors", {
394
412
  /**
395
- * Gets or sets the stroke to use for the icon.
413
+ * Gets or sets a collection of stroke colors to use in the icon.
414
+ * These colors can be used by SVG elements that have been marked with the
415
+ * ig-icon-stroke-#
416
+ * class where # is a number from 0 to count - 1.
396
417
  */
397
418
  get: function () {
398
- return brushToString(this.i.ca);
419
+ return fromBrushCollection(this.i.d);
399
420
  },
400
421
  set: function (v) {
401
- this.i.ca = stringToBrush(v);
402
- this._a("stroke", brushToString(this.i.ca));
422
+ this.i.d = toBrushCollection(v);
423
+ this._a("strokeColors", brushCollectionToString(this.i.d));
403
424
  },
404
- enumerable: true,
425
+ enumerable: false,
405
426
  configurable: true
406
427
  });
407
- Object.defineProperty(IgcXIconComponent.prototype, "hoverStrokeThickness", {
428
+ Object.defineProperty(IgcXIconComponent.prototype, "primaryFillColor", {
408
429
  /**
409
- * Gets or sets the hover stroke to use for the icon.
430
+ * Gets or sets a primary fill color for the icon.
431
+ * This color is used by SVG elements that have been marked
432
+ * with the
433
+ * ig-icon-primary-fill
434
+ * class.
410
435
  */
411
436
  get: function () {
412
- return this.i.y;
437
+ return brushToString(this.i.c1);
413
438
  },
414
439
  set: function (v) {
415
- this.i.y = +v;
416
- this._a("hoverStrokeThickness", this.i.y);
440
+ this.i.c1 = stringToBrush(v);
441
+ this._a("primaryFillColor", brushToString(this.i.c1));
417
442
  },
418
- enumerable: true,
443
+ enumerable: false,
419
444
  configurable: true
420
445
  });
421
- Object.defineProperty(IgcXIconComponent.prototype, "strokeThickness", {
446
+ Object.defineProperty(IgcXIconComponent.prototype, "primaryStrokeColor", {
422
447
  /**
423
- * Gets or sets the stroke to use for the icon.
448
+ * Gets or sets a primary stroke color for the icon.
449
+ * This color is used by SVG elements that have been marked
450
+ * with the
451
+ * ig-icon-primary-stroke
452
+ * class.
424
453
  */
425
454
  get: function () {
426
- return this.i.aa;
455
+ return brushToString(this.i.c2);
427
456
  },
428
457
  set: function (v) {
429
- this.i.aa = +v;
430
- this._a("strokeThickness", this.i.aa);
458
+ this.i.c2 = stringToBrush(v);
459
+ this._a("primaryStrokeColor", brushToString(this.i.c2));
431
460
  },
432
- enumerable: true,
461
+ enumerable: false,
433
462
  configurable: true
434
463
  });
435
- Object.defineProperty(IgcXIconComponent.prototype, "textStyle", {
464
+ Object.defineProperty(IgcXIconComponent.prototype, "secondaryFillColor", {
436
465
  /**
437
- * Gets or sets the use for the button.
466
+ * Gets or sets a secondary fill color for the icon.
467
+ * This color is used by SVG elements that have been marked
468
+ * with the
469
+ * ig-icon-secondary-fill
470
+ * class.
438
471
  */
439
472
  get: function () {
440
- if (this.i.g == null) {
441
- return null;
442
- }
443
- return this.i.g.fontString;
473
+ return brushToString(this.i.c3);
444
474
  },
445
475
  set: function (v) {
446
- var fi = new FontInfo();
447
- fi.fontString = v;
448
- this.i.g = fi;
449
- this._a("textStyle", this.i.g != null ? this.i.g.fontString : "");
476
+ this.i.c3 = stringToBrush(v);
477
+ this._a("secondaryFillColor", brushToString(this.i.c3));
450
478
  },
451
- enumerable: true,
479
+ enumerable: false,
452
480
  configurable: true
453
481
  });
454
- Object.defineProperty(IgcXIconComponent.prototype, "hoverTextColor", {
482
+ Object.defineProperty(IgcXIconComponent.prototype, "secondaryStrokeColor", {
483
+ /**
484
+ * Gets or sets a secondary stroke color for the icon.
485
+ * This color is used by SVG elements that have been marked
486
+ * with the
487
+ * ig-icon-secondary-stroke
488
+ * class.
489
+ */
490
+ get: function () {
491
+ return brushToString(this.i.c4);
492
+ },
493
+ set: function (v) {
494
+ this.i.c4 = stringToBrush(v);
495
+ this._a("secondaryStrokeColor", brushToString(this.i.c4));
496
+ },
497
+ enumerable: false,
498
+ configurable: true
499
+ });
500
+ Object.defineProperty(IgcXIconComponent.prototype, "svgPath", {
501
+ /**
502
+ * Gets or sets path data for the icon to use.
503
+ */
504
+ get: function () {
505
+ return this.i.svgPath;
506
+ },
507
+ set: function (v) {
508
+ this.i.svgPath = v;
509
+ },
510
+ enumerable: false,
511
+ configurable: true
512
+ });
513
+ Object.defineProperty(IgcXIconComponent.prototype, "svg", {
514
+ /**
515
+ * Gets or sets svg text for the icon to use.
516
+ */
517
+ get: function () {
518
+ return this.i.svg;
519
+ },
520
+ set: function (v) {
521
+ this.i.svg = v;
522
+ },
523
+ enumerable: false,
524
+ configurable: true
525
+ });
526
+ Object.defineProperty(IgcXIconComponent.prototype, "textStyle", {
455
527
  /**
456
- * Gets or sets the color to use for the hovered text of the button regardless of type.
528
+ * Gets or sets the use for the button.
457
529
  */
458
530
  get: function () {
459
- return brushToString(this.i.b9);
531
+ if (this.i.k == null) {
532
+ return null;
533
+ }
534
+ return this.i.k.fontString;
460
535
  },
461
536
  set: function (v) {
462
- this.i.b9 = stringToBrush(v);
463
- this._a("hoverTextColor", brushToString(this.i.b9));
537
+ var fi = new FontInfo();
538
+ fi.fontString = v;
539
+ this.i.k = fi;
540
+ this._a("textStyle", this.i.k != null ? this.i.k.fontString : "");
464
541
  },
465
- enumerable: true,
542
+ enumerable: false,
466
543
  configurable: true
467
544
  });
468
545
  Object.defineProperty(IgcXIconComponent.prototype, "id", {
@@ -470,12 +547,12 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
470
547
  * Gets or sets the id to use for the checkbox.
471
548
  */
472
549
  get: function () {
473
- return this.i.ay;
550
+ return this.i.bc;
474
551
  },
475
552
  set: function (v) {
476
- this.i.ay = v;
553
+ this.i.bc = v;
477
554
  },
478
- enumerable: true,
555
+ enumerable: false,
479
556
  configurable: true
480
557
  });
481
558
  Object.defineProperty(IgcXIconComponent.prototype, "tabIndex", {
@@ -483,13 +560,13 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
483
560
  * Gets or sets TabIndex to use for the checkbox.
484
561
  */
485
562
  get: function () {
486
- return this.i.ac;
563
+ return this.i.aq;
487
564
  },
488
565
  set: function (v) {
489
- this.i.ac = +v;
490
- this._a("tabIndex", this.i.ac);
566
+ this.i.aq = +v;
567
+ this._a("tabIndex", this.i.aq);
491
568
  },
492
- enumerable: true,
569
+ enumerable: false,
493
570
  configurable: true
494
571
  });
495
572
  Object.defineProperty(IgcXIconComponent.prototype, "ariaLabel", {
@@ -497,12 +574,12 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
497
574
  * Gets or sets the value of the aria-label attribute.
498
575
  */
499
576
  get: function () {
500
- return this.i.ap;
577
+ return this.i.a1;
501
578
  },
502
579
  set: function (v) {
503
- this.i.ap = v;
580
+ this.i.a1 = v;
504
581
  },
505
- enumerable: true,
582
+ enumerable: false,
506
583
  configurable: true
507
584
  });
508
585
  Object.defineProperty(IgcXIconComponent.prototype, "isHover", {
@@ -510,13 +587,13 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
510
587
  * Gets or sets whether the icon is hovered.
511
588
  */
512
589
  get: function () {
513
- return this.i.n;
590
+ return this.i.r;
514
591
  },
515
592
  set: function (v) {
516
- this.i.n = ensureBool(v);
517
- this._a("isHover", this.i.n);
593
+ this.i.r = ensureBool(v);
594
+ this._a("isHover", this.i.r);
518
595
  },
519
- enumerable: true,
596
+ enumerable: false,
520
597
  configurable: true
521
598
  });
522
599
  Object.defineProperty(IgcXIconComponent.prototype, "disabled", {
@@ -530,18 +607,102 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
530
607
  this.i.disabled = ensureBool(v);
531
608
  this._a("disabled", this.i.disabled);
532
609
  },
533
- enumerable: true,
610
+ enumerable: false,
534
611
  configurable: true
535
612
  });
536
613
  Object.defineProperty(IgcXIconComponent.prototype, "opacity", {
537
614
  get: function () {
538
- return this.i.z;
615
+ return this.i.ai;
539
616
  },
540
617
  set: function (v) {
541
- this.i.z = +v;
542
- this._a("opacity", this.i.z);
618
+ this.i.ai = +v;
619
+ this._a("opacity", this.i.ai);
543
620
  },
544
- enumerable: true,
621
+ enumerable: false,
622
+ configurable: true
623
+ });
624
+ Object.defineProperty(IgcXIconComponent.prototype, "viewBoxLeft", {
625
+ /**
626
+ * Gets or sets the viewbox left for the svg icon.
627
+ */
628
+ get: function () {
629
+ return this.i.al;
630
+ },
631
+ set: function (v) {
632
+ this.i.al = +v;
633
+ this._a("viewBoxLeft", this.i.al);
634
+ },
635
+ enumerable: false,
636
+ configurable: true
637
+ });
638
+ Object.defineProperty(IgcXIconComponent.prototype, "viewBoxTop", {
639
+ /**
640
+ * Gets or sets the viewbox top for the svg icon.
641
+ */
642
+ get: function () {
643
+ return this.i.am;
644
+ },
645
+ set: function (v) {
646
+ this.i.am = +v;
647
+ this._a("viewBoxTop", this.i.am);
648
+ },
649
+ enumerable: false,
650
+ configurable: true
651
+ });
652
+ Object.defineProperty(IgcXIconComponent.prototype, "viewBoxWidth", {
653
+ /**
654
+ * Gets or sets the viewbox width for the svg icon.
655
+ */
656
+ get: function () {
657
+ return this.i.an;
658
+ },
659
+ set: function (v) {
660
+ this.i.an = +v;
661
+ this._a("viewBoxWidth", this.i.an);
662
+ },
663
+ enumerable: false,
664
+ configurable: true
665
+ });
666
+ Object.defineProperty(IgcXIconComponent.prototype, "viewBoxHeight", {
667
+ /**
668
+ * Gets or sets the viewbox height for the svg icon.
669
+ */
670
+ get: function () {
671
+ return this.i.ak;
672
+ },
673
+ set: function (v) {
674
+ this.i.ak = +v;
675
+ this._a("viewBoxHeight", this.i.ak);
676
+ },
677
+ enumerable: false,
678
+ configurable: true
679
+ });
680
+ Object.defineProperty(IgcXIconComponent.prototype, "width", {
681
+ /**
682
+ * Gets or sets the width of the icon.
683
+ */
684
+ get: function () {
685
+ return this.i.ao;
686
+ },
687
+ set: function (v) {
688
+ this.i.ao = +v;
689
+ this._a("width", this.i.ao);
690
+ },
691
+ enumerable: false,
692
+ configurable: true
693
+ });
694
+ Object.defineProperty(IgcXIconComponent.prototype, "height", {
695
+ /**
696
+ * Gets or sets the height of the icon.
697
+ */
698
+ get: function () {
699
+ return this.i.ag;
700
+ },
701
+ set: function (v) {
702
+ this.i.ag = +v;
703
+ this._a("height", this.i.ag);
704
+ },
705
+ enumerable: false,
545
706
  configurable: true
546
707
  });
547
708
  IgcXIconComponent.prototype.findByName = function (name) {
@@ -556,7 +717,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
556
717
  get: function () {
557
718
  return this._hasUserValues;
558
719
  },
559
- enumerable: true,
720
+ enumerable: false,
560
721
  configurable: true
561
722
  });
562
723
  IgcXIconComponent.prototype.__m = function (propertyName) {
@@ -620,7 +781,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
620
781
 
621
782
  */
622
783
  IgcXIconComponent.prototype.exportVisualModel = function () {
623
- var iv = this.i.ae();
784
+ var iv = this.i.as();
624
785
  return (iv);
625
786
  };
626
787
  /**
@@ -628,7 +789,7 @@ var IgcXIconComponent = /** @class */ /*@__PURE__*/ (function (_super) {
628
789
 
629
790
  */
630
791
  IgcXIconComponent.prototype.exportSerializedVisualModel = function () {
631
- var iv = this.i.as();
792
+ var iv = this.i.a4();
632
793
  return (iv);
633
794
  };
634
795
  IgcXIconComponent._observedAttributesIgcXIconComponent = null;