igniteui-webcomponents-inputs 4.8.1 → 5.0.0-beta.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.
Files changed (61) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +961 -773
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupVisualModelExport.js +1 -1
  4. package/esm2015/lib/ButtonView_combined.js +28 -33
  5. package/esm2015/lib/ButtonVisualModelExport.js +14 -13
  6. package/esm2015/lib/CalendarVisualModelExport.js +1 -1
  7. package/esm2015/lib/CheckboxView_combined.js +2 -2
  8. package/esm2015/lib/DatePickerView_combined.js +325 -322
  9. package/esm2015/lib/IconView_combined.js +319 -219
  10. package/esm2015/lib/IconVisualModelExport.js +46 -33
  11. package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
  12. package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
  13. package/esm2015/lib/XButtonBridge.js +11 -4
  14. package/esm2015/lib/XCheckboxBridge.js +3 -0
  15. package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
  16. package/esm2015/lib/XIconBridge.js +3 -0
  17. package/esm2015/lib/XIconButtonBridge.js +1 -1
  18. package/esm2015/lib/XInputBridge.js +3 -0
  19. package/esm2015/lib/XPopupBridge.js +11 -8
  20. package/esm2015/lib/{igc-date-picker-component.js → igc-x-date-picker-component.js} +54 -54
  21. package/esm2015/lib/{igc-date-picker-module.js → igc-x-date-picker-module.js} +7 -7
  22. package/esm2015/public_api.js +4 -3
  23. package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
  24. package/esm5/lib/ButtonView_combined.js +33 -38
  25. package/esm5/lib/ButtonVisualModelExport.js +14 -13
  26. package/esm5/lib/CalendarVisualModelExport.js +1 -1
  27. package/esm5/lib/CheckboxView_combined.js +2 -2
  28. package/esm5/lib/DatePickerView_combined.js +336 -333
  29. package/esm5/lib/IconView_combined.js +316 -216
  30. package/esm5/lib/IconVisualModelExport.js +50 -33
  31. package/esm5/lib/NativeUIXInputsFactory.js +9 -9
  32. package/esm5/lib/TextBlockVisualModelExport.js +66 -0
  33. package/esm5/lib/XButtonBridge.js +11 -4
  34. package/esm5/lib/XCheckboxBridge.js +3 -0
  35. package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
  36. package/esm5/lib/XIconBridge.js +3 -0
  37. package/esm5/lib/XIconButtonBridge.js +1 -1
  38. package/esm5/lib/XInputBridge.js +3 -0
  39. package/esm5/lib/XPopupBridge.js +11 -8
  40. package/esm5/lib/{igc-date-picker-component.js → igc-x-date-picker-component.js} +111 -111
  41. package/esm5/lib/{igc-date-picker-module.js → igc-x-date-picker-module.js} +11 -11
  42. package/esm5/public_api.js +4 -3
  43. package/fesm2015/igniteui-webcomponents-inputs.js +883 -700
  44. package/fesm5/igniteui-webcomponents-inputs.js +959 -772
  45. package/lib/ButtonVisualModelExport.d.ts +6 -5
  46. package/lib/DatePickerView_combined.d.ts +75 -74
  47. package/lib/IconView_combined.d.ts +45 -39
  48. package/lib/IconVisualModelExport.d.ts +17 -12
  49. package/lib/TextBlockVisualModelExport.d.ts +21 -0
  50. package/lib/XButtonBridge.d.ts +1 -0
  51. package/lib/XCheckboxBridge.d.ts +1 -0
  52. package/lib/XDatePicker.d.ts +1 -0
  53. package/lib/XIconBridge.d.ts +1 -0
  54. package/lib/XInputBridge.d.ts +1 -0
  55. package/lib/XPopupBridge.d.ts +1 -0
  56. package/lib/{igc-date-picker-component.d.ts → igc-x-date-picker-component.d.ts} +18 -18
  57. package/lib/igc-x-date-picker-module.d.ts +3 -0
  58. package/package.json +2 -2
  59. package/public_api.d.ts +4 -3
  60. package/lib/DatePicker.d.ts +0 -1
  61. package/lib/igc-date-picker-module.d.ts +0 -3
@@ -4,7 +4,7 @@ import { WebComponentRenderer } from "igniteui-webcomponents-core";
4
4
  import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
5
5
  import { TypeRegistrar } from "igniteui-webcomponents-core";
6
6
  import { RegisterElementHelper } from "igniteui-webcomponents-core";
7
- import { DatePicker } from './DatePicker';
7
+ import { XDatePicker } from './XDatePicker';
8
8
  import { IgcSelectedValueChangedEventArgs } from "./igc-selected-value-changed-event-args";
9
9
  import { IgcGotFocusEventArgs } from "./igc-got-focus-event-args";
10
10
  import { IgcLostFocusEventArgs } from "./igc-lost-focus-event-args";
@@ -16,8 +16,8 @@ import { DateFormats_$type } from "./DateFormats";
16
16
  import { DayOfWeek_$type } from "./DayOfWeek";
17
17
  import { FirstWeek_$type } from "./FirstWeek";
18
18
  import { IgcHTMLElement } from "igniteui-webcomponents-core";
19
- export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
20
- class IgcDatePickerComponent extends IgcHTMLElement {
19
+ export let IgcXDatePickerComponent = /*@__PURE__*/ (() => {
20
+ class IgcXDatePickerComponent extends IgcHTMLElement {
21
21
  set height(value) {
22
22
  this._height = value;
23
23
  this.style.height = value;
@@ -83,7 +83,7 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
83
83
  this._datePicker.destroy();
84
84
  }
85
85
  createImplementation() {
86
- return new DatePicker();
86
+ return new XDatePicker();
87
87
  }
88
88
  disconnectedCallback() {
89
89
  this._disconnected = true;
@@ -94,8 +94,8 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
94
94
  this._disconnected = false;
95
95
  return;
96
96
  }
97
- this.classList.add("ig-date-picker");
98
- this.classList.add("igc-date-picker");
97
+ this.classList.add("ig-x-date-picker");
98
+ this.classList.add("igc-x-date-picker");
99
99
  var rootWrapper = this._renderer.rootWrapper;
100
100
  var rootElement = rootWrapper.getNativeElement();
101
101
  this.appendChild(rootElement);
@@ -174,14 +174,14 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
174
174
  this._settingAttributes = false;
175
175
  }
176
176
  static get observedAttributes() {
177
- if (IgcDatePickerComponent._observedAttributesIgcDatePickerComponent == null) {
178
- let names = getAllPropertyNames(IgcDatePickerComponent);
177
+ if (IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent == null) {
178
+ let names = getAllPropertyNames(IgcXDatePickerComponent);
179
179
  for (let i = 0; i < names.length; i++) {
180
180
  names[i] = toSpinal(names[i]);
181
181
  }
182
- IgcDatePickerComponent._observedAttributesIgcDatePickerComponent = names;
182
+ IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent = names;
183
183
  }
184
- return IgcDatePickerComponent._observedAttributesIgcDatePickerComponent;
184
+ return IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent;
185
185
  }
186
186
  attributeChangedCallback(name, oldValue, newValue) {
187
187
  if (this._settingAttributes) {
@@ -193,9 +193,9 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
193
193
  this._updatingFromAttribute = false;
194
194
  }
195
195
  static register() {
196
- if (!IgcDatePickerComponent._isElementRegistered) {
197
- IgcDatePickerComponent._isElementRegistered = true;
198
- RegisterElementHelper.registerElement(IgcDatePickerComponent.htmlTagName, IgcDatePickerComponent);
196
+ if (!IgcXDatePickerComponent._isElementRegistered) {
197
+ IgcXDatePickerComponent._isElementRegistered = true;
198
+ RegisterElementHelper.registerElement(IgcXDatePickerComponent.htmlTagName, IgcXDatePickerComponent);
199
199
  }
200
200
  }
201
201
  /**
@@ -211,29 +211,29 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
211
211
  * Gets or Sets the property name that contains the values.
212
212
  */
213
213
  get today() {
214
- return this.i.ba;
214
+ return this.i.bb;
215
215
  }
216
216
  set today(v) {
217
- this.i.ba = v;
217
+ this.i.bb = v;
218
218
  }
219
219
  /**
220
220
  * Gets or Sets the property name that contains the label.
221
221
  */
222
222
  get label() {
223
- return this.i.b3;
223
+ return this.i.b4;
224
224
  }
225
225
  set label(v) {
226
- this.i.b3 = v;
226
+ this.i.b4 = v;
227
227
  }
228
228
  /**
229
229
  * Gets or sets the color to use for the text.
230
230
  */
231
231
  get labelTextColor() {
232
- return brushToString(this.i.dw);
232
+ return brushToString(this.i.dx);
233
233
  }
234
234
  set labelTextColor(v) {
235
- this.i.dw = stringToBrush(v);
236
- this._a("labelTextColor", brushToString(this.i.dw));
235
+ this.i.dx = stringToBrush(v);
236
+ this._a("labelTextColor", brushToString(this.i.dx));
237
237
  }
238
238
  /**
239
239
  * Gets or sets the font to use for the combobox.
@@ -254,28 +254,28 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
254
254
  * Gets or Sets the property name that contains the placeholder.
255
255
  */
256
256
  get placeholder() {
257
- return this.i.cb;
257
+ return this.i.cc;
258
258
  }
259
259
  set placeholder(v) {
260
- this.i.cb = v;
260
+ this.i.cc = v;
261
261
  }
262
262
  /**
263
263
  * Gets or Sets the property name that contains the MinDate.
264
264
  */
265
265
  get minDate() {
266
- return this.i.a9;
266
+ return this.i.ba;
267
267
  }
268
268
  set minDate(v) {
269
- this.i.a9 = v;
269
+ this.i.ba = v;
270
270
  }
271
271
  /**
272
272
  * Gets or Sets the property name that contains the MaxDate.
273
273
  */
274
274
  get maxDate() {
275
- return this.i.a8;
275
+ return this.i.a9;
276
276
  }
277
277
  set maxDate(v) {
278
- this.i.a8 = v;
278
+ this.i.a9 = v;
279
279
  }
280
280
  /**
281
281
  * Gets or sets the display density to use for the date pcicker.
@@ -316,41 +316,41 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
316
316
  * Gets or Sets the text color
317
317
  */
318
318
  get textColor() {
319
- return brushToString(this.i.dx);
319
+ return brushToString(this.i.dy);
320
320
  }
321
321
  set textColor(v) {
322
- this.i.dx = stringToBrush(v);
323
- this._a("textColor", brushToString(this.i.dx));
322
+ this.i.dy = stringToBrush(v);
323
+ this._a("textColor", brushToString(this.i.dy));
324
324
  }
325
325
  /**
326
326
  * Gets or Sets the text color
327
327
  */
328
328
  get iconColor() {
329
- return brushToString(this.i.dv);
329
+ return brushToString(this.i.dw);
330
330
  }
331
331
  set iconColor(v) {
332
- this.i.dv = stringToBrush(v);
333
- this._a("iconColor", brushToString(this.i.dv));
332
+ this.i.dw = stringToBrush(v);
333
+ this._a("iconColor", brushToString(this.i.dw));
334
334
  }
335
335
  /**
336
336
  * Gets or sets the ShowClearButton property to detirmine if the clear button is shown
337
337
  */
338
338
  get showClearButton() {
339
- return this.i.az;
339
+ return this.i.a0;
340
340
  }
341
341
  set showClearButton(v) {
342
- this.i.az = ensureBool(v);
343
- this._a("showClearButton", this.i.az);
342
+ this.i.a0 = ensureBool(v);
343
+ this._a("showClearButton", this.i.a0);
344
344
  }
345
345
  /**
346
346
  * Gets or sets the ShowTodayButton property to detirmine if the today button is shown
347
347
  */
348
348
  get showTodayButton() {
349
- return this.i.a0;
349
+ return this.i.a1;
350
350
  }
351
351
  set showTodayButton(v) {
352
- this.i.a0 = ensureBool(v);
353
- this._a("showTodayButton", this.i.a0);
352
+ this.i.a1 = ensureBool(v);
353
+ this._a("showTodayButton", this.i.a1);
354
354
  }
355
355
  /**
356
356
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
@@ -396,11 +396,11 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
396
396
  * Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
397
397
  */
398
398
  get showWeekNumbers() {
399
- return this.i.a1;
399
+ return this.i.a2;
400
400
  }
401
401
  set showWeekNumbers(v) {
402
- this.i.a1 = ensureBool(v);
403
- this._a("showWeekNumbers", this.i.a1);
402
+ this.i.a2 = ensureBool(v);
403
+ this._a("showWeekNumbers", this.i.a2);
404
404
  }
405
405
  /**
406
406
  * Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
@@ -416,10 +416,10 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
416
416
  * Gets or sets the Format property to detirmine the format of the date in the input
417
417
  */
418
418
  get formatString() {
419
- return this.i.by;
419
+ return this.i.bz;
420
420
  }
421
421
  set formatString(v) {
422
- this.i.by = v;
422
+ this.i.bz = v;
423
423
  }
424
424
  get isDisabled() {
425
425
  return this.i.av;
@@ -452,11 +452,11 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
452
452
  * Indicates that the dropdown will place itself into the browser top layer.
453
453
  */
454
454
  get useTopLayer() {
455
- return this.i.a2;
455
+ return this.i.a3;
456
456
  }
457
457
  set useTopLayer(v) {
458
- this.i.a2 = ensureBool(v);
459
- this._a("useTopLayer", this.i.a2);
458
+ this.i.a3 = ensureBool(v);
459
+ this._a("useTopLayer", this.i.a3);
460
460
  }
461
461
  get hasUserValues() {
462
462
  return this._hasUserValues;
@@ -478,7 +478,7 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
478
478
  if (typeName.indexOf("Xam") === 0) {
479
479
  typeName = typeName.substring(3);
480
480
  }
481
- genericPrefix = toSpinal("DatePickerComponent");
481
+ genericPrefix = toSpinal("XDatePickerComponent");
482
482
  let additionalPrefixes = [];
483
483
  let prefix = toSpinal(typeName);
484
484
  additionalPrefixes.push(prefix + "-");
@@ -512,14 +512,14 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
512
512
  this._inStyling = false;
513
513
  }
514
514
  select() {
515
- this.i.df();
515
+ this.i.dg();
516
516
  }
517
517
  /**
518
518
  * Exports visual information about the current state of the grid.
519
519
 
520
520
  */
521
521
  exportVisualModel() {
522
- let iv = this.i.bf();
522
+ let iv = this.i.bg();
523
523
  return (iv);
524
524
  }
525
525
  /**
@@ -527,7 +527,7 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
527
527
 
528
528
  */
529
529
  exportSerializedVisualModel() {
530
- let iv = this.i.bv();
530
+ let iv = this.i.bw();
531
531
  return (iv);
532
532
  }
533
533
  /**
@@ -672,8 +672,8 @@ export let IgcDatePickerComponent = /*@__PURE__*/ (() => {
672
672
  this.i.propertyChanged = delegateCombine(this.i.propertyChanged, this._valueChange_wrapped);
673
673
  }
674
674
  }
675
- IgcDatePickerComponent._observedAttributesIgcDatePickerComponent = null;
676
- IgcDatePickerComponent.htmlTagName = "igc-date-picker";
677
- IgcDatePickerComponent._isElementRegistered = false;
678
- return IgcDatePickerComponent;
675
+ IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent = null;
676
+ IgcXDatePickerComponent.htmlTagName = "igc-x-date-picker";
677
+ IgcXDatePickerComponent._isElementRegistered = false;
678
+ return IgcXDatePickerComponent;
679
679
  })();
@@ -8,18 +8,18 @@ import { IgcXCalendarModule } from './igc-x-calendar-module';
8
8
  import { IgcXButtonModule } from './igc-x-button-module';
9
9
  import { IgcXIconModule } from './igc-x-icon-module';
10
10
  import { IgcXInputGroupModule } from './igc-x-input-group-module';
11
- import { IgcDatePickerComponent } from './igc-date-picker-component';
12
- import { DatePicker } from './DatePicker';
11
+ import { IgcXDatePickerComponent } from './igc-x-date-picker-component';
12
+ import { XDatePicker } from './XDatePicker';
13
13
  import { TypeRegistrar } from "igniteui-webcomponents-core";
14
- export class IgcDatePickerModule {
14
+ export class IgcXDatePickerModule {
15
15
  static register() {
16
16
  IgcXCalendarModule.register();
17
17
  IgcXButtonModule.register();
18
18
  IgcXIconModule.register();
19
19
  IgcXInputGroupModule.register();
20
- IgcDatePickerComponent.register();
21
- TypeRegistrar.registerCons('IgcDatePickerComponent', IgcDatePickerComponent);
22
- TypeRegistrar.registerCons('IgcDatePickerComponent', IgcDatePickerComponent);
23
- TypeRegistrar.register('DatePicker', DatePicker.$type);
20
+ IgcXDatePickerComponent.register();
21
+ TypeRegistrar.registerCons('IgcXDatePickerComponent', IgcXDatePickerComponent);
22
+ TypeRegistrar.registerCons('IgcXDatePickerComponent', IgcXDatePickerComponent);
23
+ TypeRegistrar.register('XDatePicker', XDatePicker.$type);
24
24
  }
25
25
  }
@@ -11,11 +11,11 @@ export * from './lib/FirstWeek';
11
11
  export * from './lib/CalendarVisualModelExport';
12
12
  export * from './lib/TextElementsVisualModelExport';
13
13
  export * from './lib/XCalendarLocaleEn';
14
- export * from './lib/igc-date-picker-module';
15
- export * from './lib/igc-date-picker-component';
14
+ export * from './lib/igc-x-date-picker-module';
15
+ export * from './lib/igc-x-date-picker-component';
16
16
  export * from './lib/DateTimeValueFormatter';
17
17
  export * from './lib/DatePickerView';
18
- export * from './lib/DatePicker';
18
+ export * from './lib/XDatePicker';
19
19
  export * from './lib/GotFocusEventArgs';
20
20
  export * from './lib/igc-got-focus-event-args';
21
21
  export * from './lib/LostFocusEventArgs';
@@ -110,3 +110,4 @@ export * from './lib/LabelVisualModelExport';
110
110
  export * from './lib/PrefixVisualModelExport';
111
111
  export * from './lib/RippleVisualModelExport';
112
112
  export * from './lib/SuffixVisualModelExport';
113
+ export * from './lib/TextBlockVisualModelExport';
@@ -46,7 +46,7 @@ var ButtonGroupVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super
46
46
  if (b != 0) {
47
47
  a.l(",");
48
48
  }
49
- a.l(this.i._inner[b].ab());
49
+ a.l(this.i._inner[b].serialize());
50
50
  }
51
51
  a.l("]");
52
52
  a.l("}");
@@ -27,7 +27,6 @@ import { FocusEventArgs } from "igniteui-webcomponents-core";
27
27
  import { Thickness } from "igniteui-webcomponents-core";
28
28
  import { BrushUtil } from "igniteui-webcomponents-core";
29
29
  import { ButtonVisualModelExport } from "./ButtonVisualModelExport";
30
- import { UIElementPropertyAccessorFactory } from "igniteui-webcomponents-core";
31
30
  import { AppearanceHelper } from "igniteui-webcomponents-core";
32
31
  import { FontUtil } from "igniteui-webcomponents-core";
33
32
  import { Dictionary$2 } from "igniteui-webcomponents-core";
@@ -228,10 +227,13 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
228
227
  this.n.setStyleProperty("height", h);
229
228
  }
230
229
  else {
230
+ this.n.setStyleProperty("width", "auto");
231
+ this.n.setStyleProperty("height", "auto");
231
232
  this.n.setStyleProperty("min-width", i);
232
233
  this.n.setStyleProperty("min-height", j);
233
234
  this.n.setStyleProperty("padding", m);
234
235
  }
236
+ this.k.rootWrapper.setStyleProperty("height", "auto");
235
237
  if (!isNaN_(this.b.bf) && this.b.bf > 0) {
236
238
  this.n.setStyleProperty("border-style", "solid");
237
239
  }
@@ -249,11 +251,6 @@ var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
249
251
  this.n.setStyleProperty("height", "100%");
250
252
  this.k.rootWrapper.setStyleProperty("height", "100%");
251
253
  }
252
- else {
253
- this.n.setStyleProperty("width", "auto");
254
- this.n.setStyleProperty("height", "auto");
255
- this.k.rootWrapper.setStyleProperty("height", "auto");
256
- }
257
254
  };
258
255
  ButtonView.prototype.as = function () {
259
256
  switch (this.b.k5) {
@@ -3552,17 +3549,15 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3552
3549
  };
3553
3550
  XButton.prototype.f0 = function () {
3554
3551
  var a = this.b();
3555
- return a.ab();
3552
+ return a.serialize();
3556
3553
  };
3557
3554
  XButton.prototype.b = function () {
3558
3555
  var a = this.view.q;
3559
3556
  var b = this.view.s;
3560
3557
  var c = new ButtonVisualModelExport();
3561
- var d = UIElementPropertyAccessorFactory.c.a(12, 0);
3562
- var e = d.b(a);
3563
- var f = this.view.a();
3564
- c.s = f[0];
3565
- c.q = f[1];
3558
+ var d = this.view.a();
3559
+ c.s = d[0];
3560
+ c.q = d[1];
3566
3561
  c.p = NativeUI.d(a);
3567
3562
  c.t = NativeUI.k(a);
3568
3563
  c.h = this.n;
@@ -3573,7 +3568,7 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3573
3568
  c.a = AppearanceHelper.a(this.ne);
3574
3569
  c.u = this.ct;
3575
3570
  c.e = AppearanceHelper.a(this.np);
3576
- c.ah = this.kr;
3571
+ c.ag = this.kr;
3577
3572
  c.b = AppearanceHelper.a(NativeUI.aj(a));
3578
3573
  c.j = this.u;
3579
3574
  c.f = AppearanceHelper.a(NativeUI.al(b));
@@ -3589,31 +3584,31 @@ var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
3589
3584
  c.n = this.a0;
3590
3585
  c.l = this.disabled;
3591
3586
  if (this.aa != null) {
3592
- var g = this.aa;
3593
- if (this.view != null && g.q == null) {
3594
- var h = this.view.k;
3595
- var i = FontUtil.getFontInfoFromString(h, g.fontString);
3596
- g.q = i.q;
3597
- g.f = i.f;
3598
- g.r = i.r;
3599
- g.t = i.t;
3600
- g.u = i.u;
3601
- g.v = i.v;
3602
- }
3603
- if (g.q != null) {
3604
- c.ac = g.q;
3605
- }
3606
- if (!isNaN_(g.f)) {
3607
- c.r = g.f;
3608
- }
3609
- if (g.v != null) {
3610
- c.ag = g.v;
3611
- }
3612
- if (g.t != null) {
3613
- c.ae = g.t;
3614
- }
3615
- if (g.r != null) {
3616
- c.ad = g.t;
3587
+ var e = this.aa;
3588
+ if (this.view != null && e.q == null) {
3589
+ var f = this.view.k;
3590
+ var g = FontUtil.getFontInfoFromString(f, e.fontString);
3591
+ e.q = g.q;
3592
+ e.f = g.f;
3593
+ e.r = g.r;
3594
+ e.t = g.t;
3595
+ e.u = g.u;
3596
+ e.v = g.v;
3597
+ }
3598
+ if (e.q != null) {
3599
+ c.ab = e.q;
3600
+ }
3601
+ if (!isNaN_(e.f)) {
3602
+ c.r = e.f;
3603
+ }
3604
+ if (e.v != null) {
3605
+ c.af = e.v;
3606
+ }
3607
+ if (e.t != null) {
3608
+ c.ad = e.t;
3609
+ }
3610
+ if (e.r != null) {
3611
+ c.ac = e.t;
3617
3612
  }
3618
3613
  }
3619
3614
  return c;
@@ -6,6 +6,7 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
6
6
  */
7
7
  import { __extends } from "tslib";
8
8
  import { Base, markType } from "igniteui-webcomponents-core";
9
+ import { IVisualData_$type } from "igniteui-webcomponents-core";
9
10
  import { StringBuilder } from "igniteui-webcomponents-core";
10
11
  import { stringIsNullOrEmpty } from "igniteui-webcomponents-core";
11
12
  import { isNaN_ } from "igniteui-webcomponents-core";
@@ -28,17 +29,17 @@ var ButtonVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
28
29
  _this.a = null;
29
30
  _this.u = 0;
30
31
  _this.e = null;
31
- _this.ah = null;
32
+ _this.ag = null;
32
33
  _this.b = null;
33
34
  _this.j = 0;
34
35
  _this.f = null;
35
36
  _this.o = 0;
37
+ _this.ad = null;
36
38
  _this.ae = null;
37
39
  _this.af = null;
38
- _this.ag = null;
39
40
  _this.r = 0;
41
+ _this.ab = null;
40
42
  _this.ac = null;
41
- _this.ad = null;
42
43
  _this.x = null;
43
44
  _this.y = null;
44
45
  _this.z = null;
@@ -51,7 +52,7 @@ var ButtonVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
51
52
  _this.l = false;
52
53
  return _this;
53
54
  }
54
- ButtonVisualModelExport.prototype.ab = function () {
55
+ ButtonVisualModelExport.prototype.serialize = function () {
55
56
  var a = new StringBuilder(0);
56
57
  a.l("{");
57
58
  a.l("top : " + this.s + ", ");
@@ -72,20 +73,20 @@ var ButtonVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
72
73
  a.l("actualElevationMode : " + this.j + ", ");
73
74
  a.l("actualTextColor : " + this.f.serialize() + ", ");
74
75
  a.l("actualBorderWidth : " + this.o + ", ");
76
+ if (!stringIsNullOrEmpty(this.ad)) {
77
+ a.l("textStyleFontStyle : \"" + this.ad + "\", ");
78
+ }
75
79
  if (!stringIsNullOrEmpty(this.ae)) {
76
- a.l("textStyleFontStyle : \"" + this.ae + "\", ");
80
+ a.l("textStyleFontVariant : \"" + this.ae + "\", ");
77
81
  }
78
82
  if (!stringIsNullOrEmpty(this.af)) {
79
- a.l("textStyleFontVariant : \"" + this.af + "\", ");
83
+ a.l("textStyleFontWeight : \"" + this.af + "\", ");
80
84
  }
81
- if (!stringIsNullOrEmpty(this.ag)) {
82
- a.l("textStyleFontWeight : \"" + this.ag + "\", ");
85
+ if (!stringIsNullOrEmpty(this.ab)) {
86
+ a.l("textStyleFontFamily : \"" + this.ab + "\", ");
83
87
  }
84
88
  if (!stringIsNullOrEmpty(this.ac)) {
85
- a.l("textStyleFontFamily : \"" + this.ac + "\", ");
86
- }
87
- if (!stringIsNullOrEmpty(this.ad)) {
88
- a.l("textStyleFontStretch : \"" + this.ad + "\", ");
89
+ a.l("textStyleFontStretch : \"" + this.ac + "\", ");
89
90
  }
90
91
  if (!isNaN_(this.r)) {
91
92
  a.l("textStyleFontSize : " + this.r + ", ");
@@ -105,7 +106,7 @@ var ButtonVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
105
106
  a.l("}");
106
107
  return a.toString();
107
108
  };
108
- ButtonVisualModelExport.$t = markType(ButtonVisualModelExport, 'ButtonVisualModelExport');
109
+ ButtonVisualModelExport.$t = markType(ButtonVisualModelExport, 'ButtonVisualModelExport', Base.$, [IVisualData_$type]);
109
110
  return ButtonVisualModelExport;
110
111
  }(Base));
111
112
  export { ButtonVisualModelExport };
@@ -74,7 +74,7 @@ var CalendarVisualModelExport = /** @class */ /*@__PURE__*/ (function (_super) {
74
74
  a.l(",");
75
75
  }
76
76
  var c = this.j._inner[b].aa.charAt(0).toString().toLowerCase() + this.j._inner[b].aa.substr(1);
77
- a.l(this.j._inner[b].ab());
77
+ a.l(this.j._inner[b].serialize());
78
78
  }
79
79
  a.l("],");
80
80
  a.l("dayNamesModels: [");
@@ -1278,7 +1278,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1278
1278
  $ret.addItem("CheckedBackgroundColor", BrushUtil.h(255, 105, 136, 255));
1279
1279
  $ret.addItem("TickColor", BrushUtil.h(255, 255, 255, 255));
1280
1280
  $ret.addItem("TickStrokeWidth", 3);
1281
- $ret.addItem("BorderWidth", NaN);
1281
+ $ret.addItem("BorderWidth", 1);
1282
1282
  $ret.addItem("CornerRadius", 2);
1283
1283
  return $ret;
1284
1284
  })()));
@@ -1291,7 +1291,7 @@ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
1291
1291
  $ret.addItem("CheckedBackgroundColor", BrushUtil.h(255, 105, 136, 255));
1292
1292
  $ret.addItem("TickColor", BrushUtil.h(255, 255, 255, 255));
1293
1293
  $ret.addItem("TickStrokeWidth", 3);
1294
- $ret.addItem("BorderWidth", NaN);
1294
+ $ret.addItem("BorderWidth", 1);
1295
1295
  $ret.addItem("CornerRadius", 2);
1296
1296
  return $ret;
1297
1297
  })()));