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