igniteui-webcomponents-inputs 7.1.1-beta.0 → 7.1.1-beta.2

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 (552) hide show
  1. package/fesm2022/igniteui-webcomponents-inputs.mjs +40140 -0
  2. package/igniteui-webcomponents-inputs.d.ts +9883 -1
  3. package/package.json +13 -9
  4. package/bundles/igniteui-webcomponents-inputs.umd.js +0 -47852
  5. package/bundles/igniteui-webcomponents-inputs.umd.min.js +0 -7
  6. package/esm2015/igniteui-webcomponents-inputs.js +0 -1
  7. package/esm2015/lib/ButtonClickEventArgs.js +0 -14
  8. package/esm2015/lib/ButtonDisplayStyle.js +0 -11
  9. package/esm2015/lib/ButtonGroupDisplayStyle.js +0 -11
  10. package/esm2015/lib/ButtonGroupOrientation.js +0 -16
  11. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +0 -14
  12. package/esm2015/lib/ButtonGroupView.js +0 -7
  13. package/esm2015/lib/ButtonGroupView_combined.js +0 -1343
  14. package/esm2015/lib/ButtonGroupVisualModelExport.js +0 -62
  15. package/esm2015/lib/ButtonView.js +0 -7
  16. package/esm2015/lib/ButtonView_combined.js +0 -3668
  17. package/esm2015/lib/ButtonVisualModelExport.js +0 -108
  18. package/esm2015/lib/CalendarView.js +0 -7
  19. package/esm2015/lib/CalendarView_combined.js +0 -2803
  20. package/esm2015/lib/CalendarVisualModelExport.js +0 -98
  21. package/esm2015/lib/CheckboxChangeEventArgs.js +0 -31
  22. package/esm2015/lib/CheckboxLabelPosition.js +0 -11
  23. package/esm2015/lib/CheckboxListVisualModelExport.js +0 -41
  24. package/esm2015/lib/CheckboxView.js +0 -7
  25. package/esm2015/lib/CheckboxView_combined.js +0 -1123
  26. package/esm2015/lib/CheckboxVisualModelExport.js +0 -68
  27. package/esm2015/lib/ColorEditor.js +0 -7
  28. package/esm2015/lib/ColorEditorBridge.js +0 -7
  29. package/esm2015/lib/ColorEditorGotFocusEventArgs.js +0 -14
  30. package/esm2015/lib/ColorEditorLostFocusEventArgs.js +0 -14
  31. package/esm2015/lib/ColorEditorPanel.js +0 -7
  32. package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +0 -14
  33. package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -31
  34. package/esm2015/lib/ColorEditorPanelView.js +0 -7
  35. package/esm2015/lib/ColorEditorView.js +0 -7
  36. package/esm2015/lib/ColorEditorVisualModelExport.js +0 -38
  37. package/esm2015/lib/DateFormats.js +0 -25
  38. package/esm2015/lib/DatePickerView.js +0 -7
  39. package/esm2015/lib/DatePickerView_combined.js +0 -1707
  40. package/esm2015/lib/DatePickerVisualModelExport.js +0 -68
  41. package/esm2015/lib/DateTimeValueFormatter.js +0 -106
  42. package/esm2015/lib/DayInfo.js +0 -21
  43. package/esm2015/lib/DayOfWeek.js +0 -45
  44. package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +0 -111
  45. package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +0 -206
  46. package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -168
  47. package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +0 -191
  48. package/esm2015/lib/DefaultMultiTrackShadeVisual.js +0 -170
  49. package/esm2015/lib/ElevationHelper.js +0 -65
  50. package/esm2015/lib/FirstWeek.js +0 -29
  51. package/esm2015/lib/GotFocusEventArgs.js +0 -14
  52. package/esm2015/lib/IMultiSliderTrackBarVisual.js +0 -11
  53. package/esm2015/lib/IMultiSliderTrackRangeVisual.js +0 -11
  54. package/esm2015/lib/IMultiSliderTrackShadeVisual.js +0 -11
  55. package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
  56. package/esm2015/lib/IMultiSliderTrackThumbVisual.js +0 -11
  57. package/esm2015/lib/ISliderTrackOwner.js +0 -11
  58. package/esm2015/lib/IconClickedEventArgs.js +0 -24
  59. package/esm2015/lib/IconView.js +0 -7
  60. package/esm2015/lib/IconViewType.js +0 -11
  61. package/esm2015/lib/IconView_combined.js +0 -1318
  62. package/esm2015/lib/IconVisualModelExport.js +0 -89
  63. package/esm2015/lib/InputChangeEventArgs.js +0 -31
  64. package/esm2015/lib/InputGroupDisplayType.js +0 -18
  65. package/esm2015/lib/InputGroupView.js +0 -7
  66. package/esm2015/lib/InputGroupView_combined.js +0 -5638
  67. package/esm2015/lib/InputGroupVisualModelExport.js +0 -107
  68. package/esm2015/lib/InputShiftType.js +0 -17
  69. package/esm2015/lib/InputView.js +0 -7
  70. package/esm2015/lib/InputVisualModelExport.js +0 -78
  71. package/esm2015/lib/KEYCODES.js +0 -11
  72. package/esm2015/lib/LabelShiftType.js +0 -17
  73. package/esm2015/lib/LabelView.js +0 -7
  74. package/esm2015/lib/LabelVisualModelExport.js +0 -82
  75. package/esm2015/lib/LostFocusEventArgs.js +0 -14
  76. package/esm2015/lib/MaskOptions.js +0 -19
  77. package/esm2015/lib/MaskParsingService.js +0 -211
  78. package/esm2015/lib/MultiSlider.js +0 -7
  79. package/esm2015/lib/MultiSliderBridge.js +0 -163
  80. package/esm2015/lib/MultiSliderCursor.js +0 -11
  81. package/esm2015/lib/MultiSliderHitInfo.js +0 -20
  82. package/esm2015/lib/MultiSliderOrientation.js +0 -17
  83. package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -31
  84. package/esm2015/lib/MultiSliderThumb.js +0 -7
  85. package/esm2015/lib/MultiSliderThumbCollection.js +0 -19
  86. package/esm2015/lib/MultiSliderThumbRangePosition.js +0 -16
  87. package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +0 -19
  88. package/esm2015/lib/MultiSliderThumb_combined.js +0 -293
  89. package/esm2015/lib/MultiSliderTrackShadeOrientation.js +0 -11
  90. package/esm2015/lib/MultiSliderTrackThumbRange.js +0 -7
  91. package/esm2015/lib/MultiSliderView.js +0 -7
  92. package/esm2015/lib/MultiSliderView_combined.js +0 -1779
  93. package/esm2015/lib/MultiSliderVisualArea.js +0 -11
  94. package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +0 -18
  95. package/esm2015/lib/NativeUIXInputsFactory.js +0 -7
  96. package/esm2015/lib/NativeUIXInputsFactory_combined.js +0 -2132
  97. package/esm2015/lib/PrefixShiftType.js +0 -17
  98. package/esm2015/lib/PrefixView.js +0 -7
  99. package/esm2015/lib/PrefixVisualModelExport.js +0 -33
  100. package/esm2015/lib/Replaced.js +0 -19
  101. package/esm2015/lib/RippleView.js +0 -7
  102. package/esm2015/lib/RippleView_combined.js +0 -392
  103. package/esm2015/lib/RippleVisualModelExport.js +0 -36
  104. package/esm2015/lib/SelectedValueChangedEventArgs.js +0 -31
  105. package/esm2015/lib/SuffixShiftType.js +0 -17
  106. package/esm2015/lib/SuffixView.js +0 -7
  107. package/esm2015/lib/SuffixVisualModelExport.js +0 -32
  108. package/esm2015/lib/TextBlockVisualModelExport.js +0 -62
  109. package/esm2015/lib/TextElementsVisualModelExport.js +0 -42
  110. package/esm2015/lib/Theme.js +0 -46
  111. package/esm2015/lib/ThemeResolver.js +0 -190
  112. package/esm2015/lib/XButton.js +0 -7
  113. package/esm2015/lib/XButtonBridge.js +0 -326
  114. package/esm2015/lib/XButtonGroup.js +0 -7
  115. package/esm2015/lib/XButtonGroupBridge.js +0 -185
  116. package/esm2015/lib/XButtonGroupButtonCollection.js +0 -26
  117. package/esm2015/lib/XCalendar.js +0 -7
  118. package/esm2015/lib/XCalendarLocaleEn.js +0 -56
  119. package/esm2015/lib/XCheckbox.js +0 -7
  120. package/esm2015/lib/XCheckboxBridge.js +0 -96
  121. package/esm2015/lib/XComponentBridge.js +0 -51
  122. package/esm2015/lib/XDatePicker.js +0 -7
  123. package/esm2015/lib/XIcon.js +0 -7
  124. package/esm2015/lib/XIconBridge.js +0 -128
  125. package/esm2015/lib/XIconButtonBridge.js +0 -75
  126. package/esm2015/lib/XInput.js +0 -7
  127. package/esm2015/lib/XInputBridge.js +0 -474
  128. package/esm2015/lib/XInputGroup.js +0 -7
  129. package/esm2015/lib/XInputGroupInputCollection.js +0 -7
  130. package/esm2015/lib/XInputGroupItem.js +0 -7
  131. package/esm2015/lib/XLabel.js +0 -7
  132. package/esm2015/lib/XPopupBridge.js +0 -323
  133. package/esm2015/lib/XPrefix.js +0 -7
  134. package/esm2015/lib/XRipple.js +0 -7
  135. package/esm2015/lib/XSuffix.js +0 -7
  136. package/esm2015/lib/igc-button-click-event-args.js +0 -30
  137. package/esm2015/lib/igc-button-group-selection-changed-event-args.js +0 -30
  138. package/esm2015/lib/igc-checkbox-change-event-args.js +0 -43
  139. package/esm2015/lib/igc-color-editor-component.js +0 -550
  140. package/esm2015/lib/igc-color-editor-got-focus-event-args.js +0 -30
  141. package/esm2015/lib/igc-color-editor-lost-focus-event-args.js +0 -30
  142. package/esm2015/lib/igc-color-editor-module.js +0 -19
  143. package/esm2015/lib/igc-color-editor-panel-closed-event-args.js +0 -30
  144. package/esm2015/lib/igc-color-editor-panel-component.js +0 -434
  145. package/esm2015/lib/igc-color-editor-panel-module.js +0 -25
  146. package/esm2015/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -43
  147. package/esm2015/lib/igc-got-focus-event-args.js +0 -30
  148. package/esm2015/lib/igc-input-change-event-args.js +0 -43
  149. package/esm2015/lib/igc-lost-focus-event-args.js +0 -30
  150. package/esm2015/lib/igc-multi-slider-component.js +0 -683
  151. package/esm2015/lib/igc-multi-slider-module.js +0 -17
  152. package/esm2015/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -42
  153. package/esm2015/lib/igc-multi-slider-thumb-collection.js +0 -53
  154. package/esm2015/lib/igc-multi-slider-thumb-component.js +0 -271
  155. package/esm2015/lib/igc-multi-slider-thumb-module.js +0 -16
  156. package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -54
  157. package/esm2015/lib/igc-multi-slider-track-thumb-range.js +0 -103
  158. package/esm2015/lib/igc-multi-slider-y-value-changing-event-args.js +0 -36
  159. package/esm2015/lib/igc-selected-value-changed-event-args.js +0 -42
  160. package/esm2015/lib/igc-x-button-component.js +0 -2398
  161. package/esm2015/lib/igc-x-button-group-button-collection.js +0 -53
  162. package/esm2015/lib/igc-x-button-group-component.js +0 -1023
  163. package/esm2015/lib/igc-x-button-group-module.js +0 -21
  164. package/esm2015/lib/igc-x-button-module.js +0 -21
  165. package/esm2015/lib/igc-x-calendar-component.js +0 -511
  166. package/esm2015/lib/igc-x-calendar-locale-en-module.js +0 -13
  167. package/esm2015/lib/igc-x-calendar-module.js +0 -21
  168. package/esm2015/lib/igc-x-checkbox-component.js +0 -626
  169. package/esm2015/lib/igc-x-checkbox-module.js +0 -21
  170. package/esm2015/lib/igc-x-date-picker-component.js +0 -680
  171. package/esm2015/lib/igc-x-date-picker-module.js +0 -25
  172. package/esm2015/lib/igc-x-icon-component.js +0 -705
  173. package/esm2015/lib/igc-x-icon-module.js +0 -19
  174. package/esm2015/lib/igc-x-input-component.js +0 -603
  175. package/esm2015/lib/igc-x-input-group-component.js +0 -2356
  176. package/esm2015/lib/igc-x-input-group-input-collection.js +0 -53
  177. package/esm2015/lib/igc-x-input-group-item-component.js +0 -198
  178. package/esm2015/lib/igc-x-input-group-module.js +0 -23
  179. package/esm2015/lib/igc-x-input-module.js +0 -19
  180. package/esm2015/lib/igc-x-label-component.js +0 -413
  181. package/esm2015/lib/igc-x-label-module.js +0 -19
  182. package/esm2015/lib/igc-x-prefix-component.js +0 -186
  183. package/esm2015/lib/igc-x-prefix-module.js +0 -19
  184. package/esm2015/lib/igc-x-ripple-component.js +0 -385
  185. package/esm2015/lib/igc-x-ripple-module.js +0 -17
  186. package/esm2015/lib/igc-x-suffix-component.js +0 -186
  187. package/esm2015/public_api.js +0 -169
  188. package/esm5/igniteui-webcomponents-inputs.js +0 -1
  189. package/esm5/lib/ButtonClickEventArgs.js +0 -19
  190. package/esm5/lib/ButtonDisplayStyle.js +0 -11
  191. package/esm5/lib/ButtonGroupDisplayStyle.js +0 -11
  192. package/esm5/lib/ButtonGroupOrientation.js +0 -16
  193. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +0 -19
  194. package/esm5/lib/ButtonGroupView.js +0 -7
  195. package/esm5/lib/ButtonGroupView_combined.js +0 -1713
  196. package/esm5/lib/ButtonGroupVisualModelExport.js +0 -65
  197. package/esm5/lib/ButtonView.js +0 -7
  198. package/esm5/lib/ButtonView_combined.js +0 -4368
  199. package/esm5/lib/ButtonVisualModelExport.js +0 -111
  200. package/esm5/lib/CalendarView.js +0 -7
  201. package/esm5/lib/CalendarView_combined.js +0 -2929
  202. package/esm5/lib/CalendarVisualModelExport.js +0 -101
  203. package/esm5/lib/CheckboxChangeEventArgs.js +0 -42
  204. package/esm5/lib/CheckboxLabelPosition.js +0 -11
  205. package/esm5/lib/CheckboxListVisualModelExport.js +0 -44
  206. package/esm5/lib/CheckboxView.js +0 -7
  207. package/esm5/lib/CheckboxView_combined.js +0 -1327
  208. package/esm5/lib/CheckboxVisualModelExport.js +0 -71
  209. package/esm5/lib/ColorEditor.js +0 -7
  210. package/esm5/lib/ColorEditorBridge.js +0 -7
  211. package/esm5/lib/ColorEditorGotFocusEventArgs.js +0 -19
  212. package/esm5/lib/ColorEditorLostFocusEventArgs.js +0 -19
  213. package/esm5/lib/ColorEditorPanel.js +0 -7
  214. package/esm5/lib/ColorEditorPanelClosedEventArgs.js +0 -19
  215. package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -42
  216. package/esm5/lib/ColorEditorPanelView.js +0 -7
  217. package/esm5/lib/ColorEditorView.js +0 -7
  218. package/esm5/lib/ColorEditorVisualModelExport.js +0 -41
  219. package/esm5/lib/DateFormats.js +0 -25
  220. package/esm5/lib/DatePickerView.js +0 -7
  221. package/esm5/lib/DatePickerView_combined.js +0 -1833
  222. package/esm5/lib/DatePickerVisualModelExport.js +0 -71
  223. package/esm5/lib/DateTimeValueFormatter.js +0 -109
  224. package/esm5/lib/DayInfo.js +0 -24
  225. package/esm5/lib/DayOfWeek.js +0 -45
  226. package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +0 -138
  227. package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +0 -241
  228. package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -211
  229. package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +0 -226
  230. package/esm5/lib/DefaultMultiTrackShadeVisual.js +0 -205
  231. package/esm5/lib/ElevationHelper.js +0 -70
  232. package/esm5/lib/FirstWeek.js +0 -29
  233. package/esm5/lib/GotFocusEventArgs.js +0 -19
  234. package/esm5/lib/IMultiSliderTrackBarVisual.js +0 -11
  235. package/esm5/lib/IMultiSliderTrackRangeVisual.js +0 -11
  236. package/esm5/lib/IMultiSliderTrackShadeVisual.js +0 -11
  237. package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
  238. package/esm5/lib/IMultiSliderTrackThumbVisual.js +0 -11
  239. package/esm5/lib/ISliderTrackOwner.js +0 -11
  240. package/esm5/lib/IconClickedEventArgs.js +0 -31
  241. package/esm5/lib/IconView.js +0 -7
  242. package/esm5/lib/IconViewType.js +0 -11
  243. package/esm5/lib/IconView_combined.js +0 -1590
  244. package/esm5/lib/IconVisualModelExport.js +0 -100
  245. package/esm5/lib/InputChangeEventArgs.js +0 -42
  246. package/esm5/lib/InputGroupDisplayType.js +0 -18
  247. package/esm5/lib/InputGroupView.js +0 -7
  248. package/esm5/lib/InputGroupView_combined.js +0 -6792
  249. package/esm5/lib/InputGroupVisualModelExport.js +0 -110
  250. package/esm5/lib/InputShiftType.js +0 -17
  251. package/esm5/lib/InputView.js +0 -7
  252. package/esm5/lib/InputVisualModelExport.js +0 -81
  253. package/esm5/lib/KEYCODES.js +0 -11
  254. package/esm5/lib/LabelShiftType.js +0 -17
  255. package/esm5/lib/LabelView.js +0 -7
  256. package/esm5/lib/LabelVisualModelExport.js +0 -85
  257. package/esm5/lib/LostFocusEventArgs.js +0 -19
  258. package/esm5/lib/MaskOptions.js +0 -22
  259. package/esm5/lib/MaskParsingService.js +0 -266
  260. package/esm5/lib/MultiSlider.js +0 -7
  261. package/esm5/lib/MultiSliderBridge.js +0 -166
  262. package/esm5/lib/MultiSliderCursor.js +0 -11
  263. package/esm5/lib/MultiSliderHitInfo.js +0 -23
  264. package/esm5/lib/MultiSliderOrientation.js +0 -17
  265. package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -42
  266. package/esm5/lib/MultiSliderThumb.js +0 -7
  267. package/esm5/lib/MultiSliderThumbCollection.js +0 -21
  268. package/esm5/lib/MultiSliderThumbRangePosition.js +0 -16
  269. package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +0 -22
  270. package/esm5/lib/MultiSliderThumb_combined.js +0 -350
  271. package/esm5/lib/MultiSliderTrackShadeOrientation.js +0 -11
  272. package/esm5/lib/MultiSliderTrackThumbRange.js +0 -7
  273. package/esm5/lib/MultiSliderView.js +0 -7
  274. package/esm5/lib/MultiSliderView_combined.js +0 -2002
  275. package/esm5/lib/MultiSliderVisualArea.js +0 -11
  276. package/esm5/lib/MultiSliderYValueChangingEventArgs.js +0 -21
  277. package/esm5/lib/NativeUIXInputsFactory.js +0 -7
  278. package/esm5/lib/NativeUIXInputsFactory_combined.js +0 -2327
  279. package/esm5/lib/PrefixShiftType.js +0 -17
  280. package/esm5/lib/PrefixView.js +0 -7
  281. package/esm5/lib/PrefixVisualModelExport.js +0 -36
  282. package/esm5/lib/Replaced.js +0 -22
  283. package/esm5/lib/RippleView.js +0 -7
  284. package/esm5/lib/RippleView_combined.js +0 -489
  285. package/esm5/lib/RippleVisualModelExport.js +0 -39
  286. package/esm5/lib/SelectedValueChangedEventArgs.js +0 -42
  287. package/esm5/lib/SuffixShiftType.js +0 -17
  288. package/esm5/lib/SuffixView.js +0 -7
  289. package/esm5/lib/SuffixVisualModelExport.js +0 -35
  290. package/esm5/lib/TextBlockVisualModelExport.js +0 -65
  291. package/esm5/lib/TextElementsVisualModelExport.js +0 -45
  292. package/esm5/lib/Theme.js +0 -57
  293. package/esm5/lib/ThemeResolver.js +0 -197
  294. package/esm5/lib/XButton.js +0 -7
  295. package/esm5/lib/XButtonBridge.js +0 -329
  296. package/esm5/lib/XButtonGroup.js +0 -7
  297. package/esm5/lib/XButtonGroupBridge.js +0 -188
  298. package/esm5/lib/XButtonGroupButtonCollection.js +0 -29
  299. package/esm5/lib/XCalendar.js +0 -7
  300. package/esm5/lib/XCalendarLocaleEn.js +0 -58
  301. package/esm5/lib/XCheckbox.js +0 -7
  302. package/esm5/lib/XCheckboxBridge.js +0 -99
  303. package/esm5/lib/XComponentBridge.js +0 -58
  304. package/esm5/lib/XDatePicker.js +0 -7
  305. package/esm5/lib/XIcon.js +0 -7
  306. package/esm5/lib/XIconBridge.js +0 -131
  307. package/esm5/lib/XIconButtonBridge.js +0 -78
  308. package/esm5/lib/XInput.js +0 -7
  309. package/esm5/lib/XInputBridge.js +0 -477
  310. package/esm5/lib/XInputGroup.js +0 -7
  311. package/esm5/lib/XInputGroupInputCollection.js +0 -7
  312. package/esm5/lib/XInputGroupItem.js +0 -7
  313. package/esm5/lib/XLabel.js +0 -7
  314. package/esm5/lib/XPopupBridge.js +0 -326
  315. package/esm5/lib/XPrefix.js +0 -7
  316. package/esm5/lib/XRipple.js +0 -7
  317. package/esm5/lib/XSuffix.js +0 -7
  318. package/esm5/lib/igc-button-click-event-args.js +0 -36
  319. package/esm5/lib/igc-button-group-selection-changed-event-args.js +0 -36
  320. package/esm5/lib/igc-checkbox-change-event-args.js +0 -57
  321. package/esm5/lib/igc-color-editor-component.js +0 -663
  322. package/esm5/lib/igc-color-editor-got-focus-event-args.js +0 -36
  323. package/esm5/lib/igc-color-editor-lost-focus-event-args.js +0 -36
  324. package/esm5/lib/igc-color-editor-module.js +0 -23
  325. package/esm5/lib/igc-color-editor-panel-closed-event-args.js +0 -36
  326. package/esm5/lib/igc-color-editor-panel-component.js +0 -521
  327. package/esm5/lib/igc-color-editor-panel-module.js +0 -29
  328. package/esm5/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -57
  329. package/esm5/lib/igc-got-focus-event-args.js +0 -36
  330. package/esm5/lib/igc-input-change-event-args.js +0 -57
  331. package/esm5/lib/igc-lost-focus-event-args.js +0 -36
  332. package/esm5/lib/igc-multi-slider-component.js +0 -888
  333. package/esm5/lib/igc-multi-slider-module.js +0 -21
  334. package/esm5/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -56
  335. package/esm5/lib/igc-multi-slider-thumb-collection.js +0 -58
  336. package/esm5/lib/igc-multi-slider-thumb-component.js +0 -300
  337. package/esm5/lib/igc-multi-slider-thumb-module.js +0 -20
  338. package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -68
  339. package/esm5/lib/igc-multi-slider-track-thumb-range.js +0 -133
  340. package/esm5/lib/igc-multi-slider-y-value-changing-event-args.js +0 -46
  341. package/esm5/lib/igc-selected-value-changed-event-args.js +0 -56
  342. package/esm5/lib/igc-x-button-component.js +0 -3162
  343. package/esm5/lib/igc-x-button-group-button-collection.js +0 -58
  344. package/esm5/lib/igc-x-button-group-component.js +0 -1322
  345. package/esm5/lib/igc-x-button-group-module.js +0 -25
  346. package/esm5/lib/igc-x-button-module.js +0 -25
  347. package/esm5/lib/igc-x-calendar-component.js +0 -625
  348. package/esm5/lib/igc-x-calendar-locale-en-module.js +0 -17
  349. package/esm5/lib/igc-x-calendar-module.js +0 -25
  350. package/esm5/lib/igc-x-checkbox-component.js +0 -792
  351. package/esm5/lib/igc-x-checkbox-module.js +0 -25
  352. package/esm5/lib/igc-x-date-picker-component.js +0 -834
  353. package/esm5/lib/igc-x-date-picker-module.js +0 -29
  354. package/esm5/lib/igc-x-icon-component.js +0 -898
  355. package/esm5/lib/igc-x-icon-module.js +0 -23
  356. package/esm5/lib/igc-x-input-component.js +0 -763
  357. package/esm5/lib/igc-x-input-group-component.js +0 -3034
  358. package/esm5/lib/igc-x-input-group-input-collection.js +0 -58
  359. package/esm5/lib/igc-x-input-group-item-component.js +0 -214
  360. package/esm5/lib/igc-x-input-group-module.js +0 -27
  361. package/esm5/lib/igc-x-input-module.js +0 -23
  362. package/esm5/lib/igc-x-label-component.js +0 -538
  363. package/esm5/lib/igc-x-label-module.js +0 -23
  364. package/esm5/lib/igc-x-prefix-component.js +0 -227
  365. package/esm5/lib/igc-x-prefix-module.js +0 -23
  366. package/esm5/lib/igc-x-ripple-component.js +0 -453
  367. package/esm5/lib/igc-x-ripple-module.js +0 -21
  368. package/esm5/lib/igc-x-suffix-component.js +0 -227
  369. package/esm5/public_api.js +0 -169
  370. package/fesm2015/igniteui-webcomponents-inputs.js +0 -40191
  371. package/fesm5/igniteui-webcomponents-inputs.js +0 -47666
  372. package/lib/ButtonClickEventArgs.d.ts +0 -7
  373. package/lib/ButtonDisplayStyle.d.ts +0 -15
  374. package/lib/ButtonGroupDisplayStyle.d.ts +0 -12
  375. package/lib/ButtonGroupOrientation.d.ts +0 -9
  376. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +0 -7
  377. package/lib/ButtonGroupView.d.ts +0 -1
  378. package/lib/ButtonGroupView_combined.d.ts +0 -374
  379. package/lib/ButtonGroupVisualModelExport.d.ts +0 -28
  380. package/lib/ButtonView.d.ts +0 -1
  381. package/lib/ButtonView_combined.d.ts +0 -708
  382. package/lib/ButtonVisualModelExport.d.ts +0 -47
  383. package/lib/CalendarView.d.ts +0 -1
  384. package/lib/CalendarView_combined.d.ts +0 -234
  385. package/lib/CalendarVisualModelExport.d.ts +0 -33
  386. package/lib/CheckboxChangeEventArgs.d.ts +0 -13
  387. package/lib/CheckboxLabelPosition.d.ts +0 -12
  388. package/lib/CheckboxListVisualModelExport.d.ts +0 -18
  389. package/lib/CheckboxView.d.ts +0 -1
  390. package/lib/CheckboxView_combined.d.ts +0 -216
  391. package/lib/CheckboxVisualModelExport.d.ts +0 -32
  392. package/lib/ColorEditor.d.ts +0 -1
  393. package/lib/ColorEditorBridge.d.ts +0 -1
  394. package/lib/ColorEditorGotFocusEventArgs.d.ts +0 -7
  395. package/lib/ColorEditorLostFocusEventArgs.d.ts +0 -7
  396. package/lib/ColorEditorPanel.d.ts +0 -1
  397. package/lib/ColorEditorPanelClosedEventArgs.d.ts +0 -7
  398. package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +0 -14
  399. package/lib/ColorEditorPanelView.d.ts +0 -1
  400. package/lib/ColorEditorView.d.ts +0 -1
  401. package/lib/ColorEditorVisualModelExport.d.ts +0 -17
  402. package/lib/DateFormats.d.ts +0 -18
  403. package/lib/DatePickerView.d.ts +0 -1
  404. package/lib/DatePickerView_combined.d.ts +0 -247
  405. package/lib/DatePickerVisualModelExport.d.ts +0 -24
  406. package/lib/DateTimeValueFormatter.d.ts +0 -20
  407. package/lib/DayInfo.d.ts +0 -13
  408. package/lib/DayOfWeek.d.ts +0 -38
  409. package/lib/DefaultMultiSliderTrackBarVisual.d.ts +0 -34
  410. package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +0 -43
  411. package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +0 -49
  412. package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +0 -45
  413. package/lib/DefaultMultiTrackShadeVisual.d.ts +0 -42
  414. package/lib/ElevationHelper.d.ts +0 -16
  415. package/lib/FirstWeek.d.ts +0 -22
  416. package/lib/GotFocusEventArgs.d.ts +0 -7
  417. package/lib/IMultiSliderTrackBarVisual.d.ts +0 -21
  418. package/lib/IMultiSliderTrackRangeVisual.d.ts +0 -25
  419. package/lib/IMultiSliderTrackShadeVisual.d.ts +0 -24
  420. package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +0 -27
  421. package/lib/IMultiSliderTrackThumbVisual.d.ts +0 -27
  422. package/lib/ISliderTrackOwner.d.ts +0 -15
  423. package/lib/IconClickedEventArgs.d.ts +0 -10
  424. package/lib/IconView.d.ts +0 -1
  425. package/lib/IconViewType.d.ts +0 -16
  426. package/lib/IconView_combined.d.ts +0 -257
  427. package/lib/IconVisualModelExport.d.ts +0 -32
  428. package/lib/InputChangeEventArgs.d.ts +0 -13
  429. package/lib/InputGroupDisplayType.d.ts +0 -11
  430. package/lib/InputGroupView.d.ts +0 -1
  431. package/lib/InputGroupView_combined.d.ts +0 -1213
  432. package/lib/InputGroupVisualModelExport.d.ts +0 -44
  433. package/lib/InputShiftType.d.ts +0 -10
  434. package/lib/InputView.d.ts +0 -1
  435. package/lib/InputVisualModelExport.d.ts +0 -32
  436. package/lib/KEYCODES.d.ts +0 -27
  437. package/lib/LabelShiftType.d.ts +0 -10
  438. package/lib/LabelView.d.ts +0 -1
  439. package/lib/LabelVisualModelExport.d.ts +0 -34
  440. package/lib/LostFocusEventArgs.d.ts +0 -7
  441. package/lib/MaskOptions.d.ts +0 -9
  442. package/lib/MaskParsingService.d.ts +0 -19
  443. package/lib/MultiSlider.d.ts +0 -1
  444. package/lib/MultiSliderBridge.d.ts +0 -24
  445. package/lib/MultiSliderCursor.d.ts +0 -15
  446. package/lib/MultiSliderHitInfo.d.ts +0 -13
  447. package/lib/MultiSliderOrientation.d.ts +0 -10
  448. package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +0 -13
  449. package/lib/MultiSliderThumb.d.ts +0 -1
  450. package/lib/MultiSliderThumbCollection.d.ts +0 -10
  451. package/lib/MultiSliderThumbRangePosition.d.ts +0 -9
  452. package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +0 -10
  453. package/lib/MultiSliderThumb_combined.d.ts +0 -76
  454. package/lib/MultiSliderTrackShadeOrientation.d.ts +0 -14
  455. package/lib/MultiSliderTrackThumbRange.d.ts +0 -1
  456. package/lib/MultiSliderView.d.ts +0 -1
  457. package/lib/MultiSliderView_combined.d.ts +0 -298
  458. package/lib/MultiSliderVisualArea.d.ts +0 -14
  459. package/lib/MultiSliderYValueChangingEventArgs.d.ts +0 -8
  460. package/lib/NativeUIXInputsFactory.d.ts +0 -1
  461. package/lib/NativeUIXInputsFactory_combined.d.ts +0 -400
  462. package/lib/PrefixShiftType.d.ts +0 -10
  463. package/lib/PrefixView.d.ts +0 -1
  464. package/lib/PrefixVisualModelExport.d.ts +0 -13
  465. package/lib/Replaced.d.ts +0 -9
  466. package/lib/RippleView.d.ts +0 -1
  467. package/lib/RippleView_combined.d.ts +0 -98
  468. package/lib/RippleVisualModelExport.d.ts +0 -15
  469. package/lib/SelectedValueChangedEventArgs.d.ts +0 -13
  470. package/lib/SuffixShiftType.d.ts +0 -10
  471. package/lib/SuffixView.d.ts +0 -1
  472. package/lib/SuffixVisualModelExport.d.ts +0 -13
  473. package/lib/TextBlockVisualModelExport.d.ts +0 -21
  474. package/lib/TextElementsVisualModelExport.d.ts +0 -16
  475. package/lib/Theme.d.ts +0 -15
  476. package/lib/ThemeResolver.d.ts +0 -59
  477. package/lib/XButton.d.ts +0 -1
  478. package/lib/XButtonBridge.d.ts +0 -40
  479. package/lib/XButtonGroup.d.ts +0 -1
  480. package/lib/XButtonGroupBridge.d.ts +0 -29
  481. package/lib/XButtonGroupButtonCollection.d.ts +0 -12
  482. package/lib/XCalendar.d.ts +0 -1
  483. package/lib/XCalendarLocaleEn.d.ts +0 -49
  484. package/lib/XCheckbox.d.ts +0 -1
  485. package/lib/XCheckboxBridge.d.ts +0 -20
  486. package/lib/XComponentBridge.d.ts +0 -18
  487. package/lib/XDatePicker.d.ts +0 -1
  488. package/lib/XIcon.d.ts +0 -1
  489. package/lib/XIconBridge.d.ts +0 -18
  490. package/lib/XIconButtonBridge.d.ts +0 -16
  491. package/lib/XInput.d.ts +0 -1
  492. package/lib/XInputBridge.d.ts +0 -53
  493. package/lib/XInputGroup.d.ts +0 -1
  494. package/lib/XInputGroupInputCollection.d.ts +0 -1
  495. package/lib/XInputGroupItem.d.ts +0 -1
  496. package/lib/XLabel.d.ts +0 -1
  497. package/lib/XPopupBridge.d.ts +0 -57
  498. package/lib/XPrefix.d.ts +0 -1
  499. package/lib/XRipple.d.ts +0 -1
  500. package/lib/XSuffix.d.ts +0 -1
  501. package/lib/igc-button-click-event-args.d.ts +0 -12
  502. package/lib/igc-button-group-selection-changed-event-args.d.ts +0 -12
  503. package/lib/igc-checkbox-change-event-args.d.ts +0 -16
  504. package/lib/igc-color-editor-component.d.ts +0 -163
  505. package/lib/igc-color-editor-got-focus-event-args.d.ts +0 -12
  506. package/lib/igc-color-editor-lost-focus-event-args.d.ts +0 -12
  507. package/lib/igc-color-editor-module.d.ts +0 -3
  508. package/lib/igc-color-editor-panel-closed-event-args.d.ts +0 -12
  509. package/lib/igc-color-editor-panel-component.d.ts +0 -124
  510. package/lib/igc-color-editor-panel-module.d.ts +0 -3
  511. package/lib/igc-color-editor-panel-selected-value-changed-event-args.d.ts +0 -16
  512. package/lib/igc-got-focus-event-args.d.ts +0 -12
  513. package/lib/igc-input-change-event-args.d.ts +0 -16
  514. package/lib/igc-lost-focus-event-args.d.ts +0 -12
  515. package/lib/igc-multi-slider-component.d.ts +0 -174
  516. package/lib/igc-multi-slider-module.d.ts +0 -3
  517. package/lib/igc-multi-slider-resolving-tool-tip-value-event-args.d.ts +0 -16
  518. package/lib/igc-multi-slider-thumb-collection.d.ts +0 -8
  519. package/lib/igc-multi-slider-thumb-component.d.ts +0 -53
  520. package/lib/igc-multi-slider-thumb-module.d.ts +0 -3
  521. package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +0 -17
  522. package/lib/igc-multi-slider-track-thumb-range.d.ts +0 -26
  523. package/lib/igc-multi-slider-y-value-changing-event-args.d.ts +0 -14
  524. package/lib/igc-selected-value-changed-event-args.d.ts +0 -16
  525. package/lib/igc-x-button-component.d.ts +0 -902
  526. package/lib/igc-x-button-group-button-collection.d.ts +0 -8
  527. package/lib/igc-x-button-group-component.d.ts +0 -410
  528. package/lib/igc-x-button-group-module.d.ts +0 -3
  529. package/lib/igc-x-button-module.d.ts +0 -3
  530. package/lib/igc-x-calendar-component.d.ts +0 -181
  531. package/lib/igc-x-calendar-locale-en-module.d.ts +0 -3
  532. package/lib/igc-x-calendar-module.d.ts +0 -3
  533. package/lib/igc-x-checkbox-component.d.ts +0 -232
  534. package/lib/igc-x-checkbox-module.d.ts +0 -3
  535. package/lib/igc-x-date-picker-component.d.ts +0 -226
  536. package/lib/igc-x-date-picker-module.d.ts +0 -3
  537. package/lib/igc-x-icon-component.d.ts +0 -285
  538. package/lib/igc-x-icon-module.d.ts +0 -3
  539. package/lib/igc-x-input-component.d.ts +0 -194
  540. package/lib/igc-x-input-group-component.d.ts +0 -748
  541. package/lib/igc-x-input-group-input-collection.d.ts +0 -8
  542. package/lib/igc-x-input-group-item-component.d.ts +0 -41
  543. package/lib/igc-x-input-group-module.d.ts +0 -3
  544. package/lib/igc-x-input-module.d.ts +0 -3
  545. package/lib/igc-x-label-component.d.ts +0 -171
  546. package/lib/igc-x-label-module.d.ts +0 -3
  547. package/lib/igc-x-prefix-component.d.ts +0 -59
  548. package/lib/igc-x-prefix-module.d.ts +0 -3
  549. package/lib/igc-x-ripple-component.d.ts +0 -118
  550. package/lib/igc-x-ripple-module.d.ts +0 -3
  551. package/lib/igc-x-suffix-component.d.ts +0 -59
  552. package/public_api.d.ts +0 -169
@@ -1,1833 +0,0 @@
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 { __extends } from "tslib";
8
- import { Base, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, delegateRemove, enumGetBox, delegateCombine } from "igniteui-webcomponents-core";
9
- import { XInputGroup } from "./XInputGroup";
10
- import { XLabel } from "./XLabel";
11
- import { XInput } from "./XInput";
12
- import { XSuffix } from "./XSuffix";
13
- import { XIcon } from "./XIcon";
14
- import { Popup } from "igniteui-webcomponents-core";
15
- import { XCalendar } from "./XCalendar";
16
- import { Rect } from "igniteui-webcomponents-core";
17
- import { SRProvider } from "igniteui-webcomponents-core";
18
- import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
19
- import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
20
- import { DayOfWeek_$type } from "./DayOfWeek";
21
- import { FirstWeek_$type } from "./FirstWeek";
22
- import { DateFormats_$type } from "./DateFormats";
23
- import { BrushUtil } from "igniteui-webcomponents-core";
24
- import { DateTimeValueFormatter } from "./DateTimeValueFormatter";
25
- import { SelectedValueChangedEventArgs } from "./SelectedValueChangedEventArgs";
26
- import { GotFocusEventArgs } from "./GotFocusEventArgs";
27
- import { LostFocusEventArgs } from "./LostFocusEventArgs";
28
- import { DatePickerVisualModelExport } from "./DatePickerVisualModelExport";
29
- import { FontUtil } from "igniteui-webcomponents-core";
30
- import { dateMinValue, dateMaxValue, dateGetDate, dateFromValues, dateGetMonth } from "igniteui-webcomponents-core";
31
- import { stringContains, stringIsNullOrWhiteSpace, stringIsNullOrEmpty } from "igniteui-webcomponents-core";
32
- import { stringSplit } from "igniteui-webcomponents-core";
33
- import { isNaN_ } from "igniteui-webcomponents-core";
34
- /**
35
- * @hidden
36
- */
37
- export var DatePickerView = /** @class */ /*@__PURE__*/ (function (_super) {
38
- __extends(DatePickerView, _super);
39
- function DatePickerView() {
40
- var _this = _super.call(this) || this;
41
- _this.b = null;
42
- _this.d = null;
43
- _this.k = null;
44
- _this.e = null;
45
- _this.m = null;
46
- _this.l = null;
47
- _this.j = null;
48
- _this.g = null;
49
- _this.f = null;
50
- _this.i = null;
51
- _this.h = null;
52
- _this.o = null;
53
- _this.document_Click = _this.document_Click.bind(_this);
54
- _this.window_Resize = _this.window_Resize.bind(_this);
55
- return _this;
56
- }
57
- DatePickerView.prototype.am = function () {
58
- };
59
- Object.defineProperty(DatePickerView.prototype, "n", {
60
- get: function () {
61
- return this.e;
62
- },
63
- enumerable: false,
64
- configurable: true
65
- });
66
- DatePickerView.prototype.ak = function (a) {
67
- if (a == null) {
68
- this.b.cr();
69
- if (this.d != null) {
70
- var b = this.d.rootWrapper.getChildAt(0);
71
- b.unlistenAll();
72
- document.removeEventListener("click", this.document_Click, false);
73
- window.removeEventListener("resize", this.window_Resize, false);
74
- }
75
- this.d = null;
76
- return;
77
- }
78
- this.d = a;
79
- var c = Math.round(a.rootWrapper.width());
80
- var d = Math.round(a.rootWrapper.height());
81
- this.ad();
82
- this.ae();
83
- var e = this.d.rootWrapper.getChildAt(0);
84
- e.listen("keydown", runOn(this, this.y));
85
- e.listen("focusin", runOn(this, this.w));
86
- e.listen("focusout", runOn(this, this.x));
87
- document.addEventListener("click", this.document_Click, false);
88
- window.addEventListener("resize", this.window_Resize, false);
89
- this.o = new MutationObserver(runOn(this, this.al));
90
- };
91
- DatePickerView.prototype.ad = function () {
92
- if (this.d != null) {
93
- this.k = this.d.rootWrapper.getChildAt(0);
94
- this.k.setAttribute("tabIndex", this.b.bf.toString());
95
- this.k.setStyleProperty("display", "flex");
96
- this.k.setStyleProperty("height", "100%");
97
- this.l = this.d.createElement("div");
98
- this.j = this.d.createElement("div");
99
- this.j.setRawStyleProperty("flex-grow", "1");
100
- this.g = this.d.createElement("div");
101
- this.g.setAttribute("aria-hidden", "true");
102
- this.f = this.d.createElement("div");
103
- this.g.setStyleProperty("padding-right", "2px");
104
- this.i = this.d.createElement("div");
105
- this.i.setAttribute("aria-hidden", "true");
106
- this.h = this.d.createElement("div");
107
- this.b.cs();
108
- this.j.getChildAt(0).setAttribute("aria-expanded", "fasle");
109
- this.j.getChildAt(0).setAttribute("aria-invalid", "false");
110
- this.f.setStyleProperty("height", "16px");
111
- this.f.setStyleProperty("width", "16px");
112
- this.h.setStyleProperty("height", "16px");
113
- this.h.setStyleProperty("width", "16px");
114
- this.f.listen("click", runOn(this, this.ac));
115
- this.f.listen("mousedown", runOn(this, this.aa));
116
- this.f.listen("mouseleave", runOn(this, this.ab));
117
- this.h.listen("click", runOn(this, this.ag));
118
- }
119
- };
120
- DatePickerView.prototype.aq = function (a) {
121
- if (this.d != null) {
122
- var b = this.d.getSubRenderer(this.k);
123
- a.provideContainer(b);
124
- var c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
125
- }
126
- };
127
- DatePickerView.prototype.as = function (a) {
128
- if (this.d != null) {
129
- var b = this.d.getSubRenderer(this.l);
130
- a.provideContainer(b);
131
- var c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
132
- }
133
- };
134
- DatePickerView.prototype.ar = function (a) {
135
- if (this.d != null) {
136
- var b = this.d.getSubRenderer(this.j);
137
- a.provideContainer(b);
138
- var c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
139
- }
140
- };
141
- DatePickerView.prototype.au = function (a, b) {
142
- if (this.d != null) {
143
- var c = this.d.getSubRenderer(b);
144
- a.provideContainer(c);
145
- var d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
146
- }
147
- };
148
- DatePickerView.prototype.ap = function (a, b) {
149
- if (this.d != null) {
150
- var c = this.d.getSubRenderer(b);
151
- a.provideContainer(c);
152
- var d = c.getExternal(a, c.rootWrapper, this.d.getExternal(this.b, null, null));
153
- }
154
- };
155
- DatePickerView.prototype.v = function () {
156
- return this.l;
157
- };
158
- DatePickerView.prototype.u = function () {
159
- return this.j;
160
- };
161
- DatePickerView.prototype.r = function () {
162
- return this.g;
163
- };
164
- DatePickerView.prototype.q = function () {
165
- return this.f;
166
- };
167
- DatePickerView.prototype.t = function () {
168
- return this.i;
169
- };
170
- DatePickerView.prototype.s = function () {
171
- return this.h;
172
- };
173
- DatePickerView.prototype.aw = function (a) {
174
- if (this.j != null) {
175
- if (a) {
176
- this.j.getChildAt(0).setAttribute("aria-expanded", "true");
177
- }
178
- else {
179
- this.j.getChildAt(0).setAttribute("aria-expanded", "false");
180
- }
181
- }
182
- };
183
- DatePickerView.prototype.ay = function (a) {
184
- if (a != null && a != "") {
185
- this.j.getChildAt(0).setAttribute("aria-label", a);
186
- }
187
- else {
188
- this.j.getChildAt(0).setAttribute("aria-label", "Select a date");
189
- }
190
- };
191
- DatePickerView.prototype.av = function () {
192
- if (this.f != null) {
193
- if (this.b.a0 == true) {
194
- this.f.show();
195
- }
196
- else {
197
- this.f.hide();
198
- }
199
- }
200
- };
201
- DatePickerView.prototype.ah = function () {
202
- if (this.f != null) {
203
- this.f.hide();
204
- }
205
- };
206
- DatePickerView.prototype.ax = function () {
207
- this.k.setAttribute("tabIndex", this.b.bf.toString());
208
- };
209
- DatePickerView.prototype.an = function () {
210
- this.o.observe(document, { childList: true, subtree: true });
211
- };
212
- DatePickerView.prototype.aj = function () {
213
- this.o.disconnect();
214
- };
215
- DatePickerView.prototype.ae = function () {
216
- if (this.d != null) {
217
- this.m = this.d.rootWrapper.getChildAt(1);
218
- this.e = this.d.createElement("div");
219
- this.e.setStyleProperty("width", "100%");
220
- this.e.setStyleProperty("height", "100%");
221
- this.e.setStyleProperty("display", "flex");
222
- this.b.ct();
223
- this.e.parent().setStyleProperty("height", "100%");
224
- if (this.b.a2 == true) {
225
- this.e.parent().parent().setStyleProperty("max-width", "245px");
226
- }
227
- else {
228
- this.e.parent().parent().setStyleProperty("max-width", "232px");
229
- }
230
- }
231
- };
232
- DatePickerView.prototype.z = function () {
233
- if (this.d != null) {
234
- if (this.b.a2 == true) {
235
- this.e.parent().parent().setStyleProperty("max-width", "245px");
236
- }
237
- else {
238
- this.e.parent().parent().setStyleProperty("max-width", "232px");
239
- }
240
- }
241
- };
242
- DatePickerView.prototype.at = function (a) {
243
- if (this.d != null) {
244
- var b = this.d.getSubRenderer(this.m);
245
- a.provideRenderer(b);
246
- var c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
247
- }
248
- };
249
- DatePickerView.prototype.ao = function (a) {
250
- if (this.d != null) {
251
- var b = this.d.getSubRenderer(this.e);
252
- a.provideContainer(b);
253
- var c = b.getExternal(a, b.rootWrapper, this.d.getExternal(this.b, null, null));
254
- }
255
- };
256
- DatePickerView.prototype.p = function () {
257
- return this.e;
258
- };
259
- DatePickerView.prototype.ac = function (a) {
260
- if (this.b.av == true) {
261
- return;
262
- }
263
- this.b.cq();
264
- if (this.f != null) {
265
- this.f.hide();
266
- }
267
- };
268
- DatePickerView.prototype.aa = function (a) {
269
- this.b.c9();
270
- };
271
- DatePickerView.prototype.ab = function (a) {
272
- this.b.da();
273
- };
274
- DatePickerView.prototype.ag = function (a) {
275
- a.stopPropagation();
276
- this.b.cy();
277
- };
278
- DatePickerView.prototype.y = function (a) {
279
- var b = a.which;
280
- if (b == 27) {
281
- this.b.cr();
282
- }
283
- };
284
- DatePickerView.prototype.w = function (a) {
285
- this.b.focus();
286
- var b = (a.originalEvent.relatedTarget);
287
- if (!this.c(b)) {
288
- this.b.c4();
289
- }
290
- };
291
- DatePickerView.prototype.x = function (a) {
292
- var b = (a.originalEvent.relatedTarget);
293
- if (!this.c(b)) {
294
- this.b.cx();
295
- this.b.c5();
296
- }
297
- };
298
- DatePickerView.prototype.al = function (a, b) {
299
- if (this.d != null) {
300
- var c = this.d.rootWrapper.getNativeElement();
301
- if (!document.documentElement.contains(c)) {
302
- this.b.cr();
303
- }
304
- }
305
- else {
306
- this.b.cr();
307
- }
308
- };
309
- DatePickerView.prototype.document_Click = function (a) {
310
- var b = a.target;
311
- if (!this.c(b)) {
312
- this.b.cr();
313
- }
314
- };
315
- DatePickerView.prototype.window_Resize = function (a) {
316
- this.b.dn();
317
- };
318
- DatePickerView.prototype.a0 = function (a) {
319
- if (this.d != null) {
320
- var b = this.d.rootWrapper.getNativeElement();
321
- var c = (b.getBoundingClientRect());
322
- if (a) {
323
- c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
324
- }
325
- return c;
326
- }
327
- return null;
328
- };
329
- DatePickerView.prototype.a = function () {
330
- var a = (window.innerWidth);
331
- var b = (window.innerHeight);
332
- var c = new Array(2);
333
- c[0] = a;
334
- c[1] = b;
335
- return c;
336
- };
337
- DatePickerView.prototype.c = function (a) {
338
- if (null == a) {
339
- return false;
340
- }
341
- var b = this.d.rootWrapper.getNativeElement();
342
- var c = this.e.getNativeElement();
343
- return b.contains(a) || c.contains(a);
344
- };
345
- DatePickerView.prototype.ai = function () {
346
- };
347
- DatePickerView.$t = markType(DatePickerView, 'DatePickerView');
348
- return DatePickerView;
349
- }(Base));
350
- /**
351
- * @hidden
352
- */
353
- export var XDatePicker = /** @class */ /*@__PURE__*/ (function (_super) {
354
- __extends(XDatePicker, _super);
355
- function XDatePicker() {
356
- var _this = _super.call(this) || this;
357
- _this.h = null;
358
- _this.u = null;
359
- _this.q = null;
360
- _this.o = null;
361
- _this.r = null;
362
- _this.m = null;
363
- _this.n = null;
364
- _this.c = null;
365
- _this.bh = "dd";
366
- _this.bl = "mm";
367
- _this.bo = "yyyy";
368
- _this.bi = "mdy";
369
- _this.bn = "/";
370
- _this.ah = false;
371
- _this.at = false;
372
- _this.ar = false;
373
- _this.a6 = dateMinValue();
374
- _this.ai = false;
375
- _this.propertyChanged = null;
376
- _this.selectedValueChanged = null;
377
- _this.ae = null;
378
- _this.a8 = dateMinValue();
379
- _this.a7 = dateMinValue();
380
- _this.bk = "";
381
- _this.du = BrushUtil.l(255, 24, 29, 31);
382
- _this.z = null;
383
- _this.bm = "";
384
- _this.a5 = dateMinValue();
385
- _this.a4 = dateMaxValue();
386
- _this.x = 2;
387
- _this.v = 1;
388
- _this.aa = null;
389
- _this.dv = BrushUtil.l(255, 24, 29, 31);
390
- _this.dt = BrushUtil.l(255, 163, 172, 184);
391
- _this.ao = true;
392
- _this.ap = false;
393
- _this.ag = true;
394
- _this.an = true;
395
- _this.i = 0;
396
- _this.k = 0;
397
- _this.aq = false;
398
- _this.a = new DateTimeValueFormatter();
399
- _this.d = 0;
400
- _this.bj = null;
401
- _this.aj = false;
402
- _this.be = 0;
403
- _this.ak = false;
404
- _this.am = false;
405
- _this.as = false;
406
- _this.al = false;
407
- _this.gotFocus = null;
408
- _this.lostFocus = null;
409
- _this.keyDown = null;
410
- _this.changing = null;
411
- var a = new DatePickerView();
412
- a.b = _this;
413
- _this.h = a;
414
- _this.h.am();
415
- _this.cp();
416
- return _this;
417
- }
418
- XDatePicker.prototype.dc = function (a, b) {
419
- if (this.u != null) {
420
- this.ah = true;
421
- this.cr();
422
- }
423
- this.dm();
424
- if (this.selectedValueChanged != null) {
425
- this.selectedValueChanged(this, ((function () {
426
- var $ret = new SelectedValueChangedEventArgs();
427
- $ret.oldValue = a;
428
- $ret.newValue = b;
429
- return $ret;
430
- })()));
431
- }
432
- if (this.ai) {
433
- this.dg();
434
- }
435
- };
436
- XDatePicker.prototype.notifySizeChanged = function () {
437
- this.h.ai();
438
- };
439
- XDatePicker.prototype.destroy = function () {
440
- if (this.c != null) {
441
- var a = this.c;
442
- a.selectedValueChanged = delegateRemove(a.selectedValueChanged, runOn(this, this.co));
443
- var b = this.c;
444
- b.close = delegateRemove(b.close, runOn(this, this.cn));
445
- }
446
- this.provideContainer(null);
447
- };
448
- XDatePicker.prototype.provideContainer = function (a) {
449
- this.h.ak(a);
450
- };
451
- XDatePicker.prototype.setName = function (a) {
452
- this.o.e = a;
453
- };
454
- Object.defineProperty(XDatePicker.prototype, "af", {
455
- get: function () {
456
- if (this.ae == null) {
457
- this.ae = new SRProvider(this.h.d);
458
- this.ae.cb("Calendar");
459
- }
460
- return this.ae;
461
- },
462
- enumerable: false,
463
- configurable: true
464
- });
465
- Object.defineProperty(XDatePicker.prototype, "value", {
466
- get: function () {
467
- return this.a8;
468
- },
469
- set: function (a) {
470
- var b = this.a8;
471
- this.a6 = b;
472
- this.a8 = a;
473
- if (+b != +(this.a8)) {
474
- this.db("Value", b, this.a8);
475
- }
476
- },
477
- enumerable: false,
478
- configurable: true
479
- });
480
- Object.defineProperty(XDatePicker.prototype, "bb", {
481
- get: function () {
482
- return this.a7;
483
- },
484
- set: function (a) {
485
- var b = this.a7;
486
- this.a7 = a;
487
- if (+b != +(this.a7)) {
488
- this.db("Today", b, this.a7);
489
- }
490
- },
491
- enumerable: false,
492
- configurable: true
493
- });
494
- Object.defineProperty(XDatePicker.prototype, "b4", {
495
- get: function () {
496
- return this.bk;
497
- },
498
- set: function (a) {
499
- var b = this.bk;
500
- this.bk = a;
501
- if (b != this.bk) {
502
- this.db("Label", b, this.bk);
503
- }
504
- },
505
- enumerable: false,
506
- configurable: true
507
- });
508
- Object.defineProperty(XDatePicker.prototype, "dx", {
509
- get: function () {
510
- return this.du;
511
- },
512
- set: function (a) {
513
- var b = this.du;
514
- this.du = a;
515
- if (b != this.du) {
516
- this.db("LabelTextColor", b, a);
517
- }
518
- },
519
- enumerable: false,
520
- configurable: true
521
- });
522
- Object.defineProperty(XDatePicker.prototype, "ac", {
523
- get: function () {
524
- return this.z;
525
- },
526
- set: function (a) {
527
- var b = this.z;
528
- this.z = a;
529
- if (b != this.z) {
530
- this.db("LabelTextStyle", b, this.z);
531
- }
532
- },
533
- enumerable: false,
534
- configurable: true
535
- });
536
- Object.defineProperty(XDatePicker.prototype, "cc", {
537
- get: function () {
538
- return this.bm;
539
- },
540
- set: function (a) {
541
- var b = this.bm;
542
- this.bm = a;
543
- if (b != this.bm) {
544
- this.db("Placeholder", b, this.bm);
545
- }
546
- },
547
- enumerable: false,
548
- configurable: true
549
- });
550
- Object.defineProperty(XDatePicker.prototype, "ba", {
551
- get: function () {
552
- return this.a5;
553
- },
554
- set: function (a) {
555
- var b = this.a5;
556
- this.a5 = a;
557
- if (+b != +(this.a5)) {
558
- this.db("MinDate", b, this.a5);
559
- }
560
- },
561
- enumerable: false,
562
- configurable: true
563
- });
564
- Object.defineProperty(XDatePicker.prototype, "a9", {
565
- get: function () {
566
- return this.a4;
567
- },
568
- set: function (a) {
569
- var b = this.a4;
570
- this.a4 = a;
571
- if (+b != +(this.a4)) {
572
- this.db("MaxDate", b, this.a4);
573
- }
574
- },
575
- enumerable: false,
576
- configurable: true
577
- });
578
- Object.defineProperty(XDatePicker.prototype, "y", {
579
- get: function () {
580
- return this.x;
581
- },
582
- set: function (a) {
583
- var b = this.x;
584
- this.x = a;
585
- if (b != this.x) {
586
- this.db("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.x));
587
- }
588
- },
589
- enumerable: false,
590
- configurable: true
591
- });
592
- Object.defineProperty(XDatePicker.prototype, "w", {
593
- get: function () {
594
- return this.v;
595
- },
596
- set: function (a) {
597
- var b = this.v;
598
- this.v = a;
599
- if (b != this.v) {
600
- this.db("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.v));
601
- }
602
- },
603
- enumerable: false,
604
- configurable: true
605
- });
606
- Object.defineProperty(XDatePicker.prototype, "ad", {
607
- get: function () {
608
- return this.aa;
609
- },
610
- set: function (a) {
611
- var b = this.aa;
612
- this.aa = a;
613
- if (b != this.aa) {
614
- this.db("TextStyle", b, this.aa);
615
- }
616
- },
617
- enumerable: false,
618
- configurable: true
619
- });
620
- Object.defineProperty(XDatePicker.prototype, "dy", {
621
- get: function () {
622
- return this.dv;
623
- },
624
- set: function (a) {
625
- var b = this.dv;
626
- this.dv = a;
627
- if (b != this.dv) {
628
- this.db("TextColor", b, this.dv);
629
- }
630
- },
631
- enumerable: false,
632
- configurable: true
633
- });
634
- Object.defineProperty(XDatePicker.prototype, "dw", {
635
- get: function () {
636
- return this.dt;
637
- },
638
- set: function (a) {
639
- var b = this.dt;
640
- this.dt = a;
641
- if (b != this.dt) {
642
- this.db("IconColor", b, this.dt);
643
- }
644
- },
645
- enumerable: false,
646
- configurable: true
647
- });
648
- Object.defineProperty(XDatePicker.prototype, "a0", {
649
- get: function () {
650
- return this.ao;
651
- },
652
- set: function (a) {
653
- var b = this.ao;
654
- this.ao = a;
655
- if (b != this.ao) {
656
- this.db("ShowClearButton", b, this.ao);
657
- }
658
- },
659
- enumerable: false,
660
- configurable: true
661
- });
662
- Object.defineProperty(XDatePicker.prototype, "a1", {
663
- get: function () {
664
- return this.ap;
665
- },
666
- set: function (a) {
667
- var b = this.ap;
668
- this.ap = a;
669
- if (b != this.ap) {
670
- this.db("ShowTodayButton", b, this.ap);
671
- }
672
- },
673
- enumerable: false,
674
- configurable: true
675
- });
676
- Object.defineProperty(XDatePicker.prototype, "au", {
677
- get: function () {
678
- return this.ag;
679
- },
680
- set: function (a) {
681
- var b = this.ag;
682
- this.ag = a;
683
- if (b != this.ag) {
684
- this.db("AllowTextInput", b, this.ag);
685
- }
686
- },
687
- enumerable: false,
688
- configurable: true
689
- });
690
- Object.defineProperty(XDatePicker.prototype, "ay", {
691
- get: function () {
692
- return this.an;
693
- },
694
- set: function (a) {
695
- var b = this.an;
696
- this.an = a;
697
- if (b != this.an) {
698
- this.db("OpenOnFocus", b, this.an);
699
- }
700
- },
701
- enumerable: false,
702
- configurable: true
703
- });
704
- Object.defineProperty(XDatePicker.prototype, "j", {
705
- get: function () {
706
- return this.i;
707
- },
708
- set: function (a) {
709
- var b = this.i;
710
- this.i = a;
711
- if (b != this.i) {
712
- this.db("FirstDayOfWeek", enumGetBox(DayOfWeek_$type, b), enumGetBox(DayOfWeek_$type, this.i));
713
- }
714
- },
715
- enumerable: false,
716
- configurable: true
717
- });
718
- Object.defineProperty(XDatePicker.prototype, "l", {
719
- get: function () {
720
- return this.k;
721
- },
722
- set: function (a) {
723
- var b = this.k;
724
- this.k = a;
725
- if (b != this.k) {
726
- this.db("FirstWeekOfYear", enumGetBox(FirstWeek_$type, b), enumGetBox(FirstWeek_$type, this.k));
727
- }
728
- },
729
- enumerable: false,
730
- configurable: true
731
- });
732
- Object.defineProperty(XDatePicker.prototype, "a2", {
733
- get: function () {
734
- return this.aq;
735
- },
736
- set: function (a) {
737
- var b = this.aq;
738
- this.aq = a;
739
- if (b != this.aq) {
740
- this.db("ShowWeekNumbers", b, this.aq);
741
- }
742
- },
743
- enumerable: false,
744
- configurable: true
745
- });
746
- Object.defineProperty(XDatePicker.prototype, "e", {
747
- get: function () {
748
- return this.d;
749
- },
750
- set: function (a) {
751
- var b = this.d;
752
- this.d = a;
753
- if (this.d != b) {
754
- this.db("DateFormat", enumGetBox(DateFormats_$type, b), enumGetBox(DateFormats_$type, this.d));
755
- }
756
- },
757
- enumerable: false,
758
- configurable: true
759
- });
760
- Object.defineProperty(XDatePicker.prototype, "bz", {
761
- get: function () {
762
- return this.bj;
763
- },
764
- set: function (a) {
765
- var b = this.bj;
766
- this.bj = a;
767
- if (b != this.bj) {
768
- this.db("FormatString", b, this.bj);
769
- }
770
- },
771
- enumerable: false,
772
- configurable: true
773
- });
774
- Object.defineProperty(XDatePicker.prototype, "av", {
775
- get: function () {
776
- return this.aj;
777
- },
778
- set: function (a) {
779
- var b = this.aj;
780
- this.aj = a;
781
- if (b != this.aj) {
782
- this.db("IsDisabled", b, this.aj);
783
- }
784
- },
785
- enumerable: false,
786
- configurable: true
787
- });
788
- Object.defineProperty(XDatePicker.prototype, "bf", {
789
- get: function () {
790
- return this.be;
791
- },
792
- set: function (a) {
793
- var b = this.be;
794
- this.be = a;
795
- if (b != this.be) {
796
- this.db("TabIndex", b, this.be);
797
- }
798
- },
799
- enumerable: false,
800
- configurable: true
801
- });
802
- Object.defineProperty(XDatePicker.prototype, "aw", {
803
- get: function () {
804
- return this.ak;
805
- },
806
- set: function (a) {
807
- var b = this.ak;
808
- this.ak = a;
809
- if (b != this.ak) {
810
- this.db("IsFixed", b, this.ak);
811
- }
812
- },
813
- enumerable: false,
814
- configurable: true
815
- });
816
- Object.defineProperty(XDatePicker.prototype, "ax", {
817
- get: function () {
818
- return this.am;
819
- },
820
- set: function (a) {
821
- var b = this.am;
822
- this.am = a;
823
- if (b != this.am) {
824
- this.db("OpenAsChild", b, this.am);
825
- }
826
- },
827
- enumerable: false,
828
- configurable: true
829
- });
830
- Object.defineProperty(XDatePicker.prototype, "a3", {
831
- get: function () {
832
- return this.as;
833
- },
834
- set: function (a) {
835
- var b = this.as;
836
- this.as = a;
837
- if (b != this.as) {
838
- this.db("UseTopLayer", b, this.as);
839
- }
840
- },
841
- enumerable: false,
842
- configurable: true
843
- });
844
- XDatePicker.prototype.db = function (a, b, c) {
845
- if (this.propertyChanged != null) {
846
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
847
- }
848
- this.de(a, b, c);
849
- };
850
- XDatePicker.prototype.de = function (a, b, c) {
851
- switch (a) {
852
- case "Density":
853
- this.dh();
854
- break;
855
- case "BaseTheme":
856
- this.dj();
857
- break;
858
- case "Value":
859
- if (+(dateGetDate(this.value)) != +(dateGetDate(dateMinValue()))) {
860
- if (dateGetDate(this.value) < dateGetDate(this.ba) || dateGetDate(this.value) > dateGetDate(this.a9)) {
861
- this.ai = true;
862
- this.value = this.a6;
863
- this.ai = false;
864
- }
865
- }
866
- this.dc(this.a6, this.value);
867
- this.a6 = this.value;
868
- if (this.c != null) {
869
- if (+(dateGetDate(this.value)) == +(dateGetDate(dateMinValue()))) {
870
- this.c.value = dateMinValue();
871
- }
872
- else {
873
- this.c.value = this.value;
874
- }
875
- }
876
- break;
877
- case "Label":
878
- if (this.r != null) {
879
- this.r.text = this.b4;
880
- if (this.b4 != null && this.b4 != "") {
881
- if (!this.q.inputs.contains(this.r)) {
882
- this.q.inputs.insert(0, this.r);
883
- }
884
- }
885
- else {
886
- if (this.q.inputs.contains(this.r)) {
887
- this.q.inputs.remove(this.r);
888
- }
889
- }
890
- }
891
- break;
892
- case "Placeholder":
893
- if (this.o != null) {
894
- this.o.cg = this.cc;
895
- this.h.ay(this.cc);
896
- }
897
- break;
898
- case "Today":
899
- if (this.c != null) {
900
- this.c.av = this.bb;
901
- }
902
- break;
903
- case "MaxDate":
904
- if (this.c != null) {
905
- var d = Base.compareSimple(this.ba, this.a9);
906
- if (d >= 0) {
907
- this.a9 = dateMaxValue();
908
- }
909
- this.c.at = this.a4;
910
- }
911
- if (dateGetDate(this.value) > dateGetDate(this.a9)) {
912
- this.a6 = dateMinValue();
913
- this.ai = true;
914
- this.value = dateMinValue();
915
- this.ai = false;
916
- }
917
- break;
918
- case "MinDate":
919
- if (this.c != null) {
920
- this.c.au = this.a5;
921
- var e = Base.compareSimple(this.ba, this.a9);
922
- if (e >= 0) {
923
- this.a6 = dateMaxValue();
924
- this.c.at = this.a9;
925
- }
926
- }
927
- if (dateGetDate(this.value) < dateGetDate(this.ba)) {
928
- this.a6 = dateMinValue();
929
- this.ai = true;
930
- this.value = dateMinValue();
931
- this.ai = false;
932
- }
933
- break;
934
- case "TextStyle":
935
- this.dp();
936
- break;
937
- case "ShowClearButton":
938
- if (this.o != null) {
939
- if (this.o.cq != "") {
940
- this.h.av();
941
- }
942
- }
943
- break;
944
- case "LabelTextColor":
945
- case "LabelTextStyle":
946
- case "TextColor":
947
- case "IconColor":
948
- this.dq();
949
- break;
950
- case "ShowTodayButton":
951
- if (this.c != null) {
952
- this.c.ae = this.a1;
953
- this.h.z();
954
- }
955
- break;
956
- case "AllowTextInput":
957
- if (this.o != null) {
958
- this.o.disabled = this.az();
959
- }
960
- break;
961
- case "OpenOnFocus": break;
962
- case "DateFormat":
963
- this.a.k(this.e);
964
- this.dm();
965
- break;
966
- case "FormatString":
967
- this.cp();
968
- this.dm();
969
- break;
970
- case "FirstDayOfWeek":
971
- if (this.c != null) {
972
- this.c.l = this.j;
973
- }
974
- break;
975
- case "ShowWeekNumbers":
976
- if (this.c != null) {
977
- this.c.af = this.a2;
978
- this.h.z();
979
- }
980
- break;
981
- case "FirstWeekOfYear":
982
- if (this.c != null) {
983
- this.c.o = this.l;
984
- }
985
- break;
986
- case "IsDisabled":
987
- {
988
- if (this.q != null) {
989
- this.q.disabled = this.av;
990
- }
991
- if (this.o != null) {
992
- this.o.disabled = this.az();
993
- }
994
- }
995
- break;
996
- case "TabIndex":
997
- this.h.ax();
998
- break;
999
- case "IsFixed":
1000
- if (this.u != null) {
1001
- this.u.ar = this.aw;
1002
- }
1003
- break;
1004
- case "UseTopLayer":
1005
- if (this.u != null) {
1006
- this.u.ay = this.a3;
1007
- }
1008
- break;
1009
- }
1010
- };
1011
- XDatePicker.prototype.az = function () {
1012
- return this.av || !this.au;
1013
- };
1014
- XDatePicker.prototype.cp = function () {
1015
- var a = '/';
1016
- var b = this.bz != null ? this.bz.toLowerCase() : this.a.j();
1017
- if (stringContains(b, "/")) {
1018
- a = '/';
1019
- }
1020
- else if (stringContains(b, "-")) {
1021
- a = '-';
1022
- }
1023
- else if (stringContains(b, " ")) {
1024
- a = ' ';
1025
- }
1026
- else if (stringContains(b, ".")) {
1027
- a = '.';
1028
- }
1029
- else if (stringContains(b, ",")) {
1030
- a = ',';
1031
- }
1032
- this.bn = a.toString();
1033
- var c = b.split(a);
1034
- if (c.length == 3) {
1035
- var d = "";
1036
- for (var e = 0; e < 3; e++) {
1037
- if (stringContains(c[e], "d")) {
1038
- d += "d";
1039
- switch (c[e]) {
1040
- case "d":
1041
- this.bh = c[e];
1042
- break;
1043
- case "dd":
1044
- this.bh = c[e];
1045
- break;
1046
- case "ddd":
1047
- this.bh = c[e];
1048
- break;
1049
- case "dddd":
1050
- this.bh = c[e];
1051
- break;
1052
- default:
1053
- this.bh = "dd";
1054
- break;
1055
- }
1056
- }
1057
- else if (stringContains(c[e], "m")) {
1058
- d += "m";
1059
- switch (c[e]) {
1060
- case "m":
1061
- this.bl = c[e];
1062
- break;
1063
- case "mm":
1064
- this.bl = c[e];
1065
- break;
1066
- case "mmm":
1067
- this.bl = c[e];
1068
- break;
1069
- case "mmmm":
1070
- this.bl = c[e];
1071
- break;
1072
- default:
1073
- this.bl = "mm";
1074
- break;
1075
- }
1076
- this.bl = c[e];
1077
- }
1078
- else if (stringContains(c[e], "y")) {
1079
- d += "y";
1080
- switch (c[e]) {
1081
- case "yy":
1082
- this.bo = c[e];
1083
- break;
1084
- case "yyyy":
1085
- this.bo = c[e];
1086
- break;
1087
- default:
1088
- this.bo = "yyyy";
1089
- break;
1090
- }
1091
- }
1092
- }
1093
- if (d == "dmy" || d == "mdy" || d == "ymd") {
1094
- this.bi = d;
1095
- }
1096
- else {
1097
- this.bi = "mdy";
1098
- }
1099
- }
1100
- };
1101
- XDatePicker.prototype.dq = function () {
1102
- if (this.o != null) {
1103
- this.o.d8 = this.dy;
1104
- }
1105
- if (this.m != null) {
1106
- this.m.fill = this.dw;
1107
- }
1108
- if (this.n != null) {
1109
- this.n.fill = this.dw;
1110
- }
1111
- if (this.r != null) {
1112
- this.r.dj = this.dx;
1113
- this.r.y = this.ac;
1114
- }
1115
- };
1116
- XDatePicker.prototype.dl = function () {
1117
- if (this.q != null) {
1118
- }
1119
- };
1120
- XDatePicker.prototype.dp = function () {
1121
- if (this.aa != null) {
1122
- this.o.af = this.aa;
1123
- }
1124
- };
1125
- XDatePicker.prototype.cs = function () {
1126
- this.q = new XInputGroup();
1127
- this.h.aq(this.q);
1128
- this.q.d = 0;
1129
- this.q.p = this.w;
1130
- this.q.t = this.y;
1131
- this.r = new XLabel();
1132
- this.h.as(this.r);
1133
- this.r.dj = this.dx;
1134
- this.r.y = this.ac;
1135
- this.q.appendContentChild(this.h.v());
1136
- if (this.b4 != null && this.b4 != "") {
1137
- this.r.text = this.b4;
1138
- this.q.inputs.add(this.r);
1139
- }
1140
- this.o = new XInput();
1141
- this.h.ar(this.o);
1142
- this.o.b8 = "text";
1143
- if (this.aa != null) {
1144
- this.o.af = this.aa;
1145
- }
1146
- this.o.disabled = this.az();
1147
- this.o.d8 = this.dy;
1148
- this.q.appendContentChild(this.h.u());
1149
- this.q.inputs.add(this.o);
1150
- this.o.cg = this.cc;
1151
- this.h.ay(this.cc);
1152
- var a = this.o;
1153
- a.change = delegateCombine(a.change, runOn(this, this.cz));
1154
- var b = this.o;
1155
- b.changing = delegateCombine(b.changing, runOn(this, this.c0));
1156
- var c = this.o;
1157
- c.keyDown = delegateCombine(c.keyDown, runOn(this, this.c1));
1158
- var d = new XSuffix();
1159
- this.h.au(d, this.h.r());
1160
- this.m = new XIcon();
1161
- this.h.ap(this.m, this.h.q());
1162
- this.m.svgPath = XDatePicker.bs;
1163
- this.m.fill = this.dw;
1164
- d.appendContentChild(this.h.q());
1165
- this.q.appendContentChild(this.h.r());
1166
- this.q.inputs.add(d);
1167
- this.dm();
1168
- var e = new XSuffix();
1169
- this.h.au(e, this.h.t());
1170
- this.n = new XIcon();
1171
- this.h.ap(this.n, this.h.s());
1172
- this.n.svgPath = XDatePicker.br;
1173
- this.n.fill = this.dw;
1174
- e.appendContentChild(this.h.s());
1175
- this.q.appendContentChild(this.h.t());
1176
- this.q.inputs.add(e);
1177
- };
1178
- XDatePicker.prototype.c1 = function (a, b) {
1179
- this.c7(b);
1180
- if (b.defaultPrevented) {
1181
- return;
1182
- }
1183
- var c = b.keyCode;
1184
- var d = b.modifiers;
1185
- switch (c) {
1186
- case 9:
1187
- this.ar = true;
1188
- if (!this.at) {
1189
- this.ds(this.o.cq);
1190
- }
1191
- this.ah = true;
1192
- this.cr();
1193
- this.ar = false;
1194
- break;
1195
- case 13:
1196
- this.ar = true;
1197
- if (!this.at) {
1198
- this.ds(this.o.cq);
1199
- }
1200
- this.ah = true;
1201
- this.cr();
1202
- this.ar = false;
1203
- break;
1204
- case 40:
1205
- if (d == 1) {
1206
- this.dd();
1207
- this.cw();
1208
- }
1209
- break;
1210
- case 38:
1211
- if (d == 1) {
1212
- this.cr();
1213
- }
1214
- break;
1215
- }
1216
- };
1217
- XDatePicker.prototype.c0 = function (a, b) {
1218
- this.c3(b);
1219
- if (b.value.length > 0) {
1220
- this.h.av();
1221
- }
1222
- else {
1223
- this.h.ah();
1224
- }
1225
- };
1226
- XDatePicker.prototype.cz = function (a, b) {
1227
- this.at = true;
1228
- this.ds(b.value);
1229
- this.at = false;
1230
- };
1231
- XDatePicker.prototype.ds = function (a) {
1232
- var b = ['/', '-', ' ', '.', ','];
1233
- var c = stringSplit(a, b, 1);
1234
- var d = 0;
1235
- var e = 0;
1236
- var f = 0;
1237
- var g = true;
1238
- if (c.length == 3) {
1239
- if (c[0].length == 0 || c[1].length == 0 || c[2].length == 0) {
1240
- g = false;
1241
- }
1242
- if (this.bi == "dmy") {
1243
- d = parseInt(c[0]);
1244
- e = parseInt(c[1]);
1245
- f = parseInt(c[2]);
1246
- }
1247
- else if (this.bi == "mdy") {
1248
- e = parseInt(c[0]);
1249
- d = parseInt(c[1]);
1250
- f = parseInt(c[2]);
1251
- }
1252
- else if (this.bi == "ymd") {
1253
- f = parseInt(c[0]);
1254
- e = parseInt(c[1]);
1255
- d = parseInt(c[2]);
1256
- }
1257
- if (isNaN_(d) || isNaN_(f)) {
1258
- g = false;
1259
- }
1260
- if (f < 50) {
1261
- f = f + 2000;
1262
- }
1263
- if (isNaN_(e)) {
1264
- var h = "";
1265
- if (this.bi == "dmy") {
1266
- h = c[1].toLowerCase();
1267
- }
1268
- else if (this.bi == "mdy") {
1269
- h = c[0].toLowerCase();
1270
- }
1271
- else if (this.bi == "ymd") {
1272
- h = c[1].toLowerCase();
1273
- }
1274
- var i = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full").toLowerCase() : "january";
1275
- var j = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short").toLowerCase() : "jan";
1276
- var k = !stringIsNullOrWhiteSpace(this.af.b1("February_Full")) ? this.af.b1("February_Full").toLowerCase() : "february";
1277
- var l = !stringIsNullOrWhiteSpace(this.af.b1("February_Short")) ? this.af.b1("February_Short").toLowerCase() : "feb";
1278
- var m = !stringIsNullOrWhiteSpace(this.af.b1("March_Full")) ? this.af.b1("March_Full").toLowerCase() : "march";
1279
- var n = !stringIsNullOrWhiteSpace(this.af.b1("March_Short")) ? this.af.b1("March_Short").toLowerCase() : "mar";
1280
- var o = !stringIsNullOrWhiteSpace(this.af.b1("April_Full")) ? this.af.b1("April_Full").toLowerCase() : "april";
1281
- var p = !stringIsNullOrWhiteSpace(this.af.b1("April_Short")) ? this.af.b1("April_Short").toLowerCase() : "apr";
1282
- var q = !stringIsNullOrWhiteSpace(this.af.b1("May_Full")) ? this.af.b1("May_Full").toLowerCase() : "may";
1283
- var r = !stringIsNullOrWhiteSpace(this.af.b1("May_Short")) ? this.af.b1("May_Short").toLowerCase() : "may";
1284
- var s = !stringIsNullOrWhiteSpace(this.af.b1("June_Full")) ? this.af.b1("June_Full").toLowerCase() : "june";
1285
- var t = !stringIsNullOrWhiteSpace(this.af.b1("June_Short")) ? this.af.b1("June_Short").toLowerCase() : "jun";
1286
- var u = !stringIsNullOrWhiteSpace(this.af.b1("July_Full")) ? this.af.b1("July_Full").toLowerCase() : "july";
1287
- var v = !stringIsNullOrWhiteSpace(this.af.b1("July_Short")) ? this.af.b1("July_Short").toLowerCase() : "jul";
1288
- var w = !stringIsNullOrWhiteSpace(this.af.b1("August_Full")) ? this.af.b1("August_Full").toLowerCase() : "august";
1289
- var x = !stringIsNullOrWhiteSpace(this.af.b1("August_Short")) ? this.af.b1("August_Short").toLowerCase() : "aug";
1290
- var y = !stringIsNullOrWhiteSpace(this.af.b1("September_Full")) ? this.af.b1("September_Full").toLowerCase() : "september";
1291
- var z = !stringIsNullOrWhiteSpace(this.af.b1("September_Short")) ? this.af.b1("September_Short").toLowerCase() : "sep";
1292
- var aa = !stringIsNullOrWhiteSpace(this.af.b1("October_Full")) ? this.af.b1("October_Full").toLowerCase() : "october";
1293
- var ab = !stringIsNullOrWhiteSpace(this.af.b1("October_Short")) ? this.af.b1("October_Short").toLowerCase() : "oct";
1294
- var ac = !stringIsNullOrWhiteSpace(this.af.b1("November_Full")) ? this.af.b1("November_Full").toLowerCase() : "november";
1295
- var ad = !stringIsNullOrWhiteSpace(this.af.b1("November_Short")) ? this.af.b1("November_Short").toLowerCase() : "nov";
1296
- var ae = !stringIsNullOrWhiteSpace(this.af.b1("December_Full")) ? this.af.b1("December_Full").toLowerCase() : "december";
1297
- var af = !stringIsNullOrWhiteSpace(this.af.b1("December_Short")) ? this.af.b1("December_Short").toLowerCase() : "dec";
1298
- if (h == i || h == j) {
1299
- e = 1;
1300
- }
1301
- else if (h == k || h == l) {
1302
- e = 2;
1303
- }
1304
- else if (h == m || h == n) {
1305
- e = 3;
1306
- }
1307
- else if (h == o || h == p) {
1308
- e = 4;
1309
- }
1310
- else if (h == q || h == r) {
1311
- e = 5;
1312
- }
1313
- else if (h == s || h == t) {
1314
- e = 6;
1315
- }
1316
- else if (h == u || h == v) {
1317
- e = 7;
1318
- }
1319
- else if (h == w || h == x) {
1320
- e = 8;
1321
- }
1322
- else if (h == y || h == z) {
1323
- e = 9;
1324
- }
1325
- else if (h == aa || h == ab) {
1326
- e = 10;
1327
- }
1328
- else if (h == ac || h == ad) {
1329
- e = 11;
1330
- }
1331
- else if (h == ae || h == af) {
1332
- e = 12;
1333
- }
1334
- else {
1335
- g = false;
1336
- }
1337
- }
1338
- if (e > 12 || e < 1) {
1339
- g = false;
1340
- }
1341
- }
1342
- else {
1343
- g = false;
1344
- }
1345
- if (g) {
1346
- var ag = dateFromValues(f, e, d, 0, 0, 0, 0);
1347
- var ah = Base.compareSimple(ag, this.ba);
1348
- var ai = Base.compareSimple(ag, this.a9);
1349
- if (ah < 0 || ai > 0) {
1350
- this.dm();
1351
- }
1352
- else {
1353
- this.dr(ag);
1354
- this.h.av();
1355
- }
1356
- }
1357
- else {
1358
- if (stringIsNullOrEmpty(a)) {
1359
- this.cq();
1360
- }
1361
- else {
1362
- this.dm();
1363
- }
1364
- }
1365
- };
1366
- XDatePicker.prototype.dr = function (a) {
1367
- var b = this.value;
1368
- this.value = a;
1369
- };
1370
- XDatePicker.prototype.dm = function () {
1371
- if (this.o != null) {
1372
- if (+(dateGetDate(this.a8)) != +(dateGetDate(dateMinValue()))) {
1373
- var a = "";
1374
- if (this.bz == null) {
1375
- a = this.a.i(this.value);
1376
- }
1377
- else {
1378
- var b = this.value.getDate().toString();
1379
- var c = b;
1380
- if (this.bh == "dd") {
1381
- if (this.value.getDate() < 10) {
1382
- b = "0" + b;
1383
- }
1384
- }
1385
- else if (this.bh == "ddd") {
1386
- switch (this.value.getDay()) {
1387
- case 0:
1388
- b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Short")) ? this.af.b1("Sunday_Short") : "Sun";
1389
- break;
1390
- case 1:
1391
- b = !stringIsNullOrWhiteSpace(this.af.b1("Monday_Short")) ? this.af.b1("Monday_Short") : "Mon";
1392
- break;
1393
- case 2:
1394
- b = !stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Short")) ? this.af.b1("Tuesday_Short") : "Tue";
1395
- break;
1396
- case 3:
1397
- b = !stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Short")) ? this.af.b1("Wednesday_Short") : "Wed";
1398
- break;
1399
- case 4:
1400
- b = !stringIsNullOrWhiteSpace(this.af.b1("Thursday_Short")) ? this.af.b1("Thursday_Short") : "Thu";
1401
- break;
1402
- case 5:
1403
- b = !stringIsNullOrWhiteSpace(this.af.b1("Friday_Short")) ? this.af.b1("Friday_Short") : "Fri";
1404
- break;
1405
- case 6:
1406
- b = !stringIsNullOrWhiteSpace(this.af.b1("Saturday_Short")) ? this.af.b1("Saturday_Short") : "Sat";
1407
- break;
1408
- }
1409
- }
1410
- else if (this.bh == "dddd") {
1411
- switch (this.value.getDay()) {
1412
- case 0:
1413
- b = !stringIsNullOrWhiteSpace(this.af.b1("Sunday_Full")) ? this.af.b1("Sunday_Full") : "Sunday";
1414
- break;
1415
- case 1:
1416
- b = !stringIsNullOrWhiteSpace(this.af.b1("Monday_Full")) ? this.af.b1("Monday_Full") : "Monday";
1417
- break;
1418
- case 2:
1419
- b = !stringIsNullOrWhiteSpace(this.af.b1("Tuesday_Full")) ? this.af.b1("Tuesday_Full") : "Tuesday";
1420
- break;
1421
- case 3:
1422
- b = !stringIsNullOrWhiteSpace(this.af.b1("Wednesday_Full")) ? this.af.b1("Wednesday_Full") : "Wednesday";
1423
- break;
1424
- case 4:
1425
- b = !stringIsNullOrWhiteSpace(this.af.b1("Thursday_Full")) ? this.af.b1("Thursday_Full") : "Thursday";
1426
- break;
1427
- case 5:
1428
- b = !stringIsNullOrWhiteSpace(this.af.b1("Friday_Full")) ? this.af.b1("Friday_Full") : "Friday";
1429
- break;
1430
- case 6:
1431
- b = !stringIsNullOrWhiteSpace(this.af.b1("Saturday_Full")) ? this.af.b1("Saturday_Full") : "Saturday";
1432
- break;
1433
- }
1434
- }
1435
- var d = dateGetMonth(this.value).toString();
1436
- if (this.bl == "mm") {
1437
- if (dateGetMonth(this.value) < 10) {
1438
- d = "0" + d;
1439
- }
1440
- }
1441
- else if (this.bl == "mmm") {
1442
- switch (dateGetMonth(this.value)) {
1443
- case 1:
1444
- d = !stringIsNullOrWhiteSpace(this.af.b1("January_Short")) ? this.af.b1("January_Short") : "Jan";
1445
- break;
1446
- case 2:
1447
- d = !stringIsNullOrWhiteSpace(this.af.b1("February_Short")) ? this.af.b1("February_Short") : "Feb";
1448
- break;
1449
- case 3:
1450
- d = !stringIsNullOrWhiteSpace(this.af.b1("March_Short")) ? this.af.b1("March_Short") : "Mar";
1451
- break;
1452
- case 4:
1453
- d = !stringIsNullOrWhiteSpace(this.af.b1("April_Short")) ? this.af.b1("April_Short") : "Apr";
1454
- break;
1455
- case 5:
1456
- d = !stringIsNullOrWhiteSpace(this.af.b1("May_Short")) ? this.af.b1("May_Short") : "May";
1457
- break;
1458
- case 6:
1459
- d = !stringIsNullOrWhiteSpace(this.af.b1("June_Short")) ? this.af.b1("June_Short") : "Jun";
1460
- break;
1461
- case 7:
1462
- d = !stringIsNullOrWhiteSpace(this.af.b1("July_Short")) ? this.af.b1("July_Short") : "Jul";
1463
- break;
1464
- case 8:
1465
- d = !stringIsNullOrWhiteSpace(this.af.b1("August_Short")) ? this.af.b1("August_Short") : "Aug";
1466
- break;
1467
- case 9:
1468
- d = !stringIsNullOrWhiteSpace(this.af.b1("September_Short")) ? this.af.b1("September_Short") : "Sep";
1469
- break;
1470
- case 10:
1471
- d = !stringIsNullOrWhiteSpace(this.af.b1("October_Short")) ? this.af.b1("October_Short") : "Oct";
1472
- break;
1473
- case 11:
1474
- d = !stringIsNullOrWhiteSpace(this.af.b1("November_Short")) ? this.af.b1("November_Short") : "Nov";
1475
- break;
1476
- case 12:
1477
- d = !stringIsNullOrWhiteSpace(this.af.b1("December_Short")) ? this.af.b1("December_Short") : "Dec";
1478
- break;
1479
- }
1480
- }
1481
- else if (this.bl == "mmmm") {
1482
- switch (dateGetMonth(this.value)) {
1483
- case 1:
1484
- d = !stringIsNullOrWhiteSpace(this.af.b1("January_Full")) ? this.af.b1("January_Full") : "January";
1485
- break;
1486
- case 2:
1487
- d = !stringIsNullOrWhiteSpace(this.af.b1("February_Full")) ? this.af.b1("February_Full") : "February";
1488
- break;
1489
- case 3:
1490
- d = !stringIsNullOrWhiteSpace(this.af.b1("March_Full")) ? this.af.b1("March_Full") : "March";
1491
- break;
1492
- case 4:
1493
- d = !stringIsNullOrWhiteSpace(this.af.b1("April_Full")) ? this.af.b1("April_Full") : "April";
1494
- break;
1495
- case 5:
1496
- d = !stringIsNullOrWhiteSpace(this.af.b1("May_Full")) ? this.af.b1("May_Full") : "May";
1497
- break;
1498
- case 6:
1499
- d = !stringIsNullOrWhiteSpace(this.af.b1("June_Full")) ? this.af.b1("June_Full") : "June";
1500
- break;
1501
- case 7:
1502
- d = !stringIsNullOrWhiteSpace(this.af.b1("July_Full")) ? this.af.b1("July_Full") : "July";
1503
- break;
1504
- case 8:
1505
- d = !stringIsNullOrWhiteSpace(this.af.b1("August_Full")) ? this.af.b1("August_Full") : "August";
1506
- break;
1507
- case 9:
1508
- d = !stringIsNullOrWhiteSpace(this.af.b1("September_Full")) ? this.af.b1("September_Full") : "September";
1509
- break;
1510
- case 10:
1511
- d = !stringIsNullOrWhiteSpace(this.af.b1("October_Full")) ? this.af.b1("October_Full") : "October";
1512
- break;
1513
- case 11:
1514
- d = !stringIsNullOrWhiteSpace(this.af.b1("November_Full")) ? this.af.b1("November_Full") : "November";
1515
- break;
1516
- case 12:
1517
- d = !stringIsNullOrWhiteSpace(this.af.b1("December_Full")) ? this.af.b1("December_Full") : "December";
1518
- break;
1519
- }
1520
- }
1521
- var e = this.value.getFullYear().toString();
1522
- if (this.bo == "yy") {
1523
- e = e.substr(2);
1524
- }
1525
- if (this.bi == "dmy") {
1526
- if (this.bh == "ddd" || this.bh == "dddd") {
1527
- a = b + this.bn + d + " " + c + this.bn + e;
1528
- }
1529
- else {
1530
- a = b + this.bn + d + this.bn + e;
1531
- }
1532
- }
1533
- else if (this.bi == "mdy") {
1534
- if (this.bh == "ddd" || this.bh == "dddd") {
1535
- a = d + " " + c + this.bn + b + this.bn + e;
1536
- }
1537
- else {
1538
- a = d + this.bn + b + this.bn + e;
1539
- }
1540
- }
1541
- else if (this.bi == "ymd") {
1542
- if (this.bh == "ddd" || this.bh == "dddd") {
1543
- a = e + this.bn + d + " " + c + this.bn + b;
1544
- }
1545
- else {
1546
- a = e + this.bn + d + this.bn + b;
1547
- }
1548
- }
1549
- }
1550
- this.o.cq = a;
1551
- this.h.av();
1552
- }
1553
- else {
1554
- this.o.cq = "";
1555
- this.h.ah();
1556
- }
1557
- }
1558
- };
1559
- XDatePicker.prototype.cq = function () {
1560
- if (this.av == true) {
1561
- return;
1562
- }
1563
- if (this.o != null) {
1564
- this.o.cq = "";
1565
- }
1566
- this.value = dateMinValue();
1567
- this.c.ch();
1568
- this.al = false;
1569
- };
1570
- XDatePicker.prototype.c9 = function () {
1571
- this.al = true;
1572
- };
1573
- XDatePicker.prototype.da = function () {
1574
- this.al = false;
1575
- };
1576
- XDatePicker.prototype.ct = function () {
1577
- this.u = new Popup();
1578
- this.u.ar = this.aw;
1579
- this.u.ay = this.a3;
1580
- this.u.c0 = BrushUtil.l(255, 255, 255, 255);
1581
- this.u.a9 = 150;
1582
- this.h.at(this.u);
1583
- this.c = new XCalendar();
1584
- this.h.ao(this.c);
1585
- if (+(this.ba) != +(dateMinValue())) {
1586
- this.c.au = this.ba;
1587
- }
1588
- if (+(this.a9) != +(dateMaxValue())) {
1589
- this.c.at = this.a9;
1590
- }
1591
- if (+(this.bb) != +(dateMinValue())) {
1592
- this.c.av = this.bb;
1593
- }
1594
- this.c.ae = this.a1;
1595
- this.c.l = this.j;
1596
- this.c.af = this.a2;
1597
- this.c.o = this.l;
1598
- var a = this.c;
1599
- a.selectedValueChanged = delegateCombine(a.selectedValueChanged, runOn(this, this.co));
1600
- var b = this.c;
1601
- b.close = delegateCombine(b.close, runOn(this, this.cn));
1602
- this.u.appendPopupContent(this.h.p());
1603
- };
1604
- XDatePicker.prototype.co = function (a, b) {
1605
- this.ai = true;
1606
- this.value = b.newValue;
1607
- this.ai = false;
1608
- };
1609
- XDatePicker.prototype.cn = function (a) {
1610
- if (this.u.ax) {
1611
- this.ah = true;
1612
- this.cr();
1613
- }
1614
- };
1615
- XDatePicker.prototype.cy = function () {
1616
- if (this.ah == false) {
1617
- if (this.u.ax) {
1618
- this.cr();
1619
- }
1620
- else {
1621
- this.dd();
1622
- }
1623
- }
1624
- else {
1625
- this.ah = false;
1626
- }
1627
- };
1628
- XDatePicker.prototype.dd = function () {
1629
- if (this.av) {
1630
- return;
1631
- }
1632
- if (this.u != null) {
1633
- var a = this.h.a0(false);
1634
- var b = this.h.a()[1];
1635
- var c = 240;
1636
- if (this.a1 == true) {
1637
- c = 270;
1638
- }
1639
- var d = a.bottom + c;
1640
- if (b < d) {
1641
- var e = a.top - c;
1642
- if (e < 0) {
1643
- this.dk(1, 0);
1644
- }
1645
- else {
1646
- this.dk(2, 0);
1647
- }
1648
- }
1649
- else {
1650
- this.dk(1, 0);
1651
- }
1652
- this.h.an();
1653
- this.h.aw(true);
1654
- }
1655
- };
1656
- XDatePicker.prototype.dk = function (a, b) {
1657
- if (this.ax) {
1658
- this.u.cr(this.h.d.rootWrapper.getNativeElement(), a, b);
1659
- }
1660
- else {
1661
- var c = this.h.a0(true);
1662
- this.u.showRelativeToExclusionRect(c, a, b);
1663
- }
1664
- };
1665
- XDatePicker.prototype.dn = function () {
1666
- if (this.u.ax) {
1667
- var a = this.h.a0(false);
1668
- var b = new Rect(0, a.left + window.pageXOffset, a.top + window.pageYOffset, a.width, a.height);
1669
- var c = this.h.a()[1];
1670
- var d = 240;
1671
- if (this.a1 == true) {
1672
- d = 270;
1673
- }
1674
- var e = a.bottom + d;
1675
- if (c < e) {
1676
- var f = a.top - d;
1677
- if (f < 0) {
1678
- if (this.u.r != 1) {
1679
- this.u.r = 1;
1680
- this.u.ca(b);
1681
- }
1682
- }
1683
- else {
1684
- if (this.u.r != 2) {
1685
- this.u.r = 2;
1686
- this.u.ca(b);
1687
- }
1688
- }
1689
- }
1690
- else {
1691
- if (this.u.r != 1) {
1692
- this.u.r = 1;
1693
- this.u.ca(b);
1694
- }
1695
- }
1696
- }
1697
- };
1698
- XDatePicker.prototype.cr = function () {
1699
- var _this = this;
1700
- if (this.u != null) {
1701
- window.setTimeout(function () { return _this.u.b6(); }, 0);
1702
- }
1703
- if (this.c != null) {
1704
- this.c.cy();
1705
- }
1706
- this.h.aw(false);
1707
- this.ah = false;
1708
- this.h.aj();
1709
- };
1710
- XDatePicker.prototype.focus = function (a) {
1711
- var _this = this;
1712
- if (a === void 0) {
1713
- a = false;
1714
- }
1715
- if (this.o != null) {
1716
- this.o.focus(a);
1717
- }
1718
- if (!this.u.ax && this.ay == true) {
1719
- if (this.ah == false) {
1720
- if (this.al) {
1721
- return;
1722
- }
1723
- if (this.au == false) {
1724
- this.dd();
1725
- this.ah = true;
1726
- window.setTimeout(function () { return _this.cw(); }, 0);
1727
- }
1728
- else {
1729
- if (this.ay == true && this.ar == false) {
1730
- this.dd();
1731
- this.ah = true;
1732
- window.setTimeout(function () { return _this.cw(); }, 0);
1733
- }
1734
- }
1735
- }
1736
- else {
1737
- this.ah = false;
1738
- }
1739
- }
1740
- };
1741
- XDatePicker.prototype.cx = function () {
1742
- this.ah = false;
1743
- };
1744
- XDatePicker.prototype.dg = function () {
1745
- if (this.o != null) {
1746
- this.o.dp();
1747
- }
1748
- };
1749
- XDatePicker.prototype.cw = function () {
1750
- this.c.cq();
1751
- };
1752
- XDatePicker.prototype.c4 = function () {
1753
- var a = new GotFocusEventArgs();
1754
- this.c6(a);
1755
- };
1756
- XDatePicker.prototype.c5 = function () {
1757
- var a = new LostFocusEventArgs();
1758
- this.c8(a);
1759
- };
1760
- XDatePicker.prototype.dj = function () {
1761
- };
1762
- XDatePicker.prototype.dh = function () {
1763
- };
1764
- XDatePicker.prototype.bg = function () {
1765
- return this.b();
1766
- };
1767
- XDatePicker.prototype.bw = function () {
1768
- var a = this.b();
1769
- return a.g();
1770
- };
1771
- XDatePicker.prototype.b = function () {
1772
- var a = new DatePickerVisualModelExport();
1773
- a.e = this.y;
1774
- a.d = this.w;
1775
- a.c = this.u.bd();
1776
- a.b = this.q.fe();
1777
- a.a = this.c.bj();
1778
- if (this.ad != null) {
1779
- var b = this.ad;
1780
- if (this.h != null && b.q == null) {
1781
- var c = this.h.d;
1782
- var d = FontUtil.getFontInfoFromString(c, b.fontString);
1783
- b.q = d.q;
1784
- b.f = d.f;
1785
- b.r = d.r;
1786
- b.t = d.t;
1787
- b.u = d.u;
1788
- b.v = d.v;
1789
- }
1790
- if (b.q != null) {
1791
- a.h = b.q;
1792
- }
1793
- if (!isNaN_(b.f)) {
1794
- a.f = b.f;
1795
- }
1796
- if (b.v != null) {
1797
- a.l = b.v;
1798
- }
1799
- if (b.t != null) {
1800
- a.j = b.t;
1801
- }
1802
- if (b.r != null) {
1803
- a.i = b.t;
1804
- }
1805
- }
1806
- return a;
1807
- };
1808
- XDatePicker.prototype.c6 = function (a) {
1809
- if (null != this.gotFocus) {
1810
- this.gotFocus(this, a);
1811
- }
1812
- };
1813
- XDatePicker.prototype.c8 = function (a) {
1814
- if (null != this.lostFocus) {
1815
- this.lostFocus(this, a);
1816
- }
1817
- };
1818
- XDatePicker.prototype.c7 = function (a) {
1819
- if (null != this.keyDown) {
1820
- this.keyDown(this, a);
1821
- }
1822
- };
1823
- XDatePicker.prototype.c3 = function (a) {
1824
- if (null != this.changing) {
1825
- this.changing(this, a);
1826
- }
1827
- };
1828
- XDatePicker.$t = markType(XDatePicker, 'XDatePicker', Base.$, [INotifyPropertyChanged_$type]);
1829
- XDatePicker.br = "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";
1830
- XDatePicker.bs = "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";
1831
- XDatePicker.ab = null;
1832
- return XDatePicker;
1833
- }(Base));