igniteui-webcomponents-inputs 4.3.2 → 4.3.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/License +1 -1
  2. package/bundles/igniteui-webcomponents-inputs.umd.js +792 -601
  3. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  4. package/esm2015/lib/ButtonView_combined.js +16 -16
  5. package/esm2015/lib/CalendarView_combined.js +6 -6
  6. package/esm2015/lib/CheckboxView_combined.js +22 -22
  7. package/esm2015/lib/DatePickerView_combined.js +530 -444
  8. package/esm2015/lib/IconView_combined.js +20 -20
  9. package/esm2015/lib/InputGroupView_combined.js +31 -31
  10. package/esm2015/lib/RippleView_combined.js +1 -1
  11. package/esm2015/lib/XPopupBridge.js +40 -34
  12. package/esm2015/lib/igc-button-click-event-args.js +6 -0
  13. package/esm2015/lib/igc-button-group-selection-changed-event-args.js +6 -0
  14. package/esm2015/lib/igc-checkbox-change-event-args.js +6 -0
  15. package/esm2015/lib/igc-date-picker-component.js +72 -42
  16. package/esm2015/lib/igc-got-focus-event-args.js +6 -0
  17. package/esm2015/lib/igc-input-change-event-args.js +6 -0
  18. package/esm2015/lib/igc-lost-focus-event-args.js +6 -0
  19. package/esm2015/lib/igc-selected-value-changed-event-args.js +6 -0
  20. package/esm2015/lib/igc-x-input-group-item-component.js +3 -0
  21. package/esm5/lib/ButtonView_combined.js +16 -16
  22. package/esm5/lib/CalendarView_combined.js +6 -6
  23. package/esm5/lib/CheckboxView_combined.js +22 -22
  24. package/esm5/lib/DatePickerView_combined.js +527 -429
  25. package/esm5/lib/IconView_combined.js +20 -20
  26. package/esm5/lib/InputGroupView_combined.js +31 -31
  27. package/esm5/lib/RippleView_combined.js +1 -1
  28. package/esm5/lib/XPopupBridge.js +40 -34
  29. package/esm5/lib/igc-button-click-event-args.js +6 -0
  30. package/esm5/lib/igc-button-group-selection-changed-event-args.js +6 -0
  31. package/esm5/lib/igc-checkbox-change-event-args.js +6 -0
  32. package/esm5/lib/igc-date-picker-component.js +84 -42
  33. package/esm5/lib/igc-got-focus-event-args.js +6 -0
  34. package/esm5/lib/igc-input-change-event-args.js +6 -0
  35. package/esm5/lib/igc-lost-focus-event-args.js +6 -0
  36. package/esm5/lib/igc-selected-value-changed-event-args.js +6 -0
  37. package/esm5/lib/igc-x-input-group-item-component.js +3 -0
  38. package/fesm2015/igniteui-webcomponents-inputs.js +785 -618
  39. package/fesm5/igniteui-webcomponents-inputs.js +793 -602
  40. package/lib/DatePickerView_combined.d.ts +132 -113
  41. package/lib/igc-date-picker-component.d.ts +15 -0
  42. package/package.json +2 -2
@@ -48,15 +48,17 @@ export let DatePickerView = /*@__PURE__*/ (() => {
48
48
  this.f = null;
49
49
  this.i = null;
50
50
  this.h = null;
51
+ this.o = null;
51
52
  this.document_Click = this.document_Click.bind(this);
52
53
  }
53
- ah() {
54
+ am() {
54
55
  }
55
56
  get n() {
56
57
  return this.e;
57
58
  }
58
- ag(a) {
59
+ ak(a) {
59
60
  if (a == null) {
61
+ this.b.cq();
60
62
  if (this.d != null) {
61
63
  let b = this.d.rootWrapper.getChildAt(0);
62
64
  b.unlistenAll();
@@ -68,18 +70,19 @@ export let DatePickerView = /*@__PURE__*/ (() => {
68
70
  this.d = a;
69
71
  let c = Math.round(a.rootWrapper.width());
70
72
  let d = Math.round(a.rootWrapper.height());
71
- this.aa();
72
- this.ab();
73
+ this.ad();
74
+ this.ae();
73
75
  let e = this.d.rootWrapper.getChildAt(0);
74
- e.listen("keydown", runOn(this, this.x));
75
- e.listen("focusin", runOn(this, this.v));
76
- e.listen("focusout", runOn(this, this.w));
76
+ e.listen("keydown", runOn(this, this.y));
77
+ e.listen("focusin", runOn(this, this.w));
78
+ e.listen("focusout", runOn(this, this.x));
77
79
  document.addEventListener("click", this.document_Click, false);
80
+ this.o = new MutationObserver(runOn(this, this.al));
78
81
  }
79
- aa() {
82
+ ad() {
80
83
  if (this.d != null) {
81
84
  this.k = this.d.rootWrapper.getChildAt(0);
82
- this.k.setAttribute("tabIndex", this.b.a7.toString());
85
+ this.k.setAttribute("tabIndex", this.b.be.toString());
83
86
  this.k.setStyleProperty("display", "flex");
84
87
  this.k.setStyleProperty("height", "100%");
85
88
  this.l = this.d.createElement("div");
@@ -92,71 +95,73 @@ export let DatePickerView = /*@__PURE__*/ (() => {
92
95
  this.i = this.d.createElement("div");
93
96
  this.i.setAttribute("aria-hidden", "true");
94
97
  this.h = this.d.createElement("div");
95
- this.b.ch();
98
+ this.b.cr();
96
99
  this.j.getChildAt(0).setAttribute("aria-expanded", "fasle");
97
100
  this.j.getChildAt(0).setAttribute("aria-invalid", "false");
98
101
  this.f.setStyleProperty("height", "16px");
99
102
  this.f.setStyleProperty("width", "16px");
100
103
  this.h.setStyleProperty("height", "16px");
101
104
  this.h.setStyleProperty("width", "16px");
102
- this.f.listen("click", runOn(this, this.z));
103
- this.h.listen("click", runOn(this, this.ad));
105
+ this.f.listen("click", runOn(this, this.ac));
106
+ this.f.listen("mousedown", runOn(this, this.aa));
107
+ this.f.listen("mouseleave", runOn(this, this.ab));
108
+ this.h.listen("click", runOn(this, this.ag));
104
109
  }
105
110
  }
106
- ak(a) {
111
+ aq(a) {
107
112
  if (this.d != null) {
108
113
  let b = this.d.getSubRenderer(this.k);
109
114
  a.provideContainer(b);
110
115
  let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
111
116
  }
112
117
  }
113
- am(a) {
118
+ as(a) {
114
119
  if (this.d != null) {
115
120
  let b = this.d.getSubRenderer(this.l);
116
121
  a.provideContainer(b);
117
122
  let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
118
123
  }
119
124
  }
120
- al(a) {
125
+ ar(a) {
121
126
  if (this.d != null) {
122
127
  let b = this.d.getSubRenderer(this.j);
123
128
  a.provideContainer(b);
124
129
  let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
125
130
  }
126
131
  }
127
- ao(a, b) {
132
+ au(a, b) {
128
133
  if (this.d != null) {
129
134
  let c = this.d.getSubRenderer(b);
130
135
  a.provideContainer(c);
131
136
  let d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
132
137
  }
133
138
  }
134
- aj(a, b) {
139
+ ap(a, b) {
135
140
  if (this.d != null) {
136
141
  let c = this.d.getSubRenderer(b);
137
142
  a.provideContainer(c);
138
143
  let d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
139
144
  }
140
145
  }
141
- u() {
146
+ v() {
142
147
  return this.l;
143
148
  }
144
- t() {
149
+ u() {
145
150
  return this.j;
146
151
  }
147
- q() {
152
+ r() {
148
153
  return this.g;
149
154
  }
150
- p() {
155
+ q() {
151
156
  return this.f;
152
157
  }
153
- s() {
158
+ t() {
154
159
  return this.i;
155
160
  }
156
- r() {
161
+ s() {
157
162
  return this.h;
158
163
  }
159
- aq(a) {
164
+ aw(a) {
160
165
  if (this.j != null) {
161
166
  if (a) {
162
167
  this.j.getChildAt(0).setAttribute("aria-expanded", "true");
@@ -166,7 +171,7 @@ export let DatePickerView = /*@__PURE__*/ (() => {
166
171
  }
167
172
  }
168
173
  }
169
- as(a) {
174
+ ay(a) {
170
175
  if (a != null && a != "") {
171
176
  this.j.getChildAt(0).setAttribute("aria-label", a);
172
177
  }
@@ -174,9 +179,9 @@ export let DatePickerView = /*@__PURE__*/ (() => {
174
179
  this.j.getChildAt(0).setAttribute("aria-label", "Select a date");
175
180
  }
176
181
  }
177
- ap() {
182
+ av() {
178
183
  if (this.f != null) {
179
- if (this.b.at == true) {
184
+ if (this.b.az == true) {
180
185
  this.f.show();
181
186
  }
182
187
  else {
@@ -184,115 +189,128 @@ export let DatePickerView = /*@__PURE__*/ (() => {
184
189
  }
185
190
  }
186
191
  }
187
- ae() {
192
+ ah() {
188
193
  if (this.f != null) {
189
194
  this.f.hide();
190
195
  }
191
196
  }
192
- ar() {
193
- this.k.setAttribute("tabIndex", this.b.a7.toString());
197
+ ax() {
198
+ this.k.setAttribute("tabIndex", this.b.be.toString());
199
+ }
200
+ an() {
201
+ this.o.observe(document, { childList: true, subtree: true });
194
202
  }
195
- ab() {
203
+ aj() {
204
+ this.o.disconnect();
205
+ }
206
+ ae() {
196
207
  if (this.d != null) {
197
208
  this.m = this.d.rootWrapper.getChildAt(1);
198
209
  this.e = this.d.createElement("div");
199
210
  this.e.setStyleProperty("width", "100%");
200
211
  this.e.setStyleProperty("height", "100%");
201
212
  this.e.setStyleProperty("display", "flex");
202
- this.b.ci();
213
+ this.b.cs();
203
214
  this.e.parent().setStyleProperty("height", "100%");
204
- if (this.b.av == true) {
215
+ if (this.b.a1 == true) {
205
216
  this.e.parent().parent().setStyleProperty("max-width", "245px");
206
217
  }
207
218
  else {
208
219
  this.e.parent().parent().setStyleProperty("max-width", "232px");
209
220
  }
210
- if (this.b.au == true) {
211
- this.e.parent().parent().setStyleProperty("min-height", "270px");
212
- }
213
- else {
214
- this.e.parent().parent().setStyleProperty("min-height", "234px");
215
- }
216
221
  }
217
222
  }
218
- y() {
223
+ z() {
219
224
  if (this.d != null) {
220
- if (this.b.av == true) {
225
+ if (this.b.a1 == true) {
221
226
  this.e.parent().parent().setStyleProperty("max-width", "245px");
222
227
  }
223
228
  else {
224
229
  this.e.parent().parent().setStyleProperty("max-width", "232px");
225
230
  }
226
- if (this.b.au == true) {
227
- this.e.parent().parent().setStyleProperty("min-height", "270px");
228
- }
229
- else {
230
- this.e.parent().parent().setStyleProperty("min-height", "234px");
231
- }
232
231
  }
233
232
  }
234
- an(a) {
233
+ at(a) {
235
234
  if (this.d != null) {
236
235
  let b = this.d.getSubRenderer(this.m);
237
236
  a.provideRenderer(b);
238
237
  let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
239
238
  }
240
239
  }
241
- ai(a) {
240
+ ao(a) {
242
241
  if (this.d != null) {
243
242
  let b = this.d.getSubRenderer(this.e);
244
243
  a.provideContainer(b);
245
244
  let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
246
245
  }
247
246
  }
248
- o() {
247
+ p() {
249
248
  return this.e;
250
249
  }
251
- z(a) {
252
- if (this.b.ar == true) {
250
+ ac(a) {
251
+ if (this.b.av == true) {
253
252
  return;
254
253
  }
255
- this.b.cf();
254
+ this.b.cp();
256
255
  if (this.f != null) {
257
256
  this.f.hide();
258
257
  }
259
258
  }
260
- ad(a) {
259
+ aa(a) {
260
+ this.b.c8();
261
+ }
262
+ ab(a) {
263
+ this.b.c9();
264
+ }
265
+ ag(a) {
261
266
  a.stopPropagation();
262
- this.b.cn();
267
+ this.b.cx();
263
268
  }
264
- x(a) {
269
+ y(a) {
265
270
  let b = a.which;
266
271
  if (b == 27) {
267
- this.b.cg();
272
+ this.b.cq();
268
273
  }
269
274
  }
270
- v(a) {
275
+ w(a) {
271
276
  this.b.focus();
272
277
  let b = (a.originalEvent.relatedTarget);
273
278
  if (!this.c(b)) {
274
- this.b.ct();
279
+ this.b.c3();
275
280
  }
276
281
  }
277
- w(a) {
282
+ x(a) {
278
283
  let b = (a.originalEvent.relatedTarget);
279
284
  if (!this.c(b)) {
280
- this.b.cm();
281
- this.b.cu();
285
+ this.b.cw();
286
+ this.b.c4();
287
+ }
288
+ }
289
+ al(a, b) {
290
+ if (this.d != null) {
291
+ let c = this.d.rootWrapper.getNativeElement();
292
+ if (!document.documentElement.contains(c)) {
293
+ this.b.cq();
294
+ }
295
+ }
296
+ else {
297
+ this.b.cq();
282
298
  }
283
299
  }
284
300
  document_Click(a) {
285
301
  let b = a.target;
286
302
  if (!this.c(b)) {
287
- this.b.cg();
303
+ this.b.cq();
288
304
  }
289
305
  }
290
- at() {
306
+ az(a) {
291
307
  if (this.d != null) {
292
- let a = this.d.rootWrapper.getNativeElement();
293
- let b = a.getBoundingClientRect();
294
- ;
295
- return b;
308
+ let b = this.d.rootWrapper.getNativeElement();
309
+ let c = (b.getBoundingClientRect());
310
+ if (a) {
311
+ c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
312
+ }
313
+ return c;
296
314
  }
297
315
  return null;
298
316
  }
@@ -308,11 +326,11 @@ export let DatePickerView = /*@__PURE__*/ (() => {
308
326
  if (null == a) {
309
327
  return false;
310
328
  }
311
- let b = this.j.getNativeElement();
329
+ let b = this.d.rootWrapper.getNativeElement();
312
330
  let c = this.e.getNativeElement();
313
331
  return b.contains(a) || c.contains(a);
314
332
  }
315
- af() {
333
+ ai() {
316
334
  }
317
335
  }
318
336
  DatePickerView.$t = /*@__PURE__*/ markType(DatePickerView, 'DatePickerView');
@@ -333,44 +351,48 @@ export let DatePicker = /*@__PURE__*/ (() => {
333
351
  this.m = null;
334
352
  this.n = null;
335
353
  this.c = null;
336
- this.a9 = "dd";
337
- this.bd = "mm";
338
- this.bg = "yyyy";
339
- this.ba = "mdy";
340
- this.bf = "/";
354
+ this.bg = "dd";
355
+ this.bk = "mm";
356
+ this.bn = "yyyy";
357
+ this.bh = "mdy";
358
+ this.bm = "/";
341
359
  this.ah = false;
342
- this.ap = false;
343
- this.ao = false;
344
- this.ay = dateMinValue();
360
+ this.at = false;
361
+ this.ar = false;
362
+ this.a5 = dateMinValue();
345
363
  this.ai = false;
346
364
  this.propertyChanged = null;
347
365
  this.selectedValueChanged = null;
348
366
  this.ae = null;
349
- this.a0 = dateMinValue();
350
- this.az = dateMinValue();
351
- this.bc = "";
352
- this.de = BrushUtil.g(255, 24, 29, 31);
367
+ this.a7 = dateMinValue();
368
+ this.a6 = dateMinValue();
369
+ this.bj = "";
370
+ this.ds = BrushUtil.g(255, 24, 29, 31);
353
371
  this.z = null;
354
- this.be = "";
355
- this.ax = dateMinValue();
356
- this.aw = dateMaxValue();
372
+ this.bl = "";
373
+ this.a4 = dateMinValue();
374
+ this.a3 = dateMaxValue();
357
375
  this.x = 2;
358
376
  this.v = 1;
359
377
  this.aa = null;
360
- this.df = BrushUtil.g(255, 24, 29, 31);
361
- this.dd = BrushUtil.g(255, 163, 172, 184);
362
- this.al = true;
363
- this.am = false;
378
+ this.dt = BrushUtil.g(255, 24, 29, 31);
379
+ this.dr = BrushUtil.g(255, 163, 172, 184);
380
+ this.ao = true;
381
+ this.ap = false;
364
382
  this.ag = true;
365
- this.ak = true;
383
+ this.an = true;
366
384
  this.i = 0;
367
385
  this.k = 0;
368
- this.an = false;
386
+ this.aq = false;
369
387
  this.a = new DateTimeValueFormatter();
370
388
  this.d = 0;
371
- this.bb = null;
389
+ this.bi = null;
372
390
  this.aj = false;
373
- this.a6 = 0;
391
+ this.bd = 0;
392
+ this.ak = false;
393
+ this.am = false;
394
+ this.as = false;
395
+ this.al = false;
374
396
  this.gotFocus = null;
375
397
  this.lostFocus = null;
376
398
  this.keyDown = null;
@@ -378,15 +400,15 @@ export let DatePicker = /*@__PURE__*/ (() => {
378
400
  let a = new DatePickerView();
379
401
  a.b = this;
380
402
  this.h = a;
381
- this.h.ah();
382
- this.ce();
403
+ this.h.am();
404
+ this.co();
383
405
  }
384
- cz(a, b) {
406
+ db(a, b) {
385
407
  if (this.u != null) {
386
408
  this.ah = true;
387
- this.cg();
409
+ this.cq();
388
410
  }
389
- this.c8();
411
+ this.dl();
390
412
  if (this.selectedValueChanged != null) {
391
413
  this.selectedValueChanged(this, ((() => {
392
414
  let $ret = new SelectedValueChangedEventArgs();
@@ -396,23 +418,23 @@ export let DatePicker = /*@__PURE__*/ (() => {
396
418
  })()));
397
419
  }
398
420
  if (this.ai) {
399
- this.c3();
421
+ this.df();
400
422
  }
401
423
  }
402
424
  notifySizeChanged() {
403
- this.h.af();
425
+ this.h.ai();
404
426
  }
405
427
  destroy() {
406
428
  if (this.c != null) {
407
429
  let a = this.c;
408
- a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.cd));
430
+ a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.cn));
409
431
  let b = this.c;
410
- b.close = delegateRemove(b.close, runOn(this, this.cc));
432
+ b.close = delegateRemove(b.close, runOn(this, this.cm));
411
433
  }
412
434
  this.provideContainer(null);
413
435
  }
414
436
  provideContainer(a) {
415
- this.h.ag(a);
437
+ this.h.ak(a);
416
438
  }
417
439
  setName(a) {
418
440
  this.o.e = a;
@@ -425,44 +447,44 @@ export let DatePicker = /*@__PURE__*/ (() => {
425
447
  return this.ae;
426
448
  }
427
449
  get value() {
428
- return this.a0;
450
+ return this.a7;
429
451
  }
430
452
  set value(a) {
431
- let b = this.a0;
432
- this.ay = b;
433
- this.a0 = a;
434
- if (+b != +(this.a0)) {
435
- this.cy("Value", b, this.a0);
453
+ let b = this.a7;
454
+ this.a5 = b;
455
+ this.a7 = a;
456
+ if (+b != +(this.a7)) {
457
+ this.da("Value", b, this.a7);
436
458
  }
437
459
  }
438
- get a3() {
439
- return this.az;
460
+ get ba() {
461
+ return this.a6;
440
462
  }
441
- set a3(a) {
442
- let b = this.az;
443
- this.az = a;
444
- if (+b != +(this.az)) {
445
- this.cy("Today", b, this.az);
463
+ set ba(a) {
464
+ let b = this.a6;
465
+ this.a6 = a;
466
+ if (+b != +(this.a6)) {
467
+ this.da("Today", b, this.a6);
446
468
  }
447
469
  }
448
- get bv() {
449
- return this.bc;
470
+ get b3() {
471
+ return this.bj;
450
472
  }
451
- set bv(a) {
452
- let b = this.bc;
453
- this.bc = a;
454
- if (b != this.bc) {
455
- this.cy("Label", b, this.bc);
473
+ set b3(a) {
474
+ let b = this.bj;
475
+ this.bj = a;
476
+ if (b != this.bj) {
477
+ this.da("Label", b, this.bj);
456
478
  }
457
479
  }
458
- get dh() {
459
- return this.de;
480
+ get dv() {
481
+ return this.ds;
460
482
  }
461
- set dh(a) {
462
- let b = this.de;
463
- this.de = a;
464
- if (b != this.de) {
465
- this.cy("LabelTextColor", b, a);
483
+ set dv(a) {
484
+ let b = this.ds;
485
+ this.ds = a;
486
+ if (b != this.ds) {
487
+ this.da("LabelTextColor", b, a);
466
488
  }
467
489
  }
468
490
  get ac() {
@@ -472,37 +494,37 @@ export let DatePicker = /*@__PURE__*/ (() => {
472
494
  let b = this.z;
473
495
  this.z = a;
474
496
  if (b != this.z) {
475
- this.cy("LabelTextStyle", b, this.z);
497
+ this.da("LabelTextStyle", b, this.z);
476
498
  }
477
499
  }
478
- get b2() {
479
- return this.be;
500
+ get cb() {
501
+ return this.bl;
480
502
  }
481
- set b2(a) {
482
- let b = this.be;
483
- this.be = a;
484
- if (b != this.be) {
485
- this.cy("Placeholder", b, this.be);
503
+ set cb(a) {
504
+ let b = this.bl;
505
+ this.bl = a;
506
+ if (b != this.bl) {
507
+ this.da("Placeholder", b, this.bl);
486
508
  }
487
509
  }
488
- get a2() {
489
- return this.ax;
510
+ get a9() {
511
+ return this.a4;
490
512
  }
491
- set a2(a) {
492
- let b = this.ax;
493
- this.ax = a;
494
- if (+b != +(this.ax)) {
495
- this.cy("MinDate", b, this.ax);
513
+ set a9(a) {
514
+ let b = this.a4;
515
+ this.a4 = a;
516
+ if (+b != +(this.a4)) {
517
+ this.da("MinDate", b, this.a4);
496
518
  }
497
519
  }
498
- get a1() {
499
- return this.aw;
520
+ get a8() {
521
+ return this.a3;
500
522
  }
501
- set a1(a) {
502
- let b = this.aw;
503
- this.aw = a;
504
- if (+b != +(this.aw)) {
505
- this.cy("MaxDate", b, this.aw);
523
+ set a8(a) {
524
+ let b = this.a3;
525
+ this.a3 = a;
526
+ if (+b != +(this.a3)) {
527
+ this.da("MaxDate", b, this.a3);
506
528
  }
507
529
  }
508
530
  get y() {
@@ -512,7 +534,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
512
534
  let b = this.x;
513
535
  this.x = a;
514
536
  if (b != this.x) {
515
- this.cy("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.x));
537
+ this.da("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.x));
516
538
  }
517
539
  }
518
540
  get w() {
@@ -522,7 +544,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
522
544
  let b = this.v;
523
545
  this.v = a;
524
546
  if (b != this.v) {
525
- this.cy("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.v));
547
+ this.da("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.v));
526
548
  }
527
549
  }
528
550
  get ad() {
@@ -532,67 +554,67 @@ export let DatePicker = /*@__PURE__*/ (() => {
532
554
  let b = this.aa;
533
555
  this.aa = a;
534
556
  if (b != this.aa) {
535
- this.cy("TextStyle", b, this.aa);
557
+ this.da("TextStyle", b, this.aa);
536
558
  }
537
559
  }
538
- get di() {
539
- return this.df;
560
+ get dw() {
561
+ return this.dt;
540
562
  }
541
- set di(a) {
542
- let b = this.df;
543
- this.df = a;
544
- if (b != this.df) {
545
- this.cy("TextColor", b, this.df);
563
+ set dw(a) {
564
+ let b = this.dt;
565
+ this.dt = a;
566
+ if (b != this.dt) {
567
+ this.da("TextColor", b, this.dt);
546
568
  }
547
569
  }
548
- get dg() {
549
- return this.dd;
570
+ get du() {
571
+ return this.dr;
550
572
  }
551
- set dg(a) {
552
- let b = this.dd;
553
- this.dd = a;
554
- if (b != this.dd) {
555
- this.cy("IconColor", b, this.dd);
573
+ set du(a) {
574
+ let b = this.dr;
575
+ this.dr = a;
576
+ if (b != this.dr) {
577
+ this.da("IconColor", b, this.dr);
556
578
  }
557
579
  }
558
- get at() {
559
- return this.al;
580
+ get az() {
581
+ return this.ao;
560
582
  }
561
- set at(a) {
562
- let b = this.al;
563
- this.al = a;
564
- if (b != this.al) {
565
- this.cy("ShowClearButton", b, this.al);
583
+ set az(a) {
584
+ let b = this.ao;
585
+ this.ao = a;
586
+ if (b != this.ao) {
587
+ this.da("ShowClearButton", b, this.ao);
566
588
  }
567
589
  }
568
- get au() {
569
- return this.am;
590
+ get a0() {
591
+ return this.ap;
570
592
  }
571
- set au(a) {
572
- let b = this.am;
573
- this.am = a;
574
- if (b != this.am) {
575
- this.cy("ShowTodayButton", b, this.am);
593
+ set a0(a) {
594
+ let b = this.ap;
595
+ this.ap = a;
596
+ if (b != this.ap) {
597
+ this.da("ShowTodayButton", b, this.ap);
576
598
  }
577
599
  }
578
- get aq() {
600
+ get au() {
579
601
  return this.ag;
580
602
  }
581
- set aq(a) {
603
+ set au(a) {
582
604
  let b = this.ag;
583
605
  this.ag = a;
584
606
  if (b != this.ag) {
585
- this.cy("AllowTextInput", b, this.ag);
607
+ this.da("AllowTextInput", b, this.ag);
586
608
  }
587
609
  }
588
- get as() {
589
- return this.ak;
610
+ get ay() {
611
+ return this.an;
590
612
  }
591
- set as(a) {
592
- let b = this.ak;
593
- this.ak = a;
594
- if (b != this.ak) {
595
- this.cy("OpenOnFocus", b, this.ak);
613
+ set ay(a) {
614
+ let b = this.an;
615
+ this.an = a;
616
+ if (b != this.an) {
617
+ this.da("OpenOnFocus", b, this.an);
596
618
  }
597
619
  }
598
620
  get j() {
@@ -602,7 +624,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
602
624
  let b = this.i;
603
625
  this.i = a;
604
626
  if (b != this.i) {
605
- this.cy("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.i));
627
+ this.da("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.i));
606
628
  }
607
629
  }
608
630
  get l() {
@@ -612,17 +634,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
612
634
  let b = this.k;
613
635
  this.k = a;
614
636
  if (b != this.k) {
615
- this.cy("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.k));
637
+ this.da("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.k));
616
638
  }
617
639
  }
618
- get av() {
619
- return this.an;
640
+ get a1() {
641
+ return this.aq;
620
642
  }
621
- set av(a) {
622
- let b = this.an;
623
- this.an = a;
624
- if (b != this.an) {
625
- this.cy("ShowWeekNumbers", b, this.an);
643
+ set a1(a) {
644
+ let b = this.aq;
645
+ this.aq = a;
646
+ if (b != this.aq) {
647
+ this.da("ShowWeekNumbers", b, this.aq);
626
648
  }
627
649
  }
628
650
  get e() {
@@ -632,71 +654,101 @@ export let DatePicker = /*@__PURE__*/ (() => {
632
654
  let b = this.d;
633
655
  this.d = a;
634
656
  if (this.d != b) {
635
- this.cy("DateFormat", enumGetBox(DateFormats_$type, b), enumGetBox(DateFormats_$type, this.d));
657
+ this.da("DateFormat", enumGetBox(DateFormats_$type, b), enumGetBox(DateFormats_$type, this.d));
636
658
  }
637
659
  }
638
- get br() {
639
- return this.bb;
660
+ get by() {
661
+ return this.bi;
640
662
  }
641
- set br(a) {
642
- let b = this.bb;
643
- this.bb = a;
644
- if (b != this.bb) {
645
- this.cy("FormatString", b, this.bb);
663
+ set by(a) {
664
+ let b = this.bi;
665
+ this.bi = a;
666
+ if (b != this.bi) {
667
+ this.da("FormatString", b, this.bi);
646
668
  }
647
669
  }
648
- get ar() {
670
+ get av() {
649
671
  return this.aj;
650
672
  }
651
- set ar(a) {
673
+ set av(a) {
652
674
  let b = this.aj;
653
675
  this.aj = a;
654
676
  if (b != this.aj) {
655
- this.cy("IsDisabled", b, this.aj);
677
+ this.da("IsDisabled", b, this.aj);
656
678
  }
657
679
  }
658
- get a7() {
659
- return this.a6;
680
+ get be() {
681
+ return this.bd;
660
682
  }
661
- set a7(a) {
662
- let b = this.a6;
663
- this.a6 = a;
664
- if (b != this.a6) {
665
- this.cy("TabIndex", b, this.a6);
683
+ set be(a) {
684
+ let b = this.bd;
685
+ this.bd = a;
686
+ if (b != this.bd) {
687
+ this.da("TabIndex", b, this.bd);
688
+ }
689
+ }
690
+ get aw() {
691
+ return this.ak;
692
+ }
693
+ set aw(a) {
694
+ let b = this.ak;
695
+ this.ak = a;
696
+ if (b != this.ak) {
697
+ this.da("IsFixed", b, this.ak);
698
+ }
699
+ }
700
+ get ax() {
701
+ return this.am;
702
+ }
703
+ set ax(a) {
704
+ let b = this.am;
705
+ this.am = a;
706
+ if (b != this.am) {
707
+ this.da("OpenAsChild", b, this.am);
708
+ }
709
+ }
710
+ get a2() {
711
+ return this.as;
712
+ }
713
+ set a2(a) {
714
+ let b = this.as;
715
+ this.as = a;
716
+ if (b != this.as) {
717
+ this.da("UseTopLayer", b, this.as);
666
718
  }
667
719
  }
668
- cy(a, b, c) {
720
+ da(a, b, c) {
669
721
  if (this.propertyChanged != null) {
670
722
  this.propertyChanged(this, new PropertyChangedEventArgs(a));
671
723
  }
672
- this.c1(a, b, c);
724
+ this.dd(a, b, c);
673
725
  }
674
- c1(a, b, c) {
726
+ dd(a, b, c) {
675
727
  switch (a) {
676
728
  case "Density":
677
- this.c4();
729
+ this.dg();
678
730
  break;
679
731
  case "BaseTheme":
680
- this.c6();
732
+ this.di();
681
733
  break;
682
734
  case "Value":
683
735
  if (+(this.value) != +(dateMinValue())) {
684
- if (dateGetDate(this.value) < dateGetDate(this.a2) || dateGetDate(this.value) > dateGetDate(this.a1)) {
736
+ if (dateGetDate(this.value) < dateGetDate(this.a9) || dateGetDate(this.value) > dateGetDate(this.a8)) {
685
737
  this.ai = true;
686
- this.value = this.ay;
738
+ this.value = this.a5;
687
739
  this.ai = false;
688
740
  }
689
741
  }
690
- this.cz(this.ay, this.value);
691
- this.ay = this.value;
742
+ this.db(this.a5, this.value);
743
+ this.a5 = this.value;
692
744
  if (this.c != null) {
693
745
  this.c.value = this.value;
694
746
  }
695
747
  break;
696
748
  case "Label":
697
749
  if (this.r != null) {
698
- this.r.text = this.bv;
699
- if (this.bv != null && this.bv != "") {
750
+ this.r.text = this.b3;
751
+ if (this.b3 != null && this.b3 != "") {
700
752
  if (!this.q.inputs.contains(this.r)) {
701
753
  this.q.inputs.insert(0, this.r);
702
754
  }
@@ -710,25 +762,25 @@ export let DatePicker = /*@__PURE__*/ (() => {
710
762
  break;
711
763
  case "Placeholder":
712
764
  if (this.o != null) {
713
- this.o.cg = this.b2;
714
- this.h.as(this.b2);
765
+ this.o.cg = this.cb;
766
+ this.h.ay(this.cb);
715
767
  }
716
768
  break;
717
769
  case "Today":
718
770
  if (this.c != null) {
719
- this.c.av = this.a3;
771
+ this.c.av = this.ba;
720
772
  }
721
773
  break;
722
774
  case "MaxDate":
723
775
  if (this.c != null) {
724
- let d = Base.compareSimple(this.a2, this.a1);
776
+ let d = Base.compareSimple(this.a9, this.a8);
725
777
  if (d >= 0) {
726
- this.a1 = dateMaxValue();
778
+ this.a8 = dateMaxValue();
727
779
  }
728
- this.c.at = this.aw;
780
+ this.c.at = this.a3;
729
781
  }
730
- if (dateGetDate(this.value) > dateGetDate(this.a1)) {
731
- this.ay = dateMinValue();
782
+ if (dateGetDate(this.value) > dateGetDate(this.a8)) {
783
+ this.a5 = dateMinValue();
732
784
  this.ai = true;
733
785
  this.value = dateMinValue();
734
786
  this.ai = false;
@@ -736,27 +788,27 @@ export let DatePicker = /*@__PURE__*/ (() => {
736
788
  break;
737
789
  case "MinDate":
738
790
  if (this.c != null) {
739
- this.c.au = this.ax;
740
- let e = Base.compareSimple(this.a2, this.a1);
791
+ this.c.au = this.a4;
792
+ let e = Base.compareSimple(this.a9, this.a8);
741
793
  if (e >= 0) {
742
- this.ay = dateMaxValue();
743
- this.c.at = this.a1;
794
+ this.a5 = dateMaxValue();
795
+ this.c.at = this.a8;
744
796
  }
745
797
  }
746
- if (dateGetDate(this.value) < dateGetDate(this.a2)) {
747
- this.ay = dateMinValue();
798
+ if (dateGetDate(this.value) < dateGetDate(this.a9)) {
799
+ this.a5 = dateMinValue();
748
800
  this.ai = true;
749
801
  this.value = dateMinValue();
750
802
  this.ai = false;
751
803
  }
752
804
  break;
753
805
  case "TextStyle":
754
- this.c9();
806
+ this.dm();
755
807
  break;
756
808
  case "ShowClearButton":
757
809
  if (this.o != null) {
758
810
  if (this.o.cq != "") {
759
- this.h.ap();
811
+ this.h.av();
760
812
  }
761
813
  }
762
814
  break;
@@ -764,27 +816,27 @@ export let DatePicker = /*@__PURE__*/ (() => {
764
816
  case "LabelTextStyle":
765
817
  case "TextColor":
766
818
  case "IconColor":
767
- this.da();
819
+ this.dn();
768
820
  break;
769
821
  case "ShowTodayButton":
770
822
  if (this.c != null) {
771
- this.c.ae = this.au;
772
- this.h.y();
823
+ this.c.ae = this.a0;
824
+ this.h.z();
773
825
  }
774
826
  break;
775
827
  case "AllowTextInput":
776
828
  if (this.o != null) {
777
- this.o.disabled = !this.aq;
829
+ this.o.disabled = !this.au;
778
830
  }
779
831
  break;
780
832
  case "OpenOnFocus": break;
781
833
  case "DateFormat":
782
834
  this.a.k(this.e);
783
- this.c8();
835
+ this.dl();
784
836
  break;
785
837
  case "FormatString":
786
- this.ce();
787
- this.c8();
838
+ this.co();
839
+ this.dl();
788
840
  break;
789
841
  case "FirstDayOfWeek":
790
842
  if (this.c != null) {
@@ -793,8 +845,8 @@ export let DatePicker = /*@__PURE__*/ (() => {
793
845
  break;
794
846
  case "ShowWeekNumbers":
795
847
  if (this.c != null) {
796
- this.c.af = this.av;
797
- this.h.y();
848
+ this.c.af = this.a1;
849
+ this.h.z();
798
850
  }
799
851
  break;
800
852
  case "FirstWeekOfYear":
@@ -805,21 +857,31 @@ export let DatePicker = /*@__PURE__*/ (() => {
805
857
  case "IsDisabled":
806
858
  {
807
859
  if (this.q != null) {
808
- this.q.disabled = this.ar;
860
+ this.q.disabled = this.av;
809
861
  }
810
862
  if (this.o != null) {
811
- this.o.disabled = this.ar;
863
+ this.o.disabled = this.av;
812
864
  }
813
865
  }
814
866
  break;
815
867
  case "TabIndex":
816
- this.h.ar();
868
+ this.h.ax();
869
+ break;
870
+ case "IsFixed":
871
+ if (this.u != null) {
872
+ this.u.aq = this.aw;
873
+ }
874
+ break;
875
+ case "UseTopLayer":
876
+ if (this.u != null) {
877
+ this.u.ax = this.a2;
878
+ }
817
879
  break;
818
880
  }
819
881
  }
820
- ce() {
882
+ co() {
821
883
  let a = '/';
822
- let b = this.br != null ? this.br.toLowerCase() : this.a.j();
884
+ let b = this.by != null ? this.by.toLowerCase() : this.a.j();
823
885
  if (stringContains(b, "/")) {
824
886
  a = '/';
825
887
  }
@@ -835,7 +897,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
835
897
  else if (stringContains(b, ",")) {
836
898
  a = ',';
837
899
  }
838
- this.bf = a.toString();
900
+ this.bm = a.toString();
839
901
  let c = b.split(a);
840
902
  if (c.length == 3) {
841
903
  let d = "";
@@ -844,19 +906,19 @@ export let DatePicker = /*@__PURE__*/ (() => {
844
906
  d += "d";
845
907
  switch (c[e]) {
846
908
  case "d":
847
- this.a9 = c[e];
909
+ this.bg = c[e];
848
910
  break;
849
911
  case "dd":
850
- this.a9 = c[e];
912
+ this.bg = c[e];
851
913
  break;
852
914
  case "ddd":
853
- this.a9 = c[e];
915
+ this.bg = c[e];
854
916
  break;
855
917
  case "dddd":
856
- this.a9 = c[e];
918
+ this.bg = c[e];
857
919
  break;
858
920
  default:
859
- this.a9 = "dd";
921
+ this.bg = "dd";
860
922
  break;
861
923
  }
862
924
  }
@@ -864,125 +926,125 @@ export let DatePicker = /*@__PURE__*/ (() => {
864
926
  d += "m";
865
927
  switch (c[e]) {
866
928
  case "m":
867
- this.bd = c[e];
929
+ this.bk = c[e];
868
930
  break;
869
931
  case "mm":
870
- this.bd = c[e];
932
+ this.bk = c[e];
871
933
  break;
872
934
  case "mmm":
873
- this.bd = c[e];
935
+ this.bk = c[e];
874
936
  break;
875
937
  case "mmmm":
876
- this.bd = c[e];
938
+ this.bk = c[e];
877
939
  break;
878
940
  default:
879
- this.bd = "mm";
941
+ this.bk = "mm";
880
942
  break;
881
943
  }
882
- this.bd = c[e];
944
+ this.bk = c[e];
883
945
  }
884
946
  else if (stringContains(c[e], "y")) {
885
947
  d += "y";
886
948
  switch (c[e]) {
887
949
  case "yy":
888
- this.bg = c[e];
950
+ this.bn = c[e];
889
951
  break;
890
952
  case "yyyy":
891
- this.bg = c[e];
953
+ this.bn = c[e];
892
954
  break;
893
955
  default:
894
- this.bg = "yyyy";
956
+ this.bn = "yyyy";
895
957
  break;
896
958
  }
897
959
  }
898
960
  }
899
961
  if (d == "dmy" || d == "mdy" || d == "ymd") {
900
- this.ba = d;
962
+ this.bh = d;
901
963
  }
902
964
  else {
903
- this.ba = "mdy";
965
+ this.bh = "mdy";
904
966
  }
905
967
  }
906
968
  }
907
- da() {
969
+ dn() {
908
970
  if (this.o != null) {
909
- this.o.d8 = this.di;
971
+ this.o.d8 = this.dw;
910
972
  }
911
973
  if (this.m != null) {
912
- this.m.fill = this.dg;
974
+ this.m.fill = this.du;
913
975
  }
914
976
  if (this.n != null) {
915
- this.n.fill = this.dg;
977
+ this.n.fill = this.du;
916
978
  }
917
979
  if (this.r != null) {
918
- this.r.df = this.dh;
980
+ this.r.df = this.dv;
919
981
  this.r.y = this.ac;
920
982
  }
921
983
  }
922
- c7() {
984
+ dk() {
923
985
  if (this.q != null) {
924
986
  }
925
987
  }
926
- c9() {
988
+ dm() {
927
989
  if (this.aa != null) {
928
990
  this.o.af = this.aa;
929
991
  }
930
992
  }
931
- ch() {
993
+ cr() {
932
994
  this.q = new XInputGroup();
933
- this.h.ak(this.q);
995
+ this.h.aq(this.q);
934
996
  this.q.d = 0;
935
997
  this.q.p = this.w;
936
998
  this.q.t = this.y;
937
999
  this.r = new XLabel();
938
- this.h.am(this.r);
939
- this.r.df = this.dh;
1000
+ this.h.as(this.r);
1001
+ this.r.df = this.dv;
940
1002
  this.r.y = this.ac;
941
- this.q.appendContentChild(this.h.u());
942
- if (this.bv != null && this.bv != "") {
943
- this.r.text = this.bv;
1003
+ this.q.appendContentChild(this.h.v());
1004
+ if (this.b3 != null && this.b3 != "") {
1005
+ this.r.text = this.b3;
944
1006
  this.q.inputs.add(this.r);
945
1007
  }
946
1008
  this.o = new XInput();
947
- this.h.al(this.o);
1009
+ this.h.ar(this.o);
948
1010
  this.o.b8 = "text";
949
1011
  if (this.aa != null) {
950
1012
  this.o.af = this.aa;
951
1013
  }
952
- this.o.disabled = !this.aq;
953
- this.o.d8 = this.di;
954
- this.q.appendContentChild(this.h.t());
1014
+ this.o.disabled = !this.au;
1015
+ this.o.d8 = this.dw;
1016
+ this.q.appendContentChild(this.h.u());
955
1017
  this.q.inputs.add(this.o);
956
- this.o.cg = this.b2;
957
- this.h.as(this.b2);
1018
+ this.o.cg = this.cb;
1019
+ this.h.ay(this.cb);
958
1020
  let a = this.o;
959
- a.change = delegateCombine(a.change, runOn(this, this.co));
1021
+ a.change = delegateCombine(a.change, runOn(this, this.cy));
960
1022
  let b = this.o;
961
- b.changing = delegateCombine(b.changing, runOn(this, this.cp));
1023
+ b.changing = delegateCombine(b.changing, runOn(this, this.cz));
962
1024
  let c = this.o;
963
- c.keyDown = delegateCombine(c.keyDown, runOn(this, this.cq));
1025
+ c.keyDown = delegateCombine(c.keyDown, runOn(this, this.c0));
964
1026
  let d = new XSuffix();
965
- this.h.ao(d, this.h.q());
1027
+ this.h.au(d, this.h.r());
966
1028
  this.m = new XIcon();
967
- this.h.aj(this.m, this.h.p());
968
- this.m.svgPath = DatePicker.bk;
969
- this.m.fill = this.dg;
970
- d.appendContentChild(this.h.p());
971
- this.q.appendContentChild(this.h.q());
1029
+ this.h.ap(this.m, this.h.q());
1030
+ this.m.svgPath = DatePicker.br;
1031
+ this.m.fill = this.du;
1032
+ d.appendContentChild(this.h.q());
1033
+ this.q.appendContentChild(this.h.r());
972
1034
  this.q.inputs.add(d);
973
- this.c8();
1035
+ this.dl();
974
1036
  let e = new XSuffix();
975
- this.h.ao(e, this.h.s());
1037
+ this.h.au(e, this.h.t());
976
1038
  this.n = new XIcon();
977
- this.h.aj(this.n, this.h.r());
978
- this.n.svgPath = DatePicker.bj;
979
- this.n.fill = this.dg;
980
- e.appendContentChild(this.h.r());
981
- this.q.appendContentChild(this.h.s());
1039
+ this.h.ap(this.n, this.h.s());
1040
+ this.n.svgPath = DatePicker.bq;
1041
+ this.n.fill = this.du;
1042
+ e.appendContentChild(this.h.s());
1043
+ this.q.appendContentChild(this.h.t());
982
1044
  this.q.inputs.add(e);
983
1045
  }
984
- cq(a, b) {
985
- this.cw(b);
1046
+ c0(a, b) {
1047
+ this.c6(b);
986
1048
  if (b.defaultPrevented) {
987
1049
  return;
988
1050
  }
@@ -990,51 +1052,51 @@ export let DatePicker = /*@__PURE__*/ (() => {
990
1052
  let d = b.modifiers;
991
1053
  switch (c) {
992
1054
  case 9:
993
- this.ao = true;
994
- if (!this.ap) {
995
- this.dc(this.o.cq);
1055
+ this.ar = true;
1056
+ if (!this.at) {
1057
+ this.dq(this.o.cq);
996
1058
  }
997
1059
  this.ah = true;
998
- this.cg();
999
- this.ao = false;
1060
+ this.cq();
1061
+ this.ar = false;
1000
1062
  break;
1001
1063
  case 13:
1002
- this.ao = true;
1003
- if (!this.ap) {
1004
- this.dc(this.o.cq);
1064
+ this.ar = true;
1065
+ if (!this.at) {
1066
+ this.dq(this.o.cq);
1005
1067
  }
1006
1068
  this.ah = true;
1007
- this.cg();
1008
- this.ao = false;
1069
+ this.cq();
1070
+ this.ar = false;
1009
1071
  break;
1010
1072
  case 40:
1011
1073
  if (d == 1) {
1012
- this.c0();
1013
- this.cl();
1074
+ this.dc();
1075
+ this.cv();
1014
1076
  }
1015
1077
  break;
1016
1078
  case 38:
1017
1079
  if (d == 1) {
1018
- this.cg();
1080
+ this.cq();
1019
1081
  }
1020
1082
  break;
1021
1083
  }
1022
1084
  }
1023
- cp(a, b) {
1024
- this.cs(b);
1085
+ cz(a, b) {
1086
+ this.c2(b);
1025
1087
  if (b.value.length > 0) {
1026
- this.h.ap();
1088
+ this.h.av();
1027
1089
  }
1028
1090
  else {
1029
- this.h.ae();
1091
+ this.h.ah();
1030
1092
  }
1031
1093
  }
1032
- co(a, b) {
1033
- this.ap = true;
1034
- this.dc(b.value);
1035
- this.ap = false;
1094
+ cy(a, b) {
1095
+ this.at = true;
1096
+ this.dq(b.value);
1097
+ this.at = false;
1036
1098
  }
1037
- dc(a) {
1099
+ dq(a) {
1038
1100
  let b = ['/', '-', ' ', '.', ','];
1039
1101
  let c = stringSplit(a, b, 1);
1040
1102
  let d = 0;
@@ -1045,17 +1107,17 @@ export let DatePicker = /*@__PURE__*/ (() => {
1045
1107
  if (c[0].length == 0 || c[1].length == 0 || c[2].length == 0) {
1046
1108
  g = false;
1047
1109
  }
1048
- if (this.ba == "dmy") {
1110
+ if (this.bh == "dmy") {
1049
1111
  d = parseInt(c[0]);
1050
1112
  e = parseInt(c[1]);
1051
1113
  f = parseInt(c[2]);
1052
1114
  }
1053
- else if (this.ba == "mdy") {
1115
+ else if (this.bh == "mdy") {
1054
1116
  e = parseInt(c[0]);
1055
1117
  d = parseInt(c[1]);
1056
1118
  f = parseInt(c[2]);
1057
1119
  }
1058
- else if (this.ba == "ymd") {
1120
+ else if (this.bh == "ymd") {
1059
1121
  f = parseInt(c[0]);
1060
1122
  e = parseInt(c[1]);
1061
1123
  d = parseInt(c[2]);
@@ -1068,13 +1130,13 @@ export let DatePicker = /*@__PURE__*/ (() => {
1068
1130
  }
1069
1131
  if (isNaN_(e)) {
1070
1132
  let h = "";
1071
- if (this.ba == "dmy") {
1133
+ if (this.bh == "dmy") {
1072
1134
  h = c[1].toLowerCase();
1073
1135
  }
1074
- else if (this.ba == "mdy") {
1136
+ else if (this.bh == "mdy") {
1075
1137
  h = c[0].toLowerCase();
1076
1138
  }
1077
- else if (this.ba == "ymd") {
1139
+ else if (this.bh == "ymd") {
1078
1140
  h = c[1].toLowerCase();
1079
1141
  }
1080
1142
  let i = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full").toLowerCase() : "january";
@@ -1150,45 +1212,45 @@ export let DatePicker = /*@__PURE__*/ (() => {
1150
1212
  }
1151
1213
  if (g) {
1152
1214
  let ag = dateFromValues(f, e, d, 0, 0, 0, 0);
1153
- let ah = Base.compareSimple(ag, this.a2);
1154
- let ai = Base.compareSimple(ag, this.a1);
1215
+ let ah = Base.compareSimple(ag, this.a9);
1216
+ let ai = Base.compareSimple(ag, this.a8);
1155
1217
  if (ah < 0 || ai > 0) {
1156
- this.c8();
1218
+ this.dl();
1157
1219
  }
1158
1220
  else {
1159
- this.db(ag);
1160
- this.h.ap();
1221
+ this.dp(ag);
1222
+ this.h.av();
1161
1223
  }
1162
1224
  }
1163
1225
  else {
1164
1226
  if (stringIsNullOrEmpty(a)) {
1165
- this.cf();
1227
+ this.cp();
1166
1228
  }
1167
1229
  else {
1168
- this.c8();
1230
+ this.dl();
1169
1231
  }
1170
1232
  }
1171
1233
  }
1172
- db(a) {
1234
+ dp(a) {
1173
1235
  let b = this.value;
1174
1236
  this.value = a;
1175
1237
  }
1176
- c8() {
1238
+ dl() {
1177
1239
  if (this.o != null) {
1178
- if (+(this.a0) != +(dateMinValue())) {
1240
+ if (+(this.a7) != +(dateMinValue())) {
1179
1241
  let a = "";
1180
- if (this.br == null) {
1242
+ if (this.by == null) {
1181
1243
  a = this.a.i(this.value);
1182
1244
  }
1183
1245
  else {
1184
1246
  let b = this.value.getDate().toString();
1185
1247
  let c = b;
1186
- if (this.a9 == "dd") {
1248
+ if (this.bg == "dd") {
1187
1249
  if (this.value.getDate() < 10) {
1188
1250
  b = "0" + b;
1189
1251
  }
1190
1252
  }
1191
- else if (this.a9 == "ddd") {
1253
+ else if (this.bg == "ddd") {
1192
1254
  switch (this.value.getDay()) {
1193
1255
  case 0:
1194
1256
  b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short")) ? this.af.b1("Sunday_Short") : "Sun";
@@ -1213,7 +1275,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1213
1275
  break;
1214
1276
  }
1215
1277
  }
1216
- else if (this.a9 == "dddd") {
1278
+ else if (this.bg == "dddd") {
1217
1279
  switch (this.value.getDay()) {
1218
1280
  case 0:
1219
1281
  b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full")) ? this.af.b1("Sunday_Full") : "Sunday";
@@ -1239,12 +1301,12 @@ export let DatePicker = /*@__PURE__*/ (() => {
1239
1301
  }
1240
1302
  }
1241
1303
  let d = dateGetMonth(this.value).toString();
1242
- if (this.bd == "mm") {
1304
+ if (this.bk == "mm") {
1243
1305
  if (dateGetMonth(this.value) < 10) {
1244
1306
  d = "0" + d;
1245
1307
  }
1246
1308
  }
1247
- else if (this.bd == "mmm") {
1309
+ else if (this.bk == "mmm") {
1248
1310
  switch (dateGetMonth(this.value)) {
1249
1311
  case 1:
1250
1312
  d = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short") : "Jan";
@@ -1284,7 +1346,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1284
1346
  break;
1285
1347
  }
1286
1348
  }
1287
- else if (this.bd == "mmmm") {
1349
+ else if (this.bk == "mmmm") {
1288
1350
  switch (dateGetMonth(this.value)) {
1289
1351
  case 1:
1290
1352
  d = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full") : "January";
@@ -1325,45 +1387,45 @@ export let DatePicker = /*@__PURE__*/ (() => {
1325
1387
  }
1326
1388
  }
1327
1389
  let e = this.value.getFullYear().toString();
1328
- if (this.bg == "yy") {
1390
+ if (this.bn == "yy") {
1329
1391
  e = e.substr(2);
1330
1392
  }
1331
- if (this.ba == "dmy") {
1332
- if (this.a9 == "ddd" || this.a9 == "dddd") {
1333
- a = b + this.bf + d + " " + c + this.bf + e;
1393
+ if (this.bh == "dmy") {
1394
+ if (this.bg == "ddd" || this.bg == "dddd") {
1395
+ a = b + this.bm + d + " " + c + this.bm + e;
1334
1396
  }
1335
1397
  else {
1336
- a = b + this.bf + d + this.bf + e;
1398
+ a = b + this.bm + d + this.bm + e;
1337
1399
  }
1338
1400
  }
1339
- else if (this.ba == "mdy") {
1340
- if (this.a9 == "ddd" || this.a9 == "dddd") {
1341
- a = d + " " + c + this.bf + b + this.bf + e;
1401
+ else if (this.bh == "mdy") {
1402
+ if (this.bg == "ddd" || this.bg == "dddd") {
1403
+ a = d + " " + c + this.bm + b + this.bm + e;
1342
1404
  }
1343
1405
  else {
1344
- a = d + this.bf + b + this.bf + e;
1406
+ a = d + this.bm + b + this.bm + e;
1345
1407
  }
1346
1408
  }
1347
- else if (this.ba == "ymd") {
1348
- if (this.a9 == "ddd" || this.a9 == "dddd") {
1349
- a = e + this.bf + d + " " + c + this.bf + b;
1409
+ else if (this.bh == "ymd") {
1410
+ if (this.bg == "ddd" || this.bg == "dddd") {
1411
+ a = e + this.bm + d + " " + c + this.bm + b;
1350
1412
  }
1351
1413
  else {
1352
- a = e + this.bf + d + this.bf + b;
1414
+ a = e + this.bm + d + this.bm + b;
1353
1415
  }
1354
1416
  }
1355
1417
  }
1356
1418
  this.o.cq = a;
1357
- this.h.ap();
1419
+ this.h.av();
1358
1420
  }
1359
1421
  else {
1360
1422
  this.o.cq = "";
1361
- this.h.ae();
1423
+ this.h.ah();
1362
1424
  }
1363
1425
  }
1364
1426
  }
1365
- cf() {
1366
- if (this.ar == true) {
1427
+ cp() {
1428
+ if (this.av == true) {
1367
1429
  return;
1368
1430
  }
1369
1431
  if (this.o != null) {
@@ -1371,109 +1433,133 @@ export let DatePicker = /*@__PURE__*/ (() => {
1371
1433
  }
1372
1434
  this.value = dateMinValue();
1373
1435
  this.c.ch();
1436
+ this.al = false;
1374
1437
  }
1375
- ci() {
1438
+ c8() {
1439
+ this.al = true;
1440
+ }
1441
+ c9() {
1442
+ this.al = false;
1443
+ }
1444
+ cs() {
1376
1445
  this.u = new Popup();
1377
- this.h.an(this.u);
1446
+ this.u.aq = this.aw;
1447
+ this.u.ax = this.a2;
1448
+ this.u.cw = BrushUtil.g(255, 255, 255, 255);
1449
+ this.u.a8 = 150;
1450
+ this.h.at(this.u);
1378
1451
  this.c = new XCalendar();
1379
- this.h.ai(this.c);
1380
- if (+(this.a2) != +(dateMinValue())) {
1381
- this.c.au = this.a2;
1452
+ this.h.ao(this.c);
1453
+ if (+(this.a9) != +(dateMinValue())) {
1454
+ this.c.au = this.a9;
1382
1455
  }
1383
- if (+(this.a1) != +(dateMaxValue())) {
1384
- this.c.at = this.a1;
1456
+ if (+(this.a8) != +(dateMaxValue())) {
1457
+ this.c.at = this.a8;
1385
1458
  }
1386
- if (+(this.a3) != +(dateMinValue())) {
1387
- this.c.av = this.a3;
1459
+ if (+(this.ba) != +(dateMinValue())) {
1460
+ this.c.av = this.ba;
1388
1461
  }
1389
- this.c.ae = this.au;
1462
+ this.c.ae = this.a0;
1390
1463
  this.c.l = this.j;
1391
- this.c.af = this.av;
1464
+ this.c.af = this.a1;
1392
1465
  this.c.o = this.l;
1393
1466
  let a = this.c;
1394
- a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.cd));
1467
+ a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.cn));
1395
1468
  let b = this.c;
1396
- b.close = delegateCombine(b.close, runOn(this, this.cc));
1397
- this.u.appendPopupContent(this.h.o());
1469
+ b.close = delegateCombine(b.close, runOn(this, this.cm));
1470
+ this.u.appendPopupContent(this.h.p());
1398
1471
  }
1399
- cd(a, b) {
1472
+ cn(a, b) {
1400
1473
  this.ai = true;
1401
1474
  this.value = b.newValue;
1402
1475
  this.ai = false;
1403
1476
  }
1404
- cc(a) {
1405
- if (this.u.ao) {
1477
+ cm(a) {
1478
+ if (this.u.aw) {
1406
1479
  this.ah = true;
1407
- this.cg();
1480
+ this.cq();
1408
1481
  }
1409
1482
  }
1410
- cn() {
1483
+ cx() {
1411
1484
  if (this.ah == false) {
1412
- if (this.u.ao) {
1413
- this.cg();
1485
+ if (this.u.aw) {
1486
+ this.cq();
1414
1487
  }
1415
1488
  else {
1416
- this.c0();
1489
+ this.dc();
1417
1490
  }
1418
1491
  }
1419
1492
  else {
1420
1493
  this.ah = false;
1421
1494
  }
1422
1495
  }
1423
- c0() {
1424
- if (this.ar) {
1496
+ dc() {
1497
+ if (this.av) {
1425
1498
  return;
1426
1499
  }
1427
1500
  if (this.u != null) {
1428
- let a = this.h.at();
1429
- let b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
1430
- let c = this.h.a()[1];
1431
- let d = 240;
1432
- if (this.au == true) {
1433
- d = 270;
1501
+ let a = this.h.az(false);
1502
+ let b = this.h.a()[1];
1503
+ let c = 240;
1504
+ if (this.a0 == true) {
1505
+ c = 270;
1434
1506
  }
1435
- let e = a.bottom + d;
1436
- if (c < e) {
1437
- let f = a.top - d;
1438
- if (f < 0) {
1439
- this.u.showRelativeToExclusionRect(b, 1, 0);
1507
+ let d = a.bottom + c;
1508
+ if (b < d) {
1509
+ let e = a.top - c;
1510
+ if (e < 0) {
1511
+ this.dj(1, 0);
1440
1512
  }
1441
1513
  else {
1442
- this.u.showRelativeToExclusionRect(b, 2, 0);
1514
+ this.dj(2, 0);
1443
1515
  }
1444
1516
  }
1445
1517
  else {
1446
- this.u.showRelativeToExclusionRect(b, 1, 0);
1518
+ this.dj(1, 0);
1447
1519
  }
1448
- this.h.aq(true);
1520
+ this.h.an();
1521
+ this.h.aw(true);
1449
1522
  }
1450
1523
  }
1451
- cg() {
1524
+ dj(a, b) {
1525
+ if (this.ax) {
1526
+ this.u.cn(this.h.d.rootWrapper.getNativeElement(), a, b);
1527
+ }
1528
+ else {
1529
+ let c = this.h.az(true);
1530
+ this.u.showRelativeToExclusionRect(c, a, b);
1531
+ }
1532
+ }
1533
+ cq() {
1452
1534
  if (this.u != null) {
1453
- window.setTimeout(() => this.u.bj(), 0);
1535
+ window.setTimeout(() => this.u.b3(), 0);
1454
1536
  }
1455
1537
  if (this.c != null) {
1456
1538
  this.c.cy();
1457
1539
  }
1458
- this.h.aq(false);
1540
+ this.h.aw(false);
1459
1541
  this.ah = false;
1542
+ this.h.aj();
1460
1543
  }
1461
1544
  focus(a = false) {
1462
1545
  if (this.o != null) {
1463
1546
  this.o.focus(a);
1464
1547
  }
1465
- if (!this.u.ao && this.as == true) {
1548
+ if (!this.u.aw && this.ay == true) {
1466
1549
  if (this.ah == false) {
1467
- if (this.aq == false) {
1468
- this.c0();
1550
+ if (this.al) {
1551
+ return;
1552
+ }
1553
+ if (this.au == false) {
1554
+ this.dc();
1469
1555
  this.ah = true;
1470
- window.setTimeout(() => this.cl(), 0);
1556
+ window.setTimeout(() => this.cv(), 0);
1471
1557
  }
1472
1558
  else {
1473
- if (this.as == true && this.ao == false) {
1474
- this.c0();
1559
+ if (this.ay == true && this.ar == false) {
1560
+ this.dc();
1475
1561
  this.ah = true;
1476
- window.setTimeout(() => this.cl(), 0);
1562
+ window.setTimeout(() => this.cv(), 0);
1477
1563
  }
1478
1564
  }
1479
1565
  }
@@ -1482,33 +1568,33 @@ export let DatePicker = /*@__PURE__*/ (() => {
1482
1568
  }
1483
1569
  }
1484
1570
  }
1485
- cm() {
1571
+ cw() {
1486
1572
  this.ah = false;
1487
1573
  }
1488
- c3() {
1574
+ df() {
1489
1575
  if (this.o != null) {
1490
1576
  this.o.dp();
1491
1577
  }
1492
1578
  }
1493
- cl() {
1579
+ cv() {
1494
1580
  this.c.cq();
1495
1581
  }
1496
- ct() {
1582
+ c3() {
1497
1583
  let a = new GotFocusEventArgs();
1498
- this.cv(a);
1584
+ this.c5(a);
1499
1585
  }
1500
- cu() {
1586
+ c4() {
1501
1587
  let a = new LostFocusEventArgs();
1502
- this.cx(a);
1588
+ this.c7(a);
1503
1589
  }
1504
- c6() {
1590
+ di() {
1505
1591
  }
1506
- c4() {
1592
+ dg() {
1507
1593
  }
1508
- a8() {
1594
+ bf() {
1509
1595
  return this.b();
1510
1596
  }
1511
- bo() {
1597
+ bv() {
1512
1598
  let a = this.b();
1513
1599
  return a.g();
1514
1600
  }
@@ -1516,7 +1602,7 @@ export let DatePicker = /*@__PURE__*/ (() => {
1516
1602
  let a = new DatePickerVisualModelExport();
1517
1603
  a.e = this.y;
1518
1604
  a.d = this.w;
1519
- a.c = this.u.ay();
1605
+ a.c = this.u.bc();
1520
1606
  a.b = this.q.fe();
1521
1607
  a.a = this.c.bj();
1522
1608
  if (this.ad != null) {
@@ -1549,30 +1635,30 @@ export let DatePicker = /*@__PURE__*/ (() => {
1549
1635
  }
1550
1636
  return a;
1551
1637
  }
1552
- cv(a) {
1638
+ c5(a) {
1553
1639
  if (null != this.gotFocus) {
1554
1640
  this.gotFocus(this, a);
1555
1641
  }
1556
1642
  }
1557
- cx(a) {
1643
+ c7(a) {
1558
1644
  if (null != this.lostFocus) {
1559
1645
  this.lostFocus(this, a);
1560
1646
  }
1561
1647
  }
1562
- cw(a) {
1648
+ c6(a) {
1563
1649
  if (null != this.keyDown) {
1564
1650
  this.keyDown(this, a);
1565
1651
  }
1566
1652
  }
1567
- cs(a) {
1653
+ c2(a) {
1568
1654
  if (null != this.changing) {
1569
1655
  this.changing(this, a);
1570
1656
  }
1571
1657
  }
1572
1658
  }
1573
1659
  DatePicker.$t = /*@__PURE__*/ markType(DatePicker, 'DatePicker', Base.$, [INotifyPropertyChanged_$type]);
1574
- DatePicker.bj = "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z";
1575
- DatePicker.bk = "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z";
1660
+ DatePicker.bq = "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z";
1661
+ DatePicker.br = "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z";
1576
1662
  DatePicker.ab = null;
1577
1663
  return DatePicker;
1578
1664
  })();