igniteui-angular-inputs 16.1.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 (406) hide show
  1. package/License +27 -0
  2. package/README.md +19 -0
  3. package/bundles/igniteui-angular-inputs.umd.js +36173 -0
  4. package/bundles/igniteui-angular-inputs.umd.min.js +7 -0
  5. package/esm2015/igniteui-angular-inputs.js +4 -0
  6. package/esm2015/lib/ButtonClickEventArgs.js +16 -0
  7. package/esm2015/lib/ButtonDisplayStyle.js +11 -0
  8. package/esm2015/lib/ButtonGroupDisplayStyle.js +11 -0
  9. package/esm2015/lib/ButtonGroupOrientation.js +16 -0
  10. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +16 -0
  11. package/esm2015/lib/ButtonGroupView.js +7 -0
  12. package/esm2015/lib/ButtonGroupView_combined.js +1333 -0
  13. package/esm2015/lib/ButtonGroupVisualModelExport.js +56 -0
  14. package/esm2015/lib/ButtonView.js +7 -0
  15. package/esm2015/lib/ButtonView_combined.js +3291 -0
  16. package/esm2015/lib/ButtonVisualModelExport.js +109 -0
  17. package/esm2015/lib/CalendarView.js +7 -0
  18. package/esm2015/lib/CalendarView_combined.js +2791 -0
  19. package/esm2015/lib/CalendarVisualModelExport.js +100 -0
  20. package/esm2015/lib/CheckboxChangeEventArgs.js +33 -0
  21. package/esm2015/lib/CheckboxLabelPosition.js +11 -0
  22. package/esm2015/lib/CheckboxView.js +7 -0
  23. package/esm2015/lib/CheckboxView_combined.js +1105 -0
  24. package/esm2015/lib/CheckboxVisualModelExport.js +62 -0
  25. package/esm2015/lib/DateFormats.js +25 -0
  26. package/esm2015/lib/DatePicker.js +7 -0
  27. package/esm2015/lib/DatePickerView.js +7 -0
  28. package/esm2015/lib/DatePickerView_combined.js +1578 -0
  29. package/esm2015/lib/DatePickerVisualModelExport.js +70 -0
  30. package/esm2015/lib/DateTimeValueFormatter.js +108 -0
  31. package/esm2015/lib/DayInfo.js +23 -0
  32. package/esm2015/lib/DayOfWeek.js +45 -0
  33. package/esm2015/lib/ElevationHelper.js +67 -0
  34. package/esm2015/lib/FirstWeek.js +29 -0
  35. package/esm2015/lib/GotFocusEventArgs.js +16 -0
  36. package/esm2015/lib/IconClickedEventArgs.js +16 -0
  37. package/esm2015/lib/IconView.js +7 -0
  38. package/esm2015/lib/IconView_combined.js +815 -0
  39. package/esm2015/lib/IconVisualModelExport.js +76 -0
  40. package/esm2015/lib/InputChangeEventArgs.js +33 -0
  41. package/esm2015/lib/InputGroupDisplayType.js +18 -0
  42. package/esm2015/lib/InputGroupView.js +7 -0
  43. package/esm2015/lib/InputGroupView_combined.js +5518 -0
  44. package/esm2015/lib/InputGroupVisualModelExport.js +109 -0
  45. package/esm2015/lib/InputShiftType.js +17 -0
  46. package/esm2015/lib/InputView.js +7 -0
  47. package/esm2015/lib/InputVisualModelExport.js +78 -0
  48. package/esm2015/lib/KEYCODES.js +11 -0
  49. package/esm2015/lib/LabelShiftType.js +17 -0
  50. package/esm2015/lib/LabelView.js +7 -0
  51. package/esm2015/lib/LabelVisualModelExport.js +84 -0
  52. package/esm2015/lib/LostFocusEventArgs.js +16 -0
  53. package/esm2015/lib/MaskOptions.js +21 -0
  54. package/esm2015/lib/MaskParsingService.js +213 -0
  55. package/esm2015/lib/NativeUIXInputsFactory.js +185 -0
  56. package/esm2015/lib/PrefixShiftType.js +17 -0
  57. package/esm2015/lib/PrefixView.js +7 -0
  58. package/esm2015/lib/PrefixVisualModelExport.js +35 -0
  59. package/esm2015/lib/Replaced.js +21 -0
  60. package/esm2015/lib/RippleView.js +7 -0
  61. package/esm2015/lib/RippleView_combined.js +396 -0
  62. package/esm2015/lib/RippleVisualModelExport.js +38 -0
  63. package/esm2015/lib/SelectedValueChangedEventArgs.js +33 -0
  64. package/esm2015/lib/SuffixShiftType.js +17 -0
  65. package/esm2015/lib/SuffixView.js +7 -0
  66. package/esm2015/lib/SuffixVisualModelExport.js +34 -0
  67. package/esm2015/lib/TextElementsVisualModelExport.js +44 -0
  68. package/esm2015/lib/Theme.js +48 -0
  69. package/esm2015/lib/ThemeResolver.js +176 -0
  70. package/esm2015/lib/XButton.js +7 -0
  71. package/esm2015/lib/XButtonBridge.js +297 -0
  72. package/esm2015/lib/XButtonGroup.js +7 -0
  73. package/esm2015/lib/XButtonGroupButtonCollection.js +28 -0
  74. package/esm2015/lib/XCalendar.js +7 -0
  75. package/esm2015/lib/XCalendarLocaleEn.js +56 -0
  76. package/esm2015/lib/XCheckbox.js +7 -0
  77. package/esm2015/lib/XCheckboxBridge.js +78 -0
  78. package/esm2015/lib/XComponentBridge.js +48 -0
  79. package/esm2015/lib/XIcon.js +7 -0
  80. package/esm2015/lib/XIconBridge.js +93 -0
  81. package/esm2015/lib/XIconButtonBridge.js +77 -0
  82. package/esm2015/lib/XInput.js +7 -0
  83. package/esm2015/lib/XInputBridge.js +215 -0
  84. package/esm2015/lib/XInputGroup.js +7 -0
  85. package/esm2015/lib/XInputGroupInputCollection.js +7 -0
  86. package/esm2015/lib/XInputGroupItem.js +7 -0
  87. package/esm2015/lib/XLabel.js +7 -0
  88. package/esm2015/lib/XPopupBridge.js +287 -0
  89. package/esm2015/lib/XPrefix.js +7 -0
  90. package/esm2015/lib/XRipple.js +7 -0
  91. package/esm2015/lib/XSuffix.js +7 -0
  92. package/esm2015/lib/igx-button-click-event-args.js +24 -0
  93. package/esm2015/lib/igx-button-group-selection-changed-event-args.js +24 -0
  94. package/esm2015/lib/igx-checkbox-change-event-args.js +37 -0
  95. package/esm2015/lib/igx-date-picker-component.js +596 -0
  96. package/esm2015/lib/igx-date-picker-dynamic-module.js +66 -0
  97. package/esm2015/lib/igx-date-picker-module.js +60 -0
  98. package/esm2015/lib/igx-got-focus-event-args.js +24 -0
  99. package/esm2015/lib/igx-input-change-event-args.js +37 -0
  100. package/esm2015/lib/igx-lost-focus-event-args.js +24 -0
  101. package/esm2015/lib/igx-selected-value-changed-event-args.js +36 -0
  102. package/esm2015/lib/igx-x-button-component.js +2286 -0
  103. package/esm2015/lib/igx-x-button-dynamic-module.js +52 -0
  104. package/esm2015/lib/igx-x-button-group-button-collection.js +48 -0
  105. package/esm2015/lib/igx-x-button-group-component.js +1000 -0
  106. package/esm2015/lib/igx-x-button-group-dynamic-module.js +52 -0
  107. package/esm2015/lib/igx-x-button-group-module.js +46 -0
  108. package/esm2015/lib/igx-x-button-module.js +46 -0
  109. package/esm2015/lib/igx-x-calendar-component.js +468 -0
  110. package/esm2015/lib/igx-x-calendar-dynamic-module.js +52 -0
  111. package/esm2015/lib/igx-x-calendar-locale-en-module.js +31 -0
  112. package/esm2015/lib/igx-x-calendar-module.js +46 -0
  113. package/esm2015/lib/igx-x-checkbox-component.js +586 -0
  114. package/esm2015/lib/igx-x-checkbox-dynamic-module.js +52 -0
  115. package/esm2015/lib/igx-x-checkbox-module.js +46 -0
  116. package/esm2015/lib/igx-x-icon-component.js +596 -0
  117. package/esm2015/lib/igx-x-icon-dynamic-module.js +45 -0
  118. package/esm2015/lib/igx-x-icon-module.js +39 -0
  119. package/esm2015/lib/igx-x-input-component.js +551 -0
  120. package/esm2015/lib/igx-x-input-dynamic-module.js +45 -0
  121. package/esm2015/lib/igx-x-input-group-component.js +2046 -0
  122. package/esm2015/lib/igx-x-input-group-dynamic-module.js +59 -0
  123. package/esm2015/lib/igx-x-input-group-input-collection.js +48 -0
  124. package/esm2015/lib/igx-x-input-group-item-component.js +140 -0
  125. package/esm2015/lib/igx-x-input-group-module.js +53 -0
  126. package/esm2015/lib/igx-x-input-module.js +39 -0
  127. package/esm2015/lib/igx-x-label-component.js +423 -0
  128. package/esm2015/lib/igx-x-label-dynamic-module.js +45 -0
  129. package/esm2015/lib/igx-x-label-module.js +39 -0
  130. package/esm2015/lib/igx-x-prefix-component.js +165 -0
  131. package/esm2015/lib/igx-x-prefix-dynamic-module.js +45 -0
  132. package/esm2015/lib/igx-x-prefix-module.js +39 -0
  133. package/esm2015/lib/igx-x-ripple-component.js +322 -0
  134. package/esm2015/lib/igx-x-ripple-dynamic-module.js +38 -0
  135. package/esm2015/lib/igx-x-ripple-module.js +36 -0
  136. package/esm2015/lib/igx-x-suffix-component.js +165 -0
  137. package/esm2015/public_api.js +123 -0
  138. package/esm5/igniteui-angular-inputs.js +4 -0
  139. package/esm5/lib/ButtonClickEventArgs.js +20 -0
  140. package/esm5/lib/ButtonDisplayStyle.js +11 -0
  141. package/esm5/lib/ButtonGroupDisplayStyle.js +11 -0
  142. package/esm5/lib/ButtonGroupOrientation.js +16 -0
  143. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +20 -0
  144. package/esm5/lib/ButtonGroupView.js +7 -0
  145. package/esm5/lib/ButtonGroupView_combined.js +1701 -0
  146. package/esm5/lib/ButtonGroupVisualModelExport.js +58 -0
  147. package/esm5/lib/ButtonView.js +7 -0
  148. package/esm5/lib/ButtonView_combined.js +3985 -0
  149. package/esm5/lib/ButtonVisualModelExport.js +111 -0
  150. package/esm5/lib/CalendarView.js +7 -0
  151. package/esm5/lib/CalendarView_combined.js +2915 -0
  152. package/esm5/lib/CalendarVisualModelExport.js +102 -0
  153. package/esm5/lib/CheckboxChangeEventArgs.js +43 -0
  154. package/esm5/lib/CheckboxLabelPosition.js +11 -0
  155. package/esm5/lib/CheckboxView.js +7 -0
  156. package/esm5/lib/CheckboxView_combined.js +1303 -0
  157. package/esm5/lib/CheckboxVisualModelExport.js +64 -0
  158. package/esm5/lib/DateFormats.js +25 -0
  159. package/esm5/lib/DatePicker.js +7 -0
  160. package/esm5/lib/DatePickerView.js +7 -0
  161. package/esm5/lib/DatePickerView_combined.js +1690 -0
  162. package/esm5/lib/DatePickerVisualModelExport.js +72 -0
  163. package/esm5/lib/DateTimeValueFormatter.js +110 -0
  164. package/esm5/lib/DayInfo.js +25 -0
  165. package/esm5/lib/DayOfWeek.js +45 -0
  166. package/esm5/lib/ElevationHelper.js +71 -0
  167. package/esm5/lib/FirstWeek.js +29 -0
  168. package/esm5/lib/GotFocusEventArgs.js +20 -0
  169. package/esm5/lib/IconClickedEventArgs.js +20 -0
  170. package/esm5/lib/IconView.js +7 -0
  171. package/esm5/lib/IconView_combined.js +1012 -0
  172. package/esm5/lib/IconVisualModelExport.js +82 -0
  173. package/esm5/lib/InputChangeEventArgs.js +43 -0
  174. package/esm5/lib/InputGroupDisplayType.js +18 -0
  175. package/esm5/lib/InputGroupView.js +7 -0
  176. package/esm5/lib/InputGroupView_combined.js +6660 -0
  177. package/esm5/lib/InputGroupVisualModelExport.js +111 -0
  178. package/esm5/lib/InputShiftType.js +17 -0
  179. package/esm5/lib/InputView.js +7 -0
  180. package/esm5/lib/InputVisualModelExport.js +80 -0
  181. package/esm5/lib/KEYCODES.js +11 -0
  182. package/esm5/lib/LabelShiftType.js +17 -0
  183. package/esm5/lib/LabelView.js +7 -0
  184. package/esm5/lib/LabelVisualModelExport.js +86 -0
  185. package/esm5/lib/LostFocusEventArgs.js +20 -0
  186. package/esm5/lib/MaskOptions.js +23 -0
  187. package/esm5/lib/MaskParsingService.js +267 -0
  188. package/esm5/lib/NativeUIXInputsFactory.js +195 -0
  189. package/esm5/lib/PrefixShiftType.js +17 -0
  190. package/esm5/lib/PrefixView.js +7 -0
  191. package/esm5/lib/PrefixVisualModelExport.js +37 -0
  192. package/esm5/lib/Replaced.js +23 -0
  193. package/esm5/lib/RippleView.js +7 -0
  194. package/esm5/lib/RippleView_combined.js +491 -0
  195. package/esm5/lib/RippleVisualModelExport.js +40 -0
  196. package/esm5/lib/SelectedValueChangedEventArgs.js +43 -0
  197. package/esm5/lib/SuffixShiftType.js +17 -0
  198. package/esm5/lib/SuffixView.js +7 -0
  199. package/esm5/lib/SuffixVisualModelExport.js +36 -0
  200. package/esm5/lib/TextElementsVisualModelExport.js +46 -0
  201. package/esm5/lib/Theme.js +58 -0
  202. package/esm5/lib/ThemeResolver.js +182 -0
  203. package/esm5/lib/XButton.js +7 -0
  204. package/esm5/lib/XButtonBridge.js +299 -0
  205. package/esm5/lib/XButtonGroup.js +7 -0
  206. package/esm5/lib/XButtonGroupButtonCollection.js +30 -0
  207. package/esm5/lib/XCalendar.js +7 -0
  208. package/esm5/lib/XCalendarLocaleEn.js +58 -0
  209. package/esm5/lib/XCheckbox.js +7 -0
  210. package/esm5/lib/XCheckboxBridge.js +80 -0
  211. package/esm5/lib/XComponentBridge.js +54 -0
  212. package/esm5/lib/XIcon.js +7 -0
  213. package/esm5/lib/XIconBridge.js +95 -0
  214. package/esm5/lib/XIconButtonBridge.js +79 -0
  215. package/esm5/lib/XInput.js +7 -0
  216. package/esm5/lib/XInputBridge.js +217 -0
  217. package/esm5/lib/XInputGroup.js +7 -0
  218. package/esm5/lib/XInputGroupInputCollection.js +7 -0
  219. package/esm5/lib/XInputGroupItem.js +7 -0
  220. package/esm5/lib/XLabel.js +7 -0
  221. package/esm5/lib/XPopupBridge.js +289 -0
  222. package/esm5/lib/XPrefix.js +7 -0
  223. package/esm5/lib/XRipple.js +7 -0
  224. package/esm5/lib/XSuffix.js +7 -0
  225. package/esm5/lib/igx-button-click-event-args.js +30 -0
  226. package/esm5/lib/igx-button-group-selection-changed-event-args.js +30 -0
  227. package/esm5/lib/igx-checkbox-change-event-args.js +51 -0
  228. package/esm5/lib/igx-date-picker-component.js +720 -0
  229. package/esm5/lib/igx-date-picker-dynamic-module.js +65 -0
  230. package/esm5/lib/igx-date-picker-module.js +59 -0
  231. package/esm5/lib/igx-got-focus-event-args.js +30 -0
  232. package/esm5/lib/igx-input-change-event-args.js +51 -0
  233. package/esm5/lib/igx-lost-focus-event-args.js +30 -0
  234. package/esm5/lib/igx-selected-value-changed-event-args.js +50 -0
  235. package/esm5/lib/igx-x-button-component.js +3018 -0
  236. package/esm5/lib/igx-x-button-dynamic-module.js +51 -0
  237. package/esm5/lib/igx-x-button-group-button-collection.js +53 -0
  238. package/esm5/lib/igx-x-button-group-component.js +1272 -0
  239. package/esm5/lib/igx-x-button-group-dynamic-module.js +51 -0
  240. package/esm5/lib/igx-x-button-group-module.js +45 -0
  241. package/esm5/lib/igx-x-button-module.js +45 -0
  242. package/esm5/lib/igx-x-calendar-component.js +572 -0
  243. package/esm5/lib/igx-x-calendar-dynamic-module.js +51 -0
  244. package/esm5/lib/igx-x-calendar-locale-en-module.js +30 -0
  245. package/esm5/lib/igx-x-calendar-module.js +45 -0
  246. package/esm5/lib/igx-x-checkbox-component.js +724 -0
  247. package/esm5/lib/igx-x-checkbox-dynamic-module.js +51 -0
  248. package/esm5/lib/igx-x-checkbox-module.js +45 -0
  249. package/esm5/lib/igx-x-icon-component.js +732 -0
  250. package/esm5/lib/igx-x-icon-dynamic-module.js +44 -0
  251. package/esm5/lib/igx-x-icon-module.js +38 -0
  252. package/esm5/lib/igx-x-input-component.js +683 -0
  253. package/esm5/lib/igx-x-input-dynamic-module.js +44 -0
  254. package/esm5/lib/igx-x-input-group-component.js +2697 -0
  255. package/esm5/lib/igx-x-input-group-dynamic-module.js +58 -0
  256. package/esm5/lib/igx-x-input-group-input-collection.js +53 -0
  257. package/esm5/lib/igx-x-input-group-item-component.js +151 -0
  258. package/esm5/lib/igx-x-input-group-module.js +52 -0
  259. package/esm5/lib/igx-x-input-module.js +38 -0
  260. package/esm5/lib/igx-x-label-component.js +522 -0
  261. package/esm5/lib/igx-x-label-dynamic-module.js +44 -0
  262. package/esm5/lib/igx-x-label-module.js +38 -0
  263. package/esm5/lib/igx-x-prefix-component.js +180 -0
  264. package/esm5/lib/igx-x-prefix-dynamic-module.js +44 -0
  265. package/esm5/lib/igx-x-prefix-module.js +38 -0
  266. package/esm5/lib/igx-x-ripple-component.js +381 -0
  267. package/esm5/lib/igx-x-ripple-dynamic-module.js +37 -0
  268. package/esm5/lib/igx-x-ripple-module.js +35 -0
  269. package/esm5/lib/igx-x-suffix-component.js +180 -0
  270. package/esm5/public_api.js +123 -0
  271. package/fesm2015/igniteui-angular-inputs.js +30534 -0
  272. package/fesm5/igniteui-angular-inputs.js +36038 -0
  273. package/igniteui-angular-inputs.d.ts +5 -0
  274. package/lib/ButtonClickEventArgs.d.ts +7 -0
  275. package/lib/ButtonDisplayStyle.d.ts +15 -0
  276. package/lib/ButtonGroupDisplayStyle.d.ts +12 -0
  277. package/lib/ButtonGroupOrientation.d.ts +9 -0
  278. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +7 -0
  279. package/lib/ButtonGroupView.d.ts +1 -0
  280. package/lib/ButtonGroupView_combined.d.ts +372 -0
  281. package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
  282. package/lib/ButtonView.d.ts +1 -0
  283. package/lib/ButtonView_combined.d.ts +695 -0
  284. package/lib/ButtonVisualModelExport.d.ts +46 -0
  285. package/lib/CalendarView.d.ts +1 -0
  286. package/lib/CalendarView_combined.d.ts +231 -0
  287. package/lib/CalendarVisualModelExport.d.ts +33 -0
  288. package/lib/CheckboxChangeEventArgs.d.ts +13 -0
  289. package/lib/CheckboxLabelPosition.d.ts +12 -0
  290. package/lib/CheckboxView.d.ts +1 -0
  291. package/lib/CheckboxView_combined.d.ts +214 -0
  292. package/lib/CheckboxVisualModelExport.d.ts +28 -0
  293. package/lib/DateFormats.d.ts +18 -0
  294. package/lib/DatePicker.d.ts +1 -0
  295. package/lib/DatePickerView.d.ts +1 -0
  296. package/lib/DatePickerView_combined.d.ts +225 -0
  297. package/lib/DatePickerVisualModelExport.d.ts +24 -0
  298. package/lib/DateTimeValueFormatter.d.ts +20 -0
  299. package/lib/DayInfo.d.ts +13 -0
  300. package/lib/DayOfWeek.d.ts +38 -0
  301. package/lib/ElevationHelper.d.ts +16 -0
  302. package/lib/FirstWeek.d.ts +22 -0
  303. package/lib/GotFocusEventArgs.d.ts +7 -0
  304. package/lib/IconClickedEventArgs.d.ts +7 -0
  305. package/lib/IconView.d.ts +1 -0
  306. package/lib/IconView_combined.d.ts +198 -0
  307. package/lib/IconVisualModelExport.d.ts +26 -0
  308. package/lib/InputChangeEventArgs.d.ts +13 -0
  309. package/lib/InputGroupDisplayType.d.ts +11 -0
  310. package/lib/InputGroupView.d.ts +1 -0
  311. package/lib/InputGroupView_combined.d.ts +1202 -0
  312. package/lib/InputGroupVisualModelExport.d.ts +44 -0
  313. package/lib/InputShiftType.d.ts +10 -0
  314. package/lib/InputView.d.ts +1 -0
  315. package/lib/InputVisualModelExport.d.ts +30 -0
  316. package/lib/KEYCODES.d.ts +27 -0
  317. package/lib/LabelShiftType.d.ts +10 -0
  318. package/lib/LabelView.d.ts +1 -0
  319. package/lib/LabelVisualModelExport.d.ts +34 -0
  320. package/lib/LostFocusEventArgs.d.ts +7 -0
  321. package/lib/MaskOptions.d.ts +9 -0
  322. package/lib/MaskParsingService.d.ts +19 -0
  323. package/lib/NativeUIXInputsFactory.d.ts +24 -0
  324. package/lib/PrefixShiftType.d.ts +10 -0
  325. package/lib/PrefixView.d.ts +1 -0
  326. package/lib/PrefixVisualModelExport.d.ts +13 -0
  327. package/lib/Replaced.d.ts +9 -0
  328. package/lib/RippleView.d.ts +1 -0
  329. package/lib/RippleView_combined.d.ts +98 -0
  330. package/lib/RippleVisualModelExport.d.ts +15 -0
  331. package/lib/SelectedValueChangedEventArgs.d.ts +13 -0
  332. package/lib/SuffixShiftType.d.ts +10 -0
  333. package/lib/SuffixView.d.ts +1 -0
  334. package/lib/SuffixVisualModelExport.d.ts +13 -0
  335. package/lib/TextElementsVisualModelExport.d.ts +16 -0
  336. package/lib/Theme.d.ts +15 -0
  337. package/lib/ThemeResolver.d.ts +56 -0
  338. package/lib/XButton.d.ts +1 -0
  339. package/lib/XButtonBridge.d.ts +39 -0
  340. package/lib/XButtonGroup.d.ts +1 -0
  341. package/lib/XButtonGroupButtonCollection.d.ts +12 -0
  342. package/lib/XCalendar.d.ts +1 -0
  343. package/lib/XCalendarLocaleEn.d.ts +49 -0
  344. package/lib/XCheckbox.d.ts +1 -0
  345. package/lib/XCheckboxBridge.d.ts +19 -0
  346. package/lib/XComponentBridge.d.ts +18 -0
  347. package/lib/XIcon.d.ts +1 -0
  348. package/lib/XIconBridge.d.ts +14 -0
  349. package/lib/XIconButtonBridge.d.ts +16 -0
  350. package/lib/XInput.d.ts +1 -0
  351. package/lib/XInputBridge.d.ts +28 -0
  352. package/lib/XInputGroup.d.ts +1 -0
  353. package/lib/XInputGroupInputCollection.d.ts +1 -0
  354. package/lib/XInputGroupItem.d.ts +1 -0
  355. package/lib/XLabel.d.ts +1 -0
  356. package/lib/XPopupBridge.d.ts +52 -0
  357. package/lib/XPrefix.d.ts +1 -0
  358. package/lib/XRipple.d.ts +1 -0
  359. package/lib/XSuffix.d.ts +1 -0
  360. package/lib/igx-button-click-event-args.d.ts +12 -0
  361. package/lib/igx-button-group-selection-changed-event-args.d.ts +12 -0
  362. package/lib/igx-checkbox-change-event-args.d.ts +18 -0
  363. package/lib/igx-date-picker-component.d.ts +215 -0
  364. package/lib/igx-date-picker-dynamic-module.d.ts +13 -0
  365. package/lib/igx-date-picker-module.d.ts +13 -0
  366. package/lib/igx-got-focus-event-args.d.ts +12 -0
  367. package/lib/igx-input-change-event-args.d.ts +17 -0
  368. package/lib/igx-lost-focus-event-args.d.ts +12 -0
  369. package/lib/igx-selected-value-changed-event-args.d.ts +16 -0
  370. package/lib/igx-x-button-component.d.ts +980 -0
  371. package/lib/igx-x-button-dynamic-module.d.ts +11 -0
  372. package/lib/igx-x-button-group-button-collection.d.ts +8 -0
  373. package/lib/igx-x-button-group-component.d.ts +416 -0
  374. package/lib/igx-x-button-group-dynamic-module.d.ts +11 -0
  375. package/lib/igx-x-button-group-module.d.ts +11 -0
  376. package/lib/igx-x-button-module.d.ts +11 -0
  377. package/lib/igx-x-calendar-component.d.ts +177 -0
  378. package/lib/igx-x-calendar-dynamic-module.d.ts +11 -0
  379. package/lib/igx-x-calendar-locale-en-module.d.ts +8 -0
  380. package/lib/igx-x-calendar-module.d.ts +11 -0
  381. package/lib/igx-x-checkbox-component.d.ts +238 -0
  382. package/lib/igx-x-checkbox-dynamic-module.d.ts +11 -0
  383. package/lib/igx-x-checkbox-module.d.ts +11 -0
  384. package/lib/igx-x-icon-component.d.ts +255 -0
  385. package/lib/igx-x-icon-dynamic-module.d.ts +10 -0
  386. package/lib/igx-x-icon-module.d.ts +10 -0
  387. package/lib/igx-x-input-component.d.ts +212 -0
  388. package/lib/igx-x-input-dynamic-module.d.ts +10 -0
  389. package/lib/igx-x-input-group-component.d.ts +855 -0
  390. package/lib/igx-x-input-group-dynamic-module.d.ts +12 -0
  391. package/lib/igx-x-input-group-input-collection.d.ts +8 -0
  392. package/lib/igx-x-input-group-item-component.d.ts +35 -0
  393. package/lib/igx-x-input-group-module.d.ts +12 -0
  394. package/lib/igx-x-input-module.d.ts +10 -0
  395. package/lib/igx-x-label-component.d.ts +175 -0
  396. package/lib/igx-x-label-dynamic-module.d.ts +10 -0
  397. package/lib/igx-x-label-module.d.ts +10 -0
  398. package/lib/igx-x-prefix-component.d.ts +60 -0
  399. package/lib/igx-x-prefix-dynamic-module.d.ts +10 -0
  400. package/lib/igx-x-prefix-module.d.ts +10 -0
  401. package/lib/igx-x-ripple-component.d.ts +110 -0
  402. package/lib/igx-x-ripple-dynamic-module.d.ts +9 -0
  403. package/lib/igx-x-ripple-module.d.ts +9 -0
  404. package/lib/igx-x-suffix-component.d.ts +60 -0
  405. package/package.json +39 -0
  406. package/public_api.d.ts +123 -0
@@ -0,0 +1,1578 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { Base, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-angular-core";
8
+ import { XInputGroup } from "./XInputGroup";
9
+ import { XLabel } from "./XLabel";
10
+ import { XInput } from "./XInput";
11
+ import { XSuffix } from "./XSuffix";
12
+ import { XIcon } from "./XIcon";
13
+ import { Popup } from "igniteui-angular-core";
14
+ import { XCalendar } from "./XCalendar";
15
+ import { Rect } from "igniteui-angular-core";
16
+ import { SRProvider } from "igniteui-angular-core";
17
+ import { ControlDisplayDensity_$type } from "igniteui-angular-core";
18
+ import { BaseControlTheme_$type } from "igniteui-angular-core";
19
+ import { DayOfWeek_$type } from "./DayOfWeek";
20
+ import { FirstWeek_$type } from "./FirstWeek";
21
+ import { DateFormats_$type } from "./DateFormats";
22
+ import { BrushUtil } from "igniteui-angular-core";
23
+ import { DateTimeValueFormatter } from "./DateTimeValueFormatter";
24
+ import { SelectedValueChangedEventArgs } from "./SelectedValueChangedEventArgs";
25
+ import { GotFocusEventArgs } from "./GotFocusEventArgs";
26
+ import { LostFocusEventArgs } from "./LostFocusEventArgs";
27
+ import { DatePickerVisualModelExport } from "./DatePickerVisualModelExport";
28
+ import { FontUtil } from "igniteui-angular-core";
29
+ import { dateMinValue, dateMaxValue, dateGetDate, dateFromValues, dateGetMonth } from "igniteui-angular-core";
30
+ import { stringContains, stringIsNullOrWhiteSpace, stringIsNullOrEmpty } from "igniteui-angular-core";
31
+ import { stringSplit } from "igniteui-angular-core";
32
+ import { isNaN_ } from "igniteui-angular-core";
33
+ /**
34
+ * @hidden
35
+ */
36
+ export let DatePickerView = /*@__PURE__*/ (() => {
37
+ class DatePickerView extends Base {
38
+ constructor() {
39
+ super();
40
+ this.b = null;
41
+ this.d = null;
42
+ this.k = null;
43
+ this.e = null;
44
+ this.m = null;
45
+ this.l = null;
46
+ this.j = null;
47
+ this.g = null;
48
+ this.f = null;
49
+ this.i = null;
50
+ this.h = null;
51
+ this.document_Click = this.document_Click.bind(this);
52
+ }
53
+ ah() {
54
+ }
55
+ get n() {
56
+ return this.e;
57
+ }
58
+ ag(a) {
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
+ }
65
+ this.d = null;
66
+ return;
67
+ }
68
+ this.d = a;
69
+ let c = Math.round(a.rootWrapper.width());
70
+ let d = Math.round(a.rootWrapper.height());
71
+ this.aa();
72
+ this.ab();
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);
78
+ }
79
+ aa() {
80
+ if (this.d != null) {
81
+ this.k = this.d.rootWrapper.getChildAt(0);
82
+ this.k.setAttribute("tabIndex", this.b.a7.toString());
83
+ this.k.setStyleProperty("display", "flex");
84
+ this.k.setStyleProperty("height", "100%");
85
+ this.l = this.d.createElement("div");
86
+ this.j = this.d.createElement("div");
87
+ this.j.setRawStyleProperty("flex-grow", "1");
88
+ this.g = this.d.createElement("div");
89
+ this.g.setAttribute("aria-hidden", "true");
90
+ this.f = this.d.createElement("div");
91
+ this.g.setStyleProperty("padding-right", "2px");
92
+ this.i = this.d.createElement("div");
93
+ this.i.setAttribute("aria-hidden", "true");
94
+ this.h = this.d.createElement("div");
95
+ this.b.ch();
96
+ this.j.getChildAt(0).setAttribute("aria-expanded", "fasle");
97
+ this.j.getChildAt(0).setAttribute("aria-invalid", "false");
98
+ this.f.setStyleProperty("height", "16px");
99
+ this.f.setStyleProperty("width", "16px");
100
+ this.h.setStyleProperty("height", "16px");
101
+ this.h.setStyleProperty("width", "16px");
102
+ this.f.listen("click", runOn(this, this.z));
103
+ this.h.listen("click", runOn(this, this.ad));
104
+ }
105
+ }
106
+ ak(a) {
107
+ if (this.d != null) {
108
+ let b = this.d.getSubRenderer(this.k);
109
+ a.provideContainer(b);
110
+ let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
111
+ }
112
+ }
113
+ am(a) {
114
+ if (this.d != null) {
115
+ let b = this.d.getSubRenderer(this.l);
116
+ a.provideContainer(b);
117
+ let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
118
+ }
119
+ }
120
+ al(a) {
121
+ if (this.d != null) {
122
+ let b = this.d.getSubRenderer(this.j);
123
+ a.provideContainer(b);
124
+ let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
125
+ }
126
+ }
127
+ ao(a, b) {
128
+ if (this.d != null) {
129
+ let c = this.d.getSubRenderer(b);
130
+ a.provideContainer(c);
131
+ let d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
132
+ }
133
+ }
134
+ aj(a, b) {
135
+ if (this.d != null) {
136
+ let c = this.d.getSubRenderer(b);
137
+ a.provideContainer(c);
138
+ let d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
139
+ }
140
+ }
141
+ u() {
142
+ return this.l;
143
+ }
144
+ t() {
145
+ return this.j;
146
+ }
147
+ q() {
148
+ return this.g;
149
+ }
150
+ p() {
151
+ return this.f;
152
+ }
153
+ s() {
154
+ return this.i;
155
+ }
156
+ r() {
157
+ return this.h;
158
+ }
159
+ aq(a) {
160
+ if (this.j != null) {
161
+ if (a) {
162
+ this.j.getChildAt(0).setAttribute("aria-expanded", "true");
163
+ }
164
+ else {
165
+ this.j.getChildAt(0).setAttribute("aria-expanded", "false");
166
+ }
167
+ }
168
+ }
169
+ as(a) {
170
+ if (a != null && a != "") {
171
+ this.j.getChildAt(0).setAttribute("aria-label", a);
172
+ }
173
+ else {
174
+ this.j.getChildAt(0).setAttribute("aria-label", "Select a date");
175
+ }
176
+ }
177
+ ap() {
178
+ if (this.f != null) {
179
+ if (this.b.at == true) {
180
+ this.f.show();
181
+ }
182
+ else {
183
+ this.f.hide();
184
+ }
185
+ }
186
+ }
187
+ ae() {
188
+ if (this.f != null) {
189
+ this.f.hide();
190
+ }
191
+ }
192
+ ar() {
193
+ this.k.setAttribute("tabIndex", this.b.a7.toString());
194
+ }
195
+ ab() {
196
+ if (this.d != null) {
197
+ this.m = this.d.rootWrapper.getChildAt(1);
198
+ this.e = this.d.createElement("div");
199
+ this.e.setStyleProperty("width", "100%");
200
+ this.e.setStyleProperty("height", "100%");
201
+ this.e.setStyleProperty("display", "flex");
202
+ this.b.ci();
203
+ this.e.parent().setStyleProperty("height", "100%");
204
+ if (this.b.av == true) {
205
+ this.e.parent().parent().setStyleProperty("max-width", "245px");
206
+ }
207
+ else {
208
+ this.e.parent().parent().setStyleProperty("max-width", "232px");
209
+ }
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
+ }
217
+ }
218
+ y() {
219
+ if (this.d != null) {
220
+ if (this.b.av == true) {
221
+ this.e.parent().parent().setStyleProperty("max-width", "245px");
222
+ }
223
+ else {
224
+ this.e.parent().parent().setStyleProperty("max-width", "232px");
225
+ }
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
+ }
233
+ }
234
+ an(a) {
235
+ if (this.d != null) {
236
+ let b = this.d.getSubRenderer(this.m);
237
+ a.provideRenderer(b);
238
+ let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
239
+ }
240
+ }
241
+ ai(a) {
242
+ if (this.d != null) {
243
+ let b = this.d.getSubRenderer(this.e);
244
+ a.provideContainer(b);
245
+ let c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
246
+ }
247
+ }
248
+ o() {
249
+ return this.e;
250
+ }
251
+ z(a) {
252
+ if (this.b.ar == true) {
253
+ return;
254
+ }
255
+ this.b.cf();
256
+ if (this.f != null) {
257
+ this.f.hide();
258
+ }
259
+ }
260
+ ad(a) {
261
+ a.stopPropagation();
262
+ this.b.cn();
263
+ }
264
+ x(a) {
265
+ let b = a.which;
266
+ if (b == 27) {
267
+ this.b.cg();
268
+ }
269
+ }
270
+ v(a) {
271
+ this.b.focus();
272
+ let b = (a.originalEvent.relatedTarget);
273
+ if (!this.c(b)) {
274
+ this.b.ct();
275
+ }
276
+ }
277
+ w(a) {
278
+ let b = (a.originalEvent.relatedTarget);
279
+ if (!this.c(b)) {
280
+ this.b.cm();
281
+ this.b.cu();
282
+ }
283
+ }
284
+ document_Click(a) {
285
+ let b = a.target;
286
+ if (!this.c(b)) {
287
+ this.b.cg();
288
+ }
289
+ }
290
+ at() {
291
+ if (this.d != null) {
292
+ let a = this.d.rootWrapper.getNativeElement();
293
+ let b = a.getBoundingClientRect();
294
+ ;
295
+ return b;
296
+ }
297
+ return null;
298
+ }
299
+ a() {
300
+ let a = (window.innerWidth);
301
+ let b = (window.innerHeight);
302
+ let c = new Array(2);
303
+ c[0] = a;
304
+ c[1] = b;
305
+ return c;
306
+ }
307
+ c(a) {
308
+ if (null == a) {
309
+ return false;
310
+ }
311
+ let b = this.j.getNativeElement();
312
+ let c = this.e.getNativeElement();
313
+ return b.contains(a) || c.contains(a);
314
+ }
315
+ af() {
316
+ }
317
+ }
318
+ DatePickerView.$t = markType(DatePickerView, 'DatePickerView');
319
+ return DatePickerView;
320
+ })();
321
+ /**
322
+ * @hidden
323
+ */
324
+ export let DatePicker = /*@__PURE__*/ (() => {
325
+ class DatePicker extends Base {
326
+ constructor() {
327
+ super();
328
+ this.h = null;
329
+ this.u = null;
330
+ this.q = null;
331
+ this.o = null;
332
+ this.r = null;
333
+ this.m = null;
334
+ this.n = null;
335
+ this.c = null;
336
+ this.a9 = "dd";
337
+ this.bd = "mm";
338
+ this.bg = "yyyy";
339
+ this.ba = "mdy";
340
+ this.bf = "/";
341
+ this.ah = false;
342
+ this.ap = false;
343
+ this.ao = false;
344
+ this.ay = dateMinValue();
345
+ this.ai = false;
346
+ this.propertyChanged = null;
347
+ this.selectedValueChanged = null;
348
+ this.ae = null;
349
+ this.a0 = dateMinValue();
350
+ this.az = dateMinValue();
351
+ this.bc = "";
352
+ this.de = BrushUtil.g(255, 24, 29, 31);
353
+ this.z = null;
354
+ this.be = "";
355
+ this.ax = dateMinValue();
356
+ this.aw = dateMaxValue();
357
+ this.x = 2;
358
+ this.v = 1;
359
+ 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;
364
+ this.ag = true;
365
+ this.ak = true;
366
+ this.i = 0;
367
+ this.k = 0;
368
+ this.an = false;
369
+ this.a = new DateTimeValueFormatter();
370
+ this.d = 0;
371
+ this.bb = null;
372
+ this.aj = false;
373
+ this.a6 = 0;
374
+ this.gotFocus = null;
375
+ this.lostFocus = null;
376
+ this.keyDown = null;
377
+ this.changing = null;
378
+ let a = new DatePickerView();
379
+ a.b = this;
380
+ this.h = a;
381
+ this.h.ah();
382
+ this.ce();
383
+ }
384
+ cz(a, b) {
385
+ if (this.u != null) {
386
+ this.ah = true;
387
+ this.cg();
388
+ }
389
+ this.c8();
390
+ if (this.selectedValueChanged != null) {
391
+ this.selectedValueChanged(this, ((() => {
392
+ let $ret = new SelectedValueChangedEventArgs();
393
+ $ret.oldValue = a;
394
+ $ret.newValue = b;
395
+ return $ret;
396
+ })()));
397
+ }
398
+ if (this.ai) {
399
+ this.c3();
400
+ }
401
+ }
402
+ notifySizeChanged() {
403
+ this.h.af();
404
+ }
405
+ destroy() {
406
+ if (this.c != null) {
407
+ let a = this.c;
408
+ a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.cd));
409
+ let b = this.c;
410
+ b.close = delegateRemove(b.close, runOn(this, this.cc));
411
+ }
412
+ this.provideContainer(null);
413
+ }
414
+ provideContainer(a) {
415
+ this.h.ag(a);
416
+ }
417
+ setName(a) {
418
+ this.o.e = a;
419
+ }
420
+ get af() {
421
+ if (this.ae == null) {
422
+ this.ae = new SRProvider(this.h.d);
423
+ this.ae.cb("Calendar");
424
+ }
425
+ return this.ae;
426
+ }
427
+ get value() {
428
+ return this.a0;
429
+ }
430
+ 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);
436
+ }
437
+ }
438
+ get a3() {
439
+ return this.az;
440
+ }
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);
446
+ }
447
+ }
448
+ get bv() {
449
+ return this.bc;
450
+ }
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);
456
+ }
457
+ }
458
+ get dh() {
459
+ return this.de;
460
+ }
461
+ set dh(a) {
462
+ let b = this.de;
463
+ this.de = a;
464
+ if (b != this.de) {
465
+ this.cy("LabelTextColor", b, a);
466
+ }
467
+ }
468
+ get ac() {
469
+ return this.z;
470
+ }
471
+ set ac(a) {
472
+ let b = this.z;
473
+ this.z = a;
474
+ if (b != this.z) {
475
+ this.cy("LabelTextStyle", b, this.z);
476
+ }
477
+ }
478
+ get b2() {
479
+ return this.be;
480
+ }
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);
496
+ }
497
+ }
498
+ get a1() {
499
+ return this.aw;
500
+ }
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);
506
+ }
507
+ }
508
+ get y() {
509
+ return this.x;
510
+ }
511
+ set y(a) {
512
+ let b = this.x;
513
+ this.x = a;
514
+ if (b != this.x) {
515
+ this.cy("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.x));
516
+ }
517
+ }
518
+ get w() {
519
+ return this.v;
520
+ }
521
+ set w(a) {
522
+ let b = this.v;
523
+ this.v = a;
524
+ if (b != this.v) {
525
+ this.cy("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.v));
526
+ }
527
+ }
528
+ get ad() {
529
+ return this.aa;
530
+ }
531
+ set ad(a) {
532
+ let b = this.aa;
533
+ this.aa = a;
534
+ if (b != this.aa) {
535
+ this.cy("TextStyle", b, this.aa);
536
+ }
537
+ }
538
+ get di() {
539
+ return this.df;
540
+ }
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);
546
+ }
547
+ }
548
+ get dg() {
549
+ return this.dd;
550
+ }
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);
556
+ }
557
+ }
558
+ get at() {
559
+ return this.al;
560
+ }
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);
566
+ }
567
+ }
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() {
579
+ return this.ag;
580
+ }
581
+ set aq(a) {
582
+ let b = this.ag;
583
+ this.ag = a;
584
+ if (b != this.ag) {
585
+ this.cy("AllowTextInput", b, this.ag);
586
+ }
587
+ }
588
+ get as() {
589
+ return this.ak;
590
+ }
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);
596
+ }
597
+ }
598
+ get j() {
599
+ return this.i;
600
+ }
601
+ set j(a) {
602
+ let b = this.i;
603
+ this.i = a;
604
+ if (b != this.i) {
605
+ this.cy("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.i));
606
+ }
607
+ }
608
+ get l() {
609
+ return this.k;
610
+ }
611
+ set l(a) {
612
+ let b = this.k;
613
+ this.k = a;
614
+ if (b != this.k) {
615
+ this.cy("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.k));
616
+ }
617
+ }
618
+ get av() {
619
+ return this.an;
620
+ }
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);
626
+ }
627
+ }
628
+ get e() {
629
+ return this.d;
630
+ }
631
+ set e(a) {
632
+ let b = this.d;
633
+ this.d = a;
634
+ if (this.d != b) {
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);
646
+ }
647
+ }
648
+ get ar() {
649
+ return this.aj;
650
+ }
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);
656
+ }
657
+ }
658
+ get a7() {
659
+ return this.a6;
660
+ }
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);
666
+ }
667
+ }
668
+ cy(a, b, c) {
669
+ if (this.propertyChanged != null) {
670
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
671
+ }
672
+ this.c1(a, b, c);
673
+ }
674
+ c1(a, b, c) {
675
+ switch (a) {
676
+ case "Density":
677
+ this.c4();
678
+ break;
679
+ case "BaseTheme":
680
+ this.c6();
681
+ break;
682
+ case "Value":
683
+ if (+(this.value) != +(dateMinValue())) {
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;
688
+ }
689
+ }
690
+ this.cz(this.ay, this.value);
691
+ this.ay = this.value;
692
+ if (this.c != null) {
693
+ this.c.value = this.value;
694
+ }
695
+ break;
696
+ case "Label":
697
+ if (this.r != null) {
698
+ this.r.text = this.bv;
699
+ if (this.bv != null && this.bv != "") {
700
+ if (!this.q.inputs.contains(this.r)) {
701
+ this.q.inputs.insert(0, this.r);
702
+ }
703
+ }
704
+ else {
705
+ if (this.q.inputs.contains(this.r)) {
706
+ this.q.inputs.remove(this.r);
707
+ }
708
+ }
709
+ }
710
+ break;
711
+ case "Placeholder":
712
+ if (this.o != null) {
713
+ this.o.cg = this.b2;
714
+ this.h.as(this.b2);
715
+ }
716
+ break;
717
+ case "Today":
718
+ if (this.c != null) {
719
+ this.c.av = this.a3;
720
+ }
721
+ break;
722
+ case "MaxDate":
723
+ if (this.c != null) {
724
+ let d = Base.compareSimple(this.a2, this.a1);
725
+ if (d >= 0) {
726
+ this.a1 = dateMaxValue();
727
+ }
728
+ this.c.at = this.aw;
729
+ }
730
+ if (dateGetDate(this.value) > dateGetDate(this.a1)) {
731
+ this.ay = dateMinValue();
732
+ this.ai = true;
733
+ this.value = dateMinValue();
734
+ this.ai = false;
735
+ }
736
+ break;
737
+ case "MinDate":
738
+ if (this.c != null) {
739
+ this.c.au = this.ax;
740
+ let e = Base.compareSimple(this.a2, this.a1);
741
+ if (e >= 0) {
742
+ this.ay = dateMaxValue();
743
+ this.c.at = this.a1;
744
+ }
745
+ }
746
+ if (dateGetDate(this.value) < dateGetDate(this.a2)) {
747
+ this.ay = dateMinValue();
748
+ this.ai = true;
749
+ this.value = dateMinValue();
750
+ this.ai = false;
751
+ }
752
+ break;
753
+ case "TextStyle":
754
+ this.c9();
755
+ break;
756
+ case "ShowClearButton":
757
+ if (this.o != null) {
758
+ if (this.o.cq != "") {
759
+ this.h.ap();
760
+ }
761
+ }
762
+ break;
763
+ case "LabelTextColor":
764
+ case "LabelTextStyle":
765
+ case "TextColor":
766
+ case "IconColor":
767
+ this.da();
768
+ break;
769
+ case "ShowTodayButton":
770
+ if (this.c != null) {
771
+ this.c.ae = this.au;
772
+ this.h.y();
773
+ }
774
+ break;
775
+ case "AllowTextInput":
776
+ if (this.o != null) {
777
+ this.o.disabled = !this.aq;
778
+ }
779
+ break;
780
+ case "OpenOnFocus": break;
781
+ case "DateFormat":
782
+ this.a.k(this.e);
783
+ this.c8();
784
+ break;
785
+ case "FormatString":
786
+ this.ce();
787
+ this.c8();
788
+ break;
789
+ case "FirstDayOfWeek":
790
+ if (this.c != null) {
791
+ this.c.l = this.j;
792
+ }
793
+ break;
794
+ case "ShowWeekNumbers":
795
+ if (this.c != null) {
796
+ this.c.af = this.av;
797
+ this.h.y();
798
+ }
799
+ break;
800
+ case "FirstWeekOfYear":
801
+ if (this.c != null) {
802
+ this.c.o = this.l;
803
+ }
804
+ break;
805
+ case "IsDisabled":
806
+ {
807
+ if (this.q != null) {
808
+ this.q.disabled = this.ar;
809
+ }
810
+ if (this.o != null) {
811
+ this.o.disabled = this.ar;
812
+ }
813
+ }
814
+ break;
815
+ case "TabIndex":
816
+ this.h.ar();
817
+ break;
818
+ }
819
+ }
820
+ ce() {
821
+ let a = '/';
822
+ let b = this.br != null ? this.br.toLowerCase() : this.a.j();
823
+ if (stringContains(b, "/")) {
824
+ a = '/';
825
+ }
826
+ else if (stringContains(b, "-")) {
827
+ a = '-';
828
+ }
829
+ else if (stringContains(b, " ")) {
830
+ a = ' ';
831
+ }
832
+ else if (stringContains(b, ".")) {
833
+ a = '.';
834
+ }
835
+ else if (stringContains(b, ",")) {
836
+ a = ',';
837
+ }
838
+ this.bf = a.toString();
839
+ let c = b.split(a);
840
+ if (c.length == 3) {
841
+ let d = "";
842
+ for (let e = 0; e < 3; e++) {
843
+ if (stringContains(c[e], "d")) {
844
+ d += "d";
845
+ switch (c[e]) {
846
+ case "d":
847
+ this.a9 = c[e];
848
+ break;
849
+ case "dd":
850
+ this.a9 = c[e];
851
+ break;
852
+ case "ddd":
853
+ this.a9 = c[e];
854
+ break;
855
+ case "dddd":
856
+ this.a9 = c[e];
857
+ break;
858
+ default:
859
+ this.a9 = "dd";
860
+ break;
861
+ }
862
+ }
863
+ else if (stringContains(c[e], "m")) {
864
+ d += "m";
865
+ switch (c[e]) {
866
+ case "m":
867
+ this.bd = c[e];
868
+ break;
869
+ case "mm":
870
+ this.bd = c[e];
871
+ break;
872
+ case "mmm":
873
+ this.bd = c[e];
874
+ break;
875
+ case "mmmm":
876
+ this.bd = c[e];
877
+ break;
878
+ default:
879
+ this.bd = "mm";
880
+ break;
881
+ }
882
+ this.bd = c[e];
883
+ }
884
+ else if (stringContains(c[e], "y")) {
885
+ d += "y";
886
+ switch (c[e]) {
887
+ case "yy":
888
+ this.bg = c[e];
889
+ break;
890
+ case "yyyy":
891
+ this.bg = c[e];
892
+ break;
893
+ default:
894
+ this.bg = "yyyy";
895
+ break;
896
+ }
897
+ }
898
+ }
899
+ if (d == "dmy" || d == "mdy" || d == "ymd") {
900
+ this.ba = d;
901
+ }
902
+ else {
903
+ this.ba = "mdy";
904
+ }
905
+ }
906
+ }
907
+ da() {
908
+ if (this.o != null) {
909
+ this.o.d8 = this.di;
910
+ }
911
+ if (this.m != null) {
912
+ this.m.fill = this.dg;
913
+ }
914
+ if (this.n != null) {
915
+ this.n.fill = this.dg;
916
+ }
917
+ if (this.r != null) {
918
+ this.r.df = this.dh;
919
+ this.r.y = this.ac;
920
+ }
921
+ }
922
+ c7() {
923
+ if (this.q != null) {
924
+ }
925
+ }
926
+ c9() {
927
+ if (this.aa != null) {
928
+ this.o.af = this.aa;
929
+ }
930
+ }
931
+ ch() {
932
+ this.q = new XInputGroup();
933
+ this.h.ak(this.q);
934
+ this.q.d = 0;
935
+ this.q.p = this.w;
936
+ this.q.t = this.y;
937
+ this.r = new XLabel();
938
+ this.h.am(this.r);
939
+ this.r.df = this.dh;
940
+ 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;
944
+ this.q.inputs.add(this.r);
945
+ }
946
+ this.o = new XInput();
947
+ this.h.al(this.o);
948
+ this.o.b8 = "text";
949
+ if (this.aa != null) {
950
+ this.o.af = this.aa;
951
+ }
952
+ this.o.disabled = !this.aq;
953
+ this.o.d8 = this.di;
954
+ this.q.appendContentChild(this.h.t());
955
+ this.q.inputs.add(this.o);
956
+ this.o.cg = this.b2;
957
+ this.h.as(this.b2);
958
+ let a = this.o;
959
+ a.change = delegateCombine(a.change, runOn(this, this.co));
960
+ let b = this.o;
961
+ b.changing = delegateCombine(b.changing, runOn(this, this.cp));
962
+ let c = this.o;
963
+ c.keyDown = delegateCombine(c.keyDown, runOn(this, this.cq));
964
+ let d = new XSuffix();
965
+ this.h.ao(d, this.h.q());
966
+ 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());
972
+ this.q.inputs.add(d);
973
+ this.c8();
974
+ let e = new XSuffix();
975
+ this.h.ao(e, this.h.s());
976
+ 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());
982
+ this.q.inputs.add(e);
983
+ }
984
+ cq(a, b) {
985
+ this.cw(b);
986
+ if (b.defaultPrevented) {
987
+ return;
988
+ }
989
+ let c = b.keyCode;
990
+ let d = b.modifiers;
991
+ switch (c) {
992
+ case 9:
993
+ this.ao = true;
994
+ if (!this.ap) {
995
+ this.dc(this.o.cq);
996
+ }
997
+ this.ah = true;
998
+ this.cg();
999
+ this.ao = false;
1000
+ break;
1001
+ case 13:
1002
+ this.ao = true;
1003
+ if (!this.ap) {
1004
+ this.dc(this.o.cq);
1005
+ }
1006
+ this.ah = true;
1007
+ this.cg();
1008
+ this.ao = false;
1009
+ break;
1010
+ case 40:
1011
+ if (d == 1) {
1012
+ this.c0();
1013
+ this.cl();
1014
+ }
1015
+ break;
1016
+ case 38:
1017
+ if (d == 1) {
1018
+ this.cg();
1019
+ }
1020
+ break;
1021
+ }
1022
+ }
1023
+ cp(a, b) {
1024
+ this.cs(b);
1025
+ if (b.value.length > 0) {
1026
+ this.h.ap();
1027
+ }
1028
+ else {
1029
+ this.h.ae();
1030
+ }
1031
+ }
1032
+ co(a, b) {
1033
+ this.ap = true;
1034
+ this.dc(b.value);
1035
+ this.ap = false;
1036
+ }
1037
+ dc(a) {
1038
+ let b = ['/', '-', ' ', '.', ','];
1039
+ let c = stringSplit(a, b, 1);
1040
+ let d = 0;
1041
+ let e = 0;
1042
+ let f = 0;
1043
+ let g = true;
1044
+ if (c.length == 3) {
1045
+ if (c[0].length == 0 || c[1].length == 0 || c[2].length == 0) {
1046
+ g = false;
1047
+ }
1048
+ if (this.ba == "dmy") {
1049
+ d = parseInt(c[0]);
1050
+ e = parseInt(c[1]);
1051
+ f = parseInt(c[2]);
1052
+ }
1053
+ else if (this.ba == "mdy") {
1054
+ e = parseInt(c[0]);
1055
+ d = parseInt(c[1]);
1056
+ f = parseInt(c[2]);
1057
+ }
1058
+ else if (this.ba == "ymd") {
1059
+ f = parseInt(c[0]);
1060
+ e = parseInt(c[1]);
1061
+ d = parseInt(c[2]);
1062
+ }
1063
+ if (isNaN_(d) || isNaN_(f)) {
1064
+ g = false;
1065
+ }
1066
+ if (f < 50) {
1067
+ f = f + 2000;
1068
+ }
1069
+ if (isNaN_(e)) {
1070
+ let h = "";
1071
+ if (this.ba == "dmy") {
1072
+ h = c[1].toLowerCase();
1073
+ }
1074
+ else if (this.ba == "mdy") {
1075
+ h = c[0].toLowerCase();
1076
+ }
1077
+ else if (this.ba == "ymd") {
1078
+ h = c[1].toLowerCase();
1079
+ }
1080
+ let i = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full").toLowerCase() : "january";
1081
+ let j = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short").toLowerCase() : "jan";
1082
+ let k = !stringIsNullOrWhiteSpace(this.af.b1("February_Full")) ? this.af.b1("February_Full").toLowerCase() : "february";
1083
+ let l = !stringIsNullOrWhiteSpace(this.af.b1("February_Short")) ? this.af.b1("February_Short").toLowerCase() : "feb";
1084
+ let m = !stringIsNullOrWhiteSpace(this.af.b1("March_Full")) ? this.af.b1("March_Full").toLowerCase() : "march";
1085
+ let n = !stringIsNullOrWhiteSpace(this.af.b1("March_Short")) ? this.af.b1("March_Short").toLowerCase() : "mar";
1086
+ let o = !stringIsNullOrWhiteSpace(this.af.b1("April_Full")) ? this.af.b1("April_Full").toLowerCase() : "april";
1087
+ let p = !stringIsNullOrWhiteSpace(this.af.b1("April_Short")) ? this.af.b1("April_Short").toLowerCase() : "apr";
1088
+ let q = !stringIsNullOrWhiteSpace(this.af.b1("May_Full")) ? this.af.b1("May_Full").toLowerCase() : "may";
1089
+ let r = !stringIsNullOrWhiteSpace(this.af.b1("May_Short")) ? this.af.b1("May_Short").toLowerCase() : "may";
1090
+ let s = !stringIsNullOrWhiteSpace(this.af.b1("June_Full")) ? this.af.b1("June_Full").toLowerCase() : "june";
1091
+ let t = !stringIsNullOrWhiteSpace(this.af.b1("June_Short")) ? this.af.b1("June_Short").toLowerCase() : "jun";
1092
+ let u = !stringIsNullOrWhiteSpace(this.af.b1("July_Full")) ? this.af.b1("July_Full").toLowerCase() : "july";
1093
+ let v = !stringIsNullOrWhiteSpace(this.af.b1("July_Short")) ? this.af.b1("July_Short").toLowerCase() : "jul";
1094
+ let w = !stringIsNullOrWhiteSpace(this.af.b1("August_Full")) ? this.af.b1("August_Full").toLowerCase() : "august";
1095
+ let x = !stringIsNullOrWhiteSpace(this.af.b1("August_Short")) ? this.af.b1("August_Short").toLowerCase() : "aug";
1096
+ let y = !stringIsNullOrWhiteSpace(this.af.b1("September_Full")) ? this.af.b1("September_Full").toLowerCase() : "september";
1097
+ let z = !stringIsNullOrWhiteSpace(this.af.b1("September_Short")) ? this.af.b1("September_Short").toLowerCase() : "sep";
1098
+ let aa = !stringIsNullOrWhiteSpace(this.af.b1("October_Full")) ? this.af.b1("October_Full").toLowerCase() : "october";
1099
+ let ab = !stringIsNullOrWhiteSpace(this.af.b1("October_Short")) ? this.af.b1("October_Short").toLowerCase() : "oct";
1100
+ let ac = !stringIsNullOrWhiteSpace(this.af.b1("November_Full")) ? this.af.b1("November_Full").toLowerCase() : "november";
1101
+ let ad = !stringIsNullOrWhiteSpace(this.af.b1("November_Short")) ? this.af.b1("November_Short").toLowerCase() : "nov";
1102
+ let ae = !stringIsNullOrWhiteSpace(this.af.b1("December_Full")) ? this.af.b1("December_Full").toLowerCase() : "december";
1103
+ let af = !stringIsNullOrWhiteSpace(this.af.b1("December_Short")) ? this.af.b1("December_Short").toLowerCase() : "dec";
1104
+ if (h == i || h == j) {
1105
+ e = 1;
1106
+ }
1107
+ else if (h == k || h == l) {
1108
+ e = 2;
1109
+ }
1110
+ else if (h == m || h == n) {
1111
+ e = 3;
1112
+ }
1113
+ else if (h == o || h == p) {
1114
+ e = 4;
1115
+ }
1116
+ else if (h == q || h == r) {
1117
+ e = 5;
1118
+ }
1119
+ else if (h == s || h == t) {
1120
+ e = 6;
1121
+ }
1122
+ else if (h == u || h == v) {
1123
+ e = 7;
1124
+ }
1125
+ else if (h == w || h == x) {
1126
+ e = 8;
1127
+ }
1128
+ else if (h == y || h == z) {
1129
+ e = 9;
1130
+ }
1131
+ else if (h == aa || h == ab) {
1132
+ e = 10;
1133
+ }
1134
+ else if (h == ac || h == ad) {
1135
+ e = 11;
1136
+ }
1137
+ else if (h == ae || h == af) {
1138
+ e = 12;
1139
+ }
1140
+ else {
1141
+ g = false;
1142
+ }
1143
+ }
1144
+ if (e > 12 || e < 1) {
1145
+ g = false;
1146
+ }
1147
+ }
1148
+ else {
1149
+ g = false;
1150
+ }
1151
+ if (g) {
1152
+ 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);
1155
+ if (ah < 0 || ai > 0) {
1156
+ this.c8();
1157
+ }
1158
+ else {
1159
+ this.db(ag);
1160
+ this.h.ap();
1161
+ }
1162
+ }
1163
+ else {
1164
+ if (stringIsNullOrEmpty(a)) {
1165
+ this.cf();
1166
+ }
1167
+ else {
1168
+ this.c8();
1169
+ }
1170
+ }
1171
+ }
1172
+ db(a) {
1173
+ let b = this.value;
1174
+ this.value = a;
1175
+ }
1176
+ c8() {
1177
+ if (this.o != null) {
1178
+ if (+(this.a0) != +(dateMinValue())) {
1179
+ let a = "";
1180
+ if (this.br == null) {
1181
+ a = this.a.i(this.value);
1182
+ }
1183
+ else {
1184
+ let b = this.value.getDate().toString();
1185
+ let c = b;
1186
+ if (this.a9 == "dd") {
1187
+ if (this.value.getDate() < 10) {
1188
+ b = "0" + b;
1189
+ }
1190
+ }
1191
+ else if (this.a9 == "ddd") {
1192
+ switch (this.value.getDay()) {
1193
+ case 0:
1194
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short")) ? this.af.b1("Sunday_Short") : "Sun";
1195
+ break;
1196
+ case 1:
1197
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Monday_Short")) ? this.af.b1("Monday_Short") : "Mon";
1198
+ break;
1199
+ case 2:
1200
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Short")) ? this.af.b1("Tuesday_Short") : "Tue";
1201
+ break;
1202
+ case 3:
1203
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Short")) ? this.af.b1("Wednesday_Short") : "Wed";
1204
+ break;
1205
+ case 4:
1206
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Thursday_Short")) ? this.af.b1("Thursday_Short") : "Thu";
1207
+ break;
1208
+ case 5:
1209
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Friday_Short")) ? this.af.b1("Friday_Short") : "Fri";
1210
+ break;
1211
+ case 6:
1212
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Saturday_Short")) ? this.af.b1("Saturday_Short") : "Sat";
1213
+ break;
1214
+ }
1215
+ }
1216
+ else if (this.a9 == "dddd") {
1217
+ switch (this.value.getDay()) {
1218
+ case 0:
1219
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full")) ? this.af.b1("Sunday_Full") : "Sunday";
1220
+ break;
1221
+ case 1:
1222
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Monday_Full")) ? this.af.b1("Monday_Full") : "Monday";
1223
+ break;
1224
+ case 2:
1225
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Full")) ? this.af.b1("Tuesday_Full") : "Tuesday";
1226
+ break;
1227
+ case 3:
1228
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Full")) ? this.af.b1("Wednesday_Full") : "Wednesday";
1229
+ break;
1230
+ case 4:
1231
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Thursday_Full")) ? this.af.b1("Thursday_Full") : "Thursday";
1232
+ break;
1233
+ case 5:
1234
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Friday_Full")) ? this.af.b1("Friday_Full") : "Friday";
1235
+ break;
1236
+ case 6:
1237
+ b = !stringIsNullOrWhiteSpace(this.af.b1("Saturday_Full")) ? this.af.b1("Saturday_Full") : "Saturday";
1238
+ break;
1239
+ }
1240
+ }
1241
+ let d = dateGetMonth(this.value).toString();
1242
+ if (this.bd == "mm") {
1243
+ if (dateGetMonth(this.value) < 10) {
1244
+ d = "0" + d;
1245
+ }
1246
+ }
1247
+ else if (this.bd == "mmm") {
1248
+ switch (dateGetMonth(this.value)) {
1249
+ case 1:
1250
+ d = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short") : "Jan";
1251
+ break;
1252
+ case 2:
1253
+ d = !stringIsNullOrWhiteSpace(this.af.b1("February_Short")) ? this.af.b1("February_Short") : "Feb";
1254
+ break;
1255
+ case 3:
1256
+ d = !stringIsNullOrWhiteSpace(this.af.b1("March_Short")) ? this.af.b1("March_Short") : "Mar";
1257
+ break;
1258
+ case 4:
1259
+ d = !stringIsNullOrWhiteSpace(this.af.b1("April_Short")) ? this.af.b1("April_Short") : "Apr";
1260
+ break;
1261
+ case 5:
1262
+ d = !stringIsNullOrWhiteSpace(this.af.b1("May_Short")) ? this.af.b1("May_Short") : "May";
1263
+ break;
1264
+ case 6:
1265
+ d = !stringIsNullOrWhiteSpace(this.af.b1("June_Short")) ? this.af.b1("June_Short") : "Jun";
1266
+ break;
1267
+ case 7:
1268
+ d = !stringIsNullOrWhiteSpace(this.af.b1("July_Short")) ? this.af.b1("July_Short") : "Jul";
1269
+ break;
1270
+ case 8:
1271
+ d = !stringIsNullOrWhiteSpace(this.af.b1("August_Short")) ? this.af.b1("August_Short") : "Aug";
1272
+ break;
1273
+ case 9:
1274
+ d = !stringIsNullOrWhiteSpace(this.af.b1("September_Short")) ? this.af.b1("September_Short") : "Sep";
1275
+ break;
1276
+ case 10:
1277
+ d = !stringIsNullOrWhiteSpace(this.af.b1("October_Short")) ? this.af.b1("October_Short") : "Oct";
1278
+ break;
1279
+ case 11:
1280
+ d = !stringIsNullOrWhiteSpace(this.af.b1("November_Short")) ? this.af.b1("November_Short") : "Nov";
1281
+ break;
1282
+ case 12:
1283
+ d = !stringIsNullOrWhiteSpace(this.af.b1("December_Short")) ? this.af.b1("December_Short") : "Dec";
1284
+ break;
1285
+ }
1286
+ }
1287
+ else if (this.bd == "mmmm") {
1288
+ switch (dateGetMonth(this.value)) {
1289
+ case 1:
1290
+ d = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full") : "January";
1291
+ break;
1292
+ case 2:
1293
+ d = !stringIsNullOrWhiteSpace(this.af.b1("February_Full")) ? this.af.b1("February_Full") : "February";
1294
+ break;
1295
+ case 3:
1296
+ d = !stringIsNullOrWhiteSpace(this.af.b1("March_Full")) ? this.af.b1("March_Full") : "March";
1297
+ break;
1298
+ case 4:
1299
+ d = !stringIsNullOrWhiteSpace(this.af.b1("April_Full")) ? this.af.b1("April_Full") : "April";
1300
+ break;
1301
+ case 5:
1302
+ d = !stringIsNullOrWhiteSpace(this.af.b1("May_Full")) ? this.af.b1("May_Full") : "May";
1303
+ break;
1304
+ case 6:
1305
+ d = !stringIsNullOrWhiteSpace(this.af.b1("June_Full")) ? this.af.b1("June_Full") : "June";
1306
+ break;
1307
+ case 7:
1308
+ d = !stringIsNullOrWhiteSpace(this.af.b1("July_Full")) ? this.af.b1("July_Full") : "July";
1309
+ break;
1310
+ case 8:
1311
+ d = !stringIsNullOrWhiteSpace(this.af.b1("August_Full")) ? this.af.b1("August_Full") : "August";
1312
+ break;
1313
+ case 9:
1314
+ d = !stringIsNullOrWhiteSpace(this.af.b1("September_Full")) ? this.af.b1("September_Full") : "September";
1315
+ break;
1316
+ case 10:
1317
+ d = !stringIsNullOrWhiteSpace(this.af.b1("October_Full")) ? this.af.b1("October_Full") : "October";
1318
+ break;
1319
+ case 11:
1320
+ d = !stringIsNullOrWhiteSpace(this.af.b1("November_Full")) ? this.af.b1("November_Full") : "November";
1321
+ break;
1322
+ case 12:
1323
+ d = !stringIsNullOrWhiteSpace(this.af.b1("December_Full")) ? this.af.b1("December_Full") : "December";
1324
+ break;
1325
+ }
1326
+ }
1327
+ let e = this.value.getFullYear().toString();
1328
+ if (this.bg == "yy") {
1329
+ e = e.substr(2);
1330
+ }
1331
+ if (this.ba == "dmy") {
1332
+ if (this.a9 == "ddd" || this.a9 == "dddd") {
1333
+ a = b + this.bf + d + " " + c + this.bf + e;
1334
+ }
1335
+ else {
1336
+ a = b + this.bf + d + this.bf + e;
1337
+ }
1338
+ }
1339
+ else if (this.ba == "mdy") {
1340
+ if (this.a9 == "ddd" || this.a9 == "dddd") {
1341
+ a = d + " " + c + this.bf + b + this.bf + e;
1342
+ }
1343
+ else {
1344
+ a = d + this.bf + b + this.bf + e;
1345
+ }
1346
+ }
1347
+ else if (this.ba == "ymd") {
1348
+ if (this.a9 == "ddd" || this.a9 == "dddd") {
1349
+ a = e + this.bf + d + " " + c + this.bf + b;
1350
+ }
1351
+ else {
1352
+ a = e + this.bf + d + this.bf + b;
1353
+ }
1354
+ }
1355
+ }
1356
+ this.o.cq = a;
1357
+ this.h.ap();
1358
+ }
1359
+ else {
1360
+ this.o.cq = "";
1361
+ this.h.ae();
1362
+ }
1363
+ }
1364
+ }
1365
+ cf() {
1366
+ if (this.ar == true) {
1367
+ return;
1368
+ }
1369
+ if (this.o != null) {
1370
+ this.o.cq = "";
1371
+ }
1372
+ this.value = dateMinValue();
1373
+ this.c.ch();
1374
+ }
1375
+ ci() {
1376
+ this.u = new Popup();
1377
+ this.h.an(this.u);
1378
+ this.c = new XCalendar();
1379
+ this.h.ai(this.c);
1380
+ if (+(this.a2) != +(dateMinValue())) {
1381
+ this.c.au = this.a2;
1382
+ }
1383
+ if (+(this.a1) != +(dateMaxValue())) {
1384
+ this.c.at = this.a1;
1385
+ }
1386
+ if (+(this.a3) != +(dateMinValue())) {
1387
+ this.c.av = this.a3;
1388
+ }
1389
+ this.c.ae = this.au;
1390
+ this.c.l = this.j;
1391
+ this.c.af = this.av;
1392
+ this.c.o = this.l;
1393
+ let a = this.c;
1394
+ a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.cd));
1395
+ let b = this.c;
1396
+ b.close = delegateCombine(b.close, runOn(this, this.cc));
1397
+ this.u.appendPopupContent(this.h.o());
1398
+ }
1399
+ cd(a, b) {
1400
+ this.ai = true;
1401
+ this.value = b.newValue;
1402
+ this.ai = false;
1403
+ }
1404
+ cc(a) {
1405
+ if (this.u.ao) {
1406
+ this.ah = true;
1407
+ this.cg();
1408
+ }
1409
+ }
1410
+ cn() {
1411
+ if (this.ah == false) {
1412
+ if (this.u.ao) {
1413
+ this.cg();
1414
+ }
1415
+ else {
1416
+ this.c0();
1417
+ }
1418
+ }
1419
+ else {
1420
+ this.ah = false;
1421
+ }
1422
+ }
1423
+ c0() {
1424
+ if (this.ar) {
1425
+ return;
1426
+ }
1427
+ 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;
1434
+ }
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);
1440
+ }
1441
+ else {
1442
+ this.u.showRelativeToExclusionRect(b, 2, 0);
1443
+ }
1444
+ }
1445
+ else {
1446
+ this.u.showRelativeToExclusionRect(b, 1, 0);
1447
+ }
1448
+ this.h.aq(true);
1449
+ }
1450
+ }
1451
+ cg() {
1452
+ if (this.u != null) {
1453
+ window.setTimeout(() => this.u.bj(), 0);
1454
+ }
1455
+ if (this.c != null) {
1456
+ this.c.cy();
1457
+ }
1458
+ this.h.aq(false);
1459
+ this.ah = false;
1460
+ }
1461
+ focus(a = false) {
1462
+ if (this.o != null) {
1463
+ this.o.focus(a);
1464
+ }
1465
+ if (!this.u.ao && this.as == true) {
1466
+ if (this.ah == false) {
1467
+ if (this.aq == false) {
1468
+ this.c0();
1469
+ this.ah = true;
1470
+ window.setTimeout(() => this.cl(), 0);
1471
+ }
1472
+ else {
1473
+ if (this.as == true && this.ao == false) {
1474
+ this.c0();
1475
+ this.ah = true;
1476
+ window.setTimeout(() => this.cl(), 0);
1477
+ }
1478
+ }
1479
+ }
1480
+ else {
1481
+ this.ah = false;
1482
+ }
1483
+ }
1484
+ }
1485
+ cm() {
1486
+ this.ah = false;
1487
+ }
1488
+ c3() {
1489
+ if (this.o != null) {
1490
+ this.o.dp();
1491
+ }
1492
+ }
1493
+ cl() {
1494
+ this.c.cq();
1495
+ }
1496
+ ct() {
1497
+ let a = new GotFocusEventArgs();
1498
+ this.cv(a);
1499
+ }
1500
+ cu() {
1501
+ let a = new LostFocusEventArgs();
1502
+ this.cx(a);
1503
+ }
1504
+ c6() {
1505
+ }
1506
+ c4() {
1507
+ }
1508
+ a8() {
1509
+ return this.b();
1510
+ }
1511
+ bo() {
1512
+ let a = this.b();
1513
+ return a.g();
1514
+ }
1515
+ b() {
1516
+ let a = new DatePickerVisualModelExport();
1517
+ a.e = this.y;
1518
+ a.d = this.w;
1519
+ a.c = this.u.ay();
1520
+ a.b = this.q.fe();
1521
+ a.a = this.c.bj();
1522
+ if (this.ad != null) {
1523
+ let b = this.ad;
1524
+ if (this.h != null && b.n == null) {
1525
+ let c = this.h.d;
1526
+ let d = FontUtil.getFontInfoFromString(c, b.fontString);
1527
+ b.n = d.n;
1528
+ b.d = d.d;
1529
+ b.o = d.o;
1530
+ b.q = d.q;
1531
+ b.r = d.r;
1532
+ b.s = d.s;
1533
+ }
1534
+ if (b.n != null) {
1535
+ a.h = b.n;
1536
+ }
1537
+ if (!isNaN_(b.d)) {
1538
+ a.f = b.d;
1539
+ }
1540
+ if (b.s != null) {
1541
+ a.l = b.s;
1542
+ }
1543
+ if (b.q != null) {
1544
+ a.j = b.q;
1545
+ }
1546
+ if (b.o != null) {
1547
+ a.i = b.q;
1548
+ }
1549
+ }
1550
+ return a;
1551
+ }
1552
+ cv(a) {
1553
+ if (null != this.gotFocus) {
1554
+ this.gotFocus(this, a);
1555
+ }
1556
+ }
1557
+ cx(a) {
1558
+ if (null != this.lostFocus) {
1559
+ this.lostFocus(this, a);
1560
+ }
1561
+ }
1562
+ cw(a) {
1563
+ if (null != this.keyDown) {
1564
+ this.keyDown(this, a);
1565
+ }
1566
+ }
1567
+ cs(a) {
1568
+ if (null != this.changing) {
1569
+ this.changing(this, a);
1570
+ }
1571
+ }
1572
+ }
1573
+ DatePicker.$t = 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";
1576
+ DatePicker.ab = null;
1577
+ return DatePicker;
1578
+ })();