igniteui-angular-inputs 17.3.1-alpha.0 → 18.1.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 (67) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +971 -753
  2. package/bundles/igniteui-angular-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/CalendarView_combined.js +2 -0
  7. package/esm2015/lib/CalendarVisualModelExport.js +1 -1
  8. package/esm2015/lib/CheckboxView_combined.js +2 -2
  9. package/esm2015/lib/DatePickerView_combined.js +325 -322
  10. package/esm2015/lib/IconView_combined.js +310 -201
  11. package/esm2015/lib/IconVisualModelExport.js +46 -33
  12. package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
  13. package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
  14. package/esm2015/lib/XButtonBridge.js +11 -4
  15. package/esm2015/lib/XCheckboxBridge.js +19 -0
  16. package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
  17. package/esm2015/lib/XIconBridge.js +6 -0
  18. package/esm2015/lib/XIconButtonBridge.js +1 -1
  19. package/esm2015/lib/XInputBridge.js +3 -0
  20. package/esm2015/lib/XPopupBridge.js +11 -8
  21. package/esm2015/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +40 -40
  22. package/esm2015/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +20 -20
  23. package/esm2015/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +14 -14
  24. package/esm2015/public_api.js +5 -4
  25. package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
  26. package/esm5/lib/ButtonView_combined.js +33 -38
  27. package/esm5/lib/ButtonVisualModelExport.js +14 -13
  28. package/esm5/lib/CalendarView_combined.js +2 -0
  29. package/esm5/lib/CalendarVisualModelExport.js +1 -1
  30. package/esm5/lib/CheckboxView_combined.js +2 -2
  31. package/esm5/lib/DatePickerView_combined.js +336 -333
  32. package/esm5/lib/IconView_combined.js +308 -199
  33. package/esm5/lib/IconVisualModelExport.js +50 -33
  34. package/esm5/lib/NativeUIXInputsFactory.js +9 -9
  35. package/esm5/lib/TextBlockVisualModelExport.js +66 -0
  36. package/esm5/lib/XButtonBridge.js +11 -4
  37. package/esm5/lib/XCheckboxBridge.js +19 -0
  38. package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
  39. package/esm5/lib/XIconBridge.js +6 -0
  40. package/esm5/lib/XIconButtonBridge.js +1 -1
  41. package/esm5/lib/XInputBridge.js +3 -0
  42. package/esm5/lib/XPopupBridge.js +11 -8
  43. package/esm5/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +87 -87
  44. package/esm5/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +21 -21
  45. package/esm5/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +15 -15
  46. package/esm5/public_api.js +5 -4
  47. package/fesm2015/igniteui-angular-inputs.js +906 -693
  48. package/fesm5/igniteui-angular-inputs.js +968 -751
  49. package/lib/ButtonVisualModelExport.d.ts +6 -5
  50. package/lib/DatePickerView_combined.d.ts +75 -74
  51. package/lib/IconView_combined.d.ts +35 -32
  52. package/lib/IconVisualModelExport.d.ts +17 -12
  53. package/lib/TextBlockVisualModelExport.d.ts +21 -0
  54. package/lib/XButtonBridge.d.ts +1 -0
  55. package/lib/XCheckboxBridge.d.ts +1 -0
  56. package/lib/XDatePicker.d.ts +1 -0
  57. package/lib/XIconBridge.d.ts +1 -0
  58. package/lib/XInputBridge.d.ts +1 -0
  59. package/lib/XPopupBridge.d.ts +1 -0
  60. package/lib/{igx-date-picker-component.d.ts → igx-x-date-picker-component.d.ts} +6 -6
  61. package/lib/igx-x-date-picker-dynamic-module.d.ts +13 -0
  62. package/lib/igx-x-date-picker-module.d.ts +13 -0
  63. package/package.json +5 -5
  64. package/public_api.d.ts +5 -4
  65. package/lib/DatePicker.d.ts +0 -1
  66. package/lib/igx-date-picker-dynamic-module.d.ts +0 -13
  67. package/lib/igx-date-picker-module.d.ts +0 -13
@@ -3,7 +3,7 @@ import { AngularRenderer } from "igniteui-angular-core";
3
3
  import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal } from "igniteui-angular-core";
4
4
  import { FontInfo } from "igniteui-angular-core";
5
5
  import { delegateCombine } from "igniteui-angular-core";
6
- import { DatePicker } from './DatePicker';
6
+ import { XDatePicker } from './XDatePicker';
7
7
  import { IgxSelectedValueChangedEventArgs } from "./igx-selected-value-changed-event-args";
8
8
  import { IgxGotFocusEventArgs } from "./igx-got-focus-event-args";
9
9
  import { IgxLostFocusEventArgs } from "./igx-lost-focus-event-args";
@@ -16,8 +16,8 @@ import { DayOfWeek_$type } from "./DayOfWeek";
16
16
  import { FirstWeek_$type } from "./FirstWeek";
17
17
  import * as i0 from "@angular/core";
18
18
  // IgxDataGridModule.register();
19
- export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
20
- class IgxDatePickerComponent {
19
+ export let IgxXDatePickerComponent = /*@__PURE__*/ (() => {
20
+ class IgxXDatePickerComponent {
21
21
  constructor(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
22
22
  this.renderer = renderer;
23
23
  this._elRef = _elRef;
@@ -88,7 +88,7 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
88
88
  this.updateStyle();
89
89
  }
90
90
  createImplementation() {
91
- return new DatePicker();
91
+ return new XDatePicker();
92
92
  }
93
93
  get i() {
94
94
  return this._implementation;
@@ -106,28 +106,28 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
106
106
  * Gets or Sets the property name that contains the values.
107
107
  */
108
108
  get today() {
109
- return this.i.ba;
109
+ return this.i.bb;
110
110
  }
111
111
  set today(v) {
112
- this.i.ba = v;
112
+ this.i.bb = v;
113
113
  }
114
114
  /**
115
115
  * Gets or Sets the property name that contains the label.
116
116
  */
117
117
  get label() {
118
- return this.i.b3;
118
+ return this.i.b4;
119
119
  }
120
120
  set label(v) {
121
- this.i.b3 = v;
121
+ this.i.b4 = v;
122
122
  }
123
123
  /**
124
124
  * Gets or sets the color to use for the text.
125
125
  */
126
126
  get labelTextColor() {
127
- return brushToString(this.i.dw);
127
+ return brushToString(this.i.dx);
128
128
  }
129
129
  set labelTextColor(v) {
130
- this.i.dw = stringToBrush(v);
130
+ this.i.dx = stringToBrush(v);
131
131
  }
132
132
  /**
133
133
  * Gets or sets the font to use for the combobox.
@@ -147,28 +147,28 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
147
147
  * Gets or Sets the property name that contains the placeholder.
148
148
  */
149
149
  get placeholder() {
150
- return this.i.cb;
150
+ return this.i.cc;
151
151
  }
152
152
  set placeholder(v) {
153
- this.i.cb = v;
153
+ this.i.cc = v;
154
154
  }
155
155
  /**
156
156
  * Gets or Sets the property name that contains the MinDate.
157
157
  */
158
158
  get minDate() {
159
- return this.i.a9;
159
+ return this.i.ba;
160
160
  }
161
161
  set minDate(v) {
162
- this.i.a9 = v;
162
+ this.i.ba = v;
163
163
  }
164
164
  /**
165
165
  * Gets or Sets the property name that contains the MaxDate.
166
166
  */
167
167
  get maxDate() {
168
- return this.i.a8;
168
+ return this.i.a9;
169
169
  }
170
170
  set maxDate(v) {
171
- this.i.a8 = v;
171
+ this.i.a9 = v;
172
172
  }
173
173
  /**
174
174
  * Gets or sets the display density to use for the date pcicker.
@@ -206,37 +206,37 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
206
206
  * Gets or Sets the text color
207
207
  */
208
208
  get textColor() {
209
- return brushToString(this.i.dx);
209
+ return brushToString(this.i.dy);
210
210
  }
211
211
  set textColor(v) {
212
- this.i.dx = stringToBrush(v);
212
+ this.i.dy = stringToBrush(v);
213
213
  }
214
214
  /**
215
215
  * Gets or Sets the text color
216
216
  */
217
217
  get iconColor() {
218
- return brushToString(this.i.dv);
218
+ return brushToString(this.i.dw);
219
219
  }
220
220
  set iconColor(v) {
221
- this.i.dv = stringToBrush(v);
221
+ this.i.dw = stringToBrush(v);
222
222
  }
223
223
  /**
224
224
  * Gets or sets the ShowClearButton property to detirmine if the clear button is shown
225
225
  */
226
226
  get showClearButton() {
227
- return this.i.az;
227
+ return this.i.a0;
228
228
  }
229
229
  set showClearButton(v) {
230
- this.i.az = ensureBool(v);
230
+ this.i.a0 = ensureBool(v);
231
231
  }
232
232
  /**
233
233
  * Gets or sets the ShowTodayButton property to detirmine if the today button is shown
234
234
  */
235
235
  get showTodayButton() {
236
- return this.i.a0;
236
+ return this.i.a1;
237
237
  }
238
238
  set showTodayButton(v) {
239
- this.i.a0 = ensureBool(v);
239
+ this.i.a1 = ensureBool(v);
240
240
  }
241
241
  /**
242
242
  * Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
@@ -278,10 +278,10 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
278
278
  * Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
279
279
  */
280
280
  get showWeekNumbers() {
281
- return this.i.a1;
281
+ return this.i.a2;
282
282
  }
283
283
  set showWeekNumbers(v) {
284
- this.i.a1 = ensureBool(v);
284
+ this.i.a2 = ensureBool(v);
285
285
  }
286
286
  /**
287
287
  * Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
@@ -296,10 +296,10 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
296
296
  * Gets or sets the Format property to detirmine the format of the date in the input
297
297
  */
298
298
  get formatString() {
299
- return this.i.by;
299
+ return this.i.bz;
300
300
  }
301
301
  set formatString(v) {
302
- this.i.by = v;
302
+ this.i.bz = v;
303
303
  }
304
304
  get isDisabled() {
305
305
  return this.i.av;
@@ -329,10 +329,10 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
329
329
  * Indicates that the dropdown will place itself into the browser top layer.
330
330
  */
331
331
  get useTopLayer() {
332
- return this.i.a2;
332
+ return this.i.a3;
333
333
  }
334
334
  set useTopLayer(v) {
335
- this.i.a2 = ensureBool(v);
335
+ this.i.a3 = ensureBool(v);
336
336
  }
337
337
  get hasUserValues() {
338
338
  return this._hasUserValues;
@@ -354,7 +354,7 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
354
354
  if (typeName.indexOf("Xam") === 0) {
355
355
  typeName = typeName.substring(3);
356
356
  }
357
- genericPrefix = toSpinal("DatePickerComponent");
357
+ genericPrefix = toSpinal("XDatePickerComponent");
358
358
  let additionalPrefixes = [];
359
359
  let prefix = toSpinal(typeName);
360
360
  additionalPrefixes.push(prefix + "-");
@@ -388,14 +388,14 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
388
388
  this._inStyling = false;
389
389
  }
390
390
  select() {
391
- this.i.df();
391
+ this.i.dg();
392
392
  }
393
393
  /**
394
394
  * Exports visual information about the current state of the grid.
395
395
 
396
396
  */
397
397
  exportVisualModel() {
398
- let iv = this.i.bf();
398
+ let iv = this.i.bg();
399
399
  return (iv);
400
400
  }
401
401
  /**
@@ -403,7 +403,7 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
403
403
 
404
404
  */
405
405
  exportSerializedVisualModel() {
406
- let iv = this.i.bv();
406
+ let iv = this.i.bw();
407
407
  return (iv);
408
408
  }
409
409
  /**
@@ -527,19 +527,19 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
527
527
  }
528
528
  }
529
529
  }
530
- IgxDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
531
- IgxDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxDatePickerComponent, selector: "igx-date-picker", inputs: { height: "height", width: "width", value: "value", today: "today", label: "label", labelTextColor: "labelTextColor", labelTextStyle: "labelTextStyle", placeholder: "placeholder", minDate: "minDate", maxDate: "maxDate", density: "density", baseTheme: "baseTheme", textStyle: "textStyle", textColor: "textColor", iconColor: "iconColor", showClearButton: "showClearButton", showTodayButton: "showTodayButton", allowTextInput: "allowTextInput", openOnFocus: "openOnFocus", firstDayOfWeek: "firstDayOfWeek", firstWeekOfYear: "firstWeekOfYear", showWeekNumbers: "showWeekNumbers", dateFormat: "dateFormat", formatString: "formatString", isDisabled: "isDisabled", isFixed: "isFixed", openAsChild: "openAsChild", useTopLayer: "useTopLayer" }, outputs: { selectedValueChanged: "selectedValueChanged", gotFocus: "gotFocus", lostFocus: "lostFocus", keyDown: "keyDown", changing: "changing", valueChange: "valueChange" }, host: { classAttribute: "ig-date-picker igx-date-picker" }, providers: [], viewQueries: [{ propertyName: "_datePickerContainer", first: true, predicate: ["datePickerContainer"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `<div #datePickerContainer>
530
+ IgxXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
531
+ IgxXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxXDatePickerComponent, selector: "igx-x-date-picker", inputs: { height: "height", width: "width", value: "value", today: "today", label: "label", labelTextColor: "labelTextColor", labelTextStyle: "labelTextStyle", placeholder: "placeholder", minDate: "minDate", maxDate: "maxDate", density: "density", baseTheme: "baseTheme", textStyle: "textStyle", textColor: "textColor", iconColor: "iconColor", showClearButton: "showClearButton", showTodayButton: "showTodayButton", allowTextInput: "allowTextInput", openOnFocus: "openOnFocus", firstDayOfWeek: "firstDayOfWeek", firstWeekOfYear: "firstWeekOfYear", showWeekNumbers: "showWeekNumbers", dateFormat: "dateFormat", formatString: "formatString", isDisabled: "isDisabled", isFixed: "isFixed", openAsChild: "openAsChild", useTopLayer: "useTopLayer" }, outputs: { selectedValueChanged: "selectedValueChanged", gotFocus: "gotFocus", lostFocus: "lostFocus", keyDown: "keyDown", changing: "changing", valueChange: "valueChange" }, host: { classAttribute: "ig-x-date-picker igx-x-date-picker" }, providers: [], viewQueries: [{ propertyName: "_datePickerContainer", first: true, predicate: ["datePickerContainer"], descendants: true, read: ElementRef, static: true }], ngImport: i0, template: `<div #datePickerContainer>
532
532
  <div #inputcontainer>
533
533
  </div>
534
534
  <div #popupContainer>
535
535
  </div>
536
536
  </div>`, isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
537
- return IgxDatePickerComponent;
537
+ return IgxXDatePickerComponent;
538
538
  })();
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerComponent, decorators: [{
539
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerComponent, decorators: [{
540
540
  type: Component,
541
541
  args: [{
542
- selector: 'igx-date-picker',
542
+ selector: 'igx-x-date-picker',
543
543
  template: `<div #datePickerContainer>
544
544
  <div #inputcontainer>
545
545
  </div>
@@ -548,7 +548,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
548
548
  </div>`,
549
549
  changeDetection: ChangeDetectionStrategy.OnPush,
550
550
  providers: [],
551
- host: { 'class': 'ig-date-picker igx-date-picker' },
551
+ host: { 'class': 'ig-x-date-picker igx-x-date-picker' },
552
552
  styles: [`
553
553
  :host {
554
554
  display: block;
@@ -10,42 +10,42 @@ import { IgxXCalendarDynamicModule } from './igx-x-calendar-dynamic-module';
10
10
  import { IgxXButtonDynamicModule } from './igx-x-button-dynamic-module';
11
11
  import { IgxXIconDynamicModule } from './igx-x-icon-dynamic-module';
12
12
  import { IgxXInputGroupDynamicModule } from './igx-x-input-group-dynamic-module';
13
- import { IgxDatePickerComponent } from './igx-date-picker-component';
14
- import { DatePicker } from './DatePicker';
13
+ import { IgxXDatePickerComponent } from './igx-x-date-picker-component';
14
+ import { XDatePicker } from './XDatePicker';
15
15
  import { TypeRegistrar } from "igniteui-angular-core";
16
- import { IgxDatePickerModule } from './igx-date-picker-module';
16
+ import { IgxXDatePickerModule } from './igx-x-date-picker-module';
17
17
  import * as i0 from "@angular/core";
18
- export let IgxDatePickerDynamicModule = /*@__PURE__*/ (() => {
19
- class IgxDatePickerDynamicModule {
18
+ export let IgxXDatePickerDynamicModule = /*@__PURE__*/ (() => {
19
+ class IgxXDatePickerDynamicModule {
20
20
  constructor() {
21
- TypeRegistrar.registerCons('DatePicker', DatePicker);
22
- TypeRegistrar.registerCons('IgxDatePickerComponent', IgxDatePickerComponent);
23
- TypeRegistrar.register('DatePicker', DatePicker.$type);
21
+ TypeRegistrar.registerCons('XDatePicker', XDatePicker);
22
+ TypeRegistrar.registerCons('IgxXDatePickerComponent', IgxXDatePickerComponent);
23
+ TypeRegistrar.register('XDatePicker', XDatePicker.$type);
24
24
  }
25
25
  }
26
- IgxDatePickerDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
- IgxDatePickerDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerDynamicModule, imports: [CommonModule, IgxXCalendarDynamicModule,
26
+ IgxXDatePickerDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
27
+ IgxXDatePickerDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, imports: [CommonModule, IgxXCalendarDynamicModule,
28
28
  IgxXButtonDynamicModule,
29
29
  IgxXIconDynamicModule,
30
30
  IgxXInputGroupDynamicModule,
31
- IgxDatePickerModule], exports: [IgxXCalendarDynamicModule,
31
+ IgxXDatePickerModule], exports: [IgxXCalendarDynamicModule,
32
32
  IgxXButtonDynamicModule,
33
33
  IgxXIconDynamicModule,
34
34
  IgxXInputGroupDynamicModule,
35
- IgxDatePickerModule] });
36
- IgxDatePickerDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerDynamicModule, imports: [[CommonModule, IgxXCalendarDynamicModule,
35
+ IgxXDatePickerModule] });
36
+ IgxXDatePickerDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, imports: [[CommonModule, IgxXCalendarDynamicModule,
37
37
  IgxXButtonDynamicModule,
38
38
  IgxXIconDynamicModule,
39
39
  IgxXInputGroupDynamicModule,
40
- IgxDatePickerModule
40
+ IgxXDatePickerModule
41
41
  ], IgxXCalendarDynamicModule,
42
42
  IgxXButtonDynamicModule,
43
43
  IgxXIconDynamicModule,
44
44
  IgxXInputGroupDynamicModule,
45
- IgxDatePickerModule] });
46
- return IgxDatePickerDynamicModule;
45
+ IgxXDatePickerModule] });
46
+ return IgxXDatePickerDynamicModule;
47
47
  })();
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerDynamicModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  declarations: [],
@@ -53,14 +53,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
53
53
  IgxXButtonDynamicModule,
54
54
  IgxXIconDynamicModule,
55
55
  IgxXInputGroupDynamicModule,
56
- IgxDatePickerModule
56
+ IgxXDatePickerModule
57
57
  ],
58
58
  imports: [CommonModule, IgxXCalendarDynamicModule,
59
59
  IgxXButtonDynamicModule,
60
60
  IgxXIconDynamicModule,
61
61
  IgxXInputGroupDynamicModule,
62
- IgxDatePickerModule
62
+ IgxXDatePickerModule
63
63
  ],
64
- entryComponents: [IgxDatePickerComponent]
64
+ entryComponents: [IgxXDatePickerComponent]
65
65
  }]
66
66
  }], ctorParameters: function () { return []; } });
@@ -10,27 +10,27 @@ import { IgxXCalendarModule } from './igx-x-calendar-module';
10
10
  import { IgxXButtonModule } from './igx-x-button-module';
11
11
  import { IgxXIconModule } from './igx-x-icon-module';
12
12
  import { IgxXInputGroupModule } from './igx-x-input-group-module';
13
- import { IgxDatePickerComponent } from './igx-date-picker-component';
14
- import { DatePicker } from './DatePicker';
13
+ import { IgxXDatePickerComponent } from './igx-x-date-picker-component';
14
+ import { XDatePicker } from './XDatePicker';
15
15
  import { TypeRegistrar } from "igniteui-angular-core";
16
16
  import * as i0 from "@angular/core";
17
- export let IgxDatePickerModule = /*@__PURE__*/ (() => {
18
- class IgxDatePickerModule {
17
+ export let IgxXDatePickerModule = /*@__PURE__*/ (() => {
18
+ class IgxXDatePickerModule {
19
19
  constructor() {
20
- TypeRegistrar.registerCons('IgxDatePickerComponent', IgxDatePickerComponent);
21
- TypeRegistrar.register('DatePicker', DatePicker.$type);
20
+ TypeRegistrar.registerCons('IgxXDatePickerComponent', IgxXDatePickerComponent);
21
+ TypeRegistrar.register('XDatePicker', XDatePicker.$type);
22
22
  }
23
23
  }
24
- IgxDatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
- IgxDatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerModule, declarations: [IgxDatePickerComponent], imports: [CommonModule, IgxXCalendarModule,
24
+ IgxXDatePickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
+ IgxXDatePickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerModule, declarations: [IgxXDatePickerComponent], imports: [CommonModule, IgxXCalendarModule,
26
26
  IgxXButtonModule,
27
27
  IgxXIconModule,
28
28
  IgxXInputGroupModule], exports: [IgxXCalendarModule,
29
29
  IgxXButtonModule,
30
30
  IgxXIconModule,
31
31
  IgxXInputGroupModule,
32
- IgxDatePickerComponent] });
33
- IgxDatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerModule, imports: [[CommonModule, IgxXCalendarModule,
32
+ IgxXDatePickerComponent] });
33
+ IgxXDatePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerModule, imports: [[CommonModule, IgxXCalendarModule,
34
34
  IgxXButtonModule,
35
35
  IgxXIconModule,
36
36
  IgxXInputGroupModule
@@ -38,17 +38,17 @@ export let IgxDatePickerModule = /*@__PURE__*/ (() => {
38
38
  IgxXButtonModule,
39
39
  IgxXIconModule,
40
40
  IgxXInputGroupModule] });
41
- return IgxDatePickerModule;
41
+ return IgxXDatePickerModule;
42
42
  })();
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxDatePickerModule, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
- declarations: [IgxDatePickerComponent],
46
+ declarations: [IgxXDatePickerComponent],
47
47
  exports: [IgxXCalendarModule,
48
48
  IgxXButtonModule,
49
49
  IgxXIconModule,
50
50
  IgxXInputGroupModule,
51
- IgxDatePickerComponent
51
+ IgxXDatePickerComponent
52
52
  ],
53
53
  imports: [CommonModule, IgxXCalendarModule,
54
54
  IgxXButtonModule,
@@ -12,12 +12,12 @@ export * from './lib/FirstWeek';
12
12
  export * from './lib/CalendarVisualModelExport';
13
13
  export * from './lib/TextElementsVisualModelExport';
14
14
  export * from './lib/XCalendarLocaleEn';
15
- export * from './lib/igx-date-picker-component';
16
- export * from './lib/igx-date-picker-dynamic-module';
17
- export * from './lib/igx-date-picker-module';
15
+ export * from './lib/igx-x-date-picker-component';
16
+ export * from './lib/igx-x-date-picker-dynamic-module';
17
+ export * from './lib/igx-x-date-picker-module';
18
18
  export * from './lib/DateTimeValueFormatter';
19
19
  export * from './lib/DatePickerView';
20
- export * from './lib/DatePicker';
20
+ export * from './lib/XDatePicker';
21
21
  export * from './lib/GotFocusEventArgs';
22
22
  export * from './lib/igx-got-focus-event-args';
23
23
  export * from './lib/LostFocusEventArgs';
@@ -121,3 +121,4 @@ export * from './lib/LabelVisualModelExport';
121
121
  export * from './lib/PrefixVisualModelExport';
122
122
  export * from './lib/RippleVisualModelExport';
123
123
  export * from './lib/SuffixVisualModelExport';
124
+ 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-angular-core";
27
27
  import { Thickness } from "igniteui-angular-core";
28
28
  import { BrushUtil } from "igniteui-angular-core";
29
29
  import { ButtonVisualModelExport } from "./ButtonVisualModelExport";
30
- import { UIElementPropertyAccessorFactory } from "igniteui-angular-core";
31
30
  import { AppearanceHelper } from "igniteui-angular-core";
32
31
  import { FontUtil } from "igniteui-angular-core";
33
32
  import { Dictionary$2 } from "igniteui-angular-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-angular-core";
9
+ import { IVisualData_$type } from "igniteui-angular-core";
9
10
  import { StringBuilder } from "igniteui-angular-core";
10
11
  import { stringIsNullOrEmpty } from "igniteui-angular-core";
11
12
  import { isNaN_ } from "igniteui-angular-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 };
@@ -2410,7 +2410,9 @@ var XCalendar = /** @class */ /*@__PURE__*/ (function (_super) {
2410
2410
  }
2411
2411
  }
2412
2412
  else {
2413
+ this.aj._inner[0].disabled = false;
2413
2414
  this.aj._inner[2].disabled = false;
2415
+ this.aj._inner[3].disabled = false;
2414
2416
  if (b == this.au.getFullYear()) {
2415
2417
  if (c == dateGetMonth(this.au)) {
2416
2418
  this.aj._inner[0].disabled = true;
@@ -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: [");