igniteui-angular-inputs 16.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (406) hide show
  1. package/License +27 -0
  2. package/README.md +19 -0
  3. package/bundles/igniteui-angular-inputs.umd.js +36173 -0
  4. package/bundles/igniteui-angular-inputs.umd.min.js +7 -0
  5. package/esm2015/igniteui-angular-inputs.js +4 -0
  6. package/esm2015/lib/ButtonClickEventArgs.js +16 -0
  7. package/esm2015/lib/ButtonDisplayStyle.js +11 -0
  8. package/esm2015/lib/ButtonGroupDisplayStyle.js +11 -0
  9. package/esm2015/lib/ButtonGroupOrientation.js +16 -0
  10. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +16 -0
  11. package/esm2015/lib/ButtonGroupView.js +7 -0
  12. package/esm2015/lib/ButtonGroupView_combined.js +1333 -0
  13. package/esm2015/lib/ButtonGroupVisualModelExport.js +56 -0
  14. package/esm2015/lib/ButtonView.js +7 -0
  15. package/esm2015/lib/ButtonView_combined.js +3291 -0
  16. package/esm2015/lib/ButtonVisualModelExport.js +109 -0
  17. package/esm2015/lib/CalendarView.js +7 -0
  18. package/esm2015/lib/CalendarView_combined.js +2791 -0
  19. package/esm2015/lib/CalendarVisualModelExport.js +100 -0
  20. package/esm2015/lib/CheckboxChangeEventArgs.js +33 -0
  21. package/esm2015/lib/CheckboxLabelPosition.js +11 -0
  22. package/esm2015/lib/CheckboxView.js +7 -0
  23. package/esm2015/lib/CheckboxView_combined.js +1105 -0
  24. package/esm2015/lib/CheckboxVisualModelExport.js +62 -0
  25. package/esm2015/lib/DateFormats.js +25 -0
  26. package/esm2015/lib/DatePicker.js +7 -0
  27. package/esm2015/lib/DatePickerView.js +7 -0
  28. package/esm2015/lib/DatePickerView_combined.js +1578 -0
  29. package/esm2015/lib/DatePickerVisualModelExport.js +70 -0
  30. package/esm2015/lib/DateTimeValueFormatter.js +108 -0
  31. package/esm2015/lib/DayInfo.js +23 -0
  32. package/esm2015/lib/DayOfWeek.js +45 -0
  33. package/esm2015/lib/ElevationHelper.js +67 -0
  34. package/esm2015/lib/FirstWeek.js +29 -0
  35. package/esm2015/lib/GotFocusEventArgs.js +16 -0
  36. package/esm2015/lib/IconClickedEventArgs.js +16 -0
  37. package/esm2015/lib/IconView.js +7 -0
  38. package/esm2015/lib/IconView_combined.js +815 -0
  39. package/esm2015/lib/IconVisualModelExport.js +76 -0
  40. package/esm2015/lib/InputChangeEventArgs.js +33 -0
  41. package/esm2015/lib/InputGroupDisplayType.js +18 -0
  42. package/esm2015/lib/InputGroupView.js +7 -0
  43. package/esm2015/lib/InputGroupView_combined.js +5518 -0
  44. package/esm2015/lib/InputGroupVisualModelExport.js +109 -0
  45. package/esm2015/lib/InputShiftType.js +17 -0
  46. package/esm2015/lib/InputView.js +7 -0
  47. package/esm2015/lib/InputVisualModelExport.js +78 -0
  48. package/esm2015/lib/KEYCODES.js +11 -0
  49. package/esm2015/lib/LabelShiftType.js +17 -0
  50. package/esm2015/lib/LabelView.js +7 -0
  51. package/esm2015/lib/LabelVisualModelExport.js +84 -0
  52. package/esm2015/lib/LostFocusEventArgs.js +16 -0
  53. package/esm2015/lib/MaskOptions.js +21 -0
  54. package/esm2015/lib/MaskParsingService.js +213 -0
  55. package/esm2015/lib/NativeUIXInputsFactory.js +185 -0
  56. package/esm2015/lib/PrefixShiftType.js +17 -0
  57. package/esm2015/lib/PrefixView.js +7 -0
  58. package/esm2015/lib/PrefixVisualModelExport.js +35 -0
  59. package/esm2015/lib/Replaced.js +21 -0
  60. package/esm2015/lib/RippleView.js +7 -0
  61. package/esm2015/lib/RippleView_combined.js +396 -0
  62. package/esm2015/lib/RippleVisualModelExport.js +38 -0
  63. package/esm2015/lib/SelectedValueChangedEventArgs.js +33 -0
  64. package/esm2015/lib/SuffixShiftType.js +17 -0
  65. package/esm2015/lib/SuffixView.js +7 -0
  66. package/esm2015/lib/SuffixVisualModelExport.js +34 -0
  67. package/esm2015/lib/TextElementsVisualModelExport.js +44 -0
  68. package/esm2015/lib/Theme.js +48 -0
  69. package/esm2015/lib/ThemeResolver.js +176 -0
  70. package/esm2015/lib/XButton.js +7 -0
  71. package/esm2015/lib/XButtonBridge.js +297 -0
  72. package/esm2015/lib/XButtonGroup.js +7 -0
  73. package/esm2015/lib/XButtonGroupButtonCollection.js +28 -0
  74. package/esm2015/lib/XCalendar.js +7 -0
  75. package/esm2015/lib/XCalendarLocaleEn.js +56 -0
  76. package/esm2015/lib/XCheckbox.js +7 -0
  77. package/esm2015/lib/XCheckboxBridge.js +78 -0
  78. package/esm2015/lib/XComponentBridge.js +48 -0
  79. package/esm2015/lib/XIcon.js +7 -0
  80. package/esm2015/lib/XIconBridge.js +93 -0
  81. package/esm2015/lib/XIconButtonBridge.js +77 -0
  82. package/esm2015/lib/XInput.js +7 -0
  83. package/esm2015/lib/XInputBridge.js +215 -0
  84. package/esm2015/lib/XInputGroup.js +7 -0
  85. package/esm2015/lib/XInputGroupInputCollection.js +7 -0
  86. package/esm2015/lib/XInputGroupItem.js +7 -0
  87. package/esm2015/lib/XLabel.js +7 -0
  88. package/esm2015/lib/XPopupBridge.js +287 -0
  89. package/esm2015/lib/XPrefix.js +7 -0
  90. package/esm2015/lib/XRipple.js +7 -0
  91. package/esm2015/lib/XSuffix.js +7 -0
  92. package/esm2015/lib/igx-button-click-event-args.js +24 -0
  93. package/esm2015/lib/igx-button-group-selection-changed-event-args.js +24 -0
  94. package/esm2015/lib/igx-checkbox-change-event-args.js +37 -0
  95. package/esm2015/lib/igx-date-picker-component.js +596 -0
  96. package/esm2015/lib/igx-date-picker-dynamic-module.js +66 -0
  97. package/esm2015/lib/igx-date-picker-module.js +60 -0
  98. package/esm2015/lib/igx-got-focus-event-args.js +24 -0
  99. package/esm2015/lib/igx-input-change-event-args.js +37 -0
  100. package/esm2015/lib/igx-lost-focus-event-args.js +24 -0
  101. package/esm2015/lib/igx-selected-value-changed-event-args.js +36 -0
  102. package/esm2015/lib/igx-x-button-component.js +2286 -0
  103. package/esm2015/lib/igx-x-button-dynamic-module.js +52 -0
  104. package/esm2015/lib/igx-x-button-group-button-collection.js +48 -0
  105. package/esm2015/lib/igx-x-button-group-component.js +1000 -0
  106. package/esm2015/lib/igx-x-button-group-dynamic-module.js +52 -0
  107. package/esm2015/lib/igx-x-button-group-module.js +46 -0
  108. package/esm2015/lib/igx-x-button-module.js +46 -0
  109. package/esm2015/lib/igx-x-calendar-component.js +468 -0
  110. package/esm2015/lib/igx-x-calendar-dynamic-module.js +52 -0
  111. package/esm2015/lib/igx-x-calendar-locale-en-module.js +31 -0
  112. package/esm2015/lib/igx-x-calendar-module.js +46 -0
  113. package/esm2015/lib/igx-x-checkbox-component.js +586 -0
  114. package/esm2015/lib/igx-x-checkbox-dynamic-module.js +52 -0
  115. package/esm2015/lib/igx-x-checkbox-module.js +46 -0
  116. package/esm2015/lib/igx-x-icon-component.js +596 -0
  117. package/esm2015/lib/igx-x-icon-dynamic-module.js +45 -0
  118. package/esm2015/lib/igx-x-icon-module.js +39 -0
  119. package/esm2015/lib/igx-x-input-component.js +551 -0
  120. package/esm2015/lib/igx-x-input-dynamic-module.js +45 -0
  121. package/esm2015/lib/igx-x-input-group-component.js +2046 -0
  122. package/esm2015/lib/igx-x-input-group-dynamic-module.js +59 -0
  123. package/esm2015/lib/igx-x-input-group-input-collection.js +48 -0
  124. package/esm2015/lib/igx-x-input-group-item-component.js +140 -0
  125. package/esm2015/lib/igx-x-input-group-module.js +53 -0
  126. package/esm2015/lib/igx-x-input-module.js +39 -0
  127. package/esm2015/lib/igx-x-label-component.js +423 -0
  128. package/esm2015/lib/igx-x-label-dynamic-module.js +45 -0
  129. package/esm2015/lib/igx-x-label-module.js +39 -0
  130. package/esm2015/lib/igx-x-prefix-component.js +165 -0
  131. package/esm2015/lib/igx-x-prefix-dynamic-module.js +45 -0
  132. package/esm2015/lib/igx-x-prefix-module.js +39 -0
  133. package/esm2015/lib/igx-x-ripple-component.js +322 -0
  134. package/esm2015/lib/igx-x-ripple-dynamic-module.js +38 -0
  135. package/esm2015/lib/igx-x-ripple-module.js +36 -0
  136. package/esm2015/lib/igx-x-suffix-component.js +165 -0
  137. package/esm2015/public_api.js +123 -0
  138. package/esm5/igniteui-angular-inputs.js +4 -0
  139. package/esm5/lib/ButtonClickEventArgs.js +20 -0
  140. package/esm5/lib/ButtonDisplayStyle.js +11 -0
  141. package/esm5/lib/ButtonGroupDisplayStyle.js +11 -0
  142. package/esm5/lib/ButtonGroupOrientation.js +16 -0
  143. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +20 -0
  144. package/esm5/lib/ButtonGroupView.js +7 -0
  145. package/esm5/lib/ButtonGroupView_combined.js +1701 -0
  146. package/esm5/lib/ButtonGroupVisualModelExport.js +58 -0
  147. package/esm5/lib/ButtonView.js +7 -0
  148. package/esm5/lib/ButtonView_combined.js +3985 -0
  149. package/esm5/lib/ButtonVisualModelExport.js +111 -0
  150. package/esm5/lib/CalendarView.js +7 -0
  151. package/esm5/lib/CalendarView_combined.js +2915 -0
  152. package/esm5/lib/CalendarVisualModelExport.js +102 -0
  153. package/esm5/lib/CheckboxChangeEventArgs.js +43 -0
  154. package/esm5/lib/CheckboxLabelPosition.js +11 -0
  155. package/esm5/lib/CheckboxView.js +7 -0
  156. package/esm5/lib/CheckboxView_combined.js +1303 -0
  157. package/esm5/lib/CheckboxVisualModelExport.js +64 -0
  158. package/esm5/lib/DateFormats.js +25 -0
  159. package/esm5/lib/DatePicker.js +7 -0
  160. package/esm5/lib/DatePickerView.js +7 -0
  161. package/esm5/lib/DatePickerView_combined.js +1690 -0
  162. package/esm5/lib/DatePickerVisualModelExport.js +72 -0
  163. package/esm5/lib/DateTimeValueFormatter.js +110 -0
  164. package/esm5/lib/DayInfo.js +25 -0
  165. package/esm5/lib/DayOfWeek.js +45 -0
  166. package/esm5/lib/ElevationHelper.js +71 -0
  167. package/esm5/lib/FirstWeek.js +29 -0
  168. package/esm5/lib/GotFocusEventArgs.js +20 -0
  169. package/esm5/lib/IconClickedEventArgs.js +20 -0
  170. package/esm5/lib/IconView.js +7 -0
  171. package/esm5/lib/IconView_combined.js +1012 -0
  172. package/esm5/lib/IconVisualModelExport.js +82 -0
  173. package/esm5/lib/InputChangeEventArgs.js +43 -0
  174. package/esm5/lib/InputGroupDisplayType.js +18 -0
  175. package/esm5/lib/InputGroupView.js +7 -0
  176. package/esm5/lib/InputGroupView_combined.js +6660 -0
  177. package/esm5/lib/InputGroupVisualModelExport.js +111 -0
  178. package/esm5/lib/InputShiftType.js +17 -0
  179. package/esm5/lib/InputView.js +7 -0
  180. package/esm5/lib/InputVisualModelExport.js +80 -0
  181. package/esm5/lib/KEYCODES.js +11 -0
  182. package/esm5/lib/LabelShiftType.js +17 -0
  183. package/esm5/lib/LabelView.js +7 -0
  184. package/esm5/lib/LabelVisualModelExport.js +86 -0
  185. package/esm5/lib/LostFocusEventArgs.js +20 -0
  186. package/esm5/lib/MaskOptions.js +23 -0
  187. package/esm5/lib/MaskParsingService.js +267 -0
  188. package/esm5/lib/NativeUIXInputsFactory.js +195 -0
  189. package/esm5/lib/PrefixShiftType.js +17 -0
  190. package/esm5/lib/PrefixView.js +7 -0
  191. package/esm5/lib/PrefixVisualModelExport.js +37 -0
  192. package/esm5/lib/Replaced.js +23 -0
  193. package/esm5/lib/RippleView.js +7 -0
  194. package/esm5/lib/RippleView_combined.js +491 -0
  195. package/esm5/lib/RippleVisualModelExport.js +40 -0
  196. package/esm5/lib/SelectedValueChangedEventArgs.js +43 -0
  197. package/esm5/lib/SuffixShiftType.js +17 -0
  198. package/esm5/lib/SuffixView.js +7 -0
  199. package/esm5/lib/SuffixVisualModelExport.js +36 -0
  200. package/esm5/lib/TextElementsVisualModelExport.js +46 -0
  201. package/esm5/lib/Theme.js +58 -0
  202. package/esm5/lib/ThemeResolver.js +182 -0
  203. package/esm5/lib/XButton.js +7 -0
  204. package/esm5/lib/XButtonBridge.js +299 -0
  205. package/esm5/lib/XButtonGroup.js +7 -0
  206. package/esm5/lib/XButtonGroupButtonCollection.js +30 -0
  207. package/esm5/lib/XCalendar.js +7 -0
  208. package/esm5/lib/XCalendarLocaleEn.js +58 -0
  209. package/esm5/lib/XCheckbox.js +7 -0
  210. package/esm5/lib/XCheckboxBridge.js +80 -0
  211. package/esm5/lib/XComponentBridge.js +54 -0
  212. package/esm5/lib/XIcon.js +7 -0
  213. package/esm5/lib/XIconBridge.js +95 -0
  214. package/esm5/lib/XIconButtonBridge.js +79 -0
  215. package/esm5/lib/XInput.js +7 -0
  216. package/esm5/lib/XInputBridge.js +217 -0
  217. package/esm5/lib/XInputGroup.js +7 -0
  218. package/esm5/lib/XInputGroupInputCollection.js +7 -0
  219. package/esm5/lib/XInputGroupItem.js +7 -0
  220. package/esm5/lib/XLabel.js +7 -0
  221. package/esm5/lib/XPopupBridge.js +289 -0
  222. package/esm5/lib/XPrefix.js +7 -0
  223. package/esm5/lib/XRipple.js +7 -0
  224. package/esm5/lib/XSuffix.js +7 -0
  225. package/esm5/lib/igx-button-click-event-args.js +30 -0
  226. package/esm5/lib/igx-button-group-selection-changed-event-args.js +30 -0
  227. package/esm5/lib/igx-checkbox-change-event-args.js +51 -0
  228. package/esm5/lib/igx-date-picker-component.js +720 -0
  229. package/esm5/lib/igx-date-picker-dynamic-module.js +65 -0
  230. package/esm5/lib/igx-date-picker-module.js +59 -0
  231. package/esm5/lib/igx-got-focus-event-args.js +30 -0
  232. package/esm5/lib/igx-input-change-event-args.js +51 -0
  233. package/esm5/lib/igx-lost-focus-event-args.js +30 -0
  234. package/esm5/lib/igx-selected-value-changed-event-args.js +50 -0
  235. package/esm5/lib/igx-x-button-component.js +3018 -0
  236. package/esm5/lib/igx-x-button-dynamic-module.js +51 -0
  237. package/esm5/lib/igx-x-button-group-button-collection.js +53 -0
  238. package/esm5/lib/igx-x-button-group-component.js +1272 -0
  239. package/esm5/lib/igx-x-button-group-dynamic-module.js +51 -0
  240. package/esm5/lib/igx-x-button-group-module.js +45 -0
  241. package/esm5/lib/igx-x-button-module.js +45 -0
  242. package/esm5/lib/igx-x-calendar-component.js +572 -0
  243. package/esm5/lib/igx-x-calendar-dynamic-module.js +51 -0
  244. package/esm5/lib/igx-x-calendar-locale-en-module.js +30 -0
  245. package/esm5/lib/igx-x-calendar-module.js +45 -0
  246. package/esm5/lib/igx-x-checkbox-component.js +724 -0
  247. package/esm5/lib/igx-x-checkbox-dynamic-module.js +51 -0
  248. package/esm5/lib/igx-x-checkbox-module.js +45 -0
  249. package/esm5/lib/igx-x-icon-component.js +732 -0
  250. package/esm5/lib/igx-x-icon-dynamic-module.js +44 -0
  251. package/esm5/lib/igx-x-icon-module.js +38 -0
  252. package/esm5/lib/igx-x-input-component.js +683 -0
  253. package/esm5/lib/igx-x-input-dynamic-module.js +44 -0
  254. package/esm5/lib/igx-x-input-group-component.js +2697 -0
  255. package/esm5/lib/igx-x-input-group-dynamic-module.js +58 -0
  256. package/esm5/lib/igx-x-input-group-input-collection.js +53 -0
  257. package/esm5/lib/igx-x-input-group-item-component.js +151 -0
  258. package/esm5/lib/igx-x-input-group-module.js +52 -0
  259. package/esm5/lib/igx-x-input-module.js +38 -0
  260. package/esm5/lib/igx-x-label-component.js +522 -0
  261. package/esm5/lib/igx-x-label-dynamic-module.js +44 -0
  262. package/esm5/lib/igx-x-label-module.js +38 -0
  263. package/esm5/lib/igx-x-prefix-component.js +180 -0
  264. package/esm5/lib/igx-x-prefix-dynamic-module.js +44 -0
  265. package/esm5/lib/igx-x-prefix-module.js +38 -0
  266. package/esm5/lib/igx-x-ripple-component.js +381 -0
  267. package/esm5/lib/igx-x-ripple-dynamic-module.js +37 -0
  268. package/esm5/lib/igx-x-ripple-module.js +35 -0
  269. package/esm5/lib/igx-x-suffix-component.js +180 -0
  270. package/esm5/public_api.js +123 -0
  271. package/fesm2015/igniteui-angular-inputs.js +30534 -0
  272. package/fesm5/igniteui-angular-inputs.js +36038 -0
  273. package/igniteui-angular-inputs.d.ts +5 -0
  274. package/lib/ButtonClickEventArgs.d.ts +7 -0
  275. package/lib/ButtonDisplayStyle.d.ts +15 -0
  276. package/lib/ButtonGroupDisplayStyle.d.ts +12 -0
  277. package/lib/ButtonGroupOrientation.d.ts +9 -0
  278. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +7 -0
  279. package/lib/ButtonGroupView.d.ts +1 -0
  280. package/lib/ButtonGroupView_combined.d.ts +372 -0
  281. package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
  282. package/lib/ButtonView.d.ts +1 -0
  283. package/lib/ButtonView_combined.d.ts +695 -0
  284. package/lib/ButtonVisualModelExport.d.ts +46 -0
  285. package/lib/CalendarView.d.ts +1 -0
  286. package/lib/CalendarView_combined.d.ts +231 -0
  287. package/lib/CalendarVisualModelExport.d.ts +33 -0
  288. package/lib/CheckboxChangeEventArgs.d.ts +13 -0
  289. package/lib/CheckboxLabelPosition.d.ts +12 -0
  290. package/lib/CheckboxView.d.ts +1 -0
  291. package/lib/CheckboxView_combined.d.ts +214 -0
  292. package/lib/CheckboxVisualModelExport.d.ts +28 -0
  293. package/lib/DateFormats.d.ts +18 -0
  294. package/lib/DatePicker.d.ts +1 -0
  295. package/lib/DatePickerView.d.ts +1 -0
  296. package/lib/DatePickerView_combined.d.ts +225 -0
  297. package/lib/DatePickerVisualModelExport.d.ts +24 -0
  298. package/lib/DateTimeValueFormatter.d.ts +20 -0
  299. package/lib/DayInfo.d.ts +13 -0
  300. package/lib/DayOfWeek.d.ts +38 -0
  301. package/lib/ElevationHelper.d.ts +16 -0
  302. package/lib/FirstWeek.d.ts +22 -0
  303. package/lib/GotFocusEventArgs.d.ts +7 -0
  304. package/lib/IconClickedEventArgs.d.ts +7 -0
  305. package/lib/IconView.d.ts +1 -0
  306. package/lib/IconView_combined.d.ts +198 -0
  307. package/lib/IconVisualModelExport.d.ts +26 -0
  308. package/lib/InputChangeEventArgs.d.ts +13 -0
  309. package/lib/InputGroupDisplayType.d.ts +11 -0
  310. package/lib/InputGroupView.d.ts +1 -0
  311. package/lib/InputGroupView_combined.d.ts +1202 -0
  312. package/lib/InputGroupVisualModelExport.d.ts +44 -0
  313. package/lib/InputShiftType.d.ts +10 -0
  314. package/lib/InputView.d.ts +1 -0
  315. package/lib/InputVisualModelExport.d.ts +30 -0
  316. package/lib/KEYCODES.d.ts +27 -0
  317. package/lib/LabelShiftType.d.ts +10 -0
  318. package/lib/LabelView.d.ts +1 -0
  319. package/lib/LabelVisualModelExport.d.ts +34 -0
  320. package/lib/LostFocusEventArgs.d.ts +7 -0
  321. package/lib/MaskOptions.d.ts +9 -0
  322. package/lib/MaskParsingService.d.ts +19 -0
  323. package/lib/NativeUIXInputsFactory.d.ts +24 -0
  324. package/lib/PrefixShiftType.d.ts +10 -0
  325. package/lib/PrefixView.d.ts +1 -0
  326. package/lib/PrefixVisualModelExport.d.ts +13 -0
  327. package/lib/Replaced.d.ts +9 -0
  328. package/lib/RippleView.d.ts +1 -0
  329. package/lib/RippleView_combined.d.ts +98 -0
  330. package/lib/RippleVisualModelExport.d.ts +15 -0
  331. package/lib/SelectedValueChangedEventArgs.d.ts +13 -0
  332. package/lib/SuffixShiftType.d.ts +10 -0
  333. package/lib/SuffixView.d.ts +1 -0
  334. package/lib/SuffixVisualModelExport.d.ts +13 -0
  335. package/lib/TextElementsVisualModelExport.d.ts +16 -0
  336. package/lib/Theme.d.ts +15 -0
  337. package/lib/ThemeResolver.d.ts +56 -0
  338. package/lib/XButton.d.ts +1 -0
  339. package/lib/XButtonBridge.d.ts +39 -0
  340. package/lib/XButtonGroup.d.ts +1 -0
  341. package/lib/XButtonGroupButtonCollection.d.ts +12 -0
  342. package/lib/XCalendar.d.ts +1 -0
  343. package/lib/XCalendarLocaleEn.d.ts +49 -0
  344. package/lib/XCheckbox.d.ts +1 -0
  345. package/lib/XCheckboxBridge.d.ts +19 -0
  346. package/lib/XComponentBridge.d.ts +18 -0
  347. package/lib/XIcon.d.ts +1 -0
  348. package/lib/XIconBridge.d.ts +14 -0
  349. package/lib/XIconButtonBridge.d.ts +16 -0
  350. package/lib/XInput.d.ts +1 -0
  351. package/lib/XInputBridge.d.ts +28 -0
  352. package/lib/XInputGroup.d.ts +1 -0
  353. package/lib/XInputGroupInputCollection.d.ts +1 -0
  354. package/lib/XInputGroupItem.d.ts +1 -0
  355. package/lib/XLabel.d.ts +1 -0
  356. package/lib/XPopupBridge.d.ts +52 -0
  357. package/lib/XPrefix.d.ts +1 -0
  358. package/lib/XRipple.d.ts +1 -0
  359. package/lib/XSuffix.d.ts +1 -0
  360. package/lib/igx-button-click-event-args.d.ts +12 -0
  361. package/lib/igx-button-group-selection-changed-event-args.d.ts +12 -0
  362. package/lib/igx-checkbox-change-event-args.d.ts +18 -0
  363. package/lib/igx-date-picker-component.d.ts +215 -0
  364. package/lib/igx-date-picker-dynamic-module.d.ts +13 -0
  365. package/lib/igx-date-picker-module.d.ts +13 -0
  366. package/lib/igx-got-focus-event-args.d.ts +12 -0
  367. package/lib/igx-input-change-event-args.d.ts +17 -0
  368. package/lib/igx-lost-focus-event-args.d.ts +12 -0
  369. package/lib/igx-selected-value-changed-event-args.d.ts +16 -0
  370. package/lib/igx-x-button-component.d.ts +980 -0
  371. package/lib/igx-x-button-dynamic-module.d.ts +11 -0
  372. package/lib/igx-x-button-group-button-collection.d.ts +8 -0
  373. package/lib/igx-x-button-group-component.d.ts +416 -0
  374. package/lib/igx-x-button-group-dynamic-module.d.ts +11 -0
  375. package/lib/igx-x-button-group-module.d.ts +11 -0
  376. package/lib/igx-x-button-module.d.ts +11 -0
  377. package/lib/igx-x-calendar-component.d.ts +177 -0
  378. package/lib/igx-x-calendar-dynamic-module.d.ts +11 -0
  379. package/lib/igx-x-calendar-locale-en-module.d.ts +8 -0
  380. package/lib/igx-x-calendar-module.d.ts +11 -0
  381. package/lib/igx-x-checkbox-component.d.ts +238 -0
  382. package/lib/igx-x-checkbox-dynamic-module.d.ts +11 -0
  383. package/lib/igx-x-checkbox-module.d.ts +11 -0
  384. package/lib/igx-x-icon-component.d.ts +255 -0
  385. package/lib/igx-x-icon-dynamic-module.d.ts +10 -0
  386. package/lib/igx-x-icon-module.d.ts +10 -0
  387. package/lib/igx-x-input-component.d.ts +212 -0
  388. package/lib/igx-x-input-dynamic-module.d.ts +10 -0
  389. package/lib/igx-x-input-group-component.d.ts +855 -0
  390. package/lib/igx-x-input-group-dynamic-module.d.ts +12 -0
  391. package/lib/igx-x-input-group-input-collection.d.ts +8 -0
  392. package/lib/igx-x-input-group-item-component.d.ts +35 -0
  393. package/lib/igx-x-input-group-module.d.ts +12 -0
  394. package/lib/igx-x-input-module.d.ts +10 -0
  395. package/lib/igx-x-label-component.d.ts +175 -0
  396. package/lib/igx-x-label-dynamic-module.d.ts +10 -0
  397. package/lib/igx-x-label-module.d.ts +10 -0
  398. package/lib/igx-x-prefix-component.d.ts +60 -0
  399. package/lib/igx-x-prefix-dynamic-module.d.ts +10 -0
  400. package/lib/igx-x-prefix-module.d.ts +10 -0
  401. package/lib/igx-x-ripple-component.d.ts +110 -0
  402. package/lib/igx-x-ripple-dynamic-module.d.ts +9 -0
  403. package/lib/igx-x-ripple-module.d.ts +9 -0
  404. package/lib/igx-x-suffix-component.d.ts +60 -0
  405. package/package.json +39 -0
  406. package/public_api.d.ts +123 -0
@@ -0,0 +1,1303 @@
1
+ /*
2
+ THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
+ https://www.infragistics.com/legal/license/igultimate-la
4
+ https://www.infragistics.com/legal/license/igultimate-eula
5
+ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
+ */
7
+ import { __extends, __values } from "tslib";
8
+ import { Base, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, String_$type } from "igniteui-angular-core";
9
+ import { XRipple } from "./XRipple";
10
+ import { List$1 } from "igniteui-angular-core";
11
+ import { Size } from "igniteui-angular-core";
12
+ import { KeyFrameAnimationFactory } from "igniteui-angular-core";
13
+ import { AnimationKeyFrameEffect } from "igniteui-angular-core";
14
+ import { AnimationKeyFrameEffectTiming } from "igniteui-angular-core";
15
+ import { stringReplace } from "igniteui-angular-core";
16
+ import { BaseControlTheme_$type } from "igniteui-angular-core";
17
+ import { CheckboxLabelPosition_$type } from "./CheckboxLabelPosition";
18
+ import { BrushUtil } from "igniteui-angular-core";
19
+ import { ThemeResolver } from "./ThemeResolver";
20
+ import { CornerRadius } from "igniteui-angular-core";
21
+ import { NativeUI } from "igniteui-angular-core";
22
+ import { Thickness } from "igniteui-angular-core";
23
+ import { CheckboxChangeEventArgs } from "./CheckboxChangeEventArgs";
24
+ import { AnimationKeyFrameProperty } from "igniteui-angular-core";
25
+ import { TransformGroup } from "igniteui-angular-core";
26
+ import { RotateTransform } from "igniteui-angular-core";
27
+ import { TranslateTransform } from "igniteui-angular-core";
28
+ import { CheckboxVisualModelExport } from "./CheckboxVisualModelExport";
29
+ import { AppearanceHelper } from "igniteui-angular-core";
30
+ import { Dictionary$2 } from "igniteui-angular-core";
31
+ import { Theme } from "./Theme";
32
+ import { isNaN_ } from "igniteui-angular-core";
33
+ /**
34
+ * @hidden
35
+ */
36
+ var CheckboxView = /** @class */ /*@__PURE__*/ (function (_super) {
37
+ __extends(CheckboxView, _super);
38
+ function CheckboxView() {
39
+ var _this = _super.call(this) || this;
40
+ _this.c = null;
41
+ _this.l = null;
42
+ _this.f = null;
43
+ _this.j = new List$1(Delegate_$type, 0);
44
+ _this.g = true;
45
+ _this.r = null;
46
+ _this.m = null;
47
+ _this.q = null;
48
+ _this.n = null;
49
+ _this.o = null;
50
+ _this.d = null;
51
+ _this.p = null;
52
+ return _this;
53
+ }
54
+ CheckboxView.prototype.ae = function () {
55
+ };
56
+ CheckboxView.prototype.i = function () {
57
+ return true;
58
+ };
59
+ CheckboxView.prototype.ac = function (a) {
60
+ var e_1, _a;
61
+ if (a == null) {
62
+ try {
63
+ for (var _b = __values(fromEnum(this.j)), _c = _b.next(); !_c.done; _c = _b.next()) {
64
+ var b = _c.value;
65
+ b();
66
+ }
67
+ }
68
+ catch (e_1_1) {
69
+ e_1 = { error: e_1_1 };
70
+ }
71
+ finally {
72
+ try {
73
+ if (_c && !_c.done && (_a = _b.return))
74
+ _a.call(_b);
75
+ }
76
+ finally {
77
+ if (e_1)
78
+ throw e_1.error;
79
+ }
80
+ }
81
+ this.j.clear();
82
+ return;
83
+ }
84
+ this.l = a;
85
+ this.l.rootWrapper.setStyleProperty("display", "flex");
86
+ this.l.rootWrapper.setStyleProperty("flex-direction", "row");
87
+ this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
88
+ this.l.rootWrapper.setStyleProperty("align-items", "center");
89
+ var c = this.l.createElement("input");
90
+ this.r = c;
91
+ this.r.addClass("ig-native-checkbox");
92
+ this.r.setStyleProperty("position", "absolute");
93
+ this.r.setStyleProperty("width", "1px");
94
+ this.r.setStyleProperty("height", "1px");
95
+ this.r.setStyleProperty("margin", "-1px");
96
+ this.r.setStyleProperty("border", "none");
97
+ this.r.setStyleProperty("clip", "rect(0, 0, 0, 0)");
98
+ this.r.setStyleProperty("outline", "0");
99
+ this.r.setStyleProperty("pointer-events", "none");
100
+ this.r.setStyleProperty("overflow", "hidden");
101
+ this.r.setStyleProperty("-webkit-appearance", "none");
102
+ this.r.setStyleProperty("-moz-appearance", "none");
103
+ this.r.setStyleProperty("appearance", "none");
104
+ this.r.setAttribute("type", "checkbox");
105
+ this.r.setAttribute("id", this.c.b1);
106
+ this.ai();
107
+ this.j.add(c.listen("change", runOn(this, this.w)));
108
+ this.j.add(c.listen("click", runOn(this, this.x)));
109
+ this.j.add(c.listen("focus", runOn(this, this.y)));
110
+ this.j.add(c.listen("blur", runOn(this, this.v)));
111
+ this.l.append(c);
112
+ var d = this.l.createElement("div");
113
+ d.addClass("ig-checkbox-box");
114
+ d.setStyleProperty("width", "1.25em");
115
+ d.setStyleProperty("height", "1.25em");
116
+ d.setStyleProperty("position", "relative");
117
+ this.m = d;
118
+ this.l.append(d);
119
+ var e = this.l.createElement("label");
120
+ e.setAttribute("for", this.c.b1);
121
+ e.addClass("ig-checkbox-composite");
122
+ e.setStyleProperty("box-sizing", "border-box");
123
+ e.setStyleProperty("position", "relative");
124
+ e.setStyleProperty("display", "inline-block");
125
+ e.setStyleProperty("cursor", "pointer");
126
+ e.setStyleProperty("width", "1.25em");
127
+ e.setStyleProperty("height", "1.25em");
128
+ e.setStyleProperty("min-width", "1.25em");
129
+ e.setStyleProperty("border-width", "0.125rem");
130
+ e.setStyleProperty("border-style", "solid");
131
+ e.setStyleProperty("border-color", "rgba(0,0,0,0.54)");
132
+ e.setStyleProperty("border-top-color", "rgba(0, 0, 0, 0.54)");
133
+ e.setStyleProperty("border-right-color", "rgba(0, 0, 0, 0.54)");
134
+ e.setStyleProperty("border-bottom-color", "rgba(0, 0, 0, 0.54)");
135
+ e.setStyleProperty("border-left-color", "rgba(0, 0, 0, 0.54)");
136
+ e.setStyleProperty("border-radius", "2px");
137
+ e.setStyleProperty("-webkit-tap-highlight-color", "transparent");
138
+ e.setStyleProperty("overflow", "hidden");
139
+ this.q = e;
140
+ this.m.append(e);
141
+ var f = this.l.createElementNS("svg", "http://www.w3.org/2000/svg");
142
+ f.setAttribute("viewBox", "0 0 24 24");
143
+ f.addClass("ig-checkbox-mark");
144
+ f.setStyleProperty("position", "absolute");
145
+ f.setStyleProperty("top", "0");
146
+ f.setStyleProperty("left", "0");
147
+ f.setStyleProperty("right", "0");
148
+ f.setStyleProperty("bottom", "0");
149
+ f.setStyleProperty("stroke", "#fff");
150
+ f.setStyleProperty("stroke-linecap", "square");
151
+ f.setStyleProperty("stroke-width", "3");
152
+ f.setStyleProperty("stroke-dasharray", "24");
153
+ f.setStyleProperty("stroke-dashoffset", "24");
154
+ f.setStyleProperty("fill", "none");
155
+ f.setStyleProperty("opacity", "0");
156
+ f.setStyleProperty("z-index", "1");
157
+ this.o = f;
158
+ e.append(f);
159
+ var g = this.l.createElementNS("path", "http://www.w3.org/2000/svg");
160
+ g.setAttribute("d", this.c.bf);
161
+ f.append(g);
162
+ this.n = g;
163
+ var h = this.l.createElement("div");
164
+ var i = this.l.getSubRenderer(h);
165
+ h.setStyleProperty("position", "absolute");
166
+ h.setStyleProperty("width", "3em");
167
+ h.setStyleProperty("height", "3em");
168
+ h.setStyleProperty("right", "calc(50% - 1.5em)");
169
+ h.setStyleProperty("top", "calc(50% - 1.5em)");
170
+ h.setStyleProperty("border-radius", "24px");
171
+ h.setStyleProperty("overflow", "hidden");
172
+ var j = new XRipple();
173
+ j.provideContainer(i);
174
+ j.q = d;
175
+ var k = this.l.getExternal(j, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
176
+ j.h = true;
177
+ j.k = true;
178
+ this.d = j;
179
+ d.append(h);
180
+ var l = this.l.createElement("span");
181
+ l.addClass("ig-checkbox-label");
182
+ l.setStyleProperty("font-family", "Verdana");
183
+ l.setStyleProperty("font-weight", "400");
184
+ l.setStyleProperty("font-size", "1rem");
185
+ l.setStyleProperty("letter-spacing", ".00937rem");
186
+ l.setStyleProperty("text-transform", "none");
187
+ l.setStyleProperty("line-height", "1.5rem");
188
+ l.setStyleProperty("margin-left", "8px");
189
+ l.setStyleProperty("margin-top", "0");
190
+ l.setStyleProperty("margin-bottom", "0");
191
+ l.setStyleProperty("cursor", "pointer");
192
+ l.setStyleProperty("role", "label");
193
+ this.p = l;
194
+ this.j.add(l.listen("click", runOn(this, this.u)));
195
+ this.l.append(l);
196
+ this.l.getPortal(l, "ChildContent", function (m) {
197
+ }, true);
198
+ this.c.cp();
199
+ };
200
+ CheckboxView.prototype.u = function (a) {
201
+ this.c.toggle();
202
+ };
203
+ CheckboxView.prototype.ai = function () {
204
+ if (this.i()) {
205
+ var a = this.c.b1;
206
+ this.r.setAttribute("name", this.c.ca);
207
+ this.r.setProperty("value", this.c.a4);
208
+ if (this.c.aa) {
209
+ this.r.setAttribute("tabindex", this.c.az.toString());
210
+ }
211
+ this.r.setProperty("disabled", this.c.disabled);
212
+ this.r.setProperty("indeterminate", this.c.indeterminate);
213
+ this.r.setProperty("checked", this.c.checked);
214
+ this.r.setProperty("required", this.c.ay);
215
+ if (this.c.indeterminate) {
216
+ this.r.setAttribute("aria-checked", "mixed");
217
+ }
218
+ else {
219
+ this.r.setAttribute("aria-checked", this.c.checked ? "true" : "false");
220
+ }
221
+ this.r.setAttribute("aria-labelledby", this.c.bn);
222
+ this.r.setAttribute("aria-label", this.c.bm);
223
+ }
224
+ };
225
+ CheckboxView.prototype.ak = function () {
226
+ return new Size(1, this.q.width(), this.q.height());
227
+ };
228
+ CheckboxView.prototype.ah = function () {
229
+ this.n.setAttribute("d", this.c.bf);
230
+ };
231
+ CheckboxView.prototype.af = function () {
232
+ if (this.i()) {
233
+ var a = this.c.b1;
234
+ this.r.setAttribute("id", a);
235
+ this.q.setAttribute("for", a);
236
+ }
237
+ };
238
+ CheckboxView.prototype.v = function (a) {
239
+ this.c.focused = false;
240
+ };
241
+ CheckboxView.prototype.y = function (a) {
242
+ this.c.focused = true;
243
+ };
244
+ CheckboxView.prototype.x = function (a) {
245
+ a.stopPropagation();
246
+ if (this.h()) {
247
+ var native_ = this.r.getNativeElement();
248
+ native_.blur();
249
+ }
250
+ this.c.toggle();
251
+ };
252
+ CheckboxView.prototype.h = function () {
253
+ return false;
254
+ };
255
+ CheckboxView.prototype.w = function (a) {
256
+ a.stopPropagation();
257
+ };
258
+ CheckboxView.prototype.z = function () {
259
+ if (KeyFrameAnimationFactory.h == null) {
260
+ KeyFrameAnimationFactory.h = this.l;
261
+ }
262
+ };
263
+ CheckboxView.prototype.a = function (a) {
264
+ return new AnimationKeyFrameEffect(0, this.q, 0, null, a);
265
+ };
266
+ CheckboxView.prototype.b = function (a) {
267
+ return new AnimationKeyFrameEffect(0, this.o, 0, null, a);
268
+ };
269
+ CheckboxView.prototype.aa = function (a) {
270
+ };
271
+ Object.defineProperty(CheckboxView.prototype, "s", {
272
+ get: function () {
273
+ return this.q;
274
+ },
275
+ enumerable: false,
276
+ configurable: true
277
+ });
278
+ Object.defineProperty(CheckboxView.prototype, "e", {
279
+ get: function () {
280
+ return this.d;
281
+ },
282
+ enumerable: false,
283
+ configurable: true
284
+ });
285
+ Object.defineProperty(CheckboxView.prototype, "t", {
286
+ get: function () {
287
+ return this.o;
288
+ },
289
+ enumerable: false,
290
+ configurable: true
291
+ });
292
+ CheckboxView.prototype.ab = function () {
293
+ this.g = true;
294
+ this.j.add(this.r.listen("change", runOn(this, this.w)));
295
+ this.j.add(this.r.listen("click", runOn(this, this.x)));
296
+ this.j.add(this.r.listen("focus", runOn(this, this.y)));
297
+ this.j.add(this.r.listen("blur", runOn(this, this.v)));
298
+ this.j.add(this.p.listen("click", runOn(this, this.u)));
299
+ };
300
+ CheckboxView.prototype.ad = function () {
301
+ var e_2, _a;
302
+ this.g = false;
303
+ try {
304
+ for (var _b = __values(fromEnum(this.j)), _c = _b.next(); !_c.done; _c = _b.next()) {
305
+ var a = _c.value;
306
+ a();
307
+ }
308
+ }
309
+ catch (e_2_1) {
310
+ e_2 = { error: e_2_1 };
311
+ }
312
+ finally {
313
+ try {
314
+ if (_c && !_c.done && (_a = _b.return))
315
+ _a.call(_b);
316
+ }
317
+ finally {
318
+ if (e_2)
319
+ throw e_2.error;
320
+ }
321
+ }
322
+ this.j.clear();
323
+ };
324
+ CheckboxView.prototype.ag = function () {
325
+ var model_ = this.c;
326
+ if (model_.externalObject && model_.externalObject.refreshDefaults) {
327
+ model_.externalObject.refreshDefaults();
328
+ }
329
+ ;
330
+ };
331
+ CheckboxView.prototype.aj = function (a, b) {
332
+ this.d.ax = a;
333
+ this.d.aw = b;
334
+ };
335
+ CheckboxView.prototype.k = function () {
336
+ var a = this.q.getStyleProperty("border-top-width");
337
+ a = stringReplace(a, "px", "");
338
+ return parseFloat(a);
339
+ };
340
+ CheckboxView.$t = markType(CheckboxView, 'CheckboxView');
341
+ return CheckboxView;
342
+ }(Base));
343
+ export { CheckboxView };
344
+ /**
345
+ * @hidden
346
+ */
347
+ var XCheckbox = /** @class */ /*@__PURE__*/ (function (_super) {
348
+ __extends(XCheckbox, _super);
349
+ function XCheckbox() {
350
+ var _this = _super.call(this) || this;
351
+ _this._view = null;
352
+ _this.l = 0;
353
+ _this.s = false;
354
+ _this.ag = false;
355
+ _this.c6 = null;
356
+ _this.c1 = ThemeResolver.ah(XCheckbox.m, BrushUtil.g(0, 0, 0, 0), BrushUtil.g(0, 0, 0, 0));
357
+ _this.c3 = null;
358
+ _this.c5 = null;
359
+ _this.c0 = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "TickColor");
360
+ _this.c7 = null;
361
+ _this.c4 = null;
362
+ _this.bv = XCheckbox.k.v(XCheckbox.m, "CheckPath");
363
+ _this.dj = XCheckbox.k.ae(XCheckbox.m, "UncheckedBorderColor");
364
+ _this.dg = XCheckbox.k.ae(XCheckbox.m, "CheckedBorderColor");
365
+ _this.as = XCheckbox.k.j(XCheckbox.m, "BorderWidth");
366
+ _this.df = XCheckbox.k.ae(XCheckbox.m, "CheckedBackgroundColor");
367
+ _this.at = XCheckbox.k.j(XCheckbox.m, "CornerRadius");
368
+ _this.dh = XCheckbox.k.ae(XCheckbox.m, "TickColor");
369
+ _this.au = XCheckbox.k.j(XCheckbox.m, "TickStrokeWidth");
370
+ _this.di = XCheckbox.k.ae(XCheckbox.m, "UncheckedBackgroundColor");
371
+ _this.a5 = ThemeResolver.x(XCheckbox.m, XCheckbox.k, "CheckPath");
372
+ _this.c2 = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "UncheckedBorderColor");
373
+ _this.cz = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "CheckedBorderColor");
374
+ _this.ak = NaN;
375
+ _this.ah = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "BorderWidth");
376
+ _this.al = NaN;
377
+ _this.am = NaN;
378
+ _this.aj = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "TickStrokeWidth");
379
+ _this.ai = ThemeResolver.l(XCheckbox.m, XCheckbox.k, "CornerRadius");
380
+ _this.cy = ThemeResolver.ag(XCheckbox.m, XCheckbox.k, "CheckedBackgroundColor");
381
+ _this.a9 = "ig-native-checkbox-" + XCheckbox.a1++;
382
+ _this.a8 = "ig-checkbox-" + XCheckbox.a0++;
383
+ _this.ba = null;
384
+ _this.bb = null;
385
+ _this.ax = 0;
386
+ _this.t = false;
387
+ _this.aw = 0;
388
+ _this.a7 = null;
389
+ _this.a6 = null;
390
+ _this.a2 = null;
391
+ _this.w = false;
392
+ _this.change = null;
393
+ _this.d = 0;
394
+ _this.q = false;
395
+ _this.u = false;
396
+ _this.x = false;
397
+ _this.v = false;
398
+ _this.r = false;
399
+ _this.o = null;
400
+ _this.p = null;
401
+ _this.propertyChanged = null;
402
+ _this.ba = _this.a8 + "-label";
403
+ _this.a7 = _this.ba;
404
+ var a = new CheckboxView();
405
+ a.c = _this;
406
+ _this.view = a;
407
+ _this.view.ae();
408
+ return _this;
409
+ }
410
+ Object.defineProperty(XCheckbox.prototype, "view", {
411
+ get: function () {
412
+ return this._view;
413
+ },
414
+ set: function (a) {
415
+ this._view = a;
416
+ },
417
+ enumerable: false,
418
+ configurable: true
419
+ });
420
+ Object.defineProperty(XCheckbox.prototype, "n", {
421
+ get: function () {
422
+ return this.l;
423
+ },
424
+ set: function (a) {
425
+ var b = this.l;
426
+ this.l = a;
427
+ if (b != this.l) {
428
+ this.co("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
429
+ }
430
+ },
431
+ enumerable: false,
432
+ configurable: true
433
+ });
434
+ XCheckbox.prototype.destroy = function () {
435
+ this.provideContainer(null);
436
+ };
437
+ XCheckbox.prototype.co = function (a, b, c) {
438
+ if (this.propertyChanged != null) {
439
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
440
+ }
441
+ this.cq(a, b, c);
442
+ };
443
+ XCheckbox.prototype.cu = function () {
444
+ this.da = this.dk != null ? this.dk : this.dh;
445
+ this.dc = this.dm != null ? this.dm : this.dj;
446
+ this.c9 = this.de != null ? this.de : this.dg;
447
+ this.an = !isNaN_(this.aq) ? this.aq : this.as;
448
+ this.c8 = this.dd != null ? this.dd : this.df;
449
+ this.db = this.dl != null ? this.dl : this.di;
450
+ this.ao = !isNaN_(this.ar) ? this.ar : this.at;
451
+ this.ap = !isNaN_(this.av) ? this.av : this.au;
452
+ this.bf = this.bv;
453
+ };
454
+ XCheckbox.prototype.cq = function (a, b, c) {
455
+ switch (a) {
456
+ case "BaseTheme":
457
+ this.cx(this.n);
458
+ this.cu();
459
+ break;
460
+ case "TickColor":
461
+ this.da = this.dk != null ? this.dk : this.dh;
462
+ break;
463
+ case "UncheckedBorderColor":
464
+ this.dc = this.dm != null ? this.dm : this.dj;
465
+ break;
466
+ case "CheckedBorderColor":
467
+ this.c9 = this.de != null ? this.de : this.dg;
468
+ break;
469
+ case "BorderWidth":
470
+ this.an = !isNaN_(this.aq) ? this.aq : this.as;
471
+ break;
472
+ case "CheckedBackgroundColor":
473
+ this.c8 = this.dd != null ? this.dd : this.df;
474
+ break;
475
+ case "UncheckedBackgroundColor":
476
+ this.db = this.dl != null ? this.dl : this.di;
477
+ break;
478
+ case "CornerRadius":
479
+ this.ao = !isNaN_(this.ar) ? this.ar : this.at;
480
+ break;
481
+ case "TickStrokeWidth":
482
+ this.ap = !isNaN_(this.av) ? this.av : this.au;
483
+ break;
484
+ case "ActualTickStrokeWidth":
485
+ case "ActualTickColor":
486
+ this.cw();
487
+ break;
488
+ case "ActualCheckedBackgroundColor":
489
+ case "ActualUncheckedBackgroundColor":
490
+ case "ActualUncheckedBorderColor":
491
+ case "ActualCheckedBorderColor":
492
+ case "ActualBorderWidth":
493
+ if (this.o != null) {
494
+ this.o.cancel();
495
+ }
496
+ if (this.p != null) {
497
+ this.p.cancel();
498
+ }
499
+ this.o = null;
500
+ this.p = null;
501
+ this.ct();
502
+ var d = (this.z);
503
+ this.z = true;
504
+ this.cv(this.indeterminate);
505
+ this.z = d;
506
+ break;
507
+ case "ActualCornerRadius":
508
+ this.ct();
509
+ break;
510
+ case "ActualCheckPath":
511
+ this.view.ah();
512
+ break;
513
+ case "IsChecked":
514
+ if (!this.s) {
515
+ var e = this.indeterminate;
516
+ this.s = true;
517
+ this.indeterminate = false;
518
+ this.s = false;
519
+ var f = (this.z);
520
+ this.z = true;
521
+ this.cv(e);
522
+ this.z = f;
523
+ }
524
+ break;
525
+ case "IsIndeterminate":
526
+ if (!this.s) {
527
+ this.cv(b);
528
+ }
529
+ break;
530
+ case "DisableRipple":
531
+ this.view.e.i = this.y;
532
+ break;
533
+ case "InputId":
534
+ this.view.af();
535
+ break;
536
+ }
537
+ };
538
+ XCheckbox.prototype.ct = function () {
539
+ var a = this.view.s;
540
+ if (a == null) {
541
+ return;
542
+ }
543
+ NativeUI.n(a, new CornerRadius(0, this.ao));
544
+ if (!isNaN_(this.an)) {
545
+ NativeUI.o(a, new Thickness(0, this.an));
546
+ }
547
+ if (this.checked) {
548
+ NativeUI.l(a, this.c8);
549
+ NativeUI.m(a, this.c9);
550
+ }
551
+ else {
552
+ NativeUI.l(a, this.db);
553
+ NativeUI.m(a, this.dc);
554
+ }
555
+ };
556
+ XCheckbox.prototype.cw = function () {
557
+ var a = this.view.t;
558
+ if (a == null) {
559
+ return;
560
+ }
561
+ NativeUI.y(a, this.da);
562
+ NativeUI.ab(a, this.ap);
563
+ };
564
+ Object.defineProperty(XCheckbox.prototype, "dl", {
565
+ get: function () {
566
+ return this.c6;
567
+ },
568
+ set: function (a) {
569
+ var b = this.c6;
570
+ this.c6 = a;
571
+ if (b != this.c6) {
572
+ this.co("UncheckedBackgroundColor", b, a);
573
+ }
574
+ },
575
+ enumerable: false,
576
+ configurable: true
577
+ });
578
+ Object.defineProperty(XCheckbox.prototype, "db", {
579
+ get: function () {
580
+ return this.c1;
581
+ },
582
+ set: function (a) {
583
+ var b = this.c1;
584
+ this.c1 = a;
585
+ if (b != this.c1) {
586
+ this.co("ActualUncheckedBackgroundColor", b, a);
587
+ }
588
+ },
589
+ enumerable: false,
590
+ configurable: true
591
+ });
592
+ Object.defineProperty(XCheckbox.prototype, "dd", {
593
+ get: function () {
594
+ return this.c3;
595
+ },
596
+ set: function (a) {
597
+ var b = this.c3;
598
+ this.c3 = a;
599
+ if (b != this.c3) {
600
+ this.co("CheckedBackgroundColor", b, a);
601
+ }
602
+ },
603
+ enumerable: false,
604
+ configurable: true
605
+ });
606
+ Object.defineProperty(XCheckbox.prototype, "dk", {
607
+ get: function () {
608
+ return this.c5;
609
+ },
610
+ set: function (a) {
611
+ var b = this.c5;
612
+ this.c5 = a;
613
+ if (b != this.c5) {
614
+ this.co("TickColor", b, a);
615
+ }
616
+ },
617
+ enumerable: false,
618
+ configurable: true
619
+ });
620
+ Object.defineProperty(XCheckbox.prototype, "da", {
621
+ get: function () {
622
+ return this.c0;
623
+ },
624
+ set: function (a) {
625
+ var b = this.c0;
626
+ this.c0 = a;
627
+ if (b != this.c0) {
628
+ this.co("ActualTickColor", b, a);
629
+ }
630
+ },
631
+ enumerable: false,
632
+ configurable: true
633
+ });
634
+ Object.defineProperty(XCheckbox.prototype, "dm", {
635
+ get: function () {
636
+ return this.c7;
637
+ },
638
+ set: function (a) {
639
+ var b = this.c7;
640
+ this.c7 = a;
641
+ if (b != this.c7) {
642
+ this.co("UncheckedBorderColor", b, a);
643
+ }
644
+ },
645
+ enumerable: false,
646
+ configurable: true
647
+ });
648
+ Object.defineProperty(XCheckbox.prototype, "de", {
649
+ get: function () {
650
+ return this.c4;
651
+ },
652
+ set: function (a) {
653
+ var b = this.c4;
654
+ this.c4 = a;
655
+ if (b != this.c4) {
656
+ this.co("CheckedBorderColor", b, a);
657
+ }
658
+ },
659
+ enumerable: false,
660
+ configurable: true
661
+ });
662
+ XCheckbox.prototype.cx = function (a) {
663
+ this.bv = XCheckbox.k.v(a, "CheckPath");
664
+ this.dj = XCheckbox.k.ae(a, "UncheckedBorderColor");
665
+ this.dg = XCheckbox.k.ae(a, "CheckedBorderColor");
666
+ this.as = XCheckbox.k.j(a, "BorderWidth");
667
+ this.df = XCheckbox.k.ae(a, "CheckedBackgroundColor");
668
+ this.at = XCheckbox.k.j(a, "CornerRadius");
669
+ this.dh = XCheckbox.k.ae(a, "TickColor");
670
+ this.au = XCheckbox.k.j(a, "TickStrokeWidth");
671
+ this.di = XCheckbox.k.ae(a, "UncheckedBackgroundColor");
672
+ };
673
+ Object.defineProperty(XCheckbox.prototype, "bf", {
674
+ get: function () {
675
+ return this.a5;
676
+ },
677
+ set: function (a) {
678
+ var b = this.a5;
679
+ this.a5 = a;
680
+ if (b != this.a5) {
681
+ this.co("ActualCheckPath", b, a);
682
+ }
683
+ },
684
+ enumerable: false,
685
+ configurable: true
686
+ });
687
+ Object.defineProperty(XCheckbox.prototype, "dc", {
688
+ get: function () {
689
+ return this.c2;
690
+ },
691
+ set: function (a) {
692
+ var b = this.c2;
693
+ this.c2 = a;
694
+ if (b != this.c2) {
695
+ this.co("ActualUncheckedBorderColor", b, a);
696
+ }
697
+ },
698
+ enumerable: false,
699
+ configurable: true
700
+ });
701
+ Object.defineProperty(XCheckbox.prototype, "c9", {
702
+ get: function () {
703
+ return this.cz;
704
+ },
705
+ set: function (a) {
706
+ var b = this.cz;
707
+ this.cz = a;
708
+ if (b != this.cz) {
709
+ this.co("ActualCheckedBorderColor", b, a);
710
+ }
711
+ },
712
+ enumerable: false,
713
+ configurable: true
714
+ });
715
+ Object.defineProperty(XCheckbox.prototype, "aq", {
716
+ get: function () {
717
+ return this.ak;
718
+ },
719
+ set: function (a) {
720
+ var b = this.ak;
721
+ this.ak = a;
722
+ if (b != this.ak) {
723
+ this.co("BorderWidth", b, a);
724
+ }
725
+ },
726
+ enumerable: false,
727
+ configurable: true
728
+ });
729
+ Object.defineProperty(XCheckbox.prototype, "an", {
730
+ get: function () {
731
+ return this.ah;
732
+ },
733
+ set: function (a) {
734
+ var b = this.ah;
735
+ this.ah = a;
736
+ if (b != this.ah) {
737
+ this.co("ActualBorderWidth", b, a);
738
+ }
739
+ },
740
+ enumerable: false,
741
+ configurable: true
742
+ });
743
+ Object.defineProperty(XCheckbox.prototype, "ar", {
744
+ get: function () {
745
+ return this.al;
746
+ },
747
+ set: function (a) {
748
+ var b = this.al;
749
+ this.al = a;
750
+ if (b != this.al) {
751
+ this.co("CornerRadius", b, a);
752
+ }
753
+ },
754
+ enumerable: false,
755
+ configurable: true
756
+ });
757
+ Object.defineProperty(XCheckbox.prototype, "av", {
758
+ get: function () {
759
+ return this.am;
760
+ },
761
+ set: function (a) {
762
+ var b = this.am;
763
+ this.am = a;
764
+ if (b != this.am) {
765
+ this.co("TickStrokeWidth", b, a);
766
+ }
767
+ },
768
+ enumerable: false,
769
+ configurable: true
770
+ });
771
+ Object.defineProperty(XCheckbox.prototype, "ap", {
772
+ get: function () {
773
+ return this.aj;
774
+ },
775
+ set: function (a) {
776
+ var b = this.aj;
777
+ this.aj = a;
778
+ if (b != this.aj) {
779
+ this.co("ActualTickStrokeWidth", b, a);
780
+ }
781
+ },
782
+ enumerable: false,
783
+ configurable: true
784
+ });
785
+ Object.defineProperty(XCheckbox.prototype, "ao", {
786
+ get: function () {
787
+ return this.ai;
788
+ },
789
+ set: function (a) {
790
+ var b = this.ai;
791
+ this.ai = a;
792
+ if (b != this.ai) {
793
+ this.co("ActualCornerRadius", b, a);
794
+ }
795
+ },
796
+ enumerable: false,
797
+ configurable: true
798
+ });
799
+ Object.defineProperty(XCheckbox.prototype, "c8", {
800
+ get: function () {
801
+ return this.cy;
802
+ },
803
+ set: function (a) {
804
+ var b = this.cy;
805
+ this.cy = a;
806
+ if (b != this.cy) {
807
+ this.co("ActualCheckedBackgroundColor", b, a);
808
+ }
809
+ },
810
+ enumerable: false,
811
+ configurable: true
812
+ });
813
+ Object.defineProperty(XCheckbox.prototype, "b1", {
814
+ get: function () {
815
+ return this.a9;
816
+ },
817
+ set: function (a) {
818
+ var b = this.a9;
819
+ this.a9 = a;
820
+ if (b != this.a9) {
821
+ this.co("InputId", b, a);
822
+ }
823
+ },
824
+ enumerable: false,
825
+ configurable: true
826
+ });
827
+ Object.defineProperty(XCheckbox.prototype, "bz", {
828
+ get: function () {
829
+ return this.a8;
830
+ },
831
+ set: function (a) {
832
+ var b = this.a8;
833
+ this.a8 = a;
834
+ if (b != this.a8) {
835
+ this.co("Id", b, a);
836
+ }
837
+ },
838
+ enumerable: false,
839
+ configurable: true
840
+ });
841
+ Object.defineProperty(XCheckbox.prototype, "labelId", {
842
+ get: function () {
843
+ return this.ba;
844
+ },
845
+ set: function (a) {
846
+ var b = this.ba;
847
+ this.ba = a;
848
+ if (b != this.ba) {
849
+ this.co("LabelId", b, a);
850
+ }
851
+ },
852
+ enumerable: false,
853
+ configurable: true
854
+ });
855
+ Object.defineProperty(XCheckbox.prototype, "ca", {
856
+ get: function () {
857
+ return this.bb;
858
+ },
859
+ set: function (a) {
860
+ var b = this.bb;
861
+ this.bb = a;
862
+ if (b != this.bb) {
863
+ this.co("Name", b, a);
864
+ }
865
+ },
866
+ enumerable: false,
867
+ configurable: true
868
+ });
869
+ Object.defineProperty(XCheckbox.prototype, "aa", {
870
+ get: function () {
871
+ return this.t;
872
+ },
873
+ enumerable: false,
874
+ configurable: true
875
+ });
876
+ Object.defineProperty(XCheckbox.prototype, "az", {
877
+ get: function () {
878
+ return this.ax;
879
+ },
880
+ set: function (a) {
881
+ var b = this.ax;
882
+ this.ax = a;
883
+ this.t = true;
884
+ if (b != this.ax) {
885
+ this.co("TabIndex", b, a);
886
+ }
887
+ },
888
+ enumerable: false,
889
+ configurable: true
890
+ });
891
+ Object.defineProperty(XCheckbox.prototype, "ay", {
892
+ get: function () {
893
+ return this.aw;
894
+ },
895
+ set: function (a) {
896
+ var b = this.aw;
897
+ this.aw = a;
898
+ if (b != this.aw) {
899
+ this.co("Required", b, a);
900
+ }
901
+ },
902
+ enumerable: false,
903
+ configurable: true
904
+ });
905
+ Object.defineProperty(XCheckbox.prototype, "bn", {
906
+ get: function () {
907
+ return this.a7;
908
+ },
909
+ set: function (a) {
910
+ var b = this.a7;
911
+ this.a7 = a;
912
+ if (b != this.a7) {
913
+ this.co("AriaLabelledBy", b, a);
914
+ }
915
+ },
916
+ enumerable: false,
917
+ configurable: true
918
+ });
919
+ Object.defineProperty(XCheckbox.prototype, "bm", {
920
+ get: function () {
921
+ return this.a6;
922
+ },
923
+ set: function (a) {
924
+ var b = this.a6;
925
+ this.a6 = a;
926
+ if (b != this.a6) {
927
+ this.co("AriaLabel", b, a);
928
+ }
929
+ },
930
+ enumerable: false,
931
+ configurable: true
932
+ });
933
+ Object.defineProperty(XCheckbox.prototype, "a4", {
934
+ get: function () {
935
+ return this.a2;
936
+ },
937
+ set: function (a) {
938
+ var b = this.a2;
939
+ this.a2 = a;
940
+ if (b != this.a2) {
941
+ this.co("Value", b, a);
942
+ }
943
+ },
944
+ enumerable: false,
945
+ configurable: true
946
+ });
947
+ Object.defineProperty(XCheckbox.prototype, "focused", {
948
+ get: function () {
949
+ return this.w;
950
+ },
951
+ set: function (a) {
952
+ var b = this.w;
953
+ this.w = a;
954
+ if (b != this.w) {
955
+ this.co("IsFocused", b, a);
956
+ }
957
+ },
958
+ enumerable: false,
959
+ configurable: true
960
+ });
961
+ Object.defineProperty(XCheckbox.prototype, "e", {
962
+ get: function () {
963
+ return this.d;
964
+ },
965
+ set: function (a) {
966
+ var b = this.d;
967
+ this.d = a;
968
+ if (b != this.d) {
969
+ this.co("LabelPosition", enumGetBox(CheckboxLabelPosition_$type, b), enumGetBox(CheckboxLabelPosition_$type, a));
970
+ }
971
+ },
972
+ enumerable: false,
973
+ configurable: true
974
+ });
975
+ Object.defineProperty(XCheckbox.prototype, "y", {
976
+ get: function () {
977
+ return this.q;
978
+ },
979
+ set: function (a) {
980
+ var b = this.q;
981
+ this.q = a;
982
+ if (b != this.q) {
983
+ this.co("DisableRipple", b, a);
984
+ }
985
+ },
986
+ enumerable: false,
987
+ configurable: true
988
+ });
989
+ Object.defineProperty(XCheckbox.prototype, "checked", {
990
+ get: function () {
991
+ return this.u;
992
+ },
993
+ set: function (a) {
994
+ var b = this.u;
995
+ this.u = a;
996
+ if (b != this.u) {
997
+ this.co("IsChecked", b, a);
998
+ }
999
+ },
1000
+ enumerable: false,
1001
+ configurable: true
1002
+ });
1003
+ Object.defineProperty(XCheckbox.prototype, "indeterminate", {
1004
+ get: function () {
1005
+ return this.x;
1006
+ },
1007
+ set: function (a) {
1008
+ var b = this.x;
1009
+ this.x = a;
1010
+ if (b != this.x) {
1011
+ this.co("IsIndeterminate", b, a);
1012
+ }
1013
+ },
1014
+ enumerable: false,
1015
+ configurable: true
1016
+ });
1017
+ Object.defineProperty(XCheckbox.prototype, "disabled", {
1018
+ get: function () {
1019
+ return this.v;
1020
+ },
1021
+ set: function (a) {
1022
+ var b = this.v;
1023
+ this.v = a;
1024
+ if (b != this.v) {
1025
+ this.co("IsDisabled", b, a);
1026
+ }
1027
+ },
1028
+ enumerable: false,
1029
+ configurable: true
1030
+ });
1031
+ Object.defineProperty(XCheckbox.prototype, "z", {
1032
+ get: function () {
1033
+ return this.r;
1034
+ },
1035
+ set: function (a) {
1036
+ var b = this.r;
1037
+ this.r = a;
1038
+ if (b != this.r) {
1039
+ this.co("DisableTransitions", b, a);
1040
+ }
1041
+ },
1042
+ enumerable: false,
1043
+ configurable: true
1044
+ });
1045
+ XCheckbox.prototype.cp = function () {
1046
+ this.ck();
1047
+ if (this.checked) {
1048
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
1049
+ }
1050
+ else {
1051
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.dc, 0.1));
1052
+ }
1053
+ };
1054
+ Object.defineProperty(XCheckbox.prototype, "a", {
1055
+ get: function () {
1056
+ var a = new AnimationKeyFrameEffectTiming();
1057
+ a.g = 300;
1058
+ a.b = 0;
1059
+ return a;
1060
+ },
1061
+ enumerable: false,
1062
+ configurable: true
1063
+ });
1064
+ XCheckbox.prototype.ck = function () {
1065
+ this.view.z();
1066
+ var a = false;
1067
+ if (this.o == null) {
1068
+ if (!a) {
1069
+ a = true;
1070
+ this.view.ag();
1071
+ }
1072
+ this.o = KeyFrameAnimationFactory.f.c(this.view.a(this.a).m(new AnimationKeyFrameProperty(2, this.db), new AnimationKeyFrameProperty(3, this.dc)).m(new AnimationKeyFrameProperty(2, this.c8), new AnimationKeyFrameProperty(3, this.c9)));
1073
+ this.p = KeyFrameAnimationFactory.f.c(this.view.b(this.a).m(new AnimationKeyFrameProperty(19, 24), new AnimationKeyFrameProperty(1, 0)).m(new AnimationKeyFrameProperty(19, 0), new AnimationKeyFrameProperty(1, 1)));
1074
+ }
1075
+ };
1076
+ XCheckbox.prototype.toggle = function () {
1077
+ if (this.disabled) {
1078
+ return;
1079
+ }
1080
+ this.ck();
1081
+ this.focused = false;
1082
+ this.s = true;
1083
+ var a = false;
1084
+ if (this.indeterminate) {
1085
+ a = true;
1086
+ this.checked = true;
1087
+ }
1088
+ this.indeterminate = false;
1089
+ this.checked = !this.checked;
1090
+ this.s = false;
1091
+ this.cv(a);
1092
+ if (this.change != null) {
1093
+ var b = new CheckboxChangeEventArgs();
1094
+ b.isChecked = this.checked;
1095
+ b.isIndeterminate = this.indeterminate;
1096
+ this.change(this, b);
1097
+ }
1098
+ };
1099
+ XCheckbox.prototype.cv = function (a) {
1100
+ var _this = this;
1101
+ this.ck();
1102
+ var b = this.checked;
1103
+ if (this.indeterminate) {
1104
+ b = true;
1105
+ }
1106
+ var c = 1;
1107
+ if (!b) {
1108
+ c = -1;
1109
+ }
1110
+ if (b) {
1111
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.c8, 0.1));
1112
+ }
1113
+ else {
1114
+ this.view.aj(BrushUtil.p(this.c8, 0.6), BrushUtil.p(this.dc, 0.1));
1115
+ }
1116
+ if (!this.indeterminate) {
1117
+ NativeUI.ad(this.view.t, null);
1118
+ }
1119
+ if (this.z || this.indeterminate || a) {
1120
+ var d = this.view.s;
1121
+ var e = this.view.t;
1122
+ if (this.indeterminate) {
1123
+ var f = new TransformGroup();
1124
+ f.j.add(((function () {
1125
+ var $ret = new RotateTransform();
1126
+ $ret.j = 45;
1127
+ return $ret;
1128
+ })()));
1129
+ f.j.add(((function () {
1130
+ var $ret = new TranslateTransform();
1131
+ $ret.j = -_this.view.k();
1132
+ return $ret;
1133
+ })()));
1134
+ NativeUI.l(d, this.c8);
1135
+ NativeUI.m(d, this.c9);
1136
+ NativeUI.w(e, 1);
1137
+ NativeUI.aa(e, 41);
1138
+ NativeUI.ad(e, f);
1139
+ }
1140
+ else if (b) {
1141
+ NativeUI.l(d, this.c8);
1142
+ NativeUI.m(d, this.c9);
1143
+ NativeUI.w(e, 1);
1144
+ NativeUI.aa(e, 0);
1145
+ }
1146
+ else {
1147
+ NativeUI.l(d, this.db);
1148
+ NativeUI.m(d, this.dc);
1149
+ NativeUI.w(e, 0);
1150
+ NativeUI.aa(e, 24);
1151
+ }
1152
+ if (this.o.playState == 1) {
1153
+ this.o.cancel();
1154
+ }
1155
+ if (this.p.playState == 1) {
1156
+ this.p.cancel();
1157
+ }
1158
+ return;
1159
+ }
1160
+ if ((c > 0 && this.o.playbackRate < 0) || (c < 0 && this.o.playbackRate > 0)) {
1161
+ this.o.reverse();
1162
+ this.o.finished.f(function (g) {
1163
+ if (_this.o != null) {
1164
+ _this.o.commitStyles();
1165
+ }
1166
+ });
1167
+ this.p.reverse();
1168
+ this.p.finished.f(function (g) {
1169
+ if (_this.p != null) {
1170
+ _this.p.commitStyles();
1171
+ }
1172
+ });
1173
+ }
1174
+ else {
1175
+ this.o.play();
1176
+ this.o.finished.f(function (g) {
1177
+ if (_this.o != null) {
1178
+ _this.o.commitStyles();
1179
+ }
1180
+ });
1181
+ this.p.play();
1182
+ this.p.finished.f(function (g) {
1183
+ if (_this.p != null) {
1184
+ _this.p.commitStyles();
1185
+ }
1186
+ });
1187
+ }
1188
+ };
1189
+ XCheckbox.prototype.onDetachedFromUI = function () {
1190
+ this.view.ad();
1191
+ };
1192
+ XCheckbox.prototype.onAttachedToUI = function () {
1193
+ this.view.ab();
1194
+ };
1195
+ XCheckbox.prototype.onContentReady = function () {
1196
+ if (this.indeterminate) {
1197
+ this.cv(false);
1198
+ }
1199
+ };
1200
+ XCheckbox.prototype.af = function () {
1201
+ return this.view.i();
1202
+ };
1203
+ XCheckbox.prototype.a3 = function () {
1204
+ return this.b();
1205
+ };
1206
+ XCheckbox.prototype.by = function () {
1207
+ var a = this.b();
1208
+ return a.s();
1209
+ };
1210
+ XCheckbox.prototype.b = function () {
1211
+ var a = new CheckboxVisualModelExport();
1212
+ a.f = this.n;
1213
+ a.d = AppearanceHelper.a(this.db);
1214
+ a.c = AppearanceHelper.a(this.da);
1215
+ a.e = AppearanceHelper.a(this.dc);
1216
+ a.b = AppearanceHelper.a(this.c9);
1217
+ a.o = this.aq;
1218
+ a.l = this.an;
1219
+ a.p = this.ar;
1220
+ a.q = this.av;
1221
+ a.n = this.ap;
1222
+ a.m = this.ao;
1223
+ a.a = AppearanceHelper.a(this.c8);
1224
+ a.r = this.a4;
1225
+ a.j = this.focused;
1226
+ a.g = this.y;
1227
+ a.h = this.checked;
1228
+ a.k = this.indeterminate;
1229
+ a.i = this.disabled;
1230
+ return a;
1231
+ };
1232
+ XCheckbox.prototype.provideContainer = function (a) {
1233
+ this.view.ac(a);
1234
+ };
1235
+ XCheckbox.$t = markType(XCheckbox, 'XCheckbox', Base.$, [INotifyPropertyChanged_$type]);
1236
+ XCheckbox.g = ThemeResolver.a(((function () {
1237
+ var $ret = new Dictionary$2(String_$type, Base.$, 0);
1238
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1239
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 153, 153, 153));
1240
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(138, 33, 150, 243));
1241
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1242
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 33, 150, 243));
1243
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1244
+ $ret.addItem("TickStrokeWidth", 3);
1245
+ $ret.addItem("BorderWidth", NaN);
1246
+ $ret.addItem("CornerRadius", 2);
1247
+ return $ret;
1248
+ })()));
1249
+ XCheckbox.h = ThemeResolver.a(((function () {
1250
+ var $ret = new Dictionary$2(String_$type, Base.$, 0);
1251
+ $ret.addItem("CheckPath", "M4.1,12.7 9,17.6 20.3,6.3");
1252
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(138, 0, 0, 0));
1253
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(138, 0, 0, 0));
1254
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1255
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 228, 28, 119));
1256
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1257
+ $ret.addItem("TickStrokeWidth", 3);
1258
+ $ret.addItem("BorderWidth", NaN);
1259
+ $ret.addItem("CornerRadius", 2);
1260
+ return $ret;
1261
+ })()));
1262
+ XCheckbox.j = ThemeResolver.a(((function () {
1263
+ var $ret = new Dictionary$2(String_$type, Base.$, 0);
1264
+ $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1265
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1266
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1267
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 255, 255, 255));
1268
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 105, 136, 255));
1269
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1270
+ $ret.addItem("TickStrokeWidth", 3);
1271
+ $ret.addItem("BorderWidth", NaN);
1272
+ $ret.addItem("CornerRadius", 2);
1273
+ return $ret;
1274
+ })()));
1275
+ XCheckbox.i = ThemeResolver.a(((function () {
1276
+ var $ret = new Dictionary$2(String_$type, Base.$, 0);
1277
+ $ret.addItem("CheckPath", "M5.1,12.7 9,17.6 19,9");
1278
+ $ret.addItem("UncheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1279
+ $ret.addItem("CheckedBorderColor", BrushUtil.g(255, 105, 136, 255));
1280
+ $ret.addItem("UncheckedBackgroundColor", BrushUtil.g(255, 55, 63, 86));
1281
+ $ret.addItem("CheckedBackgroundColor", BrushUtil.g(255, 105, 136, 255));
1282
+ $ret.addItem("TickColor", BrushUtil.g(255, 255, 255, 255));
1283
+ $ret.addItem("TickStrokeWidth", 3);
1284
+ $ret.addItem("BorderWidth", NaN);
1285
+ $ret.addItem("CornerRadius", 2);
1286
+ return $ret;
1287
+ })()));
1288
+ XCheckbox.k = new ThemeResolver(1, ((function () {
1289
+ var $ret = new Dictionary$2(BaseControlTheme_$type, Theme.$, 0);
1290
+ $ret.addItem(2, XCheckbox.h);
1291
+ $ret.addItem(1, XCheckbox.g);
1292
+ $ret.addItem(3, XCheckbox.j);
1293
+ $ret.addItem(4, XCheckbox.i);
1294
+ $ret.addItem(5, XCheckbox.j);
1295
+ $ret.addItem(6, XCheckbox.i);
1296
+ return $ret;
1297
+ })()), 2);
1298
+ XCheckbox.m = 2;
1299
+ XCheckbox.a1 = 0;
1300
+ XCheckbox.a0 = 0;
1301
+ return XCheckbox;
1302
+ }(Base));
1303
+ export { XCheckbox };