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,2286 @@
1
+ import { Output, TemplateRef, EventEmitter, Component, ViewContainerRef, ViewChild, Input, ChangeDetectionStrategy, HostBinding } from '@angular/core';
2
+ import { XButton } from "./XButton";
3
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, toSpinal, initializePropertiesFromCss, NamePatcher } from "igniteui-angular-core";
4
+ import { FontInfo } from "igniteui-angular-core";
5
+ import { AngularRenderer, PortalManager } from "igniteui-angular-core";
6
+ import { delegateCombine } from "igniteui-angular-core";
7
+ import { CornerRadius } from "igniteui-angular-core";
8
+ import { ButtonDisplayStyle_$type } from './ButtonDisplayStyle';
9
+ import { IgxButtonClickEventArgs } from './igx-button-click-event-args';
10
+ import { TypeRegistrar } from "igniteui-angular-core";
11
+ import { ControlDisplayDensity_$type } from "igniteui-angular-core";
12
+ import { ElevationMode_$type } from "igniteui-angular-core";
13
+ import { BaseControlTheme_$type } from "igniteui-angular-core";
14
+ import { HorizontalAlignment_$type } from "igniteui-angular-core";
15
+ import { VerticalAlignment_$type } from "igniteui-angular-core";
16
+ import { IgxFocusEventArgs } from "igniteui-angular-core";
17
+ import * as i0 from "@angular/core";
18
+ export let IgxXButtonComponent = /*@__PURE__*/ (() => {
19
+ class IgxXButtonComponent {
20
+ constructor(renderer, _elRef, ngZone, injector, componentFactoryResolver) {
21
+ this.renderer = renderer;
22
+ this._elRef = _elRef;
23
+ this.ngZone = ngZone;
24
+ this.injector = injector;
25
+ this.componentFactoryResolver = componentFactoryResolver;
26
+ this._wrapper = null;
27
+ this._portalManager = null;
28
+ this._root = null;
29
+ this.__p = null;
30
+ this._hasUserValues = new Set();
31
+ this._stylingContainer = null;
32
+ this._stylingParent = null;
33
+ this._inStyling = false;
34
+ this._clicked = null;
35
+ this._gotFocus = null;
36
+ this._lostFocus = null;
37
+ this._zoneRunner = null;
38
+ if (this._styling) {
39
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
40
+ }
41
+ this._implementation = this.createImplementation();
42
+ this._implementation.externalObject = this;
43
+ if (renderer) {
44
+ this.container = renderer.createElement("div");
45
+ renderer.appendChild(_elRef.element.nativeElement, this.container);
46
+ renderer.setStyle(this.container, "display", "inline-block");
47
+ }
48
+ var root;
49
+ root = this.container;
50
+ if (this.container != null) {
51
+ root = this.container;
52
+ }
53
+ if (root && root.nativeElement) {
54
+ root = root.nativeElement;
55
+ }
56
+ this._root = root;
57
+ var button = this.i;
58
+ this._button = button;
59
+ if (renderer) {
60
+ this._portalManager = new PortalManager("buttonContent", componentFactoryResolver);
61
+ var ren = new AngularRenderer(root, this.renderer, window.document, this.ngZone, true, {}, this._portalManager);
62
+ this._wrapper = ren;
63
+ button.provideContainer(ren);
64
+ }
65
+ }
66
+ // supports angular themes or custom properties set in CSS
67
+ updateStyle() {
68
+ this._styling(this._root, this);
69
+ }
70
+ ngOnDestroy() {
71
+ this._button.destroy();
72
+ this._wrapper.destroy();
73
+ }
74
+ ngAfterViewInit() {
75
+ this._portalManager.dynamicContent = this._dynamicContent;
76
+ this._portalManager.onChildContentChanged(this._childTemplateRef);
77
+ this._styling(this._root, this);
78
+ this.updateStyle();
79
+ }
80
+ createImplementation() {
81
+ return new XButton();
82
+ }
83
+ /**
84
+ * @hidden
85
+ */
86
+ get i() {
87
+ return this._implementation;
88
+ } /**
89
+ * @hidden
90
+ */
91
+ static _createFromInternal(internal) {
92
+ if (!internal) {
93
+ return null;
94
+ }
95
+ if (!internal.$type) {
96
+ return null;
97
+ }
98
+ let name = internal.$type.name;
99
+ let externalName = "Igx" + name + "Component";
100
+ if (!TypeRegistrar.isRegistered(externalName)) {
101
+ return null;
102
+ }
103
+ return TypeRegistrar.create(externalName);
104
+ }
105
+ /**
106
+ * Gets or sets the min width to use for the button.
107
+ */
108
+ get minWidth() {
109
+ return this.i.bu;
110
+ }
111
+ set minWidth(v) {
112
+ this.i.bu = +v;
113
+ }
114
+ /**
115
+ * Gets or sets the min height to use for the button.
116
+ */
117
+ get minHeight() {
118
+ return this.i.bt;
119
+ }
120
+ set minHeight(v) {
121
+ this.i.bt = +v;
122
+ }
123
+ /**
124
+ * Gets or sets the display style to use for the button.
125
+ */
126
+ get displayType() {
127
+ return this.i.e;
128
+ }
129
+ set displayType(v) {
130
+ this.i.e = ensureEnum(ButtonDisplayStyle_$type, v);
131
+ }
132
+ /**
133
+ * Gets or sets the display density to use for the button.
134
+ */
135
+ get density() {
136
+ return this.i.r;
137
+ }
138
+ set density(v) {
139
+ this.i.r = ensureEnum(ControlDisplayDensity_$type, v);
140
+ }
141
+ /**
142
+ * Gets or sets the base built in theme to use for the button.
143
+ */
144
+ get baseTheme() {
145
+ return this.i.n;
146
+ }
147
+ set baseTheme(v) {
148
+ this.i.n = ensureEnum(BaseControlTheme_$type, v);
149
+ }
150
+ /**
151
+ * Gets the actual display density to use for the label.
152
+ */
153
+ get actualDensity() {
154
+ return this.i.q;
155
+ }
156
+ set actualDensity(v) {
157
+ this.i.q = ensureEnum(ControlDisplayDensity_$type, v);
158
+ }
159
+ /**
160
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
161
+ */
162
+ get actualBorderColor() {
163
+ return brushToString(this.i.ng);
164
+ }
165
+ set actualBorderColor(v) {
166
+ this.i.ng = stringToBrush(v);
167
+ }
168
+ /**
169
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
170
+ */
171
+ get actualUmbraShadowColor() {
172
+ return brushToString(this.i.nr);
173
+ }
174
+ set actualUmbraShadowColor(v) {
175
+ this.i.nr = stringToBrush(v);
176
+ }
177
+ /**
178
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
179
+ */
180
+ get actualPenumbraShadowColor() {
181
+ return brushToString(this.i.no);
182
+ }
183
+ set actualPenumbraShadowColor(v) {
184
+ this.i.no = stringToBrush(v);
185
+ }
186
+ /**
187
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
188
+ */
189
+ get actualAmbientShadowColor() {
190
+ return brushToString(this.i.ne);
191
+ }
192
+ set actualAmbientShadowColor(v) {
193
+ this.i.ne = stringToBrush(v);
194
+ }
195
+ /**
196
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
197
+ */
198
+ get actualRestingElevation() {
199
+ return this.i.ct;
200
+ }
201
+ set actualRestingElevation(v) {
202
+ this.i.ct = +v;
203
+ }
204
+ /**
205
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
206
+ */
207
+ get actualFocusElevation() {
208
+ return this.i.cr;
209
+ }
210
+ set actualFocusElevation(v) {
211
+ this.i.cr = +v;
212
+ }
213
+ /**
214
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
215
+ */
216
+ get actualHoverElevation() {
217
+ return this.i.cs;
218
+ }
219
+ set actualHoverElevation(v) {
220
+ this.i.cs = +v;
221
+ }
222
+ /**
223
+ * Gets or sets the color to use for the ripple when the button is pressed.
224
+ */
225
+ get actualRippleColor() {
226
+ return brushToString(this.i.np);
227
+ }
228
+ set actualRippleColor(v) {
229
+ this.i.np = stringToBrush(v);
230
+ }
231
+ get actualCornerRadiusBottomRight() {
232
+ return this.i.kr ? this.i.kr.b : NaN;
233
+ }
234
+ set actualCornerRadiusBottomRight(v) {
235
+ this.ensureActualCornerRadius();
236
+ this.i.kr.b = +v;
237
+ this.i.kr = this.i.kr;
238
+ }
239
+ get actualCornerRadiusBottomLeft() {
240
+ return this.i.kr ? this.i.kr.a : NaN;
241
+ }
242
+ set actualCornerRadiusBottomLeft(v) {
243
+ this.ensureActualCornerRadius();
244
+ this.i.kr.a = +v;
245
+ this.i.kr = this.i.kr;
246
+ }
247
+ get actualCornerRadiusTopLeft() {
248
+ return this.i.kr ? this.i.kr.c : NaN;
249
+ }
250
+ set actualCornerRadiusTopLeft(v) {
251
+ this.ensureActualCornerRadius();
252
+ this.i.kr.c = +v;
253
+ this.i.kr = this.i.kr;
254
+ }
255
+ get actualCornerRadiusTopRight() {
256
+ return this.i.kr ? this.i.kr.d : NaN;
257
+ }
258
+ set actualCornerRadiusTopRight(v) {
259
+ this.ensureActualCornerRadius();
260
+ this.i.kr.d = +v;
261
+ this.i.kr = this.i.kr;
262
+ }
263
+ ensureActualCornerRadius() {
264
+ if (this.i.kr) {
265
+ return;
266
+ }
267
+ this.i.kr = new CornerRadius(2);
268
+ }
269
+ /**
270
+ * Gets the color to use for the actual background.
271
+ */
272
+ get actualBackgroundColor() {
273
+ return brushToString(this.i.nf);
274
+ }
275
+ set actualBackgroundColor(v) {
276
+ this.i.nf = stringToBrush(v);
277
+ }
278
+ /**
279
+ * Gets the actual color to use for the disabled background of the button.
280
+ */
281
+ get actualDisabledBackgroundColor() {
282
+ return brushToString(this.i.nh);
283
+ }
284
+ set actualDisabledBackgroundColor(v) {
285
+ this.i.nh = stringToBrush(v);
286
+ }
287
+ /**
288
+ * Gets the actual color to use for the disabled border of the button.
289
+ */
290
+ get actualDisabledBorderColor() {
291
+ return brushToString(this.i.ni);
292
+ }
293
+ set actualDisabledBorderColor(v) {
294
+ this.i.ni = stringToBrush(v);
295
+ }
296
+ /**
297
+ * Gets the actual color to use for the disabled text of the button.
298
+ */
299
+ get actualDisabledTextColor() {
300
+ return brushToString(this.i.nj);
301
+ }
302
+ set actualDisabledTextColor(v) {
303
+ this.i.nj = stringToBrush(v);
304
+ }
305
+ /**
306
+ * Gets the actual disabled elevation to use for the button.
307
+ */
308
+ get actualDisabledElevation() {
309
+ return this.i.cq;
310
+ }
311
+ set actualDisabledElevation(v) {
312
+ this.i.cq = +v;
313
+ }
314
+ /**
315
+ * Gets the actual disabled elevation to use for the button.
316
+ */
317
+ get actualElevationMode() {
318
+ return this.i.u;
319
+ }
320
+ set actualElevationMode(v) {
321
+ this.i.u = ensureEnum(ElevationMode_$type, v);
322
+ }
323
+ /**
324
+ * Gets the color to use for the actual background.
325
+ */
326
+ get actualTextColor() {
327
+ return brushToString(this.i.nq);
328
+ }
329
+ set actualTextColor(v) {
330
+ this.i.nq = stringToBrush(v);
331
+ }
332
+ /**
333
+ * Gets the color to use for the actual background.
334
+ */
335
+ get actualHoverTextColor() {
336
+ return brushToString(this.i.nn);
337
+ }
338
+ set actualHoverTextColor(v) {
339
+ this.i.nn = stringToBrush(v);
340
+ }
341
+ /**
342
+ * Gets the color to use for the actual background.
343
+ */
344
+ get actualFocusBackgroundColor() {
345
+ return brushToString(this.i.nk);
346
+ }
347
+ set actualFocusBackgroundColor(v) {
348
+ this.i.nk = stringToBrush(v);
349
+ }
350
+ /**
351
+ * Gets the actual color to use for the focused text.
352
+ */
353
+ get actualFocusTextColor() {
354
+ return brushToString(this.i.nl);
355
+ }
356
+ set actualFocusTextColor(v) {
357
+ this.i.nl = stringToBrush(v);
358
+ }
359
+ /**
360
+ * Gets the hover color to use for the actual background.
361
+ */
362
+ get actualHoverBackgroundColor() {
363
+ return brushToString(this.i.nm);
364
+ }
365
+ set actualHoverBackgroundColor(v) {
366
+ this.i.nm = stringToBrush(v);
367
+ }
368
+ /**
369
+ * Gets or sets the Width to use for the check mark when the checkbox is checked.
370
+ */
371
+ get actualBorderWidth() {
372
+ return this.i.bf;
373
+ }
374
+ set actualBorderWidth(v) {
375
+ this.i.bf = +v;
376
+ }
377
+ /**
378
+ * Gets or sets the color to use for the background of the button when the type is raised.
379
+ */
380
+ get raisedBackgroundColor() {
381
+ return brushToString(this.i.qv);
382
+ }
383
+ set raisedBackgroundColor(v) {
384
+ this.i.qv = stringToBrush(v);
385
+ }
386
+ /**
387
+ * Gets or sets the color to use for the disabled background of the button when the type is raised.
388
+ */
389
+ get raisedDisabledBackgroundColor() {
390
+ return brushToString(this.i.qx);
391
+ }
392
+ set raisedDisabledBackgroundColor(v) {
393
+ this.i.qx = stringToBrush(v);
394
+ }
395
+ /**
396
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
397
+ */
398
+ get raisedDisabledBorderColor() {
399
+ return brushToString(this.i.qy);
400
+ }
401
+ set raisedDisabledBorderColor(v) {
402
+ this.i.qy = stringToBrush(v);
403
+ }
404
+ /**
405
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
406
+ */
407
+ get raisedDisabledTextColor() {
408
+ return brushToString(this.i.qz);
409
+ }
410
+ set raisedDisabledTextColor(v) {
411
+ this.i.qz = stringToBrush(v);
412
+ }
413
+ /**
414
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
415
+ */
416
+ get raisedDisabledElevation() {
417
+ return this.i.dy;
418
+ }
419
+ set raisedDisabledElevation(v) {
420
+ this.i.dy = +v;
421
+ }
422
+ /**
423
+ * Gets or sets the hover color to use for the background of the button when the type is raised.
424
+ */
425
+ get raisedHoverBackgroundColor() {
426
+ return brushToString(this.i.q2);
427
+ }
428
+ set raisedHoverBackgroundColor(v) {
429
+ this.i.q2 = stringToBrush(v);
430
+ }
431
+ /**
432
+ * Gets or sets the border color to use for the button when the type is raised.
433
+ */
434
+ get raisedBorderColor() {
435
+ return brushToString(this.i.qw);
436
+ }
437
+ set raisedBorderColor(v) {
438
+ this.i.qw = stringToBrush(v);
439
+ }
440
+ /**
441
+ * Gets or sets the elevation to use for the button when the type is raised.
442
+ */
443
+ get raisedRestingElevation() {
444
+ return this.i.d1;
445
+ }
446
+ set raisedRestingElevation(v) {
447
+ this.i.d1 = +v;
448
+ }
449
+ /**
450
+ * Gets or sets the hover elevation to use for the button when the type is raised.
451
+ */
452
+ get raisedHoverElevation() {
453
+ return this.i.d0;
454
+ }
455
+ set raisedHoverElevation(v) {
456
+ this.i.d0 = +v;
457
+ }
458
+ /**
459
+ * Gets or sets the focus elevation to use for the button when the type is raised.
460
+ */
461
+ get raisedFocusElevation() {
462
+ return this.i.dz;
463
+ }
464
+ set raisedFocusElevation(v) {
465
+ this.i.dz = +v;
466
+ }
467
+ /**
468
+ * Gets or sets the width to use for the button border when the type is raised.
469
+ */
470
+ get raisedBorderWidth() {
471
+ return this.i.bw;
472
+ }
473
+ set raisedBorderWidth(v) {
474
+ this.i.bw = +v;
475
+ }
476
+ get raisedCornerRadiusBottomRight() {
477
+ return this.i.k3 ? this.i.k3.b : NaN;
478
+ }
479
+ set raisedCornerRadiusBottomRight(v) {
480
+ this.ensureRaisedCornerRadius();
481
+ this.i.k3.b = +v;
482
+ this.i.k3 = this.i.k3;
483
+ }
484
+ get raisedCornerRadiusBottomLeft() {
485
+ return this.i.k3 ? this.i.k3.a : NaN;
486
+ }
487
+ set raisedCornerRadiusBottomLeft(v) {
488
+ this.ensureRaisedCornerRadius();
489
+ this.i.k3.a = +v;
490
+ this.i.k3 = this.i.k3;
491
+ }
492
+ get raisedCornerRadiusTopLeft() {
493
+ return this.i.k3 ? this.i.k3.c : NaN;
494
+ }
495
+ set raisedCornerRadiusTopLeft(v) {
496
+ this.ensureRaisedCornerRadius();
497
+ this.i.k3.c = +v;
498
+ this.i.k3 = this.i.k3;
499
+ }
500
+ get raisedCornerRadiusTopRight() {
501
+ return this.i.k3 ? this.i.k3.d : NaN;
502
+ }
503
+ set raisedCornerRadiusTopRight(v) {
504
+ this.ensureRaisedCornerRadius();
505
+ this.i.k3.d = +v;
506
+ this.i.k3 = this.i.k3;
507
+ }
508
+ ensureRaisedCornerRadius() {
509
+ if (this.i.k3) {
510
+ return;
511
+ }
512
+ this.i.k3 = new CornerRadius(2);
513
+ }
514
+ /**
515
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
516
+ */
517
+ get raisedRippleColor() {
518
+ return brushToString(this.i.q4);
519
+ }
520
+ set raisedRippleColor(v) {
521
+ this.i.q4 = stringToBrush(v);
522
+ }
523
+ /**
524
+ * Gets or sets the color to use for the background of the button when the type is flat.
525
+ */
526
+ get flatBackgroundColor() {
527
+ return brushToString(this.i.pu);
528
+ }
529
+ set flatBackgroundColor(v) {
530
+ this.i.pu = stringToBrush(v);
531
+ }
532
+ /**
533
+ * Gets or sets the color to use for the disabled background of the button when the type is flat.
534
+ */
535
+ get flatDisabledBackgroundColor() {
536
+ return brushToString(this.i.pw);
537
+ }
538
+ set flatDisabledBackgroundColor(v) {
539
+ this.i.pw = stringToBrush(v);
540
+ }
541
+ /**
542
+ * Gets or sets the color to use for the disabled border of the button when the type is flat.
543
+ */
544
+ get flatDisabledBorderColor() {
545
+ return brushToString(this.i.px);
546
+ }
547
+ set flatDisabledBorderColor(v) {
548
+ this.i.px = stringToBrush(v);
549
+ }
550
+ /**
551
+ * Gets or sets the color to use for the disabled text of the button when the type is flat.
552
+ */
553
+ get flatDisabledTextColor() {
554
+ return brushToString(this.i.py);
555
+ }
556
+ set flatDisabledTextColor(v) {
557
+ this.i.py = stringToBrush(v);
558
+ }
559
+ /**
560
+ * Gets or sets the disabled elevation to use for the button when the type is flat.
561
+ */
562
+ get flatDisabledElevation() {
563
+ return this.i.dj;
564
+ }
565
+ set flatDisabledElevation(v) {
566
+ this.i.dj = +v;
567
+ }
568
+ /**
569
+ * Gets or sets the hover color to use for the background of the button when the type is flat.
570
+ */
571
+ get flatHoverBackgroundColor() {
572
+ return brushToString(this.i.p1);
573
+ }
574
+ set flatHoverBackgroundColor(v) {
575
+ this.i.p1 = stringToBrush(v);
576
+ }
577
+ /**
578
+ * Gets or sets the border color to use for the button when the type is flat.
579
+ */
580
+ get flatBorderColor() {
581
+ return brushToString(this.i.pv);
582
+ }
583
+ set flatBorderColor(v) {
584
+ this.i.pv = stringToBrush(v);
585
+ }
586
+ /**
587
+ * Gets or sets the elevation to use for the button when the type is flat.
588
+ */
589
+ get flatRestingElevation() {
590
+ return this.i.dm;
591
+ }
592
+ set flatRestingElevation(v) {
593
+ this.i.dm = +v;
594
+ }
595
+ /**
596
+ * Gets or sets the hover elevation to use for the button when the type is flat.
597
+ */
598
+ get flatHoverElevation() {
599
+ return this.i.dl;
600
+ }
601
+ set flatHoverElevation(v) {
602
+ this.i.dl = +v;
603
+ }
604
+ /**
605
+ * Gets or sets the focus elevation to use for the button when the type is flat.
606
+ */
607
+ get flatFocusElevation() {
608
+ return this.i.dk;
609
+ }
610
+ set flatFocusElevation(v) {
611
+ this.i.dk = +v;
612
+ }
613
+ /**
614
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
615
+ */
616
+ get flatRippleColor() {
617
+ return brushToString(this.i.p3);
618
+ }
619
+ set flatRippleColor(v) {
620
+ this.i.p3 = stringToBrush(v);
621
+ }
622
+ /**
623
+ * Gets or sets the color to use for the text of the button when type is flat.
624
+ */
625
+ get flatTextColor() {
626
+ return brushToString(this.i.p4);
627
+ }
628
+ set flatTextColor(v) {
629
+ this.i.p4 = stringToBrush(v);
630
+ }
631
+ /**
632
+ * Gets or sets the color to use for the hovered text of the button when type is flat.
633
+ */
634
+ get flatHoverTextColor() {
635
+ return brushToString(this.i.p2);
636
+ }
637
+ set flatHoverTextColor(v) {
638
+ this.i.p2 = stringToBrush(v);
639
+ }
640
+ /**
641
+ * Gets or sets the color to use for the backround the button when it is focused and flat.
642
+ */
643
+ get flatFocusBackgroundColor() {
644
+ return brushToString(this.i.pz);
645
+ }
646
+ set flatFocusBackgroundColor(v) {
647
+ this.i.pz = stringToBrush(v);
648
+ }
649
+ /**
650
+ * Gets or sets the color to use for the text the button when it is focused and flat.
651
+ */
652
+ get flatFocusTextColor() {
653
+ return brushToString(this.i.p0);
654
+ }
655
+ set flatFocusTextColor(v) {
656
+ this.i.p0 = stringToBrush(v);
657
+ }
658
+ /**
659
+ * Gets or sets the width to use for the button border when the type is flat.
660
+ */
661
+ get flatBorderWidth() {
662
+ return this.i.br;
663
+ }
664
+ set flatBorderWidth(v) {
665
+ this.i.br = +v;
666
+ }
667
+ get flatCornerRadiusBottomRight() {
668
+ return this.i.k0 ? this.i.k0.b : NaN;
669
+ }
670
+ set flatCornerRadiusBottomRight(v) {
671
+ this.ensureFlatCornerRadius();
672
+ this.i.k0.b = +v;
673
+ this.i.k0 = this.i.k0;
674
+ }
675
+ get flatCornerRadiusBottomLeft() {
676
+ return this.i.k0 ? this.i.k0.a : NaN;
677
+ }
678
+ set flatCornerRadiusBottomLeft(v) {
679
+ this.ensureFlatCornerRadius();
680
+ this.i.k0.a = +v;
681
+ this.i.k0 = this.i.k0;
682
+ }
683
+ get flatCornerRadiusTopLeft() {
684
+ return this.i.k0 ? this.i.k0.c : NaN;
685
+ }
686
+ set flatCornerRadiusTopLeft(v) {
687
+ this.ensureFlatCornerRadius();
688
+ this.i.k0.c = +v;
689
+ this.i.k0 = this.i.k0;
690
+ }
691
+ get flatCornerRadiusTopRight() {
692
+ return this.i.k0 ? this.i.k0.d : NaN;
693
+ }
694
+ set flatCornerRadiusTopRight(v) {
695
+ this.ensureFlatCornerRadius();
696
+ this.i.k0.d = +v;
697
+ this.i.k0 = this.i.k0;
698
+ }
699
+ ensureFlatCornerRadius() {
700
+ if (this.i.k0) {
701
+ return;
702
+ }
703
+ this.i.k0 = new CornerRadius(2);
704
+ }
705
+ /**
706
+ * Gets or sets the color to use for the background when the button regardless of type.
707
+ */
708
+ get backgroundColor() {
709
+ return brushToString(this.i.ns);
710
+ }
711
+ set backgroundColor(v) {
712
+ this.i.ns = stringToBrush(v);
713
+ }
714
+ /**
715
+ * Gets or sets the color to use for the disabled background of the button when the type is disabled.
716
+ */
717
+ get disabledBackgroundColor() {
718
+ return brushToString(this.i.pg);
719
+ }
720
+ set disabledBackgroundColor(v) {
721
+ this.i.pg = stringToBrush(v);
722
+ }
723
+ /**
724
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
725
+ */
726
+ get disabledBorderColor() {
727
+ return brushToString(this.i.ph);
728
+ }
729
+ set disabledBorderColor(v) {
730
+ this.i.ph = stringToBrush(v);
731
+ }
732
+ /**
733
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
734
+ */
735
+ get disabledTextColor() {
736
+ return brushToString(this.i.pi);
737
+ }
738
+ set disabledTextColor(v) {
739
+ this.i.pi = stringToBrush(v);
740
+ }
741
+ /**
742
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
743
+ */
744
+ get disabledElevation() {
745
+ return this.i.de;
746
+ }
747
+ set disabledElevation(v) {
748
+ this.i.de = +v;
749
+ }
750
+ /**
751
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
752
+ */
753
+ get elevationMode() {
754
+ return this.i.w;
755
+ }
756
+ set elevationMode(v) {
757
+ this.i.w = ensureEnum(ElevationMode_$type, v);
758
+ }
759
+ /**
760
+ * Gets or sets the hover color to use for the background of the button when the type is hovered.
761
+ */
762
+ get hoverBackgroundColor() {
763
+ return brushToString(this.i.p7);
764
+ }
765
+ set hoverBackgroundColor(v) {
766
+ this.i.p7 = stringToBrush(v);
767
+ }
768
+ /**
769
+ * Gets or sets the border color to use for the button regardless of type.
770
+ */
771
+ get borderColor() {
772
+ return brushToString(this.i.nt);
773
+ }
774
+ set borderColor(v) {
775
+ this.i.nt = stringToBrush(v);
776
+ }
777
+ /**
778
+ * Gets or sets the elevation to use for the button regardless of type.
779
+ */
780
+ get restingElevation() {
781
+ return this.i.d2;
782
+ }
783
+ set restingElevation(v) {
784
+ this.i.d2 = +v;
785
+ }
786
+ /**
787
+ * Gets or sets the hover elevation to use for the button regardless of type.
788
+ */
789
+ get hoverElevation() {
790
+ return this.i.dp;
791
+ }
792
+ set hoverElevation(v) {
793
+ this.i.dp = +v;
794
+ }
795
+ /**
796
+ * Gets or sets the focus elevation to use for the button regardless of type.
797
+ */
798
+ get focusElevation() {
799
+ return this.i.dn;
800
+ }
801
+ set focusElevation(v) {
802
+ this.i.dn = +v;
803
+ }
804
+ /**
805
+ * Gets or sets the use for the button.
806
+ */
807
+ get textStyle() {
808
+ if (this.i.aa == null) {
809
+ return null;
810
+ }
811
+ return this.i.aa.fontString;
812
+ }
813
+ set textStyle(v) {
814
+ let fi = new FontInfo();
815
+ fi.fontString = v;
816
+ this.i.aa = fi;
817
+ }
818
+ /**
819
+ * Gets or sets the color to use for the text of the button regardless of type.
820
+ */
821
+ get textColor() {
822
+ return brushToString(this.i.q7);
823
+ }
824
+ set textColor(v) {
825
+ this.i.q7 = stringToBrush(v);
826
+ }
827
+ /**
828
+ * Gets or sets the color to use for the hovered text of the button regardless of type.
829
+ */
830
+ get hoverTextColor() {
831
+ return brushToString(this.i.p8);
832
+ }
833
+ set hoverTextColor(v) {
834
+ this.i.p8 = stringToBrush(v);
835
+ }
836
+ /**
837
+ * Gets or sets the color to use for the background of the button regardless of type.
838
+ */
839
+ get rippleColor() {
840
+ return brushToString(this.i.q6);
841
+ }
842
+ set rippleColor(v) {
843
+ this.i.q6 = stringToBrush(v);
844
+ }
845
+ /**
846
+ * Gets or sets the color to use for the text of the button when type is raised.
847
+ */
848
+ get raisedTextColor() {
849
+ return brushToString(this.i.q5);
850
+ }
851
+ set raisedTextColor(v) {
852
+ this.i.q5 = stringToBrush(v);
853
+ }
854
+ /**
855
+ * Gets or sets the color to use for the hovered text of the button when type is raised.
856
+ */
857
+ get raisedHoverTextColor() {
858
+ return brushToString(this.i.q3);
859
+ }
860
+ set raisedHoverTextColor(v) {
861
+ this.i.q3 = stringToBrush(v);
862
+ }
863
+ /**
864
+ * Gets or sets the color to use for the backround the button when it is focused and raised.
865
+ */
866
+ get raisedFocusBackgroundColor() {
867
+ return brushToString(this.i.q0);
868
+ }
869
+ set raisedFocusBackgroundColor(v) {
870
+ this.i.q0 = stringToBrush(v);
871
+ }
872
+ /**
873
+ * Gets or sets the color to use for the text the button when it is focused and raised.
874
+ */
875
+ get raisedFocusTextColor() {
876
+ return brushToString(this.i.q1);
877
+ }
878
+ set raisedFocusTextColor(v) {
879
+ this.i.q1 = stringToBrush(v);
880
+ }
881
+ /**
882
+ * Gets or sets the color to use for the backround the button when it is focused.
883
+ */
884
+ get focusBackgroundColor() {
885
+ return brushToString(this.i.p5);
886
+ }
887
+ set focusBackgroundColor(v) {
888
+ this.i.p5 = stringToBrush(v);
889
+ }
890
+ /**
891
+ * Gets or sets the color to use for the text of the button when it is focused.
892
+ */
893
+ get focusTextColor() {
894
+ return brushToString(this.i.p6);
895
+ }
896
+ set focusTextColor(v) {
897
+ this.i.p6 = stringToBrush(v);
898
+ }
899
+ /**
900
+ * Gets or sets the width to use for the button border regardless of type.
901
+ */
902
+ get borderWidth() {
903
+ return this.i.bg;
904
+ }
905
+ set borderWidth(v) {
906
+ this.i.bg = +v;
907
+ }
908
+ get cornerRadiusBottomRight() {
909
+ return this.i.kt ? this.i.kt.b : NaN;
910
+ }
911
+ set cornerRadiusBottomRight(v) {
912
+ this.ensureCornerRadius();
913
+ this.i.kt.b = +v;
914
+ this.i.kt = this.i.kt;
915
+ }
916
+ get cornerRadiusBottomLeft() {
917
+ return this.i.kt ? this.i.kt.a : NaN;
918
+ }
919
+ set cornerRadiusBottomLeft(v) {
920
+ this.ensureCornerRadius();
921
+ this.i.kt.a = +v;
922
+ this.i.kt = this.i.kt;
923
+ }
924
+ get cornerRadiusTopLeft() {
925
+ return this.i.kt ? this.i.kt.c : NaN;
926
+ }
927
+ set cornerRadiusTopLeft(v) {
928
+ this.ensureCornerRadius();
929
+ this.i.kt.c = +v;
930
+ this.i.kt = this.i.kt;
931
+ }
932
+ get cornerRadiusTopRight() {
933
+ return this.i.kt ? this.i.kt.d : NaN;
934
+ }
935
+ set cornerRadiusTopRight(v) {
936
+ this.ensureCornerRadius();
937
+ this.i.kt.d = +v;
938
+ this.i.kt = this.i.kt;
939
+ }
940
+ ensureCornerRadius() {
941
+ if (this.i.kt) {
942
+ return;
943
+ }
944
+ this.i.kt = new CornerRadius(2);
945
+ }
946
+ /**
947
+ * Gets or sets the color to use for the background of the button when the type is outlined.
948
+ */
949
+ get outlinedBackgroundColor() {
950
+ return brushToString(this.i.qk);
951
+ }
952
+ set outlinedBackgroundColor(v) {
953
+ this.i.qk = stringToBrush(v);
954
+ }
955
+ /**
956
+ * Gets or sets the color to use for the disabled background of the button when the type is outlined.
957
+ */
958
+ get outlinedDisabledBackgroundColor() {
959
+ return brushToString(this.i.qm);
960
+ }
961
+ set outlinedDisabledBackgroundColor(v) {
962
+ this.i.qm = stringToBrush(v);
963
+ }
964
+ /**
965
+ * Gets or sets the color to use for the disabled border of the button when the type is outlined.
966
+ */
967
+ get outlinedDisabledBorderColor() {
968
+ return brushToString(this.i.qn);
969
+ }
970
+ set outlinedDisabledBorderColor(v) {
971
+ this.i.qn = stringToBrush(v);
972
+ }
973
+ /**
974
+ * Gets or sets the color to use for the disabled text of the button when the type is outlined.
975
+ */
976
+ get outlinedDisabledTextColor() {
977
+ return brushToString(this.i.qo);
978
+ }
979
+ set outlinedDisabledTextColor(v) {
980
+ this.i.qo = stringToBrush(v);
981
+ }
982
+ /**
983
+ * Gets or sets the disabled elevation to use for the button when the type is outlined.
984
+ */
985
+ get outlinedDisabledElevation() {
986
+ return this.i.du;
987
+ }
988
+ set outlinedDisabledElevation(v) {
989
+ this.i.du = +v;
990
+ }
991
+ /**
992
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
993
+ */
994
+ get outlinedHoverBackgroundColor() {
995
+ return brushToString(this.i.qr);
996
+ }
997
+ set outlinedHoverBackgroundColor(v) {
998
+ this.i.qr = stringToBrush(v);
999
+ }
1000
+ /**
1001
+ * Gets or sets the border color to use for the button when the type is outlined.
1002
+ */
1003
+ get outlinedBorderColor() {
1004
+ return brushToString(this.i.ql);
1005
+ }
1006
+ set outlinedBorderColor(v) {
1007
+ this.i.ql = stringToBrush(v);
1008
+ }
1009
+ /**
1010
+ * Gets or sets the elevation to use for the button when the type is outlined.
1011
+ */
1012
+ get outlinedRestingElevation() {
1013
+ return this.i.dx;
1014
+ }
1015
+ set outlinedRestingElevation(v) {
1016
+ this.i.dx = +v;
1017
+ }
1018
+ /**
1019
+ * Gets or sets the hover elevation to use for the button when the type is outlined.
1020
+ */
1021
+ get outlinedHoverElevation() {
1022
+ return this.i.dw;
1023
+ }
1024
+ set outlinedHoverElevation(v) {
1025
+ this.i.dw = +v;
1026
+ }
1027
+ /**
1028
+ * Gets or sets the focus elevation to use for the button when the type is outlined.
1029
+ */
1030
+ get outlinedFocusElevation() {
1031
+ return this.i.dv;
1032
+ }
1033
+ set outlinedFocusElevation(v) {
1034
+ this.i.dv = +v;
1035
+ }
1036
+ /**
1037
+ * Gets or sets the width to use for the button border when the type is outlined.
1038
+ */
1039
+ get outlinedBorderWidth() {
1040
+ return this.i.bv;
1041
+ }
1042
+ set outlinedBorderWidth(v) {
1043
+ this.i.bv = +v;
1044
+ }
1045
+ get outlinedCornerRadiusBottomRight() {
1046
+ return this.i.k2 ? this.i.k2.b : NaN;
1047
+ }
1048
+ set outlinedCornerRadiusBottomRight(v) {
1049
+ this.ensureOutlinedCornerRadius();
1050
+ this.i.k2.b = +v;
1051
+ this.i.k2 = this.i.k2;
1052
+ }
1053
+ get outlinedCornerRadiusBottomLeft() {
1054
+ return this.i.k2 ? this.i.k2.a : NaN;
1055
+ }
1056
+ set outlinedCornerRadiusBottomLeft(v) {
1057
+ this.ensureOutlinedCornerRadius();
1058
+ this.i.k2.a = +v;
1059
+ this.i.k2 = this.i.k2;
1060
+ }
1061
+ get outlinedCornerRadiusTopLeft() {
1062
+ return this.i.k2 ? this.i.k2.c : NaN;
1063
+ }
1064
+ set outlinedCornerRadiusTopLeft(v) {
1065
+ this.ensureOutlinedCornerRadius();
1066
+ this.i.k2.c = +v;
1067
+ this.i.k2 = this.i.k2;
1068
+ }
1069
+ get outlinedCornerRadiusTopRight() {
1070
+ return this.i.k2 ? this.i.k2.d : NaN;
1071
+ }
1072
+ set outlinedCornerRadiusTopRight(v) {
1073
+ this.ensureOutlinedCornerRadius();
1074
+ this.i.k2.d = +v;
1075
+ this.i.k2 = this.i.k2;
1076
+ }
1077
+ ensureOutlinedCornerRadius() {
1078
+ if (this.i.k2) {
1079
+ return;
1080
+ }
1081
+ this.i.k2 = new CornerRadius(2);
1082
+ }
1083
+ /**
1084
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1085
+ */
1086
+ get outlinedRippleColor() {
1087
+ return brushToString(this.i.qt);
1088
+ }
1089
+ set outlinedRippleColor(v) {
1090
+ this.i.qt = stringToBrush(v);
1091
+ }
1092
+ /**
1093
+ * Gets or sets the color to use for the text of the button when type is outlined.
1094
+ */
1095
+ get outlinedTextColor() {
1096
+ return brushToString(this.i.qu);
1097
+ }
1098
+ set outlinedTextColor(v) {
1099
+ this.i.qu = stringToBrush(v);
1100
+ }
1101
+ /**
1102
+ * Gets or sets the color to use for the hovered text of the button when type is outlined.
1103
+ */
1104
+ get outlinedHoverTextColor() {
1105
+ return brushToString(this.i.qs);
1106
+ }
1107
+ set outlinedHoverTextColor(v) {
1108
+ this.i.qs = stringToBrush(v);
1109
+ }
1110
+ /**
1111
+ * Gets or sets the color to use for the backround the button when it is focused and outlined.
1112
+ */
1113
+ get outlinedFocusBackgroundColor() {
1114
+ return brushToString(this.i.qp);
1115
+ }
1116
+ set outlinedFocusBackgroundColor(v) {
1117
+ this.i.qp = stringToBrush(v);
1118
+ }
1119
+ /**
1120
+ * Gets or sets the color to use for the text the button when it is focused and outlined.
1121
+ */
1122
+ get outlinedFocusTextColor() {
1123
+ return brushToString(this.i.qq);
1124
+ }
1125
+ set outlinedFocusTextColor(v) {
1126
+ this.i.qq = stringToBrush(v);
1127
+ }
1128
+ /**
1129
+ * Gets or sets the color to use for the background of the button when the type is floating action button.
1130
+ */
1131
+ get fabBackgroundColor() {
1132
+ return brushToString(this.i.pj);
1133
+ }
1134
+ set fabBackgroundColor(v) {
1135
+ this.i.pj = stringToBrush(v);
1136
+ }
1137
+ /**
1138
+ * Gets or sets the color to use for the disabled background of the button when the type is fab.
1139
+ */
1140
+ get fabDisabledBackgroundColor() {
1141
+ return brushToString(this.i.pl);
1142
+ }
1143
+ set fabDisabledBackgroundColor(v) {
1144
+ this.i.pl = stringToBrush(v);
1145
+ }
1146
+ /**
1147
+ * Gets or sets the color to use for the disabled border of the button when the type is fab.
1148
+ */
1149
+ get fabDisabledBorderColor() {
1150
+ return brushToString(this.i.pm);
1151
+ }
1152
+ set fabDisabledBorderColor(v) {
1153
+ this.i.pm = stringToBrush(v);
1154
+ }
1155
+ /**
1156
+ * Gets or sets the color to use for the disabled text of the button when the type is fab.
1157
+ */
1158
+ get fabDisabledTextColor() {
1159
+ return brushToString(this.i.pn);
1160
+ }
1161
+ set fabDisabledTextColor(v) {
1162
+ this.i.pn = stringToBrush(v);
1163
+ }
1164
+ /**
1165
+ * Gets or sets the disabled elevation to use for the button when the type is fab.
1166
+ */
1167
+ get fabDisabledElevation() {
1168
+ return this.i.df;
1169
+ }
1170
+ set fabDisabledElevation(v) {
1171
+ this.i.df = +v;
1172
+ }
1173
+ /**
1174
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
1175
+ */
1176
+ get fabHoverBackgroundColor() {
1177
+ return brushToString(this.i.pq);
1178
+ }
1179
+ set fabHoverBackgroundColor(v) {
1180
+ this.i.pq = stringToBrush(v);
1181
+ }
1182
+ /**
1183
+ * Gets or sets the border color to use for the button when the type is floating action button.
1184
+ */
1185
+ get fabBorderColor() {
1186
+ return brushToString(this.i.pk);
1187
+ }
1188
+ set fabBorderColor(v) {
1189
+ this.i.pk = stringToBrush(v);
1190
+ }
1191
+ /**
1192
+ * Gets or sets the elevation to use for the button when the type is floating action button.
1193
+ */
1194
+ get fabRestingElevation() {
1195
+ return this.i.di;
1196
+ }
1197
+ set fabRestingElevation(v) {
1198
+ this.i.di = +v;
1199
+ }
1200
+ /**
1201
+ * Gets or sets the hover elevation to use for the button when the type is floating action button.
1202
+ */
1203
+ get fabHoverElevation() {
1204
+ return this.i.dh;
1205
+ }
1206
+ set fabHoverElevation(v) {
1207
+ this.i.dh = +v;
1208
+ }
1209
+ /**
1210
+ * Gets or sets the focus elevation to use for the button when the type is floating action button.
1211
+ */
1212
+ get fabFocusElevation() {
1213
+ return this.i.dg;
1214
+ }
1215
+ set fabFocusElevation(v) {
1216
+ this.i.dg = +v;
1217
+ }
1218
+ /**
1219
+ * Gets or sets the width to use for the button border when the type is floating action button.
1220
+ */
1221
+ get fabBorderWidth() {
1222
+ return this.i.bq;
1223
+ }
1224
+ set fabBorderWidth(v) {
1225
+ this.i.bq = +v;
1226
+ }
1227
+ get fabCornerRadiusBottomRight() {
1228
+ return this.i.kz ? this.i.kz.b : NaN;
1229
+ }
1230
+ set fabCornerRadiusBottomRight(v) {
1231
+ this.ensureFabCornerRadius();
1232
+ this.i.kz.b = +v;
1233
+ this.i.kz = this.i.kz;
1234
+ }
1235
+ get fabCornerRadiusBottomLeft() {
1236
+ return this.i.kz ? this.i.kz.a : NaN;
1237
+ }
1238
+ set fabCornerRadiusBottomLeft(v) {
1239
+ this.ensureFabCornerRadius();
1240
+ this.i.kz.a = +v;
1241
+ this.i.kz = this.i.kz;
1242
+ }
1243
+ get fabCornerRadiusTopLeft() {
1244
+ return this.i.kz ? this.i.kz.c : NaN;
1245
+ }
1246
+ set fabCornerRadiusTopLeft(v) {
1247
+ this.ensureFabCornerRadius();
1248
+ this.i.kz.c = +v;
1249
+ this.i.kz = this.i.kz;
1250
+ }
1251
+ get fabCornerRadiusTopRight() {
1252
+ return this.i.kz ? this.i.kz.d : NaN;
1253
+ }
1254
+ set fabCornerRadiusTopRight(v) {
1255
+ this.ensureFabCornerRadius();
1256
+ this.i.kz.d = +v;
1257
+ this.i.kz = this.i.kz;
1258
+ }
1259
+ ensureFabCornerRadius() {
1260
+ if (this.i.kz) {
1261
+ return;
1262
+ }
1263
+ this.i.kz = new CornerRadius(2);
1264
+ }
1265
+ /**
1266
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1267
+ */
1268
+ get fabRippleColor() {
1269
+ return brushToString(this.i.ps);
1270
+ }
1271
+ set fabRippleColor(v) {
1272
+ this.i.ps = stringToBrush(v);
1273
+ }
1274
+ /**
1275
+ * Gets or sets the color to use for the text of the button when type is floating action button.
1276
+ */
1277
+ get fabTextColor() {
1278
+ return brushToString(this.i.pt);
1279
+ }
1280
+ set fabTextColor(v) {
1281
+ this.i.pt = stringToBrush(v);
1282
+ }
1283
+ /**
1284
+ * Gets or sets the color to use for the hovered text of the button when type is floating action button.
1285
+ */
1286
+ get fabHoverTextColor() {
1287
+ return brushToString(this.i.pr);
1288
+ }
1289
+ set fabHoverTextColor(v) {
1290
+ this.i.pr = stringToBrush(v);
1291
+ }
1292
+ /**
1293
+ * Gets or sets the color to use for the backround the button when it is focused and fab.
1294
+ */
1295
+ get fabFocusBackgroundColor() {
1296
+ return brushToString(this.i.po);
1297
+ }
1298
+ set fabFocusBackgroundColor(v) {
1299
+ this.i.po = stringToBrush(v);
1300
+ }
1301
+ /**
1302
+ * Gets or sets the color to use for the text the button when it is focused and fab.
1303
+ */
1304
+ get fabFocusTextColor() {
1305
+ return brushToString(this.i.pp);
1306
+ }
1307
+ set fabFocusTextColor(v) {
1308
+ this.i.pp = stringToBrush(v);
1309
+ }
1310
+ /**
1311
+ * Gets or sets the color to use for the background of the button when the type is icon.
1312
+ */
1313
+ get iconBackgroundColor() {
1314
+ return brushToString(this.i.p9);
1315
+ }
1316
+ set iconBackgroundColor(v) {
1317
+ this.i.p9 = stringToBrush(v);
1318
+ }
1319
+ /**
1320
+ * Gets or sets the color to use for the disabled background of the button when the type is icon.
1321
+ */
1322
+ get iconDisabledBackgroundColor() {
1323
+ return brushToString(this.i.qb);
1324
+ }
1325
+ set iconDisabledBackgroundColor(v) {
1326
+ this.i.qb = stringToBrush(v);
1327
+ }
1328
+ /**
1329
+ * Gets or sets the color to use for the disabled border of the button when the type is icon.
1330
+ */
1331
+ get iconDisabledBorderColor() {
1332
+ return brushToString(this.i.qc);
1333
+ }
1334
+ set iconDisabledBorderColor(v) {
1335
+ this.i.qc = stringToBrush(v);
1336
+ }
1337
+ /**
1338
+ * Gets or sets the color to use for the disabled text of the button when the type is icon.
1339
+ */
1340
+ get iconDisabledTextColor() {
1341
+ return brushToString(this.i.qd);
1342
+ }
1343
+ set iconDisabledTextColor(v) {
1344
+ this.i.qd = stringToBrush(v);
1345
+ }
1346
+ /**
1347
+ * Gets or sets the disabled elevation to use for the button when the type is icon.
1348
+ */
1349
+ get iconDisabledElevation() {
1350
+ return this.i.dq;
1351
+ }
1352
+ set iconDisabledElevation(v) {
1353
+ this.i.dq = +v;
1354
+ }
1355
+ /**
1356
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
1357
+ */
1358
+ get iconHoverBackgroundColor() {
1359
+ return brushToString(this.i.qg);
1360
+ }
1361
+ set iconHoverBackgroundColor(v) {
1362
+ this.i.qg = stringToBrush(v);
1363
+ }
1364
+ /**
1365
+ * Gets or sets the border color to use for the button when the type is icon.
1366
+ */
1367
+ get iconBorderColor() {
1368
+ return brushToString(this.i.qa);
1369
+ }
1370
+ set iconBorderColor(v) {
1371
+ this.i.qa = stringToBrush(v);
1372
+ }
1373
+ /**
1374
+ * Gets or sets the elevation to use for the button when the type is icon.
1375
+ */
1376
+ get iconRestingElevation() {
1377
+ return this.i.dt;
1378
+ }
1379
+ set iconRestingElevation(v) {
1380
+ this.i.dt = +v;
1381
+ }
1382
+ /**
1383
+ * Gets or sets the hover elevation to use for the button when the type is icon.
1384
+ */
1385
+ get iconHoverElevation() {
1386
+ return this.i.ds;
1387
+ }
1388
+ set iconHoverElevation(v) {
1389
+ this.i.ds = +v;
1390
+ }
1391
+ /**
1392
+ * Gets or sets the focus elevation to use for the button when the type is icon.
1393
+ */
1394
+ get iconFocusElevation() {
1395
+ return this.i.dr;
1396
+ }
1397
+ set iconFocusElevation(v) {
1398
+ this.i.dr = +v;
1399
+ }
1400
+ /**
1401
+ * Gets or sets the width to use for the button border when the type is icon.
1402
+ */
1403
+ get iconBorderWidth() {
1404
+ return this.i.bs;
1405
+ }
1406
+ set iconBorderWidth(v) {
1407
+ this.i.bs = +v;
1408
+ }
1409
+ get iconCornerRadiusBottomRight() {
1410
+ return this.i.k1 ? this.i.k1.b : NaN;
1411
+ }
1412
+ set iconCornerRadiusBottomRight(v) {
1413
+ this.ensureIconCornerRadius();
1414
+ this.i.k1.b = +v;
1415
+ this.i.k1 = this.i.k1;
1416
+ }
1417
+ get iconCornerRadiusBottomLeft() {
1418
+ return this.i.k1 ? this.i.k1.a : NaN;
1419
+ }
1420
+ set iconCornerRadiusBottomLeft(v) {
1421
+ this.ensureIconCornerRadius();
1422
+ this.i.k1.a = +v;
1423
+ this.i.k1 = this.i.k1;
1424
+ }
1425
+ get iconCornerRadiusTopLeft() {
1426
+ return this.i.k1 ? this.i.k1.c : NaN;
1427
+ }
1428
+ set iconCornerRadiusTopLeft(v) {
1429
+ this.ensureIconCornerRadius();
1430
+ this.i.k1.c = +v;
1431
+ this.i.k1 = this.i.k1;
1432
+ }
1433
+ get iconCornerRadiusTopRight() {
1434
+ return this.i.k1 ? this.i.k1.d : NaN;
1435
+ }
1436
+ set iconCornerRadiusTopRight(v) {
1437
+ this.ensureIconCornerRadius();
1438
+ this.i.k1.d = +v;
1439
+ this.i.k1 = this.i.k1;
1440
+ }
1441
+ ensureIconCornerRadius() {
1442
+ if (this.i.k1) {
1443
+ return;
1444
+ }
1445
+ this.i.k1 = new CornerRadius(2);
1446
+ }
1447
+ /**
1448
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1449
+ */
1450
+ get iconRippleColor() {
1451
+ return brushToString(this.i.qi);
1452
+ }
1453
+ set iconRippleColor(v) {
1454
+ this.i.qi = stringToBrush(v);
1455
+ }
1456
+ /**
1457
+ * Gets or sets the color to use for the text of the button when type is icon.
1458
+ */
1459
+ get iconTextColor() {
1460
+ return brushToString(this.i.qj);
1461
+ }
1462
+ set iconTextColor(v) {
1463
+ this.i.qj = stringToBrush(v);
1464
+ }
1465
+ /**
1466
+ * Gets or sets the color to use for the hovered text of the button when type is icon.
1467
+ */
1468
+ get iconHoverTextColor() {
1469
+ return brushToString(this.i.qh);
1470
+ }
1471
+ set iconHoverTextColor(v) {
1472
+ this.i.qh = stringToBrush(v);
1473
+ }
1474
+ /**
1475
+ * Gets or sets the color to use for the backround the button when it is focused and icon.
1476
+ */
1477
+ get iconFocusBackgroundColor() {
1478
+ return brushToString(this.i.qe);
1479
+ }
1480
+ set iconFocusBackgroundColor(v) {
1481
+ this.i.qe = stringToBrush(v);
1482
+ }
1483
+ /**
1484
+ * Gets or sets the color to use for the text the button when it is focused and icon.
1485
+ */
1486
+ get iconFocusTextColor() {
1487
+ return brushToString(this.i.qf);
1488
+ }
1489
+ set iconFocusTextColor(v) {
1490
+ this.i.qf = stringToBrush(v);
1491
+ }
1492
+ /**
1493
+ * Gets or sets the id to use for the internal native checkbox.
1494
+ */
1495
+ get inputId() {
1496
+ return this.i.hu;
1497
+ }
1498
+ set inputId(v) {
1499
+ this.i.hu = v;
1500
+ }
1501
+ /**
1502
+ * Gets or sets the id to use for the checkbox.
1503
+ */
1504
+ get id() {
1505
+ return this.i.hs;
1506
+ }
1507
+ set id(v) {
1508
+ this.i.hs = v;
1509
+ }
1510
+ /**
1511
+ * Gets or sets the id to use for the checkbox.
1512
+ */
1513
+ get display() {
1514
+ return this.i.fw;
1515
+ }
1516
+ set display(v) {
1517
+ this.i.fw = v;
1518
+ }
1519
+ /**
1520
+ * Gets or sets the id to use for the checkbox.
1521
+ */
1522
+ get flexDirection() {
1523
+ return this.i.g0;
1524
+ }
1525
+ set flexDirection(v) {
1526
+ this.i.g0 = v;
1527
+ }
1528
+ /**
1529
+ * Gets or sets the flex-grow setting for the button.
1530
+ */
1531
+ get flexGrow() {
1532
+ return this.i.g2;
1533
+ }
1534
+ set flexGrow(v) {
1535
+ this.i.g2 = v;
1536
+ }
1537
+ /**
1538
+ * Gets or sets the id to use for the checkbox.
1539
+ */
1540
+ get alignItems() {
1541
+ return this.i.e7;
1542
+ }
1543
+ set alignItems(v) {
1544
+ this.i.e7 = v;
1545
+ }
1546
+ /**
1547
+ * Gets or sets value to use for the checkbox.
1548
+ */
1549
+ get value() {
1550
+ return this.i.ea;
1551
+ }
1552
+ set value(v) {
1553
+ this.i.ea = v;
1554
+ }
1555
+ /**
1556
+ * Gets or sets name to use for the button.
1557
+ */
1558
+ get name() {
1559
+ return this.i.h2;
1560
+ }
1561
+ set name(v) {
1562
+ this.i.h2 = v;
1563
+ }
1564
+ /**
1565
+ * Gets or sets TabIndex to use for the checkbox.
1566
+ */
1567
+ get tabIndex() {
1568
+ return this.i.d3;
1569
+ }
1570
+ set tabIndex(v) {
1571
+ this.i.d3 = +v;
1572
+ }
1573
+ /**
1574
+ * Gets or sets the value of the aria-label attribute.
1575
+ */
1576
+ get ariaLabel() {
1577
+ return this.i.e9;
1578
+ }
1579
+ set ariaLabel(v) {
1580
+ this.i.e9 = v;
1581
+ }
1582
+ /**
1583
+ * Gets or sets whether the button should fill the available space. If false, the button
1584
+ * will use an intrinsic size.
1585
+ */
1586
+ get fillAvailableSpace() {
1587
+ return this.i.av;
1588
+ }
1589
+ set fillAvailableSpace(v) {
1590
+ this.i.av = ensureBool(v);
1591
+ }
1592
+ /**
1593
+ * Gets or sets if the checkbox is Focused.
1594
+ */
1595
+ get focused() {
1596
+ return this.i.focused;
1597
+ }
1598
+ set focused(v) {
1599
+ this.i.focused = ensureBool(v);
1600
+ }
1601
+ /**
1602
+ * Gets or sets if the button show use styling to show focus.
1603
+ */
1604
+ get isFocusStyleEnabled() {
1605
+ return this.i.az;
1606
+ }
1607
+ set isFocusStyleEnabled(v) {
1608
+ this.i.az = ensureBool(v);
1609
+ }
1610
+ /**
1611
+ * Gets or sets whether to disable the ripple effect for the button.
1612
+ */
1613
+ get disableRipple() {
1614
+ return this.i.at;
1615
+ }
1616
+ set disableRipple(v) {
1617
+ this.i.at = ensureBool(v);
1618
+ }
1619
+ /**
1620
+ * Gets whether to actually disable the ripple effect for the button.
1621
+ */
1622
+ get actualDisableRipple() {
1623
+ return this.i.ap;
1624
+ }
1625
+ set actualDisableRipple(v) {
1626
+ this.i.ap = ensureBool(v);
1627
+ }
1628
+ /**
1629
+ * Gets or sets whether the hover effect is disabled.
1630
+ */
1631
+ get disableHover() {
1632
+ return this.i.ar;
1633
+ }
1634
+ set disableHover(v) {
1635
+ this.i.ar = ensureBool(v);
1636
+ }
1637
+ /**
1638
+ * Gets or sets whether the checkbox is checked.
1639
+ */
1640
+ get isHover() {
1641
+ return this.i.a0;
1642
+ }
1643
+ set isHover(v) {
1644
+ this.i.a0 = ensureBool(v);
1645
+ }
1646
+ /**
1647
+ * Gets or sets whether the checkbox is disabled.
1648
+ */
1649
+ get disabled() {
1650
+ return this.i.disabled;
1651
+ }
1652
+ set disabled(v) {
1653
+ this.i.disabled = ensureBool(v);
1654
+ }
1655
+ /**
1656
+ * Gets or sets whether the checkbox transitions are disabled.
1657
+ */
1658
+ get disableTransitions() {
1659
+ return this.i.au;
1660
+ }
1661
+ set disableTransitions(v) {
1662
+ this.i.au = ensureBool(v);
1663
+ }
1664
+ /**
1665
+ * Gets or sets whether the cursor will change into a pointer when the button is hovered.
1666
+ */
1667
+ get disablePointer() {
1668
+ return this.i.as;
1669
+ }
1670
+ set disablePointer(v) {
1671
+ this.i.as = ensureBool(v);
1672
+ }
1673
+ /**
1674
+ * Gets or sets the left padding for the button content.
1675
+ */
1676
+ get contentPaddingLeft() {
1677
+ return this.i.bi;
1678
+ }
1679
+ set contentPaddingLeft(v) {
1680
+ this.i.bi = +v;
1681
+ }
1682
+ /**
1683
+ * Gets or sets the top padding for the button content.
1684
+ */
1685
+ get contentPaddingTop() {
1686
+ return this.i.bk;
1687
+ }
1688
+ set contentPaddingTop(v) {
1689
+ this.i.bk = +v;
1690
+ }
1691
+ /**
1692
+ * Gets or sets the right padding for the button content.
1693
+ */
1694
+ get contentPaddingRight() {
1695
+ return this.i.bj;
1696
+ }
1697
+ set contentPaddingRight(v) {
1698
+ this.i.bj = +v;
1699
+ }
1700
+ /**
1701
+ * Gets or sets the bottom padding for the button content.
1702
+ */
1703
+ get contentPaddingBottom() {
1704
+ return this.i.bh;
1705
+ }
1706
+ set contentPaddingBottom(v) {
1707
+ this.i.bh = +v;
1708
+ }
1709
+ get horizontalContentAlignment() {
1710
+ return this.i.k5;
1711
+ }
1712
+ set horizontalContentAlignment(v) {
1713
+ this.i.k5 = ensureEnum(HorizontalAlignment_$type, v);
1714
+ }
1715
+ get verticalContentAlignment() {
1716
+ return this.i.q9;
1717
+ }
1718
+ set verticalContentAlignment(v) {
1719
+ this.i.q9 = ensureEnum(VerticalAlignment_$type, v);
1720
+ }
1721
+ /**
1722
+ * Gets or sets if clicking on the button is allowed to tunnel down to button content.
1723
+ */
1724
+ get clickTunneling() {
1725
+ return this.i.aq;
1726
+ }
1727
+ set clickTunneling(v) {
1728
+ this.i.aq = ensureBool(v);
1729
+ }
1730
+ findByName(name) {
1731
+ if (this.findEphemera) {
1732
+ if (name && name.indexOf("@@e:") == 0) {
1733
+ return this.findEphemera(name);
1734
+ }
1735
+ }
1736
+ return null;
1737
+ }
1738
+ get hasUserValues() {
1739
+ return this._hasUserValues;
1740
+ }
1741
+ __m(propertyName) {
1742
+ if (!this._inStyling) {
1743
+ this._hasUserValues.add(propertyName);
1744
+ }
1745
+ }
1746
+ _styling(container, component, parent) {
1747
+ if (this._inStyling) {
1748
+ return;
1749
+ }
1750
+ this._inStyling = true;
1751
+ this._stylingContainer = container;
1752
+ this._stylingParent = component;
1753
+ let genericPrefix = "";
1754
+ let typeName = this.i.$type.name;
1755
+ if (typeName.indexOf("Xam") === 0) {
1756
+ typeName = typeName.substring(3);
1757
+ }
1758
+ genericPrefix = toSpinal("XButtonComponent");
1759
+ let additionalPrefixes = [];
1760
+ let prefix = toSpinal(typeName);
1761
+ additionalPrefixes.push(prefix + "-");
1762
+ let b = this.i.$type.baseType;
1763
+ while (b && b.name != "Object" &&
1764
+ b.name != "Base" &&
1765
+ b.name != "Control" &&
1766
+ b.Name != "DependencyObject" &&
1767
+ b.Name != "FrameworkElement") {
1768
+ typeName = b.name;
1769
+ if (typeName.indexOf("Xam") === 0) {
1770
+ typeName = typeName.substring(3);
1771
+ }
1772
+ let basePrefix = toSpinal(typeName);
1773
+ additionalPrefixes.push(basePrefix + "-");
1774
+ b = b.baseType;
1775
+ }
1776
+ if (parent) {
1777
+ let parentTypeName = parent.i.$type.name;
1778
+ if (parentTypeName.indexOf("Xam") === 0) {
1779
+ parentTypeName = parentTypeName.substring(3);
1780
+ }
1781
+ let parentPrefix = toSpinal(parentTypeName);
1782
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
1783
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
1784
+ }
1785
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
1786
+ if (this._otherStyling) {
1787
+ this._otherStyling(container, component, parent);
1788
+ }
1789
+ this._inStyling = false;
1790
+ }
1791
+ onDetachedFromUI() {
1792
+ this.i.onDetachedFromUI();
1793
+ }
1794
+ onAttachedToUI() {
1795
+ this.i.onAttachedToUI();
1796
+ }
1797
+ /**
1798
+ * Exports visual information about the current state of the grid.
1799
+
1800
+ */
1801
+ exportVisualModel() {
1802
+ let iv = this.i.d7();
1803
+ return (iv);
1804
+ }
1805
+ /**
1806
+ * Returns a serialized copy of the exported visual model
1807
+
1808
+ */
1809
+ exportSerializedVisualModel() {
1810
+ let iv = this.i.f0();
1811
+ return (iv);
1812
+ }
1813
+ get clicked() {
1814
+ if (this._clicked == null) {
1815
+ this._clicked = new EventEmitter();
1816
+ this.i.clicked = delegateCombine(this.i.clicked, (o, e) => {
1817
+ this._runInZone(() => {
1818
+ let outerArgs = new IgxButtonClickEventArgs();
1819
+ outerArgs._provideImplementation(e);
1820
+ if (this.beforeClicked) {
1821
+ this.beforeClicked(this, outerArgs);
1822
+ }
1823
+ this._clicked.emit({
1824
+ sender: this,
1825
+ args: outerArgs
1826
+ });
1827
+ });
1828
+ });
1829
+ }
1830
+ return this._clicked;
1831
+ }
1832
+ get gotFocus() {
1833
+ if (this._gotFocus == null) {
1834
+ this._gotFocus = new EventEmitter();
1835
+ this.i.gotFocus = delegateCombine(this.i.gotFocus, (o, e) => {
1836
+ this._runInZone(() => {
1837
+ let outerArgs = new IgxFocusEventArgs();
1838
+ outerArgs._provideImplementation(e);
1839
+ if (this.beforeGotFocus) {
1840
+ this.beforeGotFocus(this, outerArgs);
1841
+ }
1842
+ this._gotFocus.emit({
1843
+ sender: this,
1844
+ args: outerArgs
1845
+ });
1846
+ });
1847
+ });
1848
+ }
1849
+ return this._gotFocus;
1850
+ }
1851
+ get lostFocus() {
1852
+ if (this._lostFocus == null) {
1853
+ this._lostFocus = new EventEmitter();
1854
+ this.i.lostFocus = delegateCombine(this.i.lostFocus, (o, e) => {
1855
+ this._runInZone(() => {
1856
+ let outerArgs = new IgxFocusEventArgs();
1857
+ outerArgs._provideImplementation(e);
1858
+ if (this.beforeLostFocus) {
1859
+ this.beforeLostFocus(this, outerArgs);
1860
+ }
1861
+ this._lostFocus.emit({
1862
+ sender: this,
1863
+ args: outerArgs
1864
+ });
1865
+ });
1866
+ });
1867
+ }
1868
+ return this._lostFocus;
1869
+ }
1870
+ _runInZone(act) {
1871
+ if (this._zoneRunner != null) {
1872
+ this._zoneRunner(act);
1873
+ }
1874
+ else {
1875
+ act();
1876
+ }
1877
+ }
1878
+ }
1879
+ IgxXButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXButtonComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.NgZone }, { token: i0.Injector }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
1880
+ IgxXButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxXButtonComponent, selector: "igx-x-button", inputs: { minWidth: "minWidth", minHeight: "minHeight", displayType: "displayType", density: "density", baseTheme: "baseTheme", actualDensity: "actualDensity", actualBorderColor: "actualBorderColor", actualUmbraShadowColor: "actualUmbraShadowColor", actualPenumbraShadowColor: "actualPenumbraShadowColor", actualAmbientShadowColor: "actualAmbientShadowColor", actualRestingElevation: "actualRestingElevation", actualFocusElevation: "actualFocusElevation", actualHoverElevation: "actualHoverElevation", actualRippleColor: "actualRippleColor", actualCornerRadiusBottomRight: "actualCornerRadiusBottomRight", actualCornerRadiusBottomLeft: "actualCornerRadiusBottomLeft", actualCornerRadiusTopLeft: "actualCornerRadiusTopLeft", actualCornerRadiusTopRight: "actualCornerRadiusTopRight", actualBackgroundColor: "actualBackgroundColor", actualDisabledBackgroundColor: "actualDisabledBackgroundColor", actualDisabledBorderColor: "actualDisabledBorderColor", actualDisabledTextColor: "actualDisabledTextColor", actualDisabledElevation: "actualDisabledElevation", actualElevationMode: "actualElevationMode", actualTextColor: "actualTextColor", actualHoverTextColor: "actualHoverTextColor", actualFocusBackgroundColor: "actualFocusBackgroundColor", actualFocusTextColor: "actualFocusTextColor", actualHoverBackgroundColor: "actualHoverBackgroundColor", actualBorderWidth: "actualBorderWidth", raisedBackgroundColor: "raisedBackgroundColor", raisedDisabledBackgroundColor: "raisedDisabledBackgroundColor", raisedDisabledBorderColor: "raisedDisabledBorderColor", raisedDisabledTextColor: "raisedDisabledTextColor", raisedDisabledElevation: "raisedDisabledElevation", raisedHoverBackgroundColor: "raisedHoverBackgroundColor", raisedBorderColor: "raisedBorderColor", raisedRestingElevation: "raisedRestingElevation", raisedHoverElevation: "raisedHoverElevation", raisedFocusElevation: "raisedFocusElevation", raisedBorderWidth: "raisedBorderWidth", raisedCornerRadiusBottomRight: "raisedCornerRadiusBottomRight", raisedCornerRadiusBottomLeft: "raisedCornerRadiusBottomLeft", raisedCornerRadiusTopLeft: "raisedCornerRadiusTopLeft", raisedCornerRadiusTopRight: "raisedCornerRadiusTopRight", raisedRippleColor: "raisedRippleColor", flatBackgroundColor: "flatBackgroundColor", flatDisabledBackgroundColor: "flatDisabledBackgroundColor", flatDisabledBorderColor: "flatDisabledBorderColor", flatDisabledTextColor: "flatDisabledTextColor", flatDisabledElevation: "flatDisabledElevation", flatHoverBackgroundColor: "flatHoverBackgroundColor", flatBorderColor: "flatBorderColor", flatRestingElevation: "flatRestingElevation", flatHoverElevation: "flatHoverElevation", flatFocusElevation: "flatFocusElevation", flatRippleColor: "flatRippleColor", flatTextColor: "flatTextColor", flatHoverTextColor: "flatHoverTextColor", flatFocusBackgroundColor: "flatFocusBackgroundColor", flatFocusTextColor: "flatFocusTextColor", flatBorderWidth: "flatBorderWidth", flatCornerRadiusBottomRight: "flatCornerRadiusBottomRight", flatCornerRadiusBottomLeft: "flatCornerRadiusBottomLeft", flatCornerRadiusTopLeft: "flatCornerRadiusTopLeft", flatCornerRadiusTopRight: "flatCornerRadiusTopRight", backgroundColor: "backgroundColor", disabledBackgroundColor: "disabledBackgroundColor", disabledBorderColor: "disabledBorderColor", disabledTextColor: "disabledTextColor", disabledElevation: "disabledElevation", elevationMode: "elevationMode", hoverBackgroundColor: "hoverBackgroundColor", borderColor: "borderColor", restingElevation: "restingElevation", hoverElevation: "hoverElevation", focusElevation: "focusElevation", textStyle: "textStyle", textColor: "textColor", hoverTextColor: "hoverTextColor", rippleColor: "rippleColor", raisedTextColor: "raisedTextColor", raisedHoverTextColor: "raisedHoverTextColor", raisedFocusBackgroundColor: "raisedFocusBackgroundColor", raisedFocusTextColor: "raisedFocusTextColor", focusBackgroundColor: "focusBackgroundColor", focusTextColor: "focusTextColor", borderWidth: "borderWidth", cornerRadiusBottomRight: "cornerRadiusBottomRight", cornerRadiusBottomLeft: "cornerRadiusBottomLeft", cornerRadiusTopLeft: "cornerRadiusTopLeft", cornerRadiusTopRight: "cornerRadiusTopRight", outlinedBackgroundColor: "outlinedBackgroundColor", outlinedDisabledBackgroundColor: "outlinedDisabledBackgroundColor", outlinedDisabledBorderColor: "outlinedDisabledBorderColor", outlinedDisabledTextColor: "outlinedDisabledTextColor", outlinedDisabledElevation: "outlinedDisabledElevation", outlinedHoverBackgroundColor: "outlinedHoverBackgroundColor", outlinedBorderColor: "outlinedBorderColor", outlinedRestingElevation: "outlinedRestingElevation", outlinedHoverElevation: "outlinedHoverElevation", outlinedFocusElevation: "outlinedFocusElevation", outlinedBorderWidth: "outlinedBorderWidth", outlinedCornerRadiusBottomRight: "outlinedCornerRadiusBottomRight", outlinedCornerRadiusBottomLeft: "outlinedCornerRadiusBottomLeft", outlinedCornerRadiusTopLeft: "outlinedCornerRadiusTopLeft", outlinedCornerRadiusTopRight: "outlinedCornerRadiusTopRight", outlinedRippleColor: "outlinedRippleColor", outlinedTextColor: "outlinedTextColor", outlinedHoverTextColor: "outlinedHoverTextColor", outlinedFocusBackgroundColor: "outlinedFocusBackgroundColor", outlinedFocusTextColor: "outlinedFocusTextColor", fabBackgroundColor: "fabBackgroundColor", fabDisabledBackgroundColor: "fabDisabledBackgroundColor", fabDisabledBorderColor: "fabDisabledBorderColor", fabDisabledTextColor: "fabDisabledTextColor", fabDisabledElevation: "fabDisabledElevation", fabHoverBackgroundColor: "fabHoverBackgroundColor", fabBorderColor: "fabBorderColor", fabRestingElevation: "fabRestingElevation", fabHoverElevation: "fabHoverElevation", fabFocusElevation: "fabFocusElevation", fabBorderWidth: "fabBorderWidth", fabCornerRadiusBottomRight: "fabCornerRadiusBottomRight", fabCornerRadiusBottomLeft: "fabCornerRadiusBottomLeft", fabCornerRadiusTopLeft: "fabCornerRadiusTopLeft", fabCornerRadiusTopRight: "fabCornerRadiusTopRight", fabRippleColor: "fabRippleColor", fabTextColor: "fabTextColor", fabHoverTextColor: "fabHoverTextColor", fabFocusBackgroundColor: "fabFocusBackgroundColor", fabFocusTextColor: "fabFocusTextColor", iconBackgroundColor: "iconBackgroundColor", iconDisabledBackgroundColor: "iconDisabledBackgroundColor", iconDisabledBorderColor: "iconDisabledBorderColor", iconDisabledTextColor: "iconDisabledTextColor", iconDisabledElevation: "iconDisabledElevation", iconHoverBackgroundColor: "iconHoverBackgroundColor", iconBorderColor: "iconBorderColor", iconRestingElevation: "iconRestingElevation", iconHoverElevation: "iconHoverElevation", iconFocusElevation: "iconFocusElevation", iconBorderWidth: "iconBorderWidth", iconCornerRadiusBottomRight: "iconCornerRadiusBottomRight", iconCornerRadiusBottomLeft: "iconCornerRadiusBottomLeft", iconCornerRadiusTopLeft: "iconCornerRadiusTopLeft", iconCornerRadiusTopRight: "iconCornerRadiusTopRight", iconRippleColor: "iconRippleColor", iconTextColor: "iconTextColor", iconHoverTextColor: "iconHoverTextColor", iconFocusBackgroundColor: "iconFocusBackgroundColor", iconFocusTextColor: "iconFocusTextColor", inputId: "inputId", id: "id", display: "display", flexDirection: "flexDirection", flexGrow: "flexGrow", alignItems: "alignItems", value: "value", name: "name", tabIndex: ["tabindex", "tabIndex"], ariaLabel: ["aria-label", "ariaLabel"], fillAvailableSpace: "fillAvailableSpace", focused: "focused", isFocusStyleEnabled: "isFocusStyleEnabled", disableRipple: "disableRipple", actualDisableRipple: "actualDisableRipple", disableHover: "disableHover", isHover: "isHover", disabled: "disabled", disableTransitions: "disableTransitions", disablePointer: "disablePointer", contentPaddingLeft: "contentPaddingLeft", contentPaddingTop: "contentPaddingTop", contentPaddingRight: "contentPaddingRight", contentPaddingBottom: "contentPaddingBottom", horizontalContentAlignment: "horizontalContentAlignment", verticalContentAlignment: "verticalContentAlignment", clickTunneling: "clickTunneling" }, outputs: { clicked: "clicked", gotFocus: "gotFocus", lostFocus: "lostFocus" }, host: { properties: { "attr.id": "this.id", "style.display": "this.display", "style.flexDirection": "this.flexDirection", "style.flexGrow": "this.flexGrow", "style.alignItems": "this.alignItems" }, classAttribute: "ig-x-button igx-x-button" }, providers: [], viewQueries: [{ propertyName: "_dynamicContent", first: true, predicate: ["dynamicContent"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childTemplateRef", first: true, predicate: ["childContent"], descendants: true, read: TemplateRef }], ngImport: i0, template: `<ng-template #childContent><ng-content></ng-content></ng-template>
1881
+ <ng-container #dynamicContent></ng-container>`, isInline: true, styles: ["\n\t\t:host {\n\t\t\tdisplay: inline-block; \n\t\t}\n\t"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1882
+ return IgxXButtonComponent;
1883
+ })();
1884
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxXButtonComponent, decorators: [{
1885
+ type: Component,
1886
+ args: [{
1887
+ selector: 'igx-x-button',
1888
+ template: `<ng-template #childContent><ng-content></ng-content></ng-template>
1889
+ <ng-container #dynamicContent></ng-container>`,
1890
+ changeDetection: ChangeDetectionStrategy.OnPush,
1891
+ providers: [],
1892
+ host: { 'class': 'ig-x-button igx-x-button' },
1893
+ styles: [`
1894
+ :host {
1895
+ display: inline-block;
1896
+ }
1897
+ `]
1898
+ }]
1899
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.NgZone }, { type: i0.Injector }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { _dynamicContent: [{
1900
+ type: ViewChild,
1901
+ args: ["dynamicContent", { read: ViewContainerRef, static: true }]
1902
+ }], _childTemplateRef: [{
1903
+ type: ViewChild,
1904
+ args: ["childContent", { read: TemplateRef, static: false }]
1905
+ }], minWidth: [{
1906
+ type: Input
1907
+ }], minHeight: [{
1908
+ type: Input
1909
+ }], displayType: [{
1910
+ type: Input
1911
+ }], density: [{
1912
+ type: Input
1913
+ }], baseTheme: [{
1914
+ type: Input
1915
+ }], actualDensity: [{
1916
+ type: Input
1917
+ }], actualBorderColor: [{
1918
+ type: Input
1919
+ }], actualUmbraShadowColor: [{
1920
+ type: Input
1921
+ }], actualPenumbraShadowColor: [{
1922
+ type: Input
1923
+ }], actualAmbientShadowColor: [{
1924
+ type: Input
1925
+ }], actualRestingElevation: [{
1926
+ type: Input
1927
+ }], actualFocusElevation: [{
1928
+ type: Input
1929
+ }], actualHoverElevation: [{
1930
+ type: Input
1931
+ }], actualRippleColor: [{
1932
+ type: Input
1933
+ }], actualCornerRadiusBottomRight: [{
1934
+ type: Input
1935
+ }], actualCornerRadiusBottomLeft: [{
1936
+ type: Input
1937
+ }], actualCornerRadiusTopLeft: [{
1938
+ type: Input
1939
+ }], actualCornerRadiusTopRight: [{
1940
+ type: Input
1941
+ }], actualBackgroundColor: [{
1942
+ type: Input
1943
+ }], actualDisabledBackgroundColor: [{
1944
+ type: Input
1945
+ }], actualDisabledBorderColor: [{
1946
+ type: Input
1947
+ }], actualDisabledTextColor: [{
1948
+ type: Input
1949
+ }], actualDisabledElevation: [{
1950
+ type: Input
1951
+ }], actualElevationMode: [{
1952
+ type: Input
1953
+ }], actualTextColor: [{
1954
+ type: Input
1955
+ }], actualHoverTextColor: [{
1956
+ type: Input
1957
+ }], actualFocusBackgroundColor: [{
1958
+ type: Input
1959
+ }], actualFocusTextColor: [{
1960
+ type: Input
1961
+ }], actualHoverBackgroundColor: [{
1962
+ type: Input
1963
+ }], actualBorderWidth: [{
1964
+ type: Input
1965
+ }], raisedBackgroundColor: [{
1966
+ type: Input
1967
+ }], raisedDisabledBackgroundColor: [{
1968
+ type: Input
1969
+ }], raisedDisabledBorderColor: [{
1970
+ type: Input
1971
+ }], raisedDisabledTextColor: [{
1972
+ type: Input
1973
+ }], raisedDisabledElevation: [{
1974
+ type: Input
1975
+ }], raisedHoverBackgroundColor: [{
1976
+ type: Input
1977
+ }], raisedBorderColor: [{
1978
+ type: Input
1979
+ }], raisedRestingElevation: [{
1980
+ type: Input
1981
+ }], raisedHoverElevation: [{
1982
+ type: Input
1983
+ }], raisedFocusElevation: [{
1984
+ type: Input
1985
+ }], raisedBorderWidth: [{
1986
+ type: Input
1987
+ }], raisedCornerRadiusBottomRight: [{
1988
+ type: Input
1989
+ }], raisedCornerRadiusBottomLeft: [{
1990
+ type: Input
1991
+ }], raisedCornerRadiusTopLeft: [{
1992
+ type: Input
1993
+ }], raisedCornerRadiusTopRight: [{
1994
+ type: Input
1995
+ }], raisedRippleColor: [{
1996
+ type: Input
1997
+ }], flatBackgroundColor: [{
1998
+ type: Input
1999
+ }], flatDisabledBackgroundColor: [{
2000
+ type: Input
2001
+ }], flatDisabledBorderColor: [{
2002
+ type: Input
2003
+ }], flatDisabledTextColor: [{
2004
+ type: Input
2005
+ }], flatDisabledElevation: [{
2006
+ type: Input
2007
+ }], flatHoverBackgroundColor: [{
2008
+ type: Input
2009
+ }], flatBorderColor: [{
2010
+ type: Input
2011
+ }], flatRestingElevation: [{
2012
+ type: Input
2013
+ }], flatHoverElevation: [{
2014
+ type: Input
2015
+ }], flatFocusElevation: [{
2016
+ type: Input
2017
+ }], flatRippleColor: [{
2018
+ type: Input
2019
+ }], flatTextColor: [{
2020
+ type: Input
2021
+ }], flatHoverTextColor: [{
2022
+ type: Input
2023
+ }], flatFocusBackgroundColor: [{
2024
+ type: Input
2025
+ }], flatFocusTextColor: [{
2026
+ type: Input
2027
+ }], flatBorderWidth: [{
2028
+ type: Input
2029
+ }], flatCornerRadiusBottomRight: [{
2030
+ type: Input
2031
+ }], flatCornerRadiusBottomLeft: [{
2032
+ type: Input
2033
+ }], flatCornerRadiusTopLeft: [{
2034
+ type: Input
2035
+ }], flatCornerRadiusTopRight: [{
2036
+ type: Input
2037
+ }], backgroundColor: [{
2038
+ type: Input
2039
+ }], disabledBackgroundColor: [{
2040
+ type: Input
2041
+ }], disabledBorderColor: [{
2042
+ type: Input
2043
+ }], disabledTextColor: [{
2044
+ type: Input
2045
+ }], disabledElevation: [{
2046
+ type: Input
2047
+ }], elevationMode: [{
2048
+ type: Input
2049
+ }], hoverBackgroundColor: [{
2050
+ type: Input
2051
+ }], borderColor: [{
2052
+ type: Input
2053
+ }], restingElevation: [{
2054
+ type: Input
2055
+ }], hoverElevation: [{
2056
+ type: Input
2057
+ }], focusElevation: [{
2058
+ type: Input
2059
+ }], textStyle: [{
2060
+ type: Input
2061
+ }], textColor: [{
2062
+ type: Input
2063
+ }], hoverTextColor: [{
2064
+ type: Input
2065
+ }], rippleColor: [{
2066
+ type: Input
2067
+ }], raisedTextColor: [{
2068
+ type: Input
2069
+ }], raisedHoverTextColor: [{
2070
+ type: Input
2071
+ }], raisedFocusBackgroundColor: [{
2072
+ type: Input
2073
+ }], raisedFocusTextColor: [{
2074
+ type: Input
2075
+ }], focusBackgroundColor: [{
2076
+ type: Input
2077
+ }], focusTextColor: [{
2078
+ type: Input
2079
+ }], borderWidth: [{
2080
+ type: Input
2081
+ }], cornerRadiusBottomRight: [{
2082
+ type: Input
2083
+ }], cornerRadiusBottomLeft: [{
2084
+ type: Input
2085
+ }], cornerRadiusTopLeft: [{
2086
+ type: Input
2087
+ }], cornerRadiusTopRight: [{
2088
+ type: Input
2089
+ }], outlinedBackgroundColor: [{
2090
+ type: Input
2091
+ }], outlinedDisabledBackgroundColor: [{
2092
+ type: Input
2093
+ }], outlinedDisabledBorderColor: [{
2094
+ type: Input
2095
+ }], outlinedDisabledTextColor: [{
2096
+ type: Input
2097
+ }], outlinedDisabledElevation: [{
2098
+ type: Input
2099
+ }], outlinedHoverBackgroundColor: [{
2100
+ type: Input
2101
+ }], outlinedBorderColor: [{
2102
+ type: Input
2103
+ }], outlinedRestingElevation: [{
2104
+ type: Input
2105
+ }], outlinedHoverElevation: [{
2106
+ type: Input
2107
+ }], outlinedFocusElevation: [{
2108
+ type: Input
2109
+ }], outlinedBorderWidth: [{
2110
+ type: Input
2111
+ }], outlinedCornerRadiusBottomRight: [{
2112
+ type: Input
2113
+ }], outlinedCornerRadiusBottomLeft: [{
2114
+ type: Input
2115
+ }], outlinedCornerRadiusTopLeft: [{
2116
+ type: Input
2117
+ }], outlinedCornerRadiusTopRight: [{
2118
+ type: Input
2119
+ }], outlinedRippleColor: [{
2120
+ type: Input
2121
+ }], outlinedTextColor: [{
2122
+ type: Input
2123
+ }], outlinedHoverTextColor: [{
2124
+ type: Input
2125
+ }], outlinedFocusBackgroundColor: [{
2126
+ type: Input
2127
+ }], outlinedFocusTextColor: [{
2128
+ type: Input
2129
+ }], fabBackgroundColor: [{
2130
+ type: Input
2131
+ }], fabDisabledBackgroundColor: [{
2132
+ type: Input
2133
+ }], fabDisabledBorderColor: [{
2134
+ type: Input
2135
+ }], fabDisabledTextColor: [{
2136
+ type: Input
2137
+ }], fabDisabledElevation: [{
2138
+ type: Input
2139
+ }], fabHoverBackgroundColor: [{
2140
+ type: Input
2141
+ }], fabBorderColor: [{
2142
+ type: Input
2143
+ }], fabRestingElevation: [{
2144
+ type: Input
2145
+ }], fabHoverElevation: [{
2146
+ type: Input
2147
+ }], fabFocusElevation: [{
2148
+ type: Input
2149
+ }], fabBorderWidth: [{
2150
+ type: Input
2151
+ }], fabCornerRadiusBottomRight: [{
2152
+ type: Input
2153
+ }], fabCornerRadiusBottomLeft: [{
2154
+ type: Input
2155
+ }], fabCornerRadiusTopLeft: [{
2156
+ type: Input
2157
+ }], fabCornerRadiusTopRight: [{
2158
+ type: Input
2159
+ }], fabRippleColor: [{
2160
+ type: Input
2161
+ }], fabTextColor: [{
2162
+ type: Input
2163
+ }], fabHoverTextColor: [{
2164
+ type: Input
2165
+ }], fabFocusBackgroundColor: [{
2166
+ type: Input
2167
+ }], fabFocusTextColor: [{
2168
+ type: Input
2169
+ }], iconBackgroundColor: [{
2170
+ type: Input
2171
+ }], iconDisabledBackgroundColor: [{
2172
+ type: Input
2173
+ }], iconDisabledBorderColor: [{
2174
+ type: Input
2175
+ }], iconDisabledTextColor: [{
2176
+ type: Input
2177
+ }], iconDisabledElevation: [{
2178
+ type: Input
2179
+ }], iconHoverBackgroundColor: [{
2180
+ type: Input
2181
+ }], iconBorderColor: [{
2182
+ type: Input
2183
+ }], iconRestingElevation: [{
2184
+ type: Input
2185
+ }], iconHoverElevation: [{
2186
+ type: Input
2187
+ }], iconFocusElevation: [{
2188
+ type: Input
2189
+ }], iconBorderWidth: [{
2190
+ type: Input
2191
+ }], iconCornerRadiusBottomRight: [{
2192
+ type: Input
2193
+ }], iconCornerRadiusBottomLeft: [{
2194
+ type: Input
2195
+ }], iconCornerRadiusTopLeft: [{
2196
+ type: Input
2197
+ }], iconCornerRadiusTopRight: [{
2198
+ type: Input
2199
+ }], iconRippleColor: [{
2200
+ type: Input
2201
+ }], iconTextColor: [{
2202
+ type: Input
2203
+ }], iconHoverTextColor: [{
2204
+ type: Input
2205
+ }], iconFocusBackgroundColor: [{
2206
+ type: Input
2207
+ }], iconFocusTextColor: [{
2208
+ type: Input
2209
+ }], inputId: [{
2210
+ type: Input
2211
+ }], id: [{
2212
+ type: HostBinding,
2213
+ args: ['attr.id']
2214
+ }, {
2215
+ type: Input
2216
+ }], display: [{
2217
+ type: HostBinding,
2218
+ args: ['style.display']
2219
+ }, {
2220
+ type: Input
2221
+ }], flexDirection: [{
2222
+ type: HostBinding,
2223
+ args: ['style.flexDirection']
2224
+ }, {
2225
+ type: Input
2226
+ }], flexGrow: [{
2227
+ type: HostBinding,
2228
+ args: ['style.flexGrow']
2229
+ }, {
2230
+ type: Input
2231
+ }], alignItems: [{
2232
+ type: HostBinding,
2233
+ args: ['style.alignItems']
2234
+ }, {
2235
+ type: Input
2236
+ }], value: [{
2237
+ type: Input
2238
+ }], name: [{
2239
+ type: Input
2240
+ }], tabIndex: [{
2241
+ type: Input,
2242
+ args: ['tabindex']
2243
+ }], ariaLabel: [{
2244
+ type: Input,
2245
+ args: ['aria-label']
2246
+ }], fillAvailableSpace: [{
2247
+ type: Input
2248
+ }], focused: [{
2249
+ type: Input
2250
+ }], isFocusStyleEnabled: [{
2251
+ type: Input
2252
+ }], disableRipple: [{
2253
+ type: Input
2254
+ }], actualDisableRipple: [{
2255
+ type: Input
2256
+ }], disableHover: [{
2257
+ type: Input
2258
+ }], isHover: [{
2259
+ type: Input
2260
+ }], disabled: [{
2261
+ type: Input
2262
+ }], disableTransitions: [{
2263
+ type: Input
2264
+ }], disablePointer: [{
2265
+ type: Input
2266
+ }], contentPaddingLeft: [{
2267
+ type: Input
2268
+ }], contentPaddingTop: [{
2269
+ type: Input
2270
+ }], contentPaddingRight: [{
2271
+ type: Input
2272
+ }], contentPaddingBottom: [{
2273
+ type: Input
2274
+ }], horizontalContentAlignment: [{
2275
+ type: Input
2276
+ }], verticalContentAlignment: [{
2277
+ type: Input
2278
+ }], clickTunneling: [{
2279
+ type: Input
2280
+ }], clicked: [{
2281
+ type: Output
2282
+ }], gotFocus: [{
2283
+ type: Output
2284
+ }], lostFocus: [{
2285
+ type: Output
2286
+ }] } });