igniteui-angular-inputs 18.0.0 → 18.1.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.
- package/bundles/igniteui-angular-inputs.umd.js +976 -772
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupVisualModelExport.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +28 -33
- package/esm2015/lib/ButtonVisualModelExport.js +14 -13
- package/esm2015/lib/CalendarView_combined.js +1 -1
- package/esm2015/lib/CalendarVisualModelExport.js +1 -1
- package/esm2015/lib/CheckboxView_combined.js +2 -2
- package/esm2015/lib/DatePickerView_combined.js +325 -322
- package/esm2015/lib/IconView_combined.js +319 -219
- package/esm2015/lib/IconVisualModelExport.js +46 -33
- package/esm2015/lib/NativeUIXInputsFactory.js +9 -9
- package/esm2015/lib/TextBlockVisualModelExport.js +64 -0
- package/esm2015/lib/XButtonBridge.js +11 -4
- package/esm2015/lib/XCheckboxBridge.js +19 -0
- package/esm2015/lib/{DatePicker.js → XDatePicker.js} +1 -1
- package/esm2015/lib/XIconBridge.js +3 -0
- package/esm2015/lib/XIconButtonBridge.js +1 -1
- package/esm2015/lib/XInputBridge.js +3 -0
- package/esm2015/lib/XPopupBridge.js +11 -8
- package/esm2015/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +40 -40
- package/esm2015/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +20 -20
- package/esm2015/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +14 -14
- package/esm2015/public_api.js +5 -4
- package/esm5/lib/ButtonGroupVisualModelExport.js +1 -1
- package/esm5/lib/ButtonView_combined.js +33 -38
- package/esm5/lib/ButtonVisualModelExport.js +14 -13
- package/esm5/lib/CalendarView_combined.js +1 -1
- package/esm5/lib/CalendarVisualModelExport.js +1 -1
- package/esm5/lib/CheckboxView_combined.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +336 -333
- package/esm5/lib/IconView_combined.js +316 -216
- package/esm5/lib/IconVisualModelExport.js +50 -33
- package/esm5/lib/NativeUIXInputsFactory.js +9 -9
- package/esm5/lib/TextBlockVisualModelExport.js +66 -0
- package/esm5/lib/XButtonBridge.js +11 -4
- package/esm5/lib/XCheckboxBridge.js +19 -0
- package/esm5/lib/{DatePicker.js → XDatePicker.js} +1 -1
- package/esm5/lib/XIconBridge.js +3 -0
- package/esm5/lib/XIconButtonBridge.js +1 -1
- package/esm5/lib/XInputBridge.js +3 -0
- package/esm5/lib/XPopupBridge.js +11 -8
- package/esm5/lib/{igx-date-picker-component.js → igx-x-date-picker-component.js} +87 -87
- package/esm5/lib/{igx-date-picker-dynamic-module.js → igx-x-date-picker-dynamic-module.js} +21 -21
- package/esm5/lib/{igx-date-picker-module.js → igx-x-date-picker-module.js} +15 -15
- package/esm5/public_api.js +5 -4
- package/fesm2015/igniteui-angular-inputs.js +910 -711
- package/fesm5/igniteui-angular-inputs.js +973 -770
- package/lib/ButtonVisualModelExport.d.ts +6 -5
- package/lib/DatePickerView_combined.d.ts +75 -74
- package/lib/IconView_combined.d.ts +45 -39
- package/lib/IconVisualModelExport.d.ts +17 -12
- package/lib/TextBlockVisualModelExport.d.ts +21 -0
- package/lib/XButtonBridge.d.ts +1 -0
- package/lib/XCheckboxBridge.d.ts +1 -0
- package/lib/XDatePicker.d.ts +1 -0
- package/lib/XIconBridge.d.ts +1 -0
- package/lib/XInputBridge.d.ts +1 -0
- package/lib/XPopupBridge.d.ts +1 -0
- package/lib/{igx-date-picker-component.d.ts → igx-x-date-picker-component.d.ts} +6 -6
- package/lib/igx-x-date-picker-dynamic-module.d.ts +13 -0
- package/lib/igx-x-date-picker-module.d.ts +13 -0
- package/package.json +2 -2
- package/public_api.d.ts +5 -4
- package/lib/DatePicker.d.ts +0 -1
- package/lib/igx-date-picker-dynamic-module.d.ts +0 -13
- 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 {
|
|
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
|
-
var
|
|
20
|
-
function
|
|
19
|
+
var IgxXDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
20
|
+
function IgxXDatePickerComponent(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
|
|
21
21
|
this.renderer = renderer;
|
|
22
22
|
this._elRef = _elRef;
|
|
23
23
|
this.ngZone = ngZone;
|
|
@@ -46,7 +46,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
46
46
|
var datePicker = this.i;
|
|
47
47
|
this._datePicker = datePicker;
|
|
48
48
|
}
|
|
49
|
-
Object.defineProperty(
|
|
49
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "height", {
|
|
50
50
|
get: function () {
|
|
51
51
|
return this._height;
|
|
52
52
|
},
|
|
@@ -58,7 +58,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
58
58
|
enumerable: false,
|
|
59
59
|
configurable: true
|
|
60
60
|
});
|
|
61
|
-
Object.defineProperty(
|
|
61
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "width", {
|
|
62
62
|
get: function () {
|
|
63
63
|
return this._width;
|
|
64
64
|
},
|
|
@@ -71,14 +71,14 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
71
71
|
configurable: true
|
|
72
72
|
});
|
|
73
73
|
// supports angular themes or custom properties set in CSS
|
|
74
|
-
|
|
74
|
+
IgxXDatePickerComponent.prototype.updateStyle = function () {
|
|
75
75
|
this._styling(this._root, this);
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
IgxXDatePickerComponent.prototype.ngOnDestroy = function () {
|
|
78
78
|
this._datePicker.destroy();
|
|
79
79
|
this._wrapper.destroy();
|
|
80
80
|
};
|
|
81
|
-
|
|
81
|
+
IgxXDatePickerComponent.prototype.ngAfterViewInit = function () {
|
|
82
82
|
var _this = this;
|
|
83
83
|
if (this.renderer && this._datePickerContainer != null) {
|
|
84
84
|
this.container = this._datePickerContainer.nativeElement;
|
|
@@ -95,17 +95,17 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
95
95
|
this.i.notifySizeChanged();
|
|
96
96
|
this.updateStyle();
|
|
97
97
|
};
|
|
98
|
-
|
|
99
|
-
return new
|
|
98
|
+
IgxXDatePickerComponent.prototype.createImplementation = function () {
|
|
99
|
+
return new XDatePicker();
|
|
100
100
|
};
|
|
101
|
-
Object.defineProperty(
|
|
101
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "i", {
|
|
102
102
|
get: function () {
|
|
103
103
|
return this._implementation;
|
|
104
104
|
},
|
|
105
105
|
enumerable: false,
|
|
106
106
|
configurable: true
|
|
107
107
|
});
|
|
108
|
-
Object.defineProperty(
|
|
108
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "value", {
|
|
109
109
|
/**
|
|
110
110
|
* Gets or Sets the property name that contains the values.
|
|
111
111
|
*/
|
|
@@ -118,46 +118,46 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
118
118
|
enumerable: false,
|
|
119
119
|
configurable: true
|
|
120
120
|
});
|
|
121
|
-
Object.defineProperty(
|
|
121
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "today", {
|
|
122
122
|
/**
|
|
123
123
|
* Gets or Sets the property name that contains the values.
|
|
124
124
|
*/
|
|
125
125
|
get: function () {
|
|
126
|
-
return this.i.
|
|
126
|
+
return this.i.bb;
|
|
127
127
|
},
|
|
128
128
|
set: function (v) {
|
|
129
|
-
this.i.
|
|
129
|
+
this.i.bb = v;
|
|
130
130
|
},
|
|
131
131
|
enumerable: false,
|
|
132
132
|
configurable: true
|
|
133
133
|
});
|
|
134
|
-
Object.defineProperty(
|
|
134
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "label", {
|
|
135
135
|
/**
|
|
136
136
|
* Gets or Sets the property name that contains the label.
|
|
137
137
|
*/
|
|
138
138
|
get: function () {
|
|
139
|
-
return this.i.
|
|
139
|
+
return this.i.b4;
|
|
140
140
|
},
|
|
141
141
|
set: function (v) {
|
|
142
|
-
this.i.
|
|
142
|
+
this.i.b4 = v;
|
|
143
143
|
},
|
|
144
144
|
enumerable: false,
|
|
145
145
|
configurable: true
|
|
146
146
|
});
|
|
147
|
-
Object.defineProperty(
|
|
147
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "labelTextColor", {
|
|
148
148
|
/**
|
|
149
149
|
* Gets or sets the color to use for the text.
|
|
150
150
|
*/
|
|
151
151
|
get: function () {
|
|
152
|
-
return brushToString(this.i.
|
|
152
|
+
return brushToString(this.i.dx);
|
|
153
153
|
},
|
|
154
154
|
set: function (v) {
|
|
155
|
-
this.i.
|
|
155
|
+
this.i.dx = stringToBrush(v);
|
|
156
156
|
},
|
|
157
157
|
enumerable: false,
|
|
158
158
|
configurable: true
|
|
159
159
|
});
|
|
160
|
-
Object.defineProperty(
|
|
160
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "labelTextStyle", {
|
|
161
161
|
/**
|
|
162
162
|
* Gets or sets the font to use for the combobox.
|
|
163
163
|
*/
|
|
@@ -175,46 +175,46 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
175
175
|
enumerable: false,
|
|
176
176
|
configurable: true
|
|
177
177
|
});
|
|
178
|
-
Object.defineProperty(
|
|
178
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "placeholder", {
|
|
179
179
|
/**
|
|
180
180
|
* Gets or Sets the property name that contains the placeholder.
|
|
181
181
|
*/
|
|
182
182
|
get: function () {
|
|
183
|
-
return this.i.
|
|
183
|
+
return this.i.cc;
|
|
184
184
|
},
|
|
185
185
|
set: function (v) {
|
|
186
|
-
this.i.
|
|
186
|
+
this.i.cc = v;
|
|
187
187
|
},
|
|
188
188
|
enumerable: false,
|
|
189
189
|
configurable: true
|
|
190
190
|
});
|
|
191
|
-
Object.defineProperty(
|
|
191
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "minDate", {
|
|
192
192
|
/**
|
|
193
193
|
* Gets or Sets the property name that contains the MinDate.
|
|
194
194
|
*/
|
|
195
195
|
get: function () {
|
|
196
|
-
return this.i.
|
|
196
|
+
return this.i.ba;
|
|
197
197
|
},
|
|
198
198
|
set: function (v) {
|
|
199
|
-
this.i.
|
|
199
|
+
this.i.ba = v;
|
|
200
200
|
},
|
|
201
201
|
enumerable: false,
|
|
202
202
|
configurable: true
|
|
203
203
|
});
|
|
204
|
-
Object.defineProperty(
|
|
204
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "maxDate", {
|
|
205
205
|
/**
|
|
206
206
|
* Gets or Sets the property name that contains the MaxDate.
|
|
207
207
|
*/
|
|
208
208
|
get: function () {
|
|
209
|
-
return this.i.
|
|
209
|
+
return this.i.a9;
|
|
210
210
|
},
|
|
211
211
|
set: function (v) {
|
|
212
|
-
this.i.
|
|
212
|
+
this.i.a9 = v;
|
|
213
213
|
},
|
|
214
214
|
enumerable: false,
|
|
215
215
|
configurable: true
|
|
216
216
|
});
|
|
217
|
-
Object.defineProperty(
|
|
217
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "density", {
|
|
218
218
|
/**
|
|
219
219
|
* Gets or sets the display density to use for the date pcicker.
|
|
220
220
|
*/
|
|
@@ -227,7 +227,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
227
227
|
enumerable: false,
|
|
228
228
|
configurable: true
|
|
229
229
|
});
|
|
230
|
-
Object.defineProperty(
|
|
230
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "baseTheme", {
|
|
231
231
|
/**
|
|
232
232
|
* Gets or sets the base built in theme to use for the date picker.
|
|
233
233
|
*/
|
|
@@ -240,7 +240,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
240
240
|
enumerable: false,
|
|
241
241
|
configurable: true
|
|
242
242
|
});
|
|
243
|
-
Object.defineProperty(
|
|
243
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "textStyle", {
|
|
244
244
|
/**
|
|
245
245
|
* Gets or sets the font to use for the combobox.
|
|
246
246
|
*/
|
|
@@ -258,59 +258,59 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
258
258
|
enumerable: false,
|
|
259
259
|
configurable: true
|
|
260
260
|
});
|
|
261
|
-
Object.defineProperty(
|
|
261
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "textColor", {
|
|
262
262
|
/**
|
|
263
263
|
* Gets or Sets the text color
|
|
264
264
|
*/
|
|
265
265
|
get: function () {
|
|
266
|
-
return brushToString(this.i.
|
|
266
|
+
return brushToString(this.i.dy);
|
|
267
267
|
},
|
|
268
268
|
set: function (v) {
|
|
269
|
-
this.i.
|
|
269
|
+
this.i.dy = stringToBrush(v);
|
|
270
270
|
},
|
|
271
271
|
enumerable: false,
|
|
272
272
|
configurable: true
|
|
273
273
|
});
|
|
274
|
-
Object.defineProperty(
|
|
274
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "iconColor", {
|
|
275
275
|
/**
|
|
276
276
|
* Gets or Sets the text color
|
|
277
277
|
*/
|
|
278
278
|
get: function () {
|
|
279
|
-
return brushToString(this.i.
|
|
279
|
+
return brushToString(this.i.dw);
|
|
280
280
|
},
|
|
281
281
|
set: function (v) {
|
|
282
|
-
this.i.
|
|
282
|
+
this.i.dw = stringToBrush(v);
|
|
283
283
|
},
|
|
284
284
|
enumerable: false,
|
|
285
285
|
configurable: true
|
|
286
286
|
});
|
|
287
|
-
Object.defineProperty(
|
|
287
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "showClearButton", {
|
|
288
288
|
/**
|
|
289
289
|
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
290
290
|
*/
|
|
291
291
|
get: function () {
|
|
292
|
-
return this.i.
|
|
292
|
+
return this.i.a0;
|
|
293
293
|
},
|
|
294
294
|
set: function (v) {
|
|
295
|
-
this.i.
|
|
295
|
+
this.i.a0 = ensureBool(v);
|
|
296
296
|
},
|
|
297
297
|
enumerable: false,
|
|
298
298
|
configurable: true
|
|
299
299
|
});
|
|
300
|
-
Object.defineProperty(
|
|
300
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "showTodayButton", {
|
|
301
301
|
/**
|
|
302
302
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
303
303
|
*/
|
|
304
304
|
get: function () {
|
|
305
|
-
return this.i.
|
|
305
|
+
return this.i.a1;
|
|
306
306
|
},
|
|
307
307
|
set: function (v) {
|
|
308
|
-
this.i.
|
|
308
|
+
this.i.a1 = ensureBool(v);
|
|
309
309
|
},
|
|
310
310
|
enumerable: false,
|
|
311
311
|
configurable: true
|
|
312
312
|
});
|
|
313
|
-
Object.defineProperty(
|
|
313
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "allowTextInput", {
|
|
314
314
|
/**
|
|
315
315
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
316
316
|
*/
|
|
@@ -323,7 +323,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
323
323
|
enumerable: false,
|
|
324
324
|
configurable: true
|
|
325
325
|
});
|
|
326
|
-
Object.defineProperty(
|
|
326
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "openOnFocus", {
|
|
327
327
|
/**
|
|
328
328
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
329
329
|
*/
|
|
@@ -336,7 +336,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
336
336
|
enumerable: false,
|
|
337
337
|
configurable: true
|
|
338
338
|
});
|
|
339
|
-
Object.defineProperty(
|
|
339
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "firstDayOfWeek", {
|
|
340
340
|
/**
|
|
341
341
|
* Gets or sets the FirstDayOfWeek property to detirmine first day of the week
|
|
342
342
|
*/
|
|
@@ -349,7 +349,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
349
349
|
enumerable: false,
|
|
350
350
|
configurable: true
|
|
351
351
|
});
|
|
352
|
-
Object.defineProperty(
|
|
352
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "firstWeekOfYear", {
|
|
353
353
|
/**
|
|
354
354
|
* Gets or sets the FirstWeekOfYear property to detirmine first week of the year
|
|
355
355
|
*/
|
|
@@ -362,20 +362,20 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
362
362
|
enumerable: false,
|
|
363
363
|
configurable: true
|
|
364
364
|
});
|
|
365
|
-
Object.defineProperty(
|
|
365
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "showWeekNumbers", {
|
|
366
366
|
/**
|
|
367
367
|
* Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
|
|
368
368
|
*/
|
|
369
369
|
get: function () {
|
|
370
|
-
return this.i.
|
|
370
|
+
return this.i.a2;
|
|
371
371
|
},
|
|
372
372
|
set: function (v) {
|
|
373
|
-
this.i.
|
|
373
|
+
this.i.a2 = ensureBool(v);
|
|
374
374
|
},
|
|
375
375
|
enumerable: false,
|
|
376
376
|
configurable: true
|
|
377
377
|
});
|
|
378
|
-
Object.defineProperty(
|
|
378
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "dateFormat", {
|
|
379
379
|
/**
|
|
380
380
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
381
381
|
*/
|
|
@@ -388,20 +388,20 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
388
388
|
enumerable: false,
|
|
389
389
|
configurable: true
|
|
390
390
|
});
|
|
391
|
-
Object.defineProperty(
|
|
391
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "formatString", {
|
|
392
392
|
/**
|
|
393
393
|
* Gets or sets the Format property to detirmine the format of the date in the input
|
|
394
394
|
*/
|
|
395
395
|
get: function () {
|
|
396
|
-
return this.i.
|
|
396
|
+
return this.i.bz;
|
|
397
397
|
},
|
|
398
398
|
set: function (v) {
|
|
399
|
-
this.i.
|
|
399
|
+
this.i.bz = v;
|
|
400
400
|
},
|
|
401
401
|
enumerable: false,
|
|
402
402
|
configurable: true
|
|
403
403
|
});
|
|
404
|
-
Object.defineProperty(
|
|
404
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "isDisabled", {
|
|
405
405
|
get: function () {
|
|
406
406
|
return this.i.av;
|
|
407
407
|
},
|
|
@@ -411,7 +411,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
411
411
|
enumerable: false,
|
|
412
412
|
configurable: true
|
|
413
413
|
});
|
|
414
|
-
Object.defineProperty(
|
|
414
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "isFixed", {
|
|
415
415
|
/**
|
|
416
416
|
* Indicates that the calendar dropdown will position itself relative to the window instead of the document.
|
|
417
417
|
*/
|
|
@@ -424,7 +424,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
424
424
|
enumerable: false,
|
|
425
425
|
configurable: true
|
|
426
426
|
});
|
|
427
|
-
Object.defineProperty(
|
|
427
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "openAsChild", {
|
|
428
428
|
/**
|
|
429
429
|
* Indicates that the dropdown should open as a child of the date picker.
|
|
430
430
|
*/
|
|
@@ -437,32 +437,32 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
437
437
|
enumerable: false,
|
|
438
438
|
configurable: true
|
|
439
439
|
});
|
|
440
|
-
Object.defineProperty(
|
|
440
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "useTopLayer", {
|
|
441
441
|
/**
|
|
442
442
|
* Indicates that the dropdown will place itself into the browser top layer.
|
|
443
443
|
*/
|
|
444
444
|
get: function () {
|
|
445
|
-
return this.i.
|
|
445
|
+
return this.i.a3;
|
|
446
446
|
},
|
|
447
447
|
set: function (v) {
|
|
448
|
-
this.i.
|
|
448
|
+
this.i.a3 = ensureBool(v);
|
|
449
449
|
},
|
|
450
450
|
enumerable: false,
|
|
451
451
|
configurable: true
|
|
452
452
|
});
|
|
453
|
-
Object.defineProperty(
|
|
453
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "hasUserValues", {
|
|
454
454
|
get: function () {
|
|
455
455
|
return this._hasUserValues;
|
|
456
456
|
},
|
|
457
457
|
enumerable: false,
|
|
458
458
|
configurable: true
|
|
459
459
|
});
|
|
460
|
-
|
|
460
|
+
IgxXDatePickerComponent.prototype.__m = function (propertyName) {
|
|
461
461
|
if (!this._inStyling) {
|
|
462
462
|
this._hasUserValues.add(propertyName);
|
|
463
463
|
}
|
|
464
464
|
};
|
|
465
|
-
|
|
465
|
+
IgxXDatePickerComponent.prototype._styling = function (container, component, parent) {
|
|
466
466
|
if (this._inStyling) {
|
|
467
467
|
return;
|
|
468
468
|
}
|
|
@@ -474,7 +474,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
474
474
|
if (typeName.indexOf("Xam") === 0) {
|
|
475
475
|
typeName = typeName.substring(3);
|
|
476
476
|
}
|
|
477
|
-
genericPrefix = toSpinal("
|
|
477
|
+
genericPrefix = toSpinal("XDatePickerComponent");
|
|
478
478
|
var additionalPrefixes = [];
|
|
479
479
|
var prefix = toSpinal(typeName);
|
|
480
480
|
additionalPrefixes.push(prefix + "-");
|
|
@@ -507,26 +507,26 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
507
507
|
}
|
|
508
508
|
this._inStyling = false;
|
|
509
509
|
};
|
|
510
|
-
|
|
511
|
-
this.i.
|
|
510
|
+
IgxXDatePickerComponent.prototype.select = function () {
|
|
511
|
+
this.i.dg();
|
|
512
512
|
};
|
|
513
513
|
/**
|
|
514
514
|
* Exports visual information about the current state of the grid.
|
|
515
515
|
|
|
516
516
|
*/
|
|
517
|
-
|
|
518
|
-
var iv = this.i.
|
|
517
|
+
IgxXDatePickerComponent.prototype.exportVisualModel = function () {
|
|
518
|
+
var iv = this.i.bg();
|
|
519
519
|
return (iv);
|
|
520
520
|
};
|
|
521
521
|
/**
|
|
522
522
|
* Returns a serialized copy of the exported visual model
|
|
523
523
|
|
|
524
524
|
*/
|
|
525
|
-
|
|
526
|
-
var iv = this.i.
|
|
525
|
+
IgxXDatePickerComponent.prototype.exportSerializedVisualModel = function () {
|
|
526
|
+
var iv = this.i.bw();
|
|
527
527
|
return (iv);
|
|
528
528
|
};
|
|
529
|
-
Object.defineProperty(
|
|
529
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "selectedValueChanged", {
|
|
530
530
|
/**
|
|
531
531
|
* Called when date is selected.
|
|
532
532
|
*/
|
|
@@ -551,7 +551,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
551
551
|
enumerable: false,
|
|
552
552
|
configurable: true
|
|
553
553
|
});
|
|
554
|
-
Object.defineProperty(
|
|
554
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "gotFocus", {
|
|
555
555
|
get: function () {
|
|
556
556
|
var _this = this;
|
|
557
557
|
if (this._gotFocus == null) {
|
|
@@ -575,7 +575,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
575
575
|
enumerable: false,
|
|
576
576
|
configurable: true
|
|
577
577
|
});
|
|
578
|
-
Object.defineProperty(
|
|
578
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "lostFocus", {
|
|
579
579
|
get: function () {
|
|
580
580
|
var _this = this;
|
|
581
581
|
if (this._lostFocus == null) {
|
|
@@ -599,7 +599,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
599
599
|
enumerable: false,
|
|
600
600
|
configurable: true
|
|
601
601
|
});
|
|
602
|
-
Object.defineProperty(
|
|
602
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "keyDown", {
|
|
603
603
|
get: function () {
|
|
604
604
|
var _this = this;
|
|
605
605
|
if (this._keyDown == null) {
|
|
@@ -623,7 +623,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
623
623
|
enumerable: false,
|
|
624
624
|
configurable: true
|
|
625
625
|
});
|
|
626
|
-
Object.defineProperty(
|
|
626
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "changing", {
|
|
627
627
|
get: function () {
|
|
628
628
|
var _this = this;
|
|
629
629
|
if (this._changing == null) {
|
|
@@ -647,7 +647,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
647
647
|
enumerable: false,
|
|
648
648
|
configurable: true
|
|
649
649
|
});
|
|
650
|
-
Object.defineProperty(
|
|
650
|
+
Object.defineProperty(IgxXDatePickerComponent.prototype, "valueChange", {
|
|
651
651
|
get: function () {
|
|
652
652
|
var _this = this;
|
|
653
653
|
if (this._valueChange == null) {
|
|
@@ -668,7 +668,7 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
668
668
|
enumerable: false,
|
|
669
669
|
configurable: true
|
|
670
670
|
});
|
|
671
|
-
|
|
671
|
+
IgxXDatePickerComponent.prototype._runInZone = function (act) {
|
|
672
672
|
if (this._zoneRunner != null) {
|
|
673
673
|
this._zoneRunner(act);
|
|
674
674
|
}
|
|
@@ -676,19 +676,19 @@ var IgxDatePickerComponent = /** @class */ /*@__PURE__*/ (function () {
|
|
|
676
676
|
act();
|
|
677
677
|
}
|
|
678
678
|
};
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
return
|
|
679
|
+
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 });
|
|
680
|
+
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>\n <div #inputcontainer>\n </div>\n <div #popupContainer>\n </div>\n </div>", isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
681
|
+
return IgxXDatePickerComponent;
|
|
682
682
|
}());
|
|
683
|
-
export {
|
|
684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type:
|
|
683
|
+
export { IgxXDatePickerComponent };
|
|
684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerComponent, decorators: [{
|
|
685
685
|
type: Component,
|
|
686
686
|
args: [{
|
|
687
|
-
selector: 'igx-date-picker',
|
|
687
|
+
selector: 'igx-x-date-picker',
|
|
688
688
|
template: "<div #datePickerContainer>\n <div #inputcontainer>\n </div>\n <div #popupContainer>\n </div>\n </div>",
|
|
689
689
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
690
690
|
providers: [],
|
|
691
|
-
host: { 'class': 'ig-date-picker igx-date-picker' },
|
|
691
|
+
host: { 'class': 'ig-x-date-picker igx-x-date-picker' },
|
|
692
692
|
styles: ["\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t}\n\t"]
|
|
693
693
|
}]
|
|
694
694
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _datePickerContainer: [{
|
|
@@ -10,41 +10,41 @@ 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 {
|
|
14
|
-
import {
|
|
13
|
+
import { IgxXDatePickerComponent } from './igx-x-date-picker-component';
|
|
14
|
+
import { XDatePicker } from './XDatePicker';
|
|
15
15
|
import { TypeRegistrar } from "igniteui-angular-core";
|
|
16
|
-
import {
|
|
16
|
+
import { IgxXDatePickerModule } from './igx-x-date-picker-module';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
TypeRegistrar.registerCons('
|
|
21
|
-
TypeRegistrar.registerCons('
|
|
22
|
-
TypeRegistrar.register('
|
|
18
|
+
var IgxXDatePickerDynamicModule = /** @class */ /*@__PURE__*/ (function () {
|
|
19
|
+
function IgxXDatePickerDynamicModule() {
|
|
20
|
+
TypeRegistrar.registerCons('XDatePicker', XDatePicker);
|
|
21
|
+
TypeRegistrar.registerCons('IgxXDatePickerComponent', IgxXDatePickerComponent);
|
|
22
|
+
TypeRegistrar.register('XDatePicker', XDatePicker.$type);
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
IgxXDatePickerDynamicModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25
|
+
IgxXDatePickerDynamicModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, imports: [CommonModule, IgxXCalendarDynamicModule,
|
|
26
26
|
IgxXButtonDynamicModule,
|
|
27
27
|
IgxXIconDynamicModule,
|
|
28
28
|
IgxXInputGroupDynamicModule,
|
|
29
|
-
|
|
29
|
+
IgxXDatePickerModule], exports: [IgxXCalendarDynamicModule,
|
|
30
30
|
IgxXButtonDynamicModule,
|
|
31
31
|
IgxXIconDynamicModule,
|
|
32
32
|
IgxXInputGroupDynamicModule,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
IgxXDatePickerModule] });
|
|
34
|
+
IgxXDatePickerDynamicModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, imports: [[CommonModule, IgxXCalendarDynamicModule,
|
|
35
35
|
IgxXButtonDynamicModule,
|
|
36
36
|
IgxXIconDynamicModule,
|
|
37
37
|
IgxXInputGroupDynamicModule,
|
|
38
|
-
|
|
38
|
+
IgxXDatePickerModule
|
|
39
39
|
], IgxXCalendarDynamicModule,
|
|
40
40
|
IgxXButtonDynamicModule,
|
|
41
41
|
IgxXIconDynamicModule,
|
|
42
42
|
IgxXInputGroupDynamicModule,
|
|
43
|
-
|
|
44
|
-
return
|
|
43
|
+
IgxXDatePickerModule] });
|
|
44
|
+
return IgxXDatePickerDynamicModule;
|
|
45
45
|
}());
|
|
46
|
-
export {
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type:
|
|
46
|
+
export { IgxXDatePickerDynamicModule };
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXDatePickerDynamicModule, decorators: [{
|
|
48
48
|
type: NgModule,
|
|
49
49
|
args: [{
|
|
50
50
|
declarations: [],
|
|
@@ -52,14 +52,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
52
52
|
IgxXButtonDynamicModule,
|
|
53
53
|
IgxXIconDynamicModule,
|
|
54
54
|
IgxXInputGroupDynamicModule,
|
|
55
|
-
|
|
55
|
+
IgxXDatePickerModule
|
|
56
56
|
],
|
|
57
57
|
imports: [CommonModule, IgxXCalendarDynamicModule,
|
|
58
58
|
IgxXButtonDynamicModule,
|
|
59
59
|
IgxXIconDynamicModule,
|
|
60
60
|
IgxXInputGroupDynamicModule,
|
|
61
|
-
|
|
61
|
+
IgxXDatePickerModule
|
|
62
62
|
],
|
|
63
|
-
entryComponents: [
|
|
63
|
+
entryComponents: [IgxXDatePickerComponent]
|
|
64
64
|
}]
|
|
65
65
|
}], ctorParameters: function () { return []; } });
|