igniteui-webcomponents-inputs 1.3.3

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