igniteui-webcomponents-inputs 4.8.1 → 5.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-inputs.umd.js +961 -773
- package/bundles/igniteui-webcomponents-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/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 +3 -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/{igc-date-picker-component.js → igc-x-date-picker-component.js} +54 -54
- package/esm2015/lib/{igc-date-picker-module.js → igc-x-date-picker-module.js} +7 -7
- package/esm2015/public_api.js +4 -3
- 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/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 +3 -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/{igc-date-picker-component.js → igc-x-date-picker-component.js} +111 -111
- package/esm5/lib/{igc-date-picker-module.js → igc-x-date-picker-module.js} +11 -11
- package/esm5/public_api.js +4 -3
- package/fesm2015/igniteui-webcomponents-inputs.js +883 -700
- package/fesm5/igniteui-webcomponents-inputs.js +959 -772
- 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/{igc-date-picker-component.d.ts → igc-x-date-picker-component.d.ts} +18 -18
- package/lib/igc-x-date-picker-module.d.ts +3 -0
- package/package.json +2 -2
- package/public_api.d.ts +4 -3
- package/lib/DatePicker.d.ts +0 -1
- package/lib/igc-date-picker-module.d.ts +0 -3
|
@@ -5,7 +5,7 @@ import { WebComponentRenderer } from "igniteui-webcomponents-core";
|
|
|
5
5
|
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
6
6
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
7
7
|
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
8
|
-
import {
|
|
8
|
+
import { XDatePicker } from './XDatePicker';
|
|
9
9
|
import { IgcSelectedValueChangedEventArgs } from "./igc-selected-value-changed-event-args";
|
|
10
10
|
import { IgcGotFocusEventArgs } from "./igc-got-focus-event-args";
|
|
11
11
|
import { IgcLostFocusEventArgs } from "./igc-lost-focus-event-args";
|
|
@@ -17,9 +17,9 @@ import { DateFormats_$type } from "./DateFormats";
|
|
|
17
17
|
import { DayOfWeek_$type } from "./DayOfWeek";
|
|
18
18
|
import { FirstWeek_$type } from "./FirstWeek";
|
|
19
19
|
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
20
|
-
var
|
|
21
|
-
__extends(
|
|
22
|
-
function
|
|
20
|
+
var IgcXDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
21
|
+
__extends(IgcXDatePickerComponent, _super);
|
|
22
|
+
function IgcXDatePickerComponent() {
|
|
23
23
|
var _this = _super.call(this) || this;
|
|
24
24
|
_this._disconnected = false;
|
|
25
25
|
_this._settingAttributes = false;
|
|
@@ -61,7 +61,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
61
61
|
});
|
|
62
62
|
return _this;
|
|
63
63
|
}
|
|
64
|
-
Object.defineProperty(
|
|
64
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "height", {
|
|
65
65
|
get: function () {
|
|
66
66
|
return this._height;
|
|
67
67
|
},
|
|
@@ -73,7 +73,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
73
73
|
enumerable: false,
|
|
74
74
|
configurable: true
|
|
75
75
|
});
|
|
76
|
-
Object.defineProperty(
|
|
76
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "width", {
|
|
77
77
|
get: function () {
|
|
78
78
|
return this._width;
|
|
79
79
|
},
|
|
@@ -86,26 +86,26 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
86
86
|
configurable: true
|
|
87
87
|
});
|
|
88
88
|
// supports angular themes or custom properties set in CSS
|
|
89
|
-
|
|
89
|
+
IgcXDatePickerComponent.prototype.updateStyle = function () {
|
|
90
90
|
this._styling(this, this);
|
|
91
91
|
};
|
|
92
|
-
|
|
92
|
+
IgcXDatePickerComponent.prototype.destroy = function () {
|
|
93
93
|
this._datePicker.destroy();
|
|
94
94
|
};
|
|
95
|
-
|
|
96
|
-
return new
|
|
95
|
+
IgcXDatePickerComponent.prototype.createImplementation = function () {
|
|
96
|
+
return new XDatePicker();
|
|
97
97
|
};
|
|
98
|
-
|
|
98
|
+
IgcXDatePickerComponent.prototype.disconnectedCallback = function () {
|
|
99
99
|
this._disconnected = true;
|
|
100
100
|
this._datePicker.provideContainer(null);
|
|
101
101
|
};
|
|
102
|
-
|
|
102
|
+
IgcXDatePickerComponent.prototype.connectedCallback = function () {
|
|
103
103
|
if (this._disconnected) {
|
|
104
104
|
this._disconnected = false;
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
this.classList.add("ig-date-picker");
|
|
108
|
-
this.classList.add("igc-date-picker");
|
|
107
|
+
this.classList.add("ig-x-date-picker");
|
|
108
|
+
this.classList.add("igc-x-date-picker");
|
|
109
109
|
var rootWrapper = this._renderer.rootWrapper;
|
|
110
110
|
var rootElement = rootWrapper.getNativeElement();
|
|
111
111
|
this.appendChild(rootElement);
|
|
@@ -124,16 +124,16 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
124
124
|
this._styling(this, this);
|
|
125
125
|
this.afterContentInit();
|
|
126
126
|
};
|
|
127
|
-
|
|
127
|
+
IgcXDatePickerComponent.prototype.afterContentInit = function () {
|
|
128
128
|
this.i.notifySizeChanged();
|
|
129
129
|
};
|
|
130
|
-
|
|
130
|
+
IgcXDatePickerComponent.prototype.attributeSynced = function (name, value) {
|
|
131
131
|
// an attribute was set by the component renderer.
|
|
132
132
|
if (name === 'name') {
|
|
133
133
|
this.i.setName(value);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
Object.defineProperty(
|
|
136
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "i", {
|
|
137
137
|
/**
|
|
138
138
|
* @hidden
|
|
139
139
|
*/
|
|
@@ -145,7 +145,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
145
145
|
enumerable: false,
|
|
146
146
|
configurable: true
|
|
147
147
|
});
|
|
148
|
-
|
|
148
|
+
IgcXDatePickerComponent._createFromInternal = function (internal) {
|
|
149
149
|
if (!internal) {
|
|
150
150
|
return null;
|
|
151
151
|
}
|
|
@@ -159,10 +159,10 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
159
159
|
}
|
|
160
160
|
return TypeRegistrar.create(externalName);
|
|
161
161
|
};
|
|
162
|
-
|
|
162
|
+
IgcXDatePickerComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
163
163
|
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
164
164
|
};
|
|
165
|
-
|
|
165
|
+
IgcXDatePickerComponent.prototype._flushQueuedAttributes = function () {
|
|
166
166
|
this._settingAttributes = true;
|
|
167
167
|
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
168
168
|
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
@@ -170,7 +170,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
170
170
|
this._settingAttributes = false;
|
|
171
171
|
this._queuedSetAttributes.length = 0;
|
|
172
172
|
};
|
|
173
|
-
|
|
173
|
+
IgcXDatePickerComponent.prototype._a = function (attrName, attrValue) {
|
|
174
174
|
if (this._updatingFromAttribute) {
|
|
175
175
|
return;
|
|
176
176
|
}
|
|
@@ -187,21 +187,21 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
187
|
}
|
|
188
188
|
this._settingAttributes = false;
|
|
189
189
|
};
|
|
190
|
-
Object.defineProperty(
|
|
190
|
+
Object.defineProperty(IgcXDatePickerComponent, "observedAttributes", {
|
|
191
191
|
get: function () {
|
|
192
|
-
if (
|
|
193
|
-
var names = getAllPropertyNames(
|
|
192
|
+
if (IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent == null) {
|
|
193
|
+
var names = getAllPropertyNames(IgcXDatePickerComponent);
|
|
194
194
|
for (var i = 0; i < names.length; i++) {
|
|
195
195
|
names[i] = toSpinal(names[i]);
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent = names;
|
|
198
198
|
}
|
|
199
|
-
return
|
|
199
|
+
return IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent;
|
|
200
200
|
},
|
|
201
201
|
enumerable: false,
|
|
202
202
|
configurable: true
|
|
203
203
|
});
|
|
204
|
-
|
|
204
|
+
IgcXDatePickerComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
205
205
|
if (this._settingAttributes) {
|
|
206
206
|
return;
|
|
207
207
|
}
|
|
@@ -210,13 +210,13 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
210
210
|
this[setName] = newValue;
|
|
211
211
|
this._updatingFromAttribute = false;
|
|
212
212
|
};
|
|
213
|
-
|
|
214
|
-
if (!
|
|
215
|
-
|
|
216
|
-
RegisterElementHelper.registerElement(
|
|
213
|
+
IgcXDatePickerComponent.register = function () {
|
|
214
|
+
if (!IgcXDatePickerComponent._isElementRegistered) {
|
|
215
|
+
IgcXDatePickerComponent._isElementRegistered = true;
|
|
216
|
+
RegisterElementHelper.registerElement(IgcXDatePickerComponent.htmlTagName, IgcXDatePickerComponent);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
|
-
Object.defineProperty(
|
|
219
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "value", {
|
|
220
220
|
/**
|
|
221
221
|
* Gets or Sets the property name that contains the values.
|
|
222
222
|
*/
|
|
@@ -229,47 +229,47 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
229
229
|
enumerable: false,
|
|
230
230
|
configurable: true
|
|
231
231
|
});
|
|
232
|
-
Object.defineProperty(
|
|
232
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "today", {
|
|
233
233
|
/**
|
|
234
234
|
* Gets or Sets the property name that contains the values.
|
|
235
235
|
*/
|
|
236
236
|
get: function () {
|
|
237
|
-
return this.i.
|
|
237
|
+
return this.i.bb;
|
|
238
238
|
},
|
|
239
239
|
set: function (v) {
|
|
240
|
-
this.i.
|
|
240
|
+
this.i.bb = v;
|
|
241
241
|
},
|
|
242
242
|
enumerable: false,
|
|
243
243
|
configurable: true
|
|
244
244
|
});
|
|
245
|
-
Object.defineProperty(
|
|
245
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "label", {
|
|
246
246
|
/**
|
|
247
247
|
* Gets or Sets the property name that contains the label.
|
|
248
248
|
*/
|
|
249
249
|
get: function () {
|
|
250
|
-
return this.i.
|
|
250
|
+
return this.i.b4;
|
|
251
251
|
},
|
|
252
252
|
set: function (v) {
|
|
253
|
-
this.i.
|
|
253
|
+
this.i.b4 = v;
|
|
254
254
|
},
|
|
255
255
|
enumerable: false,
|
|
256
256
|
configurable: true
|
|
257
257
|
});
|
|
258
|
-
Object.defineProperty(
|
|
258
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "labelTextColor", {
|
|
259
259
|
/**
|
|
260
260
|
* Gets or sets the color to use for the text.
|
|
261
261
|
*/
|
|
262
262
|
get: function () {
|
|
263
|
-
return brushToString(this.i.
|
|
263
|
+
return brushToString(this.i.dx);
|
|
264
264
|
},
|
|
265
265
|
set: function (v) {
|
|
266
|
-
this.i.
|
|
267
|
-
this._a("labelTextColor", brushToString(this.i.
|
|
266
|
+
this.i.dx = stringToBrush(v);
|
|
267
|
+
this._a("labelTextColor", brushToString(this.i.dx));
|
|
268
268
|
},
|
|
269
269
|
enumerable: false,
|
|
270
270
|
configurable: true
|
|
271
271
|
});
|
|
272
|
-
Object.defineProperty(
|
|
272
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "labelTextStyle", {
|
|
273
273
|
/**
|
|
274
274
|
* Gets or sets the font to use for the combobox.
|
|
275
275
|
*/
|
|
@@ -288,46 +288,46 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
288
288
|
enumerable: false,
|
|
289
289
|
configurable: true
|
|
290
290
|
});
|
|
291
|
-
Object.defineProperty(
|
|
291
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "placeholder", {
|
|
292
292
|
/**
|
|
293
293
|
* Gets or Sets the property name that contains the placeholder.
|
|
294
294
|
*/
|
|
295
295
|
get: function () {
|
|
296
|
-
return this.i.
|
|
296
|
+
return this.i.cc;
|
|
297
297
|
},
|
|
298
298
|
set: function (v) {
|
|
299
|
-
this.i.
|
|
299
|
+
this.i.cc = v;
|
|
300
300
|
},
|
|
301
301
|
enumerable: false,
|
|
302
302
|
configurable: true
|
|
303
303
|
});
|
|
304
|
-
Object.defineProperty(
|
|
304
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "minDate", {
|
|
305
305
|
/**
|
|
306
306
|
* Gets or Sets the property name that contains the MinDate.
|
|
307
307
|
*/
|
|
308
308
|
get: function () {
|
|
309
|
-
return this.i.
|
|
309
|
+
return this.i.ba;
|
|
310
310
|
},
|
|
311
311
|
set: function (v) {
|
|
312
|
-
this.i.
|
|
312
|
+
this.i.ba = v;
|
|
313
313
|
},
|
|
314
314
|
enumerable: false,
|
|
315
315
|
configurable: true
|
|
316
316
|
});
|
|
317
|
-
Object.defineProperty(
|
|
317
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "maxDate", {
|
|
318
318
|
/**
|
|
319
319
|
* Gets or Sets the property name that contains the MaxDate.
|
|
320
320
|
*/
|
|
321
321
|
get: function () {
|
|
322
|
-
return this.i.
|
|
322
|
+
return this.i.a9;
|
|
323
323
|
},
|
|
324
324
|
set: function (v) {
|
|
325
|
-
this.i.
|
|
325
|
+
this.i.a9 = v;
|
|
326
326
|
},
|
|
327
327
|
enumerable: false,
|
|
328
328
|
configurable: true
|
|
329
329
|
});
|
|
330
|
-
Object.defineProperty(
|
|
330
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "density", {
|
|
331
331
|
/**
|
|
332
332
|
* Gets or sets the display density to use for the date pcicker.
|
|
333
333
|
*/
|
|
@@ -341,7 +341,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
341
341
|
enumerable: false,
|
|
342
342
|
configurable: true
|
|
343
343
|
});
|
|
344
|
-
Object.defineProperty(
|
|
344
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "baseTheme", {
|
|
345
345
|
/**
|
|
346
346
|
* Gets or sets the base built in theme to use for the date picker.
|
|
347
347
|
*/
|
|
@@ -355,7 +355,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
355
355
|
enumerable: false,
|
|
356
356
|
configurable: true
|
|
357
357
|
});
|
|
358
|
-
Object.defineProperty(
|
|
358
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "textStyle", {
|
|
359
359
|
/**
|
|
360
360
|
* Gets or sets the font to use for the combobox.
|
|
361
361
|
*/
|
|
@@ -374,63 +374,63 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
374
374
|
enumerable: false,
|
|
375
375
|
configurable: true
|
|
376
376
|
});
|
|
377
|
-
Object.defineProperty(
|
|
377
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "textColor", {
|
|
378
378
|
/**
|
|
379
379
|
* Gets or Sets the text color
|
|
380
380
|
*/
|
|
381
381
|
get: function () {
|
|
382
|
-
return brushToString(this.i.
|
|
382
|
+
return brushToString(this.i.dy);
|
|
383
383
|
},
|
|
384
384
|
set: function (v) {
|
|
385
|
-
this.i.
|
|
386
|
-
this._a("textColor", brushToString(this.i.
|
|
385
|
+
this.i.dy = stringToBrush(v);
|
|
386
|
+
this._a("textColor", brushToString(this.i.dy));
|
|
387
387
|
},
|
|
388
388
|
enumerable: false,
|
|
389
389
|
configurable: true
|
|
390
390
|
});
|
|
391
|
-
Object.defineProperty(
|
|
391
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "iconColor", {
|
|
392
392
|
/**
|
|
393
393
|
* Gets or Sets the text color
|
|
394
394
|
*/
|
|
395
395
|
get: function () {
|
|
396
|
-
return brushToString(this.i.
|
|
396
|
+
return brushToString(this.i.dw);
|
|
397
397
|
},
|
|
398
398
|
set: function (v) {
|
|
399
|
-
this.i.
|
|
400
|
-
this._a("iconColor", brushToString(this.i.
|
|
399
|
+
this.i.dw = stringToBrush(v);
|
|
400
|
+
this._a("iconColor", brushToString(this.i.dw));
|
|
401
401
|
},
|
|
402
402
|
enumerable: false,
|
|
403
403
|
configurable: true
|
|
404
404
|
});
|
|
405
|
-
Object.defineProperty(
|
|
405
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "showClearButton", {
|
|
406
406
|
/**
|
|
407
407
|
* Gets or sets the ShowClearButton property to detirmine if the clear button is shown
|
|
408
408
|
*/
|
|
409
409
|
get: function () {
|
|
410
|
-
return this.i.
|
|
410
|
+
return this.i.a0;
|
|
411
411
|
},
|
|
412
412
|
set: function (v) {
|
|
413
|
-
this.i.
|
|
414
|
-
this._a("showClearButton", this.i.
|
|
413
|
+
this.i.a0 = ensureBool(v);
|
|
414
|
+
this._a("showClearButton", this.i.a0);
|
|
415
415
|
},
|
|
416
416
|
enumerable: false,
|
|
417
417
|
configurable: true
|
|
418
418
|
});
|
|
419
|
-
Object.defineProperty(
|
|
419
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "showTodayButton", {
|
|
420
420
|
/**
|
|
421
421
|
* Gets or sets the ShowTodayButton property to detirmine if the today button is shown
|
|
422
422
|
*/
|
|
423
423
|
get: function () {
|
|
424
|
-
return this.i.
|
|
424
|
+
return this.i.a1;
|
|
425
425
|
},
|
|
426
426
|
set: function (v) {
|
|
427
|
-
this.i.
|
|
428
|
-
this._a("showTodayButton", this.i.
|
|
427
|
+
this.i.a1 = ensureBool(v);
|
|
428
|
+
this._a("showTodayButton", this.i.a1);
|
|
429
429
|
},
|
|
430
430
|
enumerable: false,
|
|
431
431
|
configurable: true
|
|
432
432
|
});
|
|
433
|
-
Object.defineProperty(
|
|
433
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "allowTextInput", {
|
|
434
434
|
/**
|
|
435
435
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
436
436
|
*/
|
|
@@ -444,7 +444,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
444
444
|
enumerable: false,
|
|
445
445
|
configurable: true
|
|
446
446
|
});
|
|
447
|
-
Object.defineProperty(
|
|
447
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "openOnFocus", {
|
|
448
448
|
/**
|
|
449
449
|
* Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed
|
|
450
450
|
*/
|
|
@@ -458,7 +458,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
458
458
|
enumerable: false,
|
|
459
459
|
configurable: true
|
|
460
460
|
});
|
|
461
|
-
Object.defineProperty(
|
|
461
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "firstDayOfWeek", {
|
|
462
462
|
/**
|
|
463
463
|
* Gets or sets the FirstDayOfWeek property to detirmine first day of the week
|
|
464
464
|
*/
|
|
@@ -472,7 +472,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
472
472
|
enumerable: false,
|
|
473
473
|
configurable: true
|
|
474
474
|
});
|
|
475
|
-
Object.defineProperty(
|
|
475
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "firstWeekOfYear", {
|
|
476
476
|
/**
|
|
477
477
|
* Gets or sets the FirstWeekOfYear property to detirmine first week of the year
|
|
478
478
|
*/
|
|
@@ -486,21 +486,21 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
486
486
|
enumerable: false,
|
|
487
487
|
configurable: true
|
|
488
488
|
});
|
|
489
|
-
Object.defineProperty(
|
|
489
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "showWeekNumbers", {
|
|
490
490
|
/**
|
|
491
491
|
* Gets or sets the ShowWeekNumbers property to detirmine if the week numbers are shown
|
|
492
492
|
*/
|
|
493
493
|
get: function () {
|
|
494
|
-
return this.i.
|
|
494
|
+
return this.i.a2;
|
|
495
495
|
},
|
|
496
496
|
set: function (v) {
|
|
497
|
-
this.i.
|
|
498
|
-
this._a("showWeekNumbers", this.i.
|
|
497
|
+
this.i.a2 = ensureBool(v);
|
|
498
|
+
this._a("showWeekNumbers", this.i.a2);
|
|
499
499
|
},
|
|
500
500
|
enumerable: false,
|
|
501
501
|
configurable: true
|
|
502
502
|
});
|
|
503
|
-
Object.defineProperty(
|
|
503
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "dateFormat", {
|
|
504
504
|
/**
|
|
505
505
|
* Gets or sets the date time format to use for this column. If FormatString is specificied this value is ignored.
|
|
506
506
|
*/
|
|
@@ -514,20 +514,20 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
514
514
|
enumerable: false,
|
|
515
515
|
configurable: true
|
|
516
516
|
});
|
|
517
|
-
Object.defineProperty(
|
|
517
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "formatString", {
|
|
518
518
|
/**
|
|
519
519
|
* Gets or sets the Format property to detirmine the format of the date in the input
|
|
520
520
|
*/
|
|
521
521
|
get: function () {
|
|
522
|
-
return this.i.
|
|
522
|
+
return this.i.bz;
|
|
523
523
|
},
|
|
524
524
|
set: function (v) {
|
|
525
|
-
this.i.
|
|
525
|
+
this.i.bz = v;
|
|
526
526
|
},
|
|
527
527
|
enumerable: false,
|
|
528
528
|
configurable: true
|
|
529
529
|
});
|
|
530
|
-
Object.defineProperty(
|
|
530
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "isDisabled", {
|
|
531
531
|
get: function () {
|
|
532
532
|
return this.i.av;
|
|
533
533
|
},
|
|
@@ -538,7 +538,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
538
538
|
enumerable: false,
|
|
539
539
|
configurable: true
|
|
540
540
|
});
|
|
541
|
-
Object.defineProperty(
|
|
541
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "isFixed", {
|
|
542
542
|
/**
|
|
543
543
|
* Indicates that the calendar dropdown will position itself relative to the window instead of the document.
|
|
544
544
|
*/
|
|
@@ -552,7 +552,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
552
552
|
enumerable: false,
|
|
553
553
|
configurable: true
|
|
554
554
|
});
|
|
555
|
-
Object.defineProperty(
|
|
555
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "openAsChild", {
|
|
556
556
|
/**
|
|
557
557
|
* Indicates that the dropdown should open as a child of the date picker.
|
|
558
558
|
*/
|
|
@@ -566,33 +566,33 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
566
566
|
enumerable: false,
|
|
567
567
|
configurable: true
|
|
568
568
|
});
|
|
569
|
-
Object.defineProperty(
|
|
569
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "useTopLayer", {
|
|
570
570
|
/**
|
|
571
571
|
* Indicates that the dropdown will place itself into the browser top layer.
|
|
572
572
|
*/
|
|
573
573
|
get: function () {
|
|
574
|
-
return this.i.
|
|
574
|
+
return this.i.a3;
|
|
575
575
|
},
|
|
576
576
|
set: function (v) {
|
|
577
|
-
this.i.
|
|
578
|
-
this._a("useTopLayer", this.i.
|
|
577
|
+
this.i.a3 = ensureBool(v);
|
|
578
|
+
this._a("useTopLayer", this.i.a3);
|
|
579
579
|
},
|
|
580
580
|
enumerable: false,
|
|
581
581
|
configurable: true
|
|
582
582
|
});
|
|
583
|
-
Object.defineProperty(
|
|
583
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "hasUserValues", {
|
|
584
584
|
get: function () {
|
|
585
585
|
return this._hasUserValues;
|
|
586
586
|
},
|
|
587
587
|
enumerable: false,
|
|
588
588
|
configurable: true
|
|
589
589
|
});
|
|
590
|
-
|
|
590
|
+
IgcXDatePickerComponent.prototype.__m = function (propertyName) {
|
|
591
591
|
if (!this._inStyling) {
|
|
592
592
|
this._hasUserValues.add(propertyName);
|
|
593
593
|
}
|
|
594
594
|
};
|
|
595
|
-
|
|
595
|
+
IgcXDatePickerComponent.prototype._styling = function (container, component, parent) {
|
|
596
596
|
if (this._inStyling) {
|
|
597
597
|
return;
|
|
598
598
|
}
|
|
@@ -604,7 +604,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
604
604
|
if (typeName.indexOf("Xam") === 0) {
|
|
605
605
|
typeName = typeName.substring(3);
|
|
606
606
|
}
|
|
607
|
-
genericPrefix = toSpinal("
|
|
607
|
+
genericPrefix = toSpinal("XDatePickerComponent");
|
|
608
608
|
var additionalPrefixes = [];
|
|
609
609
|
var prefix = toSpinal(typeName);
|
|
610
610
|
additionalPrefixes.push(prefix + "-");
|
|
@@ -637,26 +637,26 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
637
637
|
}
|
|
638
638
|
this._inStyling = false;
|
|
639
639
|
};
|
|
640
|
-
|
|
641
|
-
this.i.
|
|
640
|
+
IgcXDatePickerComponent.prototype.select = function () {
|
|
641
|
+
this.i.dg();
|
|
642
642
|
};
|
|
643
643
|
/**
|
|
644
644
|
* Exports visual information about the current state of the grid.
|
|
645
645
|
|
|
646
646
|
*/
|
|
647
|
-
|
|
648
|
-
var iv = this.i.
|
|
647
|
+
IgcXDatePickerComponent.prototype.exportVisualModel = function () {
|
|
648
|
+
var iv = this.i.bg();
|
|
649
649
|
return (iv);
|
|
650
650
|
};
|
|
651
651
|
/**
|
|
652
652
|
* Returns a serialized copy of the exported visual model
|
|
653
653
|
|
|
654
654
|
*/
|
|
655
|
-
|
|
656
|
-
var iv = this.i.
|
|
655
|
+
IgcXDatePickerComponent.prototype.exportSerializedVisualModel = function () {
|
|
656
|
+
var iv = this.i.bw();
|
|
657
657
|
return (iv);
|
|
658
658
|
};
|
|
659
|
-
Object.defineProperty(
|
|
659
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "selectedValueChanged", {
|
|
660
660
|
/**
|
|
661
661
|
* Called when date is selected.
|
|
662
662
|
*/
|
|
@@ -687,7 +687,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
687
687
|
enumerable: false,
|
|
688
688
|
configurable: true
|
|
689
689
|
});
|
|
690
|
-
Object.defineProperty(
|
|
690
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "gotFocus", {
|
|
691
691
|
get: function () {
|
|
692
692
|
return this._gotFocus;
|
|
693
693
|
},
|
|
@@ -715,7 +715,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
715
715
|
enumerable: false,
|
|
716
716
|
configurable: true
|
|
717
717
|
});
|
|
718
|
-
Object.defineProperty(
|
|
718
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "lostFocus", {
|
|
719
719
|
get: function () {
|
|
720
720
|
return this._lostFocus;
|
|
721
721
|
},
|
|
@@ -743,7 +743,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
743
743
|
enumerable: false,
|
|
744
744
|
configurable: true
|
|
745
745
|
});
|
|
746
|
-
Object.defineProperty(
|
|
746
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "keyDown", {
|
|
747
747
|
get: function () {
|
|
748
748
|
return this._keyDown;
|
|
749
749
|
},
|
|
@@ -771,7 +771,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
771
771
|
enumerable: false,
|
|
772
772
|
configurable: true
|
|
773
773
|
});
|
|
774
|
-
Object.defineProperty(
|
|
774
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "changing", {
|
|
775
775
|
get: function () {
|
|
776
776
|
return this._changing;
|
|
777
777
|
},
|
|
@@ -799,7 +799,7 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
799
799
|
enumerable: false,
|
|
800
800
|
configurable: true
|
|
801
801
|
});
|
|
802
|
-
Object.defineProperty(
|
|
802
|
+
Object.defineProperty(IgcXDatePickerComponent.prototype, "valueChange", {
|
|
803
803
|
get: function () {
|
|
804
804
|
return this._valueChange;
|
|
805
805
|
},
|
|
@@ -827,9 +827,9 @@ var IgcDatePickerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
827
827
|
enumerable: false,
|
|
828
828
|
configurable: true
|
|
829
829
|
});
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
return
|
|
830
|
+
IgcXDatePickerComponent._observedAttributesIgcXDatePickerComponent = null;
|
|
831
|
+
IgcXDatePickerComponent.htmlTagName = "igc-x-date-picker";
|
|
832
|
+
IgcXDatePickerComponent._isElementRegistered = false;
|
|
833
|
+
return IgcXDatePickerComponent;
|
|
834
834
|
}(IgcHTMLElement));
|
|
835
|
-
export {
|
|
835
|
+
export { IgcXDatePickerComponent };
|
|
@@ -8,22 +8,22 @@ 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 {
|
|
12
|
-
import {
|
|
11
|
+
import { IgcXDatePickerComponent } from './igc-x-date-picker-component';
|
|
12
|
+
import { XDatePicker } from './XDatePicker';
|
|
13
13
|
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
14
|
-
var
|
|
15
|
-
function
|
|
14
|
+
var IgcXDatePickerModule = /** @class */ /*@__PURE__*/ (function () {
|
|
15
|
+
function IgcXDatePickerModule() {
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
IgcXDatePickerModule.register = function () {
|
|
18
18
|
IgcXCalendarModule.register();
|
|
19
19
|
IgcXButtonModule.register();
|
|
20
20
|
IgcXIconModule.register();
|
|
21
21
|
IgcXInputGroupModule.register();
|
|
22
|
-
|
|
23
|
-
TypeRegistrar.registerCons('
|
|
24
|
-
TypeRegistrar.registerCons('
|
|
25
|
-
TypeRegistrar.register('
|
|
22
|
+
IgcXDatePickerComponent.register();
|
|
23
|
+
TypeRegistrar.registerCons('IgcXDatePickerComponent', IgcXDatePickerComponent);
|
|
24
|
+
TypeRegistrar.registerCons('IgcXDatePickerComponent', IgcXDatePickerComponent);
|
|
25
|
+
TypeRegistrar.register('XDatePicker', XDatePicker.$type);
|
|
26
26
|
};
|
|
27
|
-
return
|
|
27
|
+
return IgcXDatePickerModule;
|
|
28
28
|
}());
|
|
29
|
-
export {
|
|
29
|
+
export { IgcXDatePickerModule };
|