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

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