igniteui-angular-inputs 17.0.0 → 17.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.
- package/bundles/igniteui-angular-inputs.umd.js +665 -483
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/CalendarView_combined.js +1 -1
- package/esm2015/lib/DatePickerView_combined.js +561 -436
- package/esm2015/lib/XPopupBridge.js +28 -28
- package/esm2015/lib/igx-date-picker-component.js +67 -34
- package/esm5/lib/CalendarView_combined.js +1 -1
- package/esm5/lib/DatePickerView_combined.js +557 -420
- package/esm5/lib/XPopupBridge.js +28 -28
- package/esm5/lib/igx-date-picker-component.js +79 -34
- package/fesm2015/igniteui-angular-inputs.js +658 -500
- package/fesm5/igniteui-angular-inputs.js +666 -484
- package/lib/DatePickerView_combined.d.ts +134 -113
- package/lib/igx-date-picker-component.d.ts +19 -1
- package/package.json +2 -2
|
@@ -148,26 +148,26 @@ export let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
148
148
|
getValue(a, b) {
|
|
149
149
|
let c = a;
|
|
150
150
|
switch (b) {
|
|
151
|
-
case 22: return c.
|
|
151
|
+
case 22: return c.aw;
|
|
152
152
|
case 25: return c.al;
|
|
153
|
-
case 26: return c.
|
|
154
|
-
case 17: return c.
|
|
155
|
-
case 23: return c.
|
|
156
|
-
case 35: switch (c.
|
|
153
|
+
case 26: return c.a8;
|
|
154
|
+
case 17: return c.a0;
|
|
155
|
+
case 23: return c.cw;
|
|
156
|
+
case 35: switch (c.p) {
|
|
157
157
|
case 1: return enumGetBox(NativeUIPopupAnimationType_$type, 1);
|
|
158
158
|
default: return enumGetBox(NativeUIPopupAnimationType_$type, 0);
|
|
159
159
|
}
|
|
160
|
-
case 36: return c.
|
|
161
|
-
case 37: return c.
|
|
162
|
-
case 40: return c.
|
|
163
|
-
case 41: return c.
|
|
164
|
-
case 43: switch (c.
|
|
160
|
+
case 36: return c.as;
|
|
161
|
+
case 37: return c.ar;
|
|
162
|
+
case 40: return c.ba;
|
|
163
|
+
case 41: return c.at;
|
|
164
|
+
case 43: switch (c.u) {
|
|
165
165
|
case 1: return enumGetBox(NativeUIPopupPointerPosition_$type, 1);
|
|
166
166
|
default: return enumGetBox(NativeUIPopupPointerPosition_$type, 2);
|
|
167
167
|
}
|
|
168
|
-
case 42: return c.
|
|
168
|
+
case 42: return c.c0;
|
|
169
169
|
case 39: return c.an;
|
|
170
|
-
case 61: return c.
|
|
170
|
+
case 61: return c.a3;
|
|
171
171
|
}
|
|
172
172
|
return super.getValue(a, b);
|
|
173
173
|
}
|
|
@@ -178,46 +178,46 @@ export let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
178
178
|
d.al = c;
|
|
179
179
|
break;
|
|
180
180
|
case 26:
|
|
181
|
-
d.
|
|
181
|
+
d.a8 = typeGetValue(c);
|
|
182
182
|
break;
|
|
183
183
|
case 17:
|
|
184
|
-
d.
|
|
184
|
+
d.a0 = c;
|
|
185
185
|
break;
|
|
186
186
|
case 23:
|
|
187
|
-
d.
|
|
187
|
+
d.cw = c;
|
|
188
188
|
break;
|
|
189
189
|
case 35:
|
|
190
190
|
switch (EnumUtil.getEnumValue(NativeUIPopupAnimationType_$type, c)) {
|
|
191
191
|
case 1:
|
|
192
|
-
d.
|
|
192
|
+
d.p = 1;
|
|
193
193
|
break;
|
|
194
194
|
default:
|
|
195
|
-
d.
|
|
195
|
+
d.p = 0;
|
|
196
196
|
break;
|
|
197
197
|
}
|
|
198
198
|
break;
|
|
199
199
|
case 36:
|
|
200
|
-
d.
|
|
200
|
+
d.as = c;
|
|
201
201
|
break;
|
|
202
202
|
case 37:
|
|
203
|
-
d.
|
|
203
|
+
d.ar = c;
|
|
204
204
|
break;
|
|
205
205
|
case 40:
|
|
206
|
-
d.
|
|
206
|
+
d.ba = typeGetValue(c);
|
|
207
207
|
break;
|
|
208
208
|
case 41:
|
|
209
|
-
d.
|
|
209
|
+
d.at = c;
|
|
210
210
|
break;
|
|
211
211
|
case 42:
|
|
212
|
-
d.
|
|
212
|
+
d.c0 = c;
|
|
213
213
|
break;
|
|
214
214
|
case 43:
|
|
215
215
|
switch (EnumUtil.getEnumValue(NativeUIPopupPointerPosition_$type, c)) {
|
|
216
216
|
case 1:
|
|
217
|
-
d.
|
|
217
|
+
d.u = 1;
|
|
218
218
|
break;
|
|
219
219
|
case 2:
|
|
220
|
-
d.
|
|
220
|
+
d.u = 2;
|
|
221
221
|
break;
|
|
222
222
|
}
|
|
223
223
|
break;
|
|
@@ -225,7 +225,7 @@ export let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
225
225
|
d.an = c;
|
|
226
226
|
break;
|
|
227
227
|
case 61:
|
|
228
|
-
d.
|
|
228
|
+
d.a3 = c;
|
|
229
229
|
break;
|
|
230
230
|
}
|
|
231
231
|
super.setValue(a, b, c);
|
|
@@ -234,13 +234,13 @@ export let XPopupBridge = /*@__PURE__*/ (() => {
|
|
|
234
234
|
a.showRelativeToExclusionRect(b, this.v(c), this.u(d));
|
|
235
235
|
}
|
|
236
236
|
close(a) {
|
|
237
|
-
a.
|
|
237
|
+
a.b3();
|
|
238
238
|
}
|
|
239
239
|
notifyContentSizeChanged(a) {
|
|
240
|
-
a.
|
|
240
|
+
a.b6();
|
|
241
241
|
}
|
|
242
242
|
notifyExclusionRectChanged(a, b) {
|
|
243
|
-
a.
|
|
243
|
+
a.b7(b);
|
|
244
244
|
}
|
|
245
245
|
v(a) {
|
|
246
246
|
switch (a) {
|
|
@@ -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.
|
|
109
|
+
return this.i.ba;
|
|
110
110
|
}
|
|
111
111
|
set today(v) {
|
|
112
|
-
this.i.
|
|
112
|
+
this.i.ba = 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.
|
|
118
|
+
return this.i.b3;
|
|
119
119
|
}
|
|
120
120
|
set label(v) {
|
|
121
|
-
this.i.
|
|
121
|
+
this.i.b3 = 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.
|
|
127
|
+
return brushToString(this.i.dw);
|
|
128
128
|
}
|
|
129
129
|
set labelTextColor(v) {
|
|
130
|
-
this.i.
|
|
130
|
+
this.i.dw = 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.
|
|
150
|
+
return this.i.cb;
|
|
151
151
|
}
|
|
152
152
|
set placeholder(v) {
|
|
153
|
-
this.i.
|
|
153
|
+
this.i.cb = 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.
|
|
159
|
+
return this.i.a9;
|
|
160
160
|
}
|
|
161
161
|
set minDate(v) {
|
|
162
|
-
this.i.
|
|
162
|
+
this.i.a9 = 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.
|
|
168
|
+
return this.i.a8;
|
|
169
169
|
}
|
|
170
170
|
set maxDate(v) {
|
|
171
|
-
this.i.
|
|
171
|
+
this.i.a8 = v;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
174
174
|
* Gets or sets the display density to use for the date pcicker.
|
|
@@ -206,55 +206,55 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
206
206
|
* Gets or Sets the text color
|
|
207
207
|
*/
|
|
208
208
|
get textColor() {
|
|
209
|
-
return brushToString(this.i.
|
|
209
|
+
return brushToString(this.i.dx);
|
|
210
210
|
}
|
|
211
211
|
set textColor(v) {
|
|
212
|
-
this.i.
|
|
212
|
+
this.i.dx = 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.
|
|
218
|
+
return brushToString(this.i.dv);
|
|
219
219
|
}
|
|
220
220
|
set iconColor(v) {
|
|
221
|
-
this.i.
|
|
221
|
+
this.i.dv = 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.
|
|
227
|
+
return this.i.az;
|
|
228
228
|
}
|
|
229
229
|
set showClearButton(v) {
|
|
230
|
-
this.i.
|
|
230
|
+
this.i.az = 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.
|
|
236
|
+
return this.i.a0;
|
|
237
237
|
}
|
|
238
238
|
set showTodayButton(v) {
|
|
239
|
-
this.i.
|
|
239
|
+
this.i.a0 = ensureBool(v);
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
242
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
243
243
|
*/
|
|
244
244
|
get allowTextInput() {
|
|
245
|
-
return this.i.
|
|
245
|
+
return this.i.au;
|
|
246
246
|
}
|
|
247
247
|
set allowTextInput(v) {
|
|
248
|
-
this.i.
|
|
248
|
+
this.i.au = ensureBool(v);
|
|
249
249
|
}
|
|
250
250
|
/**
|
|
251
251
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
252
252
|
*/
|
|
253
253
|
get openOnFocus() {
|
|
254
|
-
return this.i.
|
|
254
|
+
return this.i.ay;
|
|
255
255
|
}
|
|
256
256
|
set openOnFocus(v) {
|
|
257
|
-
this.i.
|
|
257
|
+
this.i.ay = ensureBool(v);
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
260
|
* Gets or sets the FirstDayOfWeek property to detirmine first day of the week
|
|
@@ -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.
|
|
281
|
+
return this.i.a1;
|
|
282
282
|
}
|
|
283
283
|
set showWeekNumbers(v) {
|
|
284
|
-
this.i.
|
|
284
|
+
this.i.a1 = 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,16 +296,43 @@ 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.
|
|
299
|
+
return this.i.by;
|
|
300
300
|
}
|
|
301
301
|
set formatString(v) {
|
|
302
|
-
this.i.
|
|
302
|
+
this.i.by = v;
|
|
303
303
|
}
|
|
304
304
|
get isDisabled() {
|
|
305
|
-
return this.i.
|
|
305
|
+
return this.i.av;
|
|
306
306
|
}
|
|
307
307
|
set isDisabled(v) {
|
|
308
|
-
this.i.
|
|
308
|
+
this.i.av = ensureBool(v);
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Indicates that the calendar dropdown will position itself relative to the window instead of the document.
|
|
312
|
+
*/
|
|
313
|
+
get isFixed() {
|
|
314
|
+
return this.i.aw;
|
|
315
|
+
}
|
|
316
|
+
set isFixed(v) {
|
|
317
|
+
this.i.aw = ensureBool(v);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Indicates that the dropdown should open as a child of the date picker.
|
|
321
|
+
*/
|
|
322
|
+
get openAsChild() {
|
|
323
|
+
return this.i.ax;
|
|
324
|
+
}
|
|
325
|
+
set openAsChild(v) {
|
|
326
|
+
this.i.ax = ensureBool(v);
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Indicates that the dropdown will place itself into the browser top layer.
|
|
330
|
+
*/
|
|
331
|
+
get useTopLayer() {
|
|
332
|
+
return this.i.a2;
|
|
333
|
+
}
|
|
334
|
+
set useTopLayer(v) {
|
|
335
|
+
this.i.a2 = ensureBool(v);
|
|
309
336
|
}
|
|
310
337
|
get hasUserValues() {
|
|
311
338
|
return this._hasUserValues;
|
|
@@ -361,14 +388,14 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
361
388
|
this._inStyling = false;
|
|
362
389
|
}
|
|
363
390
|
select() {
|
|
364
|
-
this.i.
|
|
391
|
+
this.i.df();
|
|
365
392
|
}
|
|
366
393
|
/**
|
|
367
394
|
* Exports visual information about the current state of the grid.
|
|
368
395
|
|
|
369
396
|
*/
|
|
370
397
|
exportVisualModel() {
|
|
371
|
-
let iv = this.i.
|
|
398
|
+
let iv = this.i.bf();
|
|
372
399
|
return (iv);
|
|
373
400
|
}
|
|
374
401
|
/**
|
|
@@ -376,7 +403,7 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
376
403
|
|
|
377
404
|
*/
|
|
378
405
|
exportSerializedVisualModel() {
|
|
379
|
-
let iv = this.i.
|
|
406
|
+
let iv = this.i.bv();
|
|
380
407
|
return (iv);
|
|
381
408
|
}
|
|
382
409
|
/**
|
|
@@ -501,7 +528,7 @@ export let IgxDatePickerComponent = /*@__PURE__*/ (() => {
|
|
|
501
528
|
}
|
|
502
529
|
}
|
|
503
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 });
|
|
504
|
-
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" }, 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>
|
|
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>
|
|
505
532
|
<div #inputcontainer>
|
|
506
533
|
</div>
|
|
507
534
|
<div #popupContainer>
|
|
@@ -581,6 +608,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
581
608
|
type: Input
|
|
582
609
|
}], isDisabled: [{
|
|
583
610
|
type: Input
|
|
611
|
+
}], isFixed: [{
|
|
612
|
+
type: Input
|
|
613
|
+
}], openAsChild: [{
|
|
614
|
+
type: Input
|
|
615
|
+
}], useTopLayer: [{
|
|
616
|
+
type: Input
|
|
584
617
|
}], selectedValueChanged: [{
|
|
585
618
|
type: Output
|
|
586
619
|
}], gotFocus: [{
|
|
@@ -902,7 +902,7 @@ var CalendarView = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
902
902
|
};
|
|
903
903
|
CalendarView.prototype.ah = function () {
|
|
904
904
|
if (this.p != null) {
|
|
905
|
-
this.p.parent().parent().focus(
|
|
905
|
+
this.p.parent().parent().focus(true);
|
|
906
906
|
}
|
|
907
907
|
};
|
|
908
908
|
CalendarView.prototype.aq = function (a, b) {
|