igniteui-webcomponents-inputs 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (571) hide show
  1. package/License +27 -0
  2. package/README.md +18 -0
  3. package/bundles/igniteui-webcomponents-inputs.umd.js +32535 -0
  4. package/bundles/igniteui-webcomponents-inputs.umd.js.map +1 -0
  5. package/bundles/igniteui-webcomponents-inputs.umd.min.js +2 -0
  6. package/bundles/igniteui-webcomponents-inputs.umd.min.js.map +1 -0
  7. package/esm2015/igniteui-webcomponents-inputs.js +2 -0
  8. package/esm2015/igniteui-webcomponents-inputs.js.map +1 -0
  9. package/esm2015/lib/Button.js +8 -0
  10. package/esm2015/lib/Button.js.map +1 -0
  11. package/esm2015/lib/ButtonClickEventArgs.js +17 -0
  12. package/esm2015/lib/ButtonClickEventArgs.js.map +1 -0
  13. package/esm2015/lib/ButtonDisplayStyle.js +12 -0
  14. package/esm2015/lib/ButtonDisplayStyle.js.map +1 -0
  15. package/esm2015/lib/ButtonGroup.js +8 -0
  16. package/esm2015/lib/ButtonGroup.js.map +1 -0
  17. package/esm2015/lib/ButtonGroupButtonCollection.js +29 -0
  18. package/esm2015/lib/ButtonGroupButtonCollection.js.map +1 -0
  19. package/esm2015/lib/ButtonGroupDisplayStyle.js +12 -0
  20. package/esm2015/lib/ButtonGroupDisplayStyle.js.map +1 -0
  21. package/esm2015/lib/ButtonGroupOrientation.js +17 -0
  22. package/esm2015/lib/ButtonGroupOrientation.js.map +1 -0
  23. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +17 -0
  24. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
  25. package/esm2015/lib/ButtonGroupView.js +8 -0
  26. package/esm2015/lib/ButtonGroupView.js.map +1 -0
  27. package/esm2015/lib/ButtonGroupView_combined.js +1334 -0
  28. package/esm2015/lib/ButtonGroupView_combined.js.map +1 -0
  29. package/esm2015/lib/ButtonGroupVisualModelExport.js +57 -0
  30. package/esm2015/lib/ButtonGroupVisualModelExport.js.map +1 -0
  31. package/esm2015/lib/ButtonView.js +8 -0
  32. package/esm2015/lib/ButtonView.js.map +1 -0
  33. package/esm2015/lib/ButtonView_combined.js +2879 -0
  34. package/esm2015/lib/ButtonView_combined.js.map +1 -0
  35. package/esm2015/lib/ButtonVisualModelExport.js +110 -0
  36. package/esm2015/lib/ButtonVisualModelExport.js.map +1 -0
  37. package/esm2015/lib/Calendar.js +8 -0
  38. package/esm2015/lib/Calendar.js.map +1 -0
  39. package/esm2015/lib/CalendarLocaleEn.js +57 -0
  40. package/esm2015/lib/CalendarLocaleEn.js.map +1 -0
  41. package/esm2015/lib/CalendarView.js +8 -0
  42. package/esm2015/lib/CalendarView.js.map +1 -0
  43. package/esm2015/lib/CalendarView_combined.js +2753 -0
  44. package/esm2015/lib/CalendarView_combined.js.map +1 -0
  45. package/esm2015/lib/CalendarVisualModelExport.js +101 -0
  46. package/esm2015/lib/CalendarVisualModelExport.js.map +1 -0
  47. package/esm2015/lib/Checkbox.js +8 -0
  48. package/esm2015/lib/Checkbox.js.map +1 -0
  49. package/esm2015/lib/CheckboxChangeEventArgs.js +34 -0
  50. package/esm2015/lib/CheckboxChangeEventArgs.js.map +1 -0
  51. package/esm2015/lib/CheckboxLabelPosition.js +12 -0
  52. package/esm2015/lib/CheckboxLabelPosition.js.map +1 -0
  53. package/esm2015/lib/CheckboxView.js +8 -0
  54. package/esm2015/lib/CheckboxView.js.map +1 -0
  55. package/esm2015/lib/CheckboxView_combined.js +1026 -0
  56. package/esm2015/lib/CheckboxView_combined.js.map +1 -0
  57. package/esm2015/lib/CheckboxVisualModelExport.js +63 -0
  58. package/esm2015/lib/CheckboxVisualModelExport.js.map +1 -0
  59. package/esm2015/lib/DateFormats.js +26 -0
  60. package/esm2015/lib/DateFormats.js.map +1 -0
  61. package/esm2015/lib/DatePicker.js +8 -0
  62. package/esm2015/lib/DatePicker.js.map +1 -0
  63. package/esm2015/lib/DatePickerView.js +8 -0
  64. package/esm2015/lib/DatePickerView.js.map +1 -0
  65. package/esm2015/lib/DatePickerView_combined.js +1439 -0
  66. package/esm2015/lib/DatePickerView_combined.js.map +1 -0
  67. package/esm2015/lib/DatePickerVisualModelExport.js +71 -0
  68. package/esm2015/lib/DatePickerVisualModelExport.js.map +1 -0
  69. package/esm2015/lib/DateTimeValueFormatter.js +109 -0
  70. package/esm2015/lib/DateTimeValueFormatter.js.map +1 -0
  71. package/esm2015/lib/DayInfo.js +24 -0
  72. package/esm2015/lib/DayInfo.js.map +1 -0
  73. package/esm2015/lib/DayOfWeek.js +46 -0
  74. package/esm2015/lib/DayOfWeek.js.map +1 -0
  75. package/esm2015/lib/ElevationHelper.js +68 -0
  76. package/esm2015/lib/ElevationHelper.js.map +1 -0
  77. package/esm2015/lib/FirstWeek.js +30 -0
  78. package/esm2015/lib/FirstWeek.js.map +1 -0
  79. package/esm2015/lib/GotFocusEventArgs.js +17 -0
  80. package/esm2015/lib/GotFocusEventArgs.js.map +1 -0
  81. package/esm2015/lib/Icon.js +8 -0
  82. package/esm2015/lib/Icon.js.map +1 -0
  83. package/esm2015/lib/IconView.js +8 -0
  84. package/esm2015/lib/IconView.js.map +1 -0
  85. package/esm2015/lib/IconView_combined.js +557 -0
  86. package/esm2015/lib/IconView_combined.js.map +1 -0
  87. package/esm2015/lib/IconVisualModelExport.js +68 -0
  88. package/esm2015/lib/IconVisualModelExport.js.map +1 -0
  89. package/esm2015/lib/Input.js +8 -0
  90. package/esm2015/lib/Input.js.map +1 -0
  91. package/esm2015/lib/InputChangeEventArgs.js +34 -0
  92. package/esm2015/lib/InputChangeEventArgs.js.map +1 -0
  93. package/esm2015/lib/InputGroup.js +8 -0
  94. package/esm2015/lib/InputGroup.js.map +1 -0
  95. package/esm2015/lib/InputGroupDisplayType.js +19 -0
  96. package/esm2015/lib/InputGroupDisplayType.js.map +1 -0
  97. package/esm2015/lib/InputGroupInputCollection.js +8 -0
  98. package/esm2015/lib/InputGroupInputCollection.js.map +1 -0
  99. package/esm2015/lib/InputGroupItem.js +8 -0
  100. package/esm2015/lib/InputGroupItem.js.map +1 -0
  101. package/esm2015/lib/InputGroupView.js +8 -0
  102. package/esm2015/lib/InputGroupView.js.map +1 -0
  103. package/esm2015/lib/InputGroupView_combined.js +5152 -0
  104. package/esm2015/lib/InputGroupView_combined.js.map +1 -0
  105. package/esm2015/lib/InputGroupVisualModelExport.js +110 -0
  106. package/esm2015/lib/InputGroupVisualModelExport.js.map +1 -0
  107. package/esm2015/lib/InputShiftType.js +18 -0
  108. package/esm2015/lib/InputShiftType.js.map +1 -0
  109. package/esm2015/lib/InputView.js +8 -0
  110. package/esm2015/lib/InputView.js.map +1 -0
  111. package/esm2015/lib/InputVisualModelExport.js +79 -0
  112. package/esm2015/lib/InputVisualModelExport.js.map +1 -0
  113. package/esm2015/lib/KEYCODES.js +12 -0
  114. package/esm2015/lib/KEYCODES.js.map +1 -0
  115. package/esm2015/lib/Label.js +8 -0
  116. package/esm2015/lib/Label.js.map +1 -0
  117. package/esm2015/lib/LabelShiftType.js +18 -0
  118. package/esm2015/lib/LabelShiftType.js.map +1 -0
  119. package/esm2015/lib/LabelView.js +8 -0
  120. package/esm2015/lib/LabelView.js.map +1 -0
  121. package/esm2015/lib/LabelVisualModelExport.js +85 -0
  122. package/esm2015/lib/LabelVisualModelExport.js.map +1 -0
  123. package/esm2015/lib/LostFocusEventArgs.js +17 -0
  124. package/esm2015/lib/LostFocusEventArgs.js.map +1 -0
  125. package/esm2015/lib/MaskOptions.js +22 -0
  126. package/esm2015/lib/MaskOptions.js.map +1 -0
  127. package/esm2015/lib/MaskParsingService.js +214 -0
  128. package/esm2015/lib/MaskParsingService.js.map +1 -0
  129. package/esm2015/lib/Prefix.js +8 -0
  130. package/esm2015/lib/Prefix.js.map +1 -0
  131. package/esm2015/lib/PrefixShiftType.js +18 -0
  132. package/esm2015/lib/PrefixShiftType.js.map +1 -0
  133. package/esm2015/lib/PrefixView.js +8 -0
  134. package/esm2015/lib/PrefixView.js.map +1 -0
  135. package/esm2015/lib/PrefixVisualModelExport.js +36 -0
  136. package/esm2015/lib/PrefixVisualModelExport.js.map +1 -0
  137. package/esm2015/lib/Replaced.js +22 -0
  138. package/esm2015/lib/Replaced.js.map +1 -0
  139. package/esm2015/lib/Ripple.js +8 -0
  140. package/esm2015/lib/Ripple.js.map +1 -0
  141. package/esm2015/lib/RippleView.js +8 -0
  142. package/esm2015/lib/RippleView.js.map +1 -0
  143. package/esm2015/lib/RippleView_combined.js +397 -0
  144. package/esm2015/lib/RippleView_combined.js.map +1 -0
  145. package/esm2015/lib/RippleVisualModelExport.js +39 -0
  146. package/esm2015/lib/RippleVisualModelExport.js.map +1 -0
  147. package/esm2015/lib/Suffix.js +8 -0
  148. package/esm2015/lib/Suffix.js.map +1 -0
  149. package/esm2015/lib/SuffixShiftType.js +18 -0
  150. package/esm2015/lib/SuffixShiftType.js.map +1 -0
  151. package/esm2015/lib/SuffixView.js +8 -0
  152. package/esm2015/lib/SuffixView.js.map +1 -0
  153. package/esm2015/lib/SuffixVisualModelExport.js +35 -0
  154. package/esm2015/lib/SuffixVisualModelExport.js.map +1 -0
  155. package/esm2015/lib/TextElementsVisualModelExport.js +45 -0
  156. package/esm2015/lib/TextElementsVisualModelExport.js.map +1 -0
  157. package/esm2015/lib/ThemeResolver.js +53 -0
  158. package/esm2015/lib/ThemeResolver.js.map +1 -0
  159. package/esm2015/lib/ValueChangedEventArgs.js +34 -0
  160. package/esm2015/lib/ValueChangedEventArgs.js.map +1 -0
  161. package/esm2015/lib/igc-button-click-event-args.js +25 -0
  162. package/esm2015/lib/igc-button-click-event-args.js.map +1 -0
  163. package/esm2015/lib/igc-button-component.js +2010 -0
  164. package/esm2015/lib/igc-button-component.js.map +1 -0
  165. package/esm2015/lib/igc-button-group-button-collection.js +49 -0
  166. package/esm2015/lib/igc-button-group-button-collection.js.map +1 -0
  167. package/esm2015/lib/igc-button-group-component.js +1017 -0
  168. package/esm2015/lib/igc-button-group-component.js.map +1 -0
  169. package/esm2015/lib/igc-button-group-module.js +22 -0
  170. package/esm2015/lib/igc-button-group-module.js.map +1 -0
  171. package/esm2015/lib/igc-button-group-selection-changed-event-args.js +25 -0
  172. package/esm2015/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
  173. package/esm2015/lib/igc-button-module.js +22 -0
  174. package/esm2015/lib/igc-button-module.js.map +1 -0
  175. package/esm2015/lib/igc-calendar-component.js +484 -0
  176. package/esm2015/lib/igc-calendar-component.js.map +1 -0
  177. package/esm2015/lib/igc-calendar-locale-en-module.js +14 -0
  178. package/esm2015/lib/igc-calendar-locale-en-module.js.map +1 -0
  179. package/esm2015/lib/igc-calendar-module.js +22 -0
  180. package/esm2015/lib/igc-calendar-module.js.map +1 -0
  181. package/esm2015/lib/igc-checkbox-change-event-args.js +38 -0
  182. package/esm2015/lib/igc-checkbox-change-event-args.js.map +1 -0
  183. package/esm2015/lib/igc-checkbox-component.js +620 -0
  184. package/esm2015/lib/igc-checkbox-component.js.map +1 -0
  185. package/esm2015/lib/igc-checkbox-module.js +22 -0
  186. package/esm2015/lib/igc-checkbox-module.js.map +1 -0
  187. package/esm2015/lib/igc-date-picker-component.js +604 -0
  188. package/esm2015/lib/igc-date-picker-component.js.map +1 -0
  189. package/esm2015/lib/igc-date-picker-module.js +26 -0
  190. package/esm2015/lib/igc-date-picker-module.js.map +1 -0
  191. package/esm2015/lib/igc-got-focus-event-args.js +25 -0
  192. package/esm2015/lib/igc-got-focus-event-args.js.map +1 -0
  193. package/esm2015/lib/igc-icon-component.js +490 -0
  194. package/esm2015/lib/igc-icon-component.js.map +1 -0
  195. package/esm2015/lib/igc-icon-module.js +20 -0
  196. package/esm2015/lib/igc-icon-module.js.map +1 -0
  197. package/esm2015/lib/igc-input-change-event-args.js +38 -0
  198. package/esm2015/lib/igc-input-change-event-args.js.map +1 -0
  199. package/esm2015/lib/igc-input-component.js +540 -0
  200. package/esm2015/lib/igc-input-component.js.map +1 -0
  201. package/esm2015/lib/igc-input-group-component.js +1966 -0
  202. package/esm2015/lib/igc-input-group-component.js.map +1 -0
  203. package/esm2015/lib/igc-input-group-input-collection.js +49 -0
  204. package/esm2015/lib/igc-input-group-input-collection.js.map +1 -0
  205. package/esm2015/lib/igc-input-group-item-component.js +176 -0
  206. package/esm2015/lib/igc-input-group-item-component.js.map +1 -0
  207. package/esm2015/lib/igc-input-group-module.js +24 -0
  208. package/esm2015/lib/igc-input-group-module.js.map +1 -0
  209. package/esm2015/lib/igc-input-module.js +20 -0
  210. package/esm2015/lib/igc-input-module.js.map +1 -0
  211. package/esm2015/lib/igc-label-component.js +400 -0
  212. package/esm2015/lib/igc-label-component.js.map +1 -0
  213. package/esm2015/lib/igc-label-module.js +20 -0
  214. package/esm2015/lib/igc-label-module.js.map +1 -0
  215. package/esm2015/lib/igc-lost-focus-event-args.js +25 -0
  216. package/esm2015/lib/igc-lost-focus-event-args.js.map +1 -0
  217. package/esm2015/lib/igc-prefix-component.js +186 -0
  218. package/esm2015/lib/igc-prefix-component.js.map +1 -0
  219. package/esm2015/lib/igc-prefix-module.js +20 -0
  220. package/esm2015/lib/igc-prefix-module.js.map +1 -0
  221. package/esm2015/lib/igc-ripple-component.js +380 -0
  222. package/esm2015/lib/igc-ripple-component.js.map +1 -0
  223. package/esm2015/lib/igc-ripple-module.js +18 -0
  224. package/esm2015/lib/igc-ripple-module.js.map +1 -0
  225. package/esm2015/lib/igc-suffix-component.js +186 -0
  226. package/esm2015/lib/igc-suffix-component.js.map +1 -0
  227. package/esm2015/lib/igc-value-changed-event-args.js +37 -0
  228. package/esm2015/lib/igc-value-changed-event-args.js.map +1 -0
  229. package/esm2015/public_api.js +103 -0
  230. package/esm2015/public_api.js.map +1 -0
  231. package/esm5/igniteui-webcomponents-inputs.js +2 -0
  232. package/esm5/igniteui-webcomponents-inputs.js.map +1 -0
  233. package/esm5/lib/Button.js +8 -0
  234. package/esm5/lib/Button.js.map +1 -0
  235. package/esm5/lib/ButtonClickEventArgs.js +21 -0
  236. package/esm5/lib/ButtonClickEventArgs.js.map +1 -0
  237. package/esm5/lib/ButtonDisplayStyle.js +12 -0
  238. package/esm5/lib/ButtonDisplayStyle.js.map +1 -0
  239. package/esm5/lib/ButtonGroup.js +8 -0
  240. package/esm5/lib/ButtonGroup.js.map +1 -0
  241. package/esm5/lib/ButtonGroupButtonCollection.js +31 -0
  242. package/esm5/lib/ButtonGroupButtonCollection.js.map +1 -0
  243. package/esm5/lib/ButtonGroupDisplayStyle.js +12 -0
  244. package/esm5/lib/ButtonGroupDisplayStyle.js.map +1 -0
  245. package/esm5/lib/ButtonGroupOrientation.js +17 -0
  246. package/esm5/lib/ButtonGroupOrientation.js.map +1 -0
  247. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +21 -0
  248. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js.map +1 -0
  249. package/esm5/lib/ButtonGroupView.js +8 -0
  250. package/esm5/lib/ButtonGroupView.js.map +1 -0
  251. package/esm5/lib/ButtonGroupView_combined.js +1702 -0
  252. package/esm5/lib/ButtonGroupView_combined.js.map +1 -0
  253. package/esm5/lib/ButtonGroupVisualModelExport.js +59 -0
  254. package/esm5/lib/ButtonGroupVisualModelExport.js.map +1 -0
  255. package/esm5/lib/ButtonView.js +8 -0
  256. package/esm5/lib/ButtonView.js.map +1 -0
  257. package/esm5/lib/ButtonView_combined.js +3529 -0
  258. package/esm5/lib/ButtonView_combined.js.map +1 -0
  259. package/esm5/lib/ButtonVisualModelExport.js +112 -0
  260. package/esm5/lib/ButtonVisualModelExport.js.map +1 -0
  261. package/esm5/lib/Calendar.js +8 -0
  262. package/esm5/lib/Calendar.js.map +1 -0
  263. package/esm5/lib/CalendarLocaleEn.js +59 -0
  264. package/esm5/lib/CalendarLocaleEn.js.map +1 -0
  265. package/esm5/lib/CalendarView.js +8 -0
  266. package/esm5/lib/CalendarView.js.map +1 -0
  267. package/esm5/lib/CalendarView_combined.js +2877 -0
  268. package/esm5/lib/CalendarView_combined.js.map +1 -0
  269. package/esm5/lib/CalendarVisualModelExport.js +103 -0
  270. package/esm5/lib/CalendarVisualModelExport.js.map +1 -0
  271. package/esm5/lib/Checkbox.js +8 -0
  272. package/esm5/lib/Checkbox.js.map +1 -0
  273. package/esm5/lib/CheckboxChangeEventArgs.js +44 -0
  274. package/esm5/lib/CheckboxChangeEventArgs.js.map +1 -0
  275. package/esm5/lib/CheckboxLabelPosition.js +12 -0
  276. package/esm5/lib/CheckboxLabelPosition.js.map +1 -0
  277. package/esm5/lib/CheckboxView.js +8 -0
  278. package/esm5/lib/CheckboxView.js.map +1 -0
  279. package/esm5/lib/CheckboxView_combined.js +1220 -0
  280. package/esm5/lib/CheckboxView_combined.js.map +1 -0
  281. package/esm5/lib/CheckboxVisualModelExport.js +65 -0
  282. package/esm5/lib/CheckboxVisualModelExport.js.map +1 -0
  283. package/esm5/lib/DateFormats.js +26 -0
  284. package/esm5/lib/DateFormats.js.map +1 -0
  285. package/esm5/lib/DatePicker.js +8 -0
  286. package/esm5/lib/DatePicker.js.map +1 -0
  287. package/esm5/lib/DatePickerView.js +8 -0
  288. package/esm5/lib/DatePickerView.js.map +1 -0
  289. package/esm5/lib/DatePickerView_combined.js +1539 -0
  290. package/esm5/lib/DatePickerView_combined.js.map +1 -0
  291. package/esm5/lib/DatePickerVisualModelExport.js +73 -0
  292. package/esm5/lib/DatePickerVisualModelExport.js.map +1 -0
  293. package/esm5/lib/DateTimeValueFormatter.js +111 -0
  294. package/esm5/lib/DateTimeValueFormatter.js.map +1 -0
  295. package/esm5/lib/DayInfo.js +26 -0
  296. package/esm5/lib/DayInfo.js.map +1 -0
  297. package/esm5/lib/DayOfWeek.js +46 -0
  298. package/esm5/lib/DayOfWeek.js.map +1 -0
  299. package/esm5/lib/ElevationHelper.js +72 -0
  300. package/esm5/lib/ElevationHelper.js.map +1 -0
  301. package/esm5/lib/FirstWeek.js +30 -0
  302. package/esm5/lib/FirstWeek.js.map +1 -0
  303. package/esm5/lib/GotFocusEventArgs.js +21 -0
  304. package/esm5/lib/GotFocusEventArgs.js.map +1 -0
  305. package/esm5/lib/Icon.js +8 -0
  306. package/esm5/lib/Icon.js.map +1 -0
  307. package/esm5/lib/IconView.js +8 -0
  308. package/esm5/lib/IconView.js.map +1 -0
  309. package/esm5/lib/IconView_combined.js +706 -0
  310. package/esm5/lib/IconView_combined.js.map +1 -0
  311. package/esm5/lib/IconVisualModelExport.js +74 -0
  312. package/esm5/lib/IconVisualModelExport.js.map +1 -0
  313. package/esm5/lib/Input.js +8 -0
  314. package/esm5/lib/Input.js.map +1 -0
  315. package/esm5/lib/InputChangeEventArgs.js +44 -0
  316. package/esm5/lib/InputChangeEventArgs.js.map +1 -0
  317. package/esm5/lib/InputGroup.js +8 -0
  318. package/esm5/lib/InputGroup.js.map +1 -0
  319. package/esm5/lib/InputGroupDisplayType.js +19 -0
  320. package/esm5/lib/InputGroupDisplayType.js.map +1 -0
  321. package/esm5/lib/InputGroupInputCollection.js +8 -0
  322. package/esm5/lib/InputGroupInputCollection.js.map +1 -0
  323. package/esm5/lib/InputGroupItem.js +8 -0
  324. package/esm5/lib/InputGroupItem.js.map +1 -0
  325. package/esm5/lib/InputGroupView.js +8 -0
  326. package/esm5/lib/InputGroupView.js.map +1 -0
  327. package/esm5/lib/InputGroupView_combined.js +6273 -0
  328. package/esm5/lib/InputGroupView_combined.js.map +1 -0
  329. package/esm5/lib/InputGroupVisualModelExport.js +112 -0
  330. package/esm5/lib/InputGroupVisualModelExport.js.map +1 -0
  331. package/esm5/lib/InputShiftType.js +18 -0
  332. package/esm5/lib/InputShiftType.js.map +1 -0
  333. package/esm5/lib/InputView.js +8 -0
  334. package/esm5/lib/InputView.js.map +1 -0
  335. package/esm5/lib/InputVisualModelExport.js +81 -0
  336. package/esm5/lib/InputVisualModelExport.js.map +1 -0
  337. package/esm5/lib/KEYCODES.js +12 -0
  338. package/esm5/lib/KEYCODES.js.map +1 -0
  339. package/esm5/lib/Label.js +8 -0
  340. package/esm5/lib/Label.js.map +1 -0
  341. package/esm5/lib/LabelShiftType.js +18 -0
  342. package/esm5/lib/LabelShiftType.js.map +1 -0
  343. package/esm5/lib/LabelView.js +8 -0
  344. package/esm5/lib/LabelView.js.map +1 -0
  345. package/esm5/lib/LabelVisualModelExport.js +87 -0
  346. package/esm5/lib/LabelVisualModelExport.js.map +1 -0
  347. package/esm5/lib/LostFocusEventArgs.js +21 -0
  348. package/esm5/lib/LostFocusEventArgs.js.map +1 -0
  349. package/esm5/lib/MaskOptions.js +24 -0
  350. package/esm5/lib/MaskOptions.js.map +1 -0
  351. package/esm5/lib/MaskParsingService.js +268 -0
  352. package/esm5/lib/MaskParsingService.js.map +1 -0
  353. package/esm5/lib/Prefix.js +8 -0
  354. package/esm5/lib/Prefix.js.map +1 -0
  355. package/esm5/lib/PrefixShiftType.js +18 -0
  356. package/esm5/lib/PrefixShiftType.js.map +1 -0
  357. package/esm5/lib/PrefixView.js +8 -0
  358. package/esm5/lib/PrefixView.js.map +1 -0
  359. package/esm5/lib/PrefixVisualModelExport.js +38 -0
  360. package/esm5/lib/PrefixVisualModelExport.js.map +1 -0
  361. package/esm5/lib/Replaced.js +24 -0
  362. package/esm5/lib/Replaced.js.map +1 -0
  363. package/esm5/lib/Ripple.js +8 -0
  364. package/esm5/lib/Ripple.js.map +1 -0
  365. package/esm5/lib/RippleView.js +8 -0
  366. package/esm5/lib/RippleView.js.map +1 -0
  367. package/esm5/lib/RippleView_combined.js +492 -0
  368. package/esm5/lib/RippleView_combined.js.map +1 -0
  369. package/esm5/lib/RippleVisualModelExport.js +41 -0
  370. package/esm5/lib/RippleVisualModelExport.js.map +1 -0
  371. package/esm5/lib/Suffix.js +8 -0
  372. package/esm5/lib/Suffix.js.map +1 -0
  373. package/esm5/lib/SuffixShiftType.js +18 -0
  374. package/esm5/lib/SuffixShiftType.js.map +1 -0
  375. package/esm5/lib/SuffixView.js +8 -0
  376. package/esm5/lib/SuffixView.js.map +1 -0
  377. package/esm5/lib/SuffixVisualModelExport.js +37 -0
  378. package/esm5/lib/SuffixVisualModelExport.js.map +1 -0
  379. package/esm5/lib/TextElementsVisualModelExport.js +47 -0
  380. package/esm5/lib/TextElementsVisualModelExport.js.map +1 -0
  381. package/esm5/lib/ThemeResolver.js +57 -0
  382. package/esm5/lib/ThemeResolver.js.map +1 -0
  383. package/esm5/lib/ValueChangedEventArgs.js +44 -0
  384. package/esm5/lib/ValueChangedEventArgs.js.map +1 -0
  385. package/esm5/lib/igc-button-click-event-args.js +31 -0
  386. package/esm5/lib/igc-button-click-event-args.js.map +1 -0
  387. package/esm5/lib/igc-button-component.js +2722 -0
  388. package/esm5/lib/igc-button-component.js.map +1 -0
  389. package/esm5/lib/igc-button-group-button-collection.js +54 -0
  390. package/esm5/lib/igc-button-group-button-collection.js.map +1 -0
  391. package/esm5/lib/igc-button-group-component.js +1318 -0
  392. package/esm5/lib/igc-button-group-component.js.map +1 -0
  393. package/esm5/lib/igc-button-group-module.js +26 -0
  394. package/esm5/lib/igc-button-group-module.js.map +1 -0
  395. package/esm5/lib/igc-button-group-selection-changed-event-args.js +31 -0
  396. package/esm5/lib/igc-button-group-selection-changed-event-args.js.map +1 -0
  397. package/esm5/lib/igc-button-module.js +26 -0
  398. package/esm5/lib/igc-button-module.js.map +1 -0
  399. package/esm5/lib/igc-calendar-component.js +595 -0
  400. package/esm5/lib/igc-calendar-component.js.map +1 -0
  401. package/esm5/lib/igc-calendar-locale-en-module.js +18 -0
  402. package/esm5/lib/igc-calendar-locale-en-module.js.map +1 -0
  403. package/esm5/lib/igc-calendar-module.js +26 -0
  404. package/esm5/lib/igc-calendar-module.js.map +1 -0
  405. package/esm5/lib/igc-checkbox-change-event-args.js +52 -0
  406. package/esm5/lib/igc-checkbox-change-event-args.js.map +1 -0
  407. package/esm5/lib/igc-checkbox-component.js +788 -0
  408. package/esm5/lib/igc-checkbox-component.js.map +1 -0
  409. package/esm5/lib/igc-checkbox-module.js +26 -0
  410. package/esm5/lib/igc-checkbox-module.js.map +1 -0
  411. package/esm5/lib/igc-date-picker-component.js +739 -0
  412. package/esm5/lib/igc-date-picker-component.js.map +1 -0
  413. package/esm5/lib/igc-date-picker-module.js +30 -0
  414. package/esm5/lib/igc-date-picker-module.js.map +1 -0
  415. package/esm5/lib/igc-got-focus-event-args.js +31 -0
  416. package/esm5/lib/igc-got-focus-event-args.js.map +1 -0
  417. package/esm5/lib/igc-icon-component.js +609 -0
  418. package/esm5/lib/igc-icon-component.js.map +1 -0
  419. package/esm5/lib/igc-icon-module.js +24 -0
  420. package/esm5/lib/igc-icon-module.js.map +1 -0
  421. package/esm5/lib/igc-input-change-event-args.js +52 -0
  422. package/esm5/lib/igc-input-change-event-args.js.map +1 -0
  423. package/esm5/lib/igc-input-component.js +676 -0
  424. package/esm5/lib/igc-input-component.js.map +1 -0
  425. package/esm5/lib/igc-input-group-component.js +2646 -0
  426. package/esm5/lib/igc-input-group-component.js.map +1 -0
  427. package/esm5/lib/igc-input-group-input-collection.js +54 -0
  428. package/esm5/lib/igc-input-group-input-collection.js.map +1 -0
  429. package/esm5/lib/igc-input-group-item-component.js +194 -0
  430. package/esm5/lib/igc-input-group-item-component.js.map +1 -0
  431. package/esm5/lib/igc-input-group-module.js +28 -0
  432. package/esm5/lib/igc-input-group-module.js.map +1 -0
  433. package/esm5/lib/igc-input-module.js +24 -0
  434. package/esm5/lib/igc-input-module.js.map +1 -0
  435. package/esm5/lib/igc-label-component.js +523 -0
  436. package/esm5/lib/igc-label-component.js.map +1 -0
  437. package/esm5/lib/igc-label-module.js +24 -0
  438. package/esm5/lib/igc-label-module.js.map +1 -0
  439. package/esm5/lib/igc-lost-focus-event-args.js +31 -0
  440. package/esm5/lib/igc-lost-focus-event-args.js.map +1 -0
  441. package/esm5/lib/igc-prefix-component.js +229 -0
  442. package/esm5/lib/igc-prefix-component.js.map +1 -0
  443. package/esm5/lib/igc-prefix-module.js +24 -0
  444. package/esm5/lib/igc-prefix-module.js.map +1 -0
  445. package/esm5/lib/igc-ripple-component.js +450 -0
  446. package/esm5/lib/igc-ripple-component.js.map +1 -0
  447. package/esm5/lib/igc-ripple-module.js +22 -0
  448. package/esm5/lib/igc-ripple-module.js.map +1 -0
  449. package/esm5/lib/igc-suffix-component.js +229 -0
  450. package/esm5/lib/igc-suffix-component.js.map +1 -0
  451. package/esm5/lib/igc-value-changed-event-args.js +51 -0
  452. package/esm5/lib/igc-value-changed-event-args.js.map +1 -0
  453. package/esm5/public_api.js +103 -0
  454. package/esm5/public_api.js.map +1 -0
  455. package/fesm2015/igniteui-webcomponents-inputs.js +26824 -0
  456. package/fesm2015/igniteui-webcomponents-inputs.js.map +1 -0
  457. package/fesm5/igniteui-webcomponents-inputs.js +32419 -0
  458. package/fesm5/igniteui-webcomponents-inputs.js.map +1 -0
  459. package/igniteui-webcomponents-inputs.d.ts +1 -0
  460. package/lib/Button.d.ts +1 -0
  461. package/lib/ButtonClickEventArgs.d.ts +7 -0
  462. package/lib/ButtonDisplayStyle.d.ts +15 -0
  463. package/lib/ButtonGroup.d.ts +1 -0
  464. package/lib/ButtonGroupButtonCollection.d.ts +12 -0
  465. package/lib/ButtonGroupDisplayStyle.d.ts +12 -0
  466. package/lib/ButtonGroupOrientation.d.ts +9 -0
  467. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +7 -0
  468. package/lib/ButtonGroupView.d.ts +1 -0
  469. package/lib/ButtonGroupView_combined.d.ts +306 -0
  470. package/lib/ButtonGroupVisualModelExport.d.ts +24 -0
  471. package/lib/ButtonView.d.ts +1 -0
  472. package/lib/ButtonView_combined.d.ts +667 -0
  473. package/lib/ButtonVisualModelExport.d.ts +46 -0
  474. package/lib/Calendar.d.ts +1 -0
  475. package/lib/CalendarLocaleEn.d.ts +49 -0
  476. package/lib/CalendarView.d.ts +1 -0
  477. package/lib/CalendarView_combined.d.ts +206 -0
  478. package/lib/CalendarVisualModelExport.d.ts +33 -0
  479. package/lib/Checkbox.d.ts +1 -0
  480. package/lib/CheckboxChangeEventArgs.d.ts +11 -0
  481. package/lib/CheckboxLabelPosition.d.ts +12 -0
  482. package/lib/CheckboxView.d.ts +1 -0
  483. package/lib/CheckboxView_combined.d.ts +181 -0
  484. package/lib/CheckboxVisualModelExport.d.ts +28 -0
  485. package/lib/DateFormats.d.ts +18 -0
  486. package/lib/DatePicker.d.ts +1 -0
  487. package/lib/DatePickerView.d.ts +1 -0
  488. package/lib/DatePickerView_combined.d.ts +191 -0
  489. package/lib/DatePickerVisualModelExport.d.ts +24 -0
  490. package/lib/DateTimeValueFormatter.d.ts +20 -0
  491. package/lib/DayInfo.d.ts +13 -0
  492. package/lib/DayOfWeek.d.ts +38 -0
  493. package/lib/ElevationHelper.d.ts +16 -0
  494. package/lib/FirstWeek.d.ts +22 -0
  495. package/lib/GotFocusEventArgs.d.ts +7 -0
  496. package/lib/Icon.d.ts +1 -0
  497. package/lib/IconView.d.ts +1 -0
  498. package/lib/IconView_combined.d.ts +117 -0
  499. package/lib/IconVisualModelExport.d.ts +21 -0
  500. package/lib/Input.d.ts +1 -0
  501. package/lib/InputChangeEventArgs.d.ts +11 -0
  502. package/lib/InputGroup.d.ts +1 -0
  503. package/lib/InputGroupDisplayType.d.ts +11 -0
  504. package/lib/InputGroupInputCollection.d.ts +1 -0
  505. package/lib/InputGroupItem.d.ts +1 -0
  506. package/lib/InputGroupView.d.ts +1 -0
  507. package/lib/InputGroupView_combined.d.ts +1192 -0
  508. package/lib/InputGroupVisualModelExport.d.ts +44 -0
  509. package/lib/InputShiftType.d.ts +10 -0
  510. package/lib/InputView.d.ts +1 -0
  511. package/lib/InputVisualModelExport.d.ts +30 -0
  512. package/lib/KEYCODES.d.ts +26 -0
  513. package/lib/Label.d.ts +1 -0
  514. package/lib/LabelShiftType.d.ts +10 -0
  515. package/lib/LabelView.d.ts +1 -0
  516. package/lib/LabelVisualModelExport.d.ts +34 -0
  517. package/lib/LostFocusEventArgs.d.ts +7 -0
  518. package/lib/MaskOptions.d.ts +9 -0
  519. package/lib/MaskParsingService.d.ts +19 -0
  520. package/lib/Prefix.d.ts +1 -0
  521. package/lib/PrefixShiftType.d.ts +10 -0
  522. package/lib/PrefixView.d.ts +1 -0
  523. package/lib/PrefixVisualModelExport.d.ts +13 -0
  524. package/lib/Replaced.d.ts +9 -0
  525. package/lib/Ripple.d.ts +1 -0
  526. package/lib/RippleView.d.ts +1 -0
  527. package/lib/RippleView_combined.d.ts +89 -0
  528. package/lib/RippleVisualModelExport.d.ts +15 -0
  529. package/lib/Suffix.d.ts +1 -0
  530. package/lib/SuffixShiftType.d.ts +10 -0
  531. package/lib/SuffixView.d.ts +1 -0
  532. package/lib/SuffixVisualModelExport.d.ts +13 -0
  533. package/lib/TextElementsVisualModelExport.d.ts +16 -0
  534. package/lib/ThemeResolver.d.ts +18 -0
  535. package/lib/ValueChangedEventArgs.d.ts +11 -0
  536. package/lib/igc-button-click-event-args.d.ts +12 -0
  537. package/lib/igc-button-component.d.ts +671 -0
  538. package/lib/igc-button-group-button-collection.d.ts +8 -0
  539. package/lib/igc-button-group-component.d.ts +344 -0
  540. package/lib/igc-button-group-module.d.ts +3 -0
  541. package/lib/igc-button-group-selection-changed-event-args.d.ts +12 -0
  542. package/lib/igc-button-module.d.ts +3 -0
  543. package/lib/igc-calendar-component.d.ts +152 -0
  544. package/lib/igc-calendar-locale-en-module.d.ts +3 -0
  545. package/lib/igc-calendar-module.d.ts +3 -0
  546. package/lib/igc-checkbox-change-event-args.d.ts +14 -0
  547. package/lib/igc-checkbox-component.d.ts +198 -0
  548. package/lib/igc-checkbox-module.d.ts +3 -0
  549. package/lib/igc-date-picker-component.d.ts +174 -0
  550. package/lib/igc-date-picker-module.d.ts +3 -0
  551. package/lib/igc-got-focus-event-args.d.ts +12 -0
  552. package/lib/igc-icon-component.d.ts +148 -0
  553. package/lib/igc-icon-module.d.ts +3 -0
  554. package/lib/igc-input-change-event-args.d.ts +14 -0
  555. package/lib/igc-input-component.d.ts +145 -0
  556. package/lib/igc-input-group-component.d.ts +588 -0
  557. package/lib/igc-input-group-input-collection.d.ts +8 -0
  558. package/lib/igc-input-group-item-component.d.ts +39 -0
  559. package/lib/igc-input-group-module.d.ts +3 -0
  560. package/lib/igc-input-module.d.ts +3 -0
  561. package/lib/igc-label-component.d.ts +141 -0
  562. package/lib/igc-label-module.d.ts +3 -0
  563. package/lib/igc-lost-focus-event-args.d.ts +12 -0
  564. package/lib/igc-prefix-component.d.ts +55 -0
  565. package/lib/igc-prefix-module.d.ts +3 -0
  566. package/lib/igc-ripple-component.d.ts +104 -0
  567. package/lib/igc-ripple-module.d.ts +3 -0
  568. package/lib/igc-suffix-component.d.ts +55 -0
  569. package/lib/igc-value-changed-event-args.d.ts +14 -0
  570. package/package.json +35 -0
  571. package/public_api.d.ts +102 -0
@@ -0,0 +1,2010 @@
1
+ import { Button } from "./Button";
2
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
3
+ import { FontInfo } from "igniteui-webcomponents-core";
4
+ import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
5
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
6
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
7
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
8
+ import { CornerRadius } from "igniteui-webcomponents-core";
9
+ import { ButtonDisplayStyle_$type } from './ButtonDisplayStyle';
10
+ import { IgcButtonClickEventArgs } from './igc-button-click-event-args';
11
+ import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
12
+ import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
13
+ import { ElevationMode_$type } from "igniteui-webcomponents-core";
14
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
15
+ export let IgcButtonComponent = /*@__PURE__*/ (() => {
16
+ class IgcButtonComponent extends IgcHTMLElement {
17
+ constructor() {
18
+ super();
19
+ this._disconnected = false;
20
+ this._settingAttributes = false;
21
+ this._attached = false;
22
+ this._queuedSetAttributes = [];
23
+ this._updatingFromAttribute = false;
24
+ this.__p = null;
25
+ this._hasUserValues = new Set();
26
+ this._stylingContainer = null;
27
+ this._stylingParent = null;
28
+ this._inStyling = false;
29
+ this._clicked = null;
30
+ this._clicked_wrapped = null;
31
+ if (this._styling) {
32
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(this));
33
+ }
34
+ this._portalManager = new PortalManager("buttonContent");
35
+ this._renderer = new WebComponentRenderer(this, document, true, {}, this._portalManager);
36
+ this._container = this._renderer.createElement("div");
37
+ this._renderer.updateRoot(this._container);
38
+ this._implementation = this.createImplementation();
39
+ this._implementation.externalObject = this;
40
+ //this._container.setStyleProperty("width", "100%");
41
+ //this._container.setStyleProperty("height", "100%");
42
+ var root;
43
+ root = this._container;
44
+ if (this._container.getNativeElement() != null) {
45
+ root = this._container.getNativeElement();
46
+ }
47
+ this._wrapper = this._renderer;
48
+ var button = this.i;
49
+ this._button = button;
50
+ button.provideContainer(this._renderer);
51
+ this._onChildrenChanged();
52
+ //Checkbox.notifySizeChanged();
53
+ let mut = new MutationObserver((list) => {
54
+ for (var mutation of list) {
55
+ if (mutation.type == 'childList') {
56
+ this._onChildrenChanged();
57
+ }
58
+ }
59
+ });
60
+ mut.observe(this, {
61
+ childList: true
62
+ });
63
+ //this._renderer.addSizeWatcher(() => {
64
+ // this._checkbox.notifySizeChanged();
65
+ //});
66
+ }
67
+ _onDisplayChanged() {
68
+ this.style.display = this.display;
69
+ }
70
+ _onFlexDirectionChanged() {
71
+ this.style.flexDirection = this.flexDirection;
72
+ }
73
+ _onFlexGrowChanged() {
74
+ this.style.flexGrow = this.flexGrow;
75
+ }
76
+ _onAlignItemsChanged() {
77
+ this.style.alignItems = this.alignItems;
78
+ }
79
+ _onChildrenChanged() {
80
+ var children = [];
81
+ for (var i = 0; i < this.childNodes.length; i++) {
82
+ var child = this.childNodes[i];
83
+ if (child !== this._container.getNativeElement()) {
84
+ children.push(child);
85
+ }
86
+ }
87
+ this._portalManager.onChildrenChanged(children);
88
+ }
89
+ // supports angular themes or custom properties set in CSS
90
+ updateStyle() {
91
+ this._styling(this, this);
92
+ }
93
+ destroy() {
94
+ this._button.destroy();
95
+ this._wrapper.destroy();
96
+ }
97
+ createImplementation() {
98
+ return new Button();
99
+ }
100
+ disconnectedCallback() {
101
+ this._disconnected = true;
102
+ if (this.i) {
103
+ this.i.onDetachedFromUI();
104
+ }
105
+ }
106
+ connectedCallback() {
107
+ if (this._disconnected) {
108
+ this._disconnected = false;
109
+ if (this.i) {
110
+ this.i.onAttachedToUI();
111
+ }
112
+ return;
113
+ }
114
+ this.classList.add("ig-button");
115
+ this.classList.add("igc-button");
116
+ this.appendChild(this._container.getNativeElement());
117
+ this._attached = true;
118
+ this.style.display = this.display;
119
+ //this.style.height = this._height;
120
+ //this.style.width = this._width;
121
+ this._flushQueuedAttributes();
122
+ // supports themes or custom properties set in CSS
123
+ this._styling(this, this);
124
+ this.afterContentInit();
125
+ }
126
+ afterContentInit() {
127
+ //this.i.notifySizeChanged();
128
+ }
129
+ /**
130
+ * @hidden
131
+ */
132
+ get i() {
133
+ return this._implementation;
134
+ } /**
135
+ * @hidden
136
+ */
137
+ static _createFromInternal(internal) {
138
+ if (!internal) {
139
+ return null;
140
+ }
141
+ if (!internal.$type) {
142
+ return null;
143
+ }
144
+ let name = internal.$type.name;
145
+ let externalName = "Igc" + name + "Component";
146
+ if (!TypeRegistrar.isRegistered(externalName)) {
147
+ return null;
148
+ }
149
+ return TypeRegistrar.create(externalName);
150
+ }
151
+ _enqueueSetAttribute(attrName, attrValue) {
152
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
153
+ }
154
+ _flushQueuedAttributes() {
155
+ this._settingAttributes = true;
156
+ for (let i = 0; i < this._queuedSetAttributes.length; i++) {
157
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
158
+ }
159
+ this._settingAttributes = false;
160
+ this._queuedSetAttributes.length = 0;
161
+ }
162
+ _a(attrName, attrValue) {
163
+ if (this._updatingFromAttribute) {
164
+ return;
165
+ }
166
+ if (attrValue) {
167
+ attrValue = attrValue.toString();
168
+ }
169
+ this._settingAttributes = true;
170
+ attrName = toSpinal(attrName);
171
+ if (this._attached) {
172
+ this.setAttribute(attrName, attrValue);
173
+ }
174
+ else {
175
+ this._enqueueSetAttribute(attrName, attrValue);
176
+ }
177
+ this._settingAttributes = false;
178
+ }
179
+ static get observedAttributes() {
180
+ if (IgcButtonComponent._observedAttributesIgcButtonComponent == null) {
181
+ let names = getAllPropertyNames(IgcButtonComponent);
182
+ for (let i = 0; i < names.length; i++) {
183
+ names[i] = toSpinal(names[i]);
184
+ }
185
+ IgcButtonComponent._observedAttributesIgcButtonComponent = names;
186
+ }
187
+ return IgcButtonComponent._observedAttributesIgcButtonComponent;
188
+ }
189
+ attributeChangedCallback(name, oldValue, newValue) {
190
+ if (this._settingAttributes) {
191
+ return;
192
+ }
193
+ let setName = fromSpinal(name);
194
+ this._updatingFromAttribute = true;
195
+ this[setName] = newValue;
196
+ this._updatingFromAttribute = false;
197
+ }
198
+ static register() {
199
+ if (!IgcButtonComponent._isElementRegistered) {
200
+ IgcButtonComponent._isElementRegistered = true;
201
+ RegisterElementHelper.registerElement(IgcButtonComponent.htmlTagName, IgcButtonComponent);
202
+ }
203
+ }
204
+ /**
205
+ * Gets or sets the min width to use for the button.
206
+ */
207
+ get minWidth() {
208
+ return this.i.bh;
209
+ }
210
+ set minWidth(v) {
211
+ this.i.bh = +v;
212
+ this._a("minWidth", this.i.bh);
213
+ }
214
+ /**
215
+ * Gets or sets the min height to use for the button.
216
+ */
217
+ get minHeight() {
218
+ return this.i.bg;
219
+ }
220
+ set minHeight(v) {
221
+ this.i.bg = +v;
222
+ this._a("minHeight", this.i.bg);
223
+ }
224
+ /**
225
+ * Gets or sets the display style to use for the button.
226
+ */
227
+ get displayType() {
228
+ return this.i.s;
229
+ }
230
+ set displayType(v) {
231
+ this.i.s = ensureEnum(ButtonDisplayStyle_$type, v);
232
+ this._a("displayType", enumToString(ButtonDisplayStyle_$type, this.i.s));
233
+ }
234
+ /**
235
+ * Gets or sets the display density to use for the button.
236
+ */
237
+ get density() {
238
+ return this.i.h;
239
+ }
240
+ set density(v) {
241
+ this.i.h = ensureEnum(ControlDisplayDensity_$type, v);
242
+ this._a("density", enumToString(ControlDisplayDensity_$type, this.i.h));
243
+ }
244
+ /**
245
+ * Gets or sets the base built in theme to use for the button.
246
+ */
247
+ get baseTheme() {
248
+ return this.i.d;
249
+ }
250
+ set baseTheme(v) {
251
+ this.i.d = ensureEnum(BaseControlTheme_$type, v);
252
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.d));
253
+ }
254
+ /**
255
+ * Gets the actual display density to use for the label.
256
+ */
257
+ get actualDensity() {
258
+ return this.i.g;
259
+ }
260
+ set actualDensity(v) {
261
+ this.i.g = ensureEnum(ControlDisplayDensity_$type, v);
262
+ this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.g));
263
+ }
264
+ /**
265
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
266
+ */
267
+ get actualBorderColor() {
268
+ return brushToString(this.i.m9);
269
+ }
270
+ set actualBorderColor(v) {
271
+ this.i.m9 = stringToBrush(v);
272
+ this._a("actualBorderColor", brushToString(this.i.m9));
273
+ }
274
+ /**
275
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
276
+ */
277
+ get actualUmbraShadowColor() {
278
+ return brushToString(this.i.nk);
279
+ }
280
+ set actualUmbraShadowColor(v) {
281
+ this.i.nk = stringToBrush(v);
282
+ this._a("actualUmbraShadowColor", brushToString(this.i.nk));
283
+ }
284
+ /**
285
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
286
+ */
287
+ get actualPenumbraShadowColor() {
288
+ return brushToString(this.i.nh);
289
+ }
290
+ set actualPenumbraShadowColor(v) {
291
+ this.i.nh = stringToBrush(v);
292
+ this._a("actualPenumbraShadowColor", brushToString(this.i.nh));
293
+ }
294
+ /**
295
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
296
+ */
297
+ get actualAmbientShadowColor() {
298
+ return brushToString(this.i.m7);
299
+ }
300
+ set actualAmbientShadowColor(v) {
301
+ this.i.m7 = stringToBrush(v);
302
+ this._a("actualAmbientShadowColor", brushToString(this.i.m7));
303
+ }
304
+ /**
305
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
306
+ */
307
+ get actualRestingElevation() {
308
+ return this.i.cg;
309
+ }
310
+ set actualRestingElevation(v) {
311
+ this.i.cg = +v;
312
+ this._a("actualRestingElevation", this.i.cg);
313
+ }
314
+ /**
315
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
316
+ */
317
+ get actualFocusElevation() {
318
+ return this.i.ce;
319
+ }
320
+ set actualFocusElevation(v) {
321
+ this.i.ce = +v;
322
+ this._a("actualFocusElevation", this.i.ce);
323
+ }
324
+ /**
325
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
326
+ */
327
+ get actualHoverElevation() {
328
+ return this.i.cf;
329
+ }
330
+ set actualHoverElevation(v) {
331
+ this.i.cf = +v;
332
+ this._a("actualHoverElevation", this.i.cf);
333
+ }
334
+ /**
335
+ * Gets or sets the color to use for the ripple when the button is pressed.
336
+ */
337
+ get actualRippleColor() {
338
+ return brushToString(this.i.ni);
339
+ }
340
+ set actualRippleColor(v) {
341
+ this.i.ni = stringToBrush(v);
342
+ this._a("actualRippleColor", brushToString(this.i.ni));
343
+ }
344
+ get actualCornerRadiusBottomRight() {
345
+ return this.i.kc ? this.i.kc.b : NaN;
346
+ }
347
+ set actualCornerRadiusBottomRight(v) {
348
+ this.ensureActualCornerRadius();
349
+ this.i.kc.b = +v;
350
+ this._a("actualCornerRadiusBottomRight", this.i.kc.b);
351
+ this.i.kc = this.i.kc;
352
+ }
353
+ get actualCornerRadiusBottomLeft() {
354
+ return this.i.kc ? this.i.kc.a : NaN;
355
+ }
356
+ set actualCornerRadiusBottomLeft(v) {
357
+ this.ensureActualCornerRadius();
358
+ this.i.kc.a = +v;
359
+ this._a("actualCornerRadiusBottomLeft", this.i.kc.a);
360
+ this.i.kc = this.i.kc;
361
+ }
362
+ get actualCornerRadiusTopLeft() {
363
+ return this.i.kc ? this.i.kc.c : NaN;
364
+ }
365
+ set actualCornerRadiusTopLeft(v) {
366
+ this.ensureActualCornerRadius();
367
+ this.i.kc.c = +v;
368
+ this._a("actualCornerRadiusTopLeft", this.i.kc.c);
369
+ this.i.kc = this.i.kc;
370
+ }
371
+ get actualCornerRadiusTopRight() {
372
+ return this.i.kc ? this.i.kc.d : NaN;
373
+ }
374
+ set actualCornerRadiusTopRight(v) {
375
+ this.ensureActualCornerRadius();
376
+ this.i.kc.d = +v;
377
+ this._a("actualCornerRadiusTopRight", this.i.kc.d);
378
+ this.i.kc = this.i.kc;
379
+ }
380
+ ensureActualCornerRadius() {
381
+ if (this.i.kc) {
382
+ return;
383
+ }
384
+ this.i.kc = new CornerRadius(2);
385
+ }
386
+ /**
387
+ * Gets the color to use for the actual background.
388
+ */
389
+ get actualBackgroundColor() {
390
+ return brushToString(this.i.m8);
391
+ }
392
+ set actualBackgroundColor(v) {
393
+ this.i.m8 = stringToBrush(v);
394
+ this._a("actualBackgroundColor", brushToString(this.i.m8));
395
+ }
396
+ /**
397
+ * Gets the actual color to use for the disabled background of the button.
398
+ */
399
+ get actualDisabledBackgroundColor() {
400
+ return brushToString(this.i.na);
401
+ }
402
+ set actualDisabledBackgroundColor(v) {
403
+ this.i.na = stringToBrush(v);
404
+ this._a("actualDisabledBackgroundColor", brushToString(this.i.na));
405
+ }
406
+ /**
407
+ * Gets the actual color to use for the disabled border of the button.
408
+ */
409
+ get actualDisabledBorderColor() {
410
+ return brushToString(this.i.nb);
411
+ }
412
+ set actualDisabledBorderColor(v) {
413
+ this.i.nb = stringToBrush(v);
414
+ this._a("actualDisabledBorderColor", brushToString(this.i.nb));
415
+ }
416
+ /**
417
+ * Gets the actual color to use for the disabled text of the button.
418
+ */
419
+ get actualDisabledTextColor() {
420
+ return brushToString(this.i.nc);
421
+ }
422
+ set actualDisabledTextColor(v) {
423
+ this.i.nc = stringToBrush(v);
424
+ this._a("actualDisabledTextColor", brushToString(this.i.nc));
425
+ }
426
+ /**
427
+ * Gets the actual disabled elevation to use for the button.
428
+ */
429
+ get actualDisabledElevation() {
430
+ return this.i.cd;
431
+ }
432
+ set actualDisabledElevation(v) {
433
+ this.i.cd = +v;
434
+ this._a("actualDisabledElevation", this.i.cd);
435
+ }
436
+ /**
437
+ * Gets the actual disabled elevation to use for the button.
438
+ */
439
+ get actualElevationMode() {
440
+ return this.i.k;
441
+ }
442
+ set actualElevationMode(v) {
443
+ this.i.k = ensureEnum(ElevationMode_$type, v);
444
+ this._a("actualElevationMode", enumToString(ElevationMode_$type, this.i.k));
445
+ }
446
+ /**
447
+ * Gets the color to use for the actual background.
448
+ */
449
+ get actualTextColor() {
450
+ return brushToString(this.i.nj);
451
+ }
452
+ set actualTextColor(v) {
453
+ this.i.nj = stringToBrush(v);
454
+ this._a("actualTextColor", brushToString(this.i.nj));
455
+ }
456
+ /**
457
+ * Gets the color to use for the actual background.
458
+ */
459
+ get actualHoverTextColor() {
460
+ return brushToString(this.i.ng);
461
+ }
462
+ set actualHoverTextColor(v) {
463
+ this.i.ng = stringToBrush(v);
464
+ this._a("actualHoverTextColor", brushToString(this.i.ng));
465
+ }
466
+ /**
467
+ * Gets the color to use for the actual background.
468
+ */
469
+ get actualFocusBackgroundColor() {
470
+ return brushToString(this.i.nd);
471
+ }
472
+ set actualFocusBackgroundColor(v) {
473
+ this.i.nd = stringToBrush(v);
474
+ this._a("actualFocusBackgroundColor", brushToString(this.i.nd));
475
+ }
476
+ /**
477
+ * Gets the actual color to use for the focused text.
478
+ */
479
+ get actualFocusTextColor() {
480
+ return brushToString(this.i.ne);
481
+ }
482
+ set actualFocusTextColor(v) {
483
+ this.i.ne = stringToBrush(v);
484
+ this._a("actualFocusTextColor", brushToString(this.i.ne));
485
+ }
486
+ /**
487
+ * Gets the hover color to use for the actual background.
488
+ */
489
+ get actualHoverBackgroundColor() {
490
+ return brushToString(this.i.nf);
491
+ }
492
+ set actualHoverBackgroundColor(v) {
493
+ this.i.nf = stringToBrush(v);
494
+ this._a("actualHoverBackgroundColor", brushToString(this.i.nf));
495
+ }
496
+ /**
497
+ * Gets or sets the Width to use for the check mark when the checkbox is checked.
498
+ */
499
+ get actualBorderWidth() {
500
+ return this.i.aw;
501
+ }
502
+ set actualBorderWidth(v) {
503
+ this.i.aw = +v;
504
+ this._a("actualBorderWidth", this.i.aw);
505
+ }
506
+ /**
507
+ * Gets or sets the color to use for the background of the button when the type is raised.
508
+ */
509
+ get raisedBackgroundColor() {
510
+ return brushToString(this.i.tw);
511
+ }
512
+ set raisedBackgroundColor(v) {
513
+ this.i.tw = stringToBrush(v);
514
+ this._a("raisedBackgroundColor", brushToString(this.i.tw));
515
+ }
516
+ /**
517
+ * Gets or sets the color to use for the disabled background of the button when the type is raised.
518
+ */
519
+ get raisedDisabledBackgroundColor() {
520
+ return brushToString(this.i.ty);
521
+ }
522
+ set raisedDisabledBackgroundColor(v) {
523
+ this.i.ty = stringToBrush(v);
524
+ this._a("raisedDisabledBackgroundColor", brushToString(this.i.ty));
525
+ }
526
+ /**
527
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
528
+ */
529
+ get raisedDisabledBorderColor() {
530
+ return brushToString(this.i.tz);
531
+ }
532
+ set raisedDisabledBorderColor(v) {
533
+ this.i.tz = stringToBrush(v);
534
+ this._a("raisedDisabledBorderColor", brushToString(this.i.tz));
535
+ }
536
+ /**
537
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
538
+ */
539
+ get raisedDisabledTextColor() {
540
+ return brushToString(this.i.t0);
541
+ }
542
+ set raisedDisabledTextColor(v) {
543
+ this.i.t0 = stringToBrush(v);
544
+ this._a("raisedDisabledTextColor", brushToString(this.i.t0));
545
+ }
546
+ /**
547
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
548
+ */
549
+ get raisedDisabledElevation() {
550
+ return this.i.ep;
551
+ }
552
+ set raisedDisabledElevation(v) {
553
+ this.i.ep = +v;
554
+ this._a("raisedDisabledElevation", this.i.ep);
555
+ }
556
+ /**
557
+ * Gets or sets the hover color to use for the background of the button when the type is raised.
558
+ */
559
+ get raisedHoverBackgroundColor() {
560
+ return brushToString(this.i.t3);
561
+ }
562
+ set raisedHoverBackgroundColor(v) {
563
+ this.i.t3 = stringToBrush(v);
564
+ this._a("raisedHoverBackgroundColor", brushToString(this.i.t3));
565
+ }
566
+ /**
567
+ * Gets or sets the border color to use for the button when the type is raised.
568
+ */
569
+ get raisedBorderColor() {
570
+ return brushToString(this.i.tx);
571
+ }
572
+ set raisedBorderColor(v) {
573
+ this.i.tx = stringToBrush(v);
574
+ this._a("raisedBorderColor", brushToString(this.i.tx));
575
+ }
576
+ /**
577
+ * Gets or sets the elevation to use for the button when the type is raised.
578
+ */
579
+ get raisedRestingElevation() {
580
+ return this.i.es;
581
+ }
582
+ set raisedRestingElevation(v) {
583
+ this.i.es = +v;
584
+ this._a("raisedRestingElevation", this.i.es);
585
+ }
586
+ /**
587
+ * Gets or sets the hover elevation to use for the button when the type is raised.
588
+ */
589
+ get raisedHoverElevation() {
590
+ return this.i.er;
591
+ }
592
+ set raisedHoverElevation(v) {
593
+ this.i.er = +v;
594
+ this._a("raisedHoverElevation", this.i.er);
595
+ }
596
+ /**
597
+ * Gets or sets the focus elevation to use for the button when the type is raised.
598
+ */
599
+ get raisedFocusElevation() {
600
+ return this.i.eq;
601
+ }
602
+ set raisedFocusElevation(v) {
603
+ this.i.eq = +v;
604
+ this._a("raisedFocusElevation", this.i.eq);
605
+ }
606
+ /**
607
+ * Gets or sets the width to use for the button border when the type is raised.
608
+ */
609
+ get raisedBorderWidth() {
610
+ return this.i.bj;
611
+ }
612
+ set raisedBorderWidth(v) {
613
+ this.i.bj = +v;
614
+ this._a("raisedBorderWidth", this.i.bj);
615
+ }
616
+ get raisedCornerRadiusBottomRight() {
617
+ return this.i.ky ? this.i.ky.b : NaN;
618
+ }
619
+ set raisedCornerRadiusBottomRight(v) {
620
+ this.ensureRaisedCornerRadius();
621
+ this.i.ky.b = +v;
622
+ this._a("raisedCornerRadiusBottomRight", this.i.ky.b);
623
+ this.i.ky = this.i.ky;
624
+ }
625
+ get raisedCornerRadiusBottomLeft() {
626
+ return this.i.ky ? this.i.ky.a : NaN;
627
+ }
628
+ set raisedCornerRadiusBottomLeft(v) {
629
+ this.ensureRaisedCornerRadius();
630
+ this.i.ky.a = +v;
631
+ this._a("raisedCornerRadiusBottomLeft", this.i.ky.a);
632
+ this.i.ky = this.i.ky;
633
+ }
634
+ get raisedCornerRadiusTopLeft() {
635
+ return this.i.ky ? this.i.ky.c : NaN;
636
+ }
637
+ set raisedCornerRadiusTopLeft(v) {
638
+ this.ensureRaisedCornerRadius();
639
+ this.i.ky.c = +v;
640
+ this._a("raisedCornerRadiusTopLeft", this.i.ky.c);
641
+ this.i.ky = this.i.ky;
642
+ }
643
+ get raisedCornerRadiusTopRight() {
644
+ return this.i.ky ? this.i.ky.d : NaN;
645
+ }
646
+ set raisedCornerRadiusTopRight(v) {
647
+ this.ensureRaisedCornerRadius();
648
+ this.i.ky.d = +v;
649
+ this._a("raisedCornerRadiusTopRight", this.i.ky.d);
650
+ this.i.ky = this.i.ky;
651
+ }
652
+ ensureRaisedCornerRadius() {
653
+ if (this.i.ky) {
654
+ return;
655
+ }
656
+ this.i.ky = new CornerRadius(2);
657
+ }
658
+ /**
659
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
660
+ */
661
+ get raisedRippleColor() {
662
+ return brushToString(this.i.t5);
663
+ }
664
+ set raisedRippleColor(v) {
665
+ this.i.t5 = stringToBrush(v);
666
+ this._a("raisedRippleColor", brushToString(this.i.t5));
667
+ }
668
+ /**
669
+ * Gets or sets the color to use for the background of the button when the type is flat.
670
+ */
671
+ get flatBackgroundColor() {
672
+ return brushToString(this.i.sv);
673
+ }
674
+ set flatBackgroundColor(v) {
675
+ this.i.sv = stringToBrush(v);
676
+ this._a("flatBackgroundColor", brushToString(this.i.sv));
677
+ }
678
+ /**
679
+ * Gets or sets the color to use for the disabled background of the button when the type is flat.
680
+ */
681
+ get flatDisabledBackgroundColor() {
682
+ return brushToString(this.i.sx);
683
+ }
684
+ set flatDisabledBackgroundColor(v) {
685
+ this.i.sx = stringToBrush(v);
686
+ this._a("flatDisabledBackgroundColor", brushToString(this.i.sx));
687
+ }
688
+ /**
689
+ * Gets or sets the color to use for the disabled border of the button when the type is flat.
690
+ */
691
+ get flatDisabledBorderColor() {
692
+ return brushToString(this.i.sy);
693
+ }
694
+ set flatDisabledBorderColor(v) {
695
+ this.i.sy = stringToBrush(v);
696
+ this._a("flatDisabledBorderColor", brushToString(this.i.sy));
697
+ }
698
+ /**
699
+ * Gets or sets the color to use for the disabled text of the button when the type is flat.
700
+ */
701
+ get flatDisabledTextColor() {
702
+ return brushToString(this.i.sz);
703
+ }
704
+ set flatDisabledTextColor(v) {
705
+ this.i.sz = stringToBrush(v);
706
+ this._a("flatDisabledTextColor", brushToString(this.i.sz));
707
+ }
708
+ /**
709
+ * Gets or sets the disabled elevation to use for the button when the type is flat.
710
+ */
711
+ get flatDisabledElevation() {
712
+ return this.i.eb;
713
+ }
714
+ set flatDisabledElevation(v) {
715
+ this.i.eb = +v;
716
+ this._a("flatDisabledElevation", this.i.eb);
717
+ }
718
+ /**
719
+ * Gets or sets the hover color to use for the background of the button when the type is flat.
720
+ */
721
+ get flatHoverBackgroundColor() {
722
+ return brushToString(this.i.s2);
723
+ }
724
+ set flatHoverBackgroundColor(v) {
725
+ this.i.s2 = stringToBrush(v);
726
+ this._a("flatHoverBackgroundColor", brushToString(this.i.s2));
727
+ }
728
+ /**
729
+ * Gets or sets the border color to use for the button when the type is flat.
730
+ */
731
+ get flatBorderColor() {
732
+ return brushToString(this.i.sw);
733
+ }
734
+ set flatBorderColor(v) {
735
+ this.i.sw = stringToBrush(v);
736
+ this._a("flatBorderColor", brushToString(this.i.sw));
737
+ }
738
+ /**
739
+ * Gets or sets the elevation to use for the button when the type is flat.
740
+ */
741
+ get flatRestingElevation() {
742
+ return this.i.ee;
743
+ }
744
+ set flatRestingElevation(v) {
745
+ this.i.ee = +v;
746
+ this._a("flatRestingElevation", this.i.ee);
747
+ }
748
+ /**
749
+ * Gets or sets the hover elevation to use for the button when the type is flat.
750
+ */
751
+ get flatHoverElevation() {
752
+ return this.i.ed;
753
+ }
754
+ set flatHoverElevation(v) {
755
+ this.i.ed = +v;
756
+ this._a("flatHoverElevation", this.i.ed);
757
+ }
758
+ /**
759
+ * Gets or sets the focus elevation to use for the button when the type is flat.
760
+ */
761
+ get flatFocusElevation() {
762
+ return this.i.ec;
763
+ }
764
+ set flatFocusElevation(v) {
765
+ this.i.ec = +v;
766
+ this._a("flatFocusElevation", this.i.ec);
767
+ }
768
+ /**
769
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
770
+ */
771
+ get flatRippleColor() {
772
+ return brushToString(this.i.s4);
773
+ }
774
+ set flatRippleColor(v) {
775
+ this.i.s4 = stringToBrush(v);
776
+ this._a("flatRippleColor", brushToString(this.i.s4));
777
+ }
778
+ /**
779
+ * Gets or sets the color to use for the text of the button when type is flat.
780
+ */
781
+ get flatTextColor() {
782
+ return brushToString(this.i.s5);
783
+ }
784
+ set flatTextColor(v) {
785
+ this.i.s5 = stringToBrush(v);
786
+ this._a("flatTextColor", brushToString(this.i.s5));
787
+ }
788
+ /**
789
+ * Gets or sets the color to use for the hovered text of the button when type is flat.
790
+ */
791
+ get flatHoverTextColor() {
792
+ return brushToString(this.i.s3);
793
+ }
794
+ set flatHoverTextColor(v) {
795
+ this.i.s3 = stringToBrush(v);
796
+ this._a("flatHoverTextColor", brushToString(this.i.s3));
797
+ }
798
+ /**
799
+ * Gets or sets the color to use for the backround the button when it is focused and flat.
800
+ */
801
+ get flatFocusBackgroundColor() {
802
+ return brushToString(this.i.s0);
803
+ }
804
+ set flatFocusBackgroundColor(v) {
805
+ this.i.s0 = stringToBrush(v);
806
+ this._a("flatFocusBackgroundColor", brushToString(this.i.s0));
807
+ }
808
+ /**
809
+ * Gets or sets the color to use for the text the button when it is focused and flat.
810
+ */
811
+ get flatFocusTextColor() {
812
+ return brushToString(this.i.s1);
813
+ }
814
+ set flatFocusTextColor(v) {
815
+ this.i.s1 = stringToBrush(v);
816
+ this._a("flatFocusTextColor", brushToString(this.i.s1));
817
+ }
818
+ /**
819
+ * Gets or sets the width to use for the button border when the type is flat.
820
+ */
821
+ get flatBorderWidth() {
822
+ return this.i.be;
823
+ }
824
+ set flatBorderWidth(v) {
825
+ this.i.be = +v;
826
+ this._a("flatBorderWidth", this.i.be);
827
+ }
828
+ get flatCornerRadiusBottomRight() {
829
+ return this.i.kv ? this.i.kv.b : NaN;
830
+ }
831
+ set flatCornerRadiusBottomRight(v) {
832
+ this.ensureFlatCornerRadius();
833
+ this.i.kv.b = +v;
834
+ this._a("flatCornerRadiusBottomRight", this.i.kv.b);
835
+ this.i.kv = this.i.kv;
836
+ }
837
+ get flatCornerRadiusBottomLeft() {
838
+ return this.i.kv ? this.i.kv.a : NaN;
839
+ }
840
+ set flatCornerRadiusBottomLeft(v) {
841
+ this.ensureFlatCornerRadius();
842
+ this.i.kv.a = +v;
843
+ this._a("flatCornerRadiusBottomLeft", this.i.kv.a);
844
+ this.i.kv = this.i.kv;
845
+ }
846
+ get flatCornerRadiusTopLeft() {
847
+ return this.i.kv ? this.i.kv.c : NaN;
848
+ }
849
+ set flatCornerRadiusTopLeft(v) {
850
+ this.ensureFlatCornerRadius();
851
+ this.i.kv.c = +v;
852
+ this._a("flatCornerRadiusTopLeft", this.i.kv.c);
853
+ this.i.kv = this.i.kv;
854
+ }
855
+ get flatCornerRadiusTopRight() {
856
+ return this.i.kv ? this.i.kv.d : NaN;
857
+ }
858
+ set flatCornerRadiusTopRight(v) {
859
+ this.ensureFlatCornerRadius();
860
+ this.i.kv.d = +v;
861
+ this._a("flatCornerRadiusTopRight", this.i.kv.d);
862
+ this.i.kv = this.i.kv;
863
+ }
864
+ ensureFlatCornerRadius() {
865
+ if (this.i.kv) {
866
+ return;
867
+ }
868
+ this.i.kv = new CornerRadius(2);
869
+ }
870
+ /**
871
+ * Gets or sets the color to use for the background when the button regardless of type.
872
+ */
873
+ get backgroundColor() {
874
+ return brushToString(this.i.nl);
875
+ }
876
+ set backgroundColor(v) {
877
+ this.i.nl = stringToBrush(v);
878
+ this._a("backgroundColor", brushToString(this.i.nl));
879
+ }
880
+ /**
881
+ * Gets or sets the color to use for the disabled background of the button when the type is disabled.
882
+ */
883
+ get disabledBackgroundColor() {
884
+ return brushToString(this.i.sh);
885
+ }
886
+ set disabledBackgroundColor(v) {
887
+ this.i.sh = stringToBrush(v);
888
+ this._a("disabledBackgroundColor", brushToString(this.i.sh));
889
+ }
890
+ /**
891
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
892
+ */
893
+ get disabledBorderColor() {
894
+ return brushToString(this.i.si);
895
+ }
896
+ set disabledBorderColor(v) {
897
+ this.i.si = stringToBrush(v);
898
+ this._a("disabledBorderColor", brushToString(this.i.si));
899
+ }
900
+ /**
901
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
902
+ */
903
+ get disabledTextColor() {
904
+ return brushToString(this.i.sj);
905
+ }
906
+ set disabledTextColor(v) {
907
+ this.i.sj = stringToBrush(v);
908
+ this._a("disabledTextColor", brushToString(this.i.sj));
909
+ }
910
+ /**
911
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
912
+ */
913
+ get disabledElevation() {
914
+ return this.i.d6;
915
+ }
916
+ set disabledElevation(v) {
917
+ this.i.d6 = +v;
918
+ this._a("disabledElevation", this.i.d6);
919
+ }
920
+ /**
921
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
922
+ */
923
+ get elevationMode() {
924
+ return this.i.o;
925
+ }
926
+ set elevationMode(v) {
927
+ this.i.o = ensureEnum(ElevationMode_$type, v);
928
+ this._a("elevationMode", enumToString(ElevationMode_$type, this.i.o));
929
+ }
930
+ /**
931
+ * Gets or sets the hover color to use for the background of the button when the type is hovered.
932
+ */
933
+ get hoverBackgroundColor() {
934
+ return brushToString(this.i.s8);
935
+ }
936
+ set hoverBackgroundColor(v) {
937
+ this.i.s8 = stringToBrush(v);
938
+ this._a("hoverBackgroundColor", brushToString(this.i.s8));
939
+ }
940
+ /**
941
+ * Gets or sets the border color to use for the button regardless of type.
942
+ */
943
+ get borderColor() {
944
+ return brushToString(this.i.nm);
945
+ }
946
+ set borderColor(v) {
947
+ this.i.nm = stringToBrush(v);
948
+ this._a("borderColor", brushToString(this.i.nm));
949
+ }
950
+ /**
951
+ * Gets or sets the elevation to use for the button regardless of type.
952
+ */
953
+ get restingElevation() {
954
+ return this.i.et;
955
+ }
956
+ set restingElevation(v) {
957
+ this.i.et = +v;
958
+ this._a("restingElevation", this.i.et);
959
+ }
960
+ /**
961
+ * Gets or sets the hover elevation to use for the button regardless of type.
962
+ */
963
+ get hoverElevation() {
964
+ return this.i.eg;
965
+ }
966
+ set hoverElevation(v) {
967
+ this.i.eg = +v;
968
+ this._a("hoverElevation", this.i.eg);
969
+ }
970
+ /**
971
+ * Gets or sets the focus elevation to use for the button regardless of type.
972
+ */
973
+ get focusElevation() {
974
+ return this.i.ef;
975
+ }
976
+ set focusElevation(v) {
977
+ this.i.ef = +v;
978
+ this._a("focusElevation", this.i.ef);
979
+ }
980
+ /**
981
+ * Gets or sets the use for the button.
982
+ */
983
+ get textStyle() {
984
+ if (this.i.v == null) {
985
+ return null;
986
+ }
987
+ return this.i.v.fontString;
988
+ }
989
+ set textStyle(v) {
990
+ let fi = new FontInfo();
991
+ fi.fontString = v;
992
+ this.i.v = fi;
993
+ this._a("textStyle", this.i.v != null ? this.i.v.fontString : "");
994
+ }
995
+ /**
996
+ * Gets or sets the color to use for the text of the button regardless of type.
997
+ */
998
+ get textColor() {
999
+ return brushToString(this.i.t8);
1000
+ }
1001
+ set textColor(v) {
1002
+ this.i.t8 = stringToBrush(v);
1003
+ this._a("textColor", brushToString(this.i.t8));
1004
+ }
1005
+ /**
1006
+ * Gets or sets the color to use for the hovered text of the button regardless of type.
1007
+ */
1008
+ get hoverTextColor() {
1009
+ return brushToString(this.i.s9);
1010
+ }
1011
+ set hoverTextColor(v) {
1012
+ this.i.s9 = stringToBrush(v);
1013
+ this._a("hoverTextColor", brushToString(this.i.s9));
1014
+ }
1015
+ /**
1016
+ * Gets or sets the color to use for the background of the button regardless of type.
1017
+ */
1018
+ get rippleColor() {
1019
+ return brushToString(this.i.t7);
1020
+ }
1021
+ set rippleColor(v) {
1022
+ this.i.t7 = stringToBrush(v);
1023
+ this._a("rippleColor", brushToString(this.i.t7));
1024
+ }
1025
+ /**
1026
+ * Gets or sets the color to use for the text of the button when type is raised.
1027
+ */
1028
+ get raisedTextColor() {
1029
+ return brushToString(this.i.t6);
1030
+ }
1031
+ set raisedTextColor(v) {
1032
+ this.i.t6 = stringToBrush(v);
1033
+ this._a("raisedTextColor", brushToString(this.i.t6));
1034
+ }
1035
+ /**
1036
+ * Gets or sets the color to use for the hovered text of the button when type is raised.
1037
+ */
1038
+ get raisedHoverTextColor() {
1039
+ return brushToString(this.i.t4);
1040
+ }
1041
+ set raisedHoverTextColor(v) {
1042
+ this.i.t4 = stringToBrush(v);
1043
+ this._a("raisedHoverTextColor", brushToString(this.i.t4));
1044
+ }
1045
+ /**
1046
+ * Gets or sets the color to use for the backround the button when it is focused and raised.
1047
+ */
1048
+ get raisedFocusBackgroundColor() {
1049
+ return brushToString(this.i.t1);
1050
+ }
1051
+ set raisedFocusBackgroundColor(v) {
1052
+ this.i.t1 = stringToBrush(v);
1053
+ this._a("raisedFocusBackgroundColor", brushToString(this.i.t1));
1054
+ }
1055
+ /**
1056
+ * Gets or sets the color to use for the text the button when it is focused and raised.
1057
+ */
1058
+ get raisedFocusTextColor() {
1059
+ return brushToString(this.i.t2);
1060
+ }
1061
+ set raisedFocusTextColor(v) {
1062
+ this.i.t2 = stringToBrush(v);
1063
+ this._a("raisedFocusTextColor", brushToString(this.i.t2));
1064
+ }
1065
+ /**
1066
+ * Gets or sets the color to use for the backround the button when it is focused.
1067
+ */
1068
+ get focusBackgroundColor() {
1069
+ return brushToString(this.i.s6);
1070
+ }
1071
+ set focusBackgroundColor(v) {
1072
+ this.i.s6 = stringToBrush(v);
1073
+ this._a("focusBackgroundColor", brushToString(this.i.s6));
1074
+ }
1075
+ /**
1076
+ * Gets or sets the color to use for the text of the button when it is focused.
1077
+ */
1078
+ get focusTextColor() {
1079
+ return brushToString(this.i.s7);
1080
+ }
1081
+ set focusTextColor(v) {
1082
+ this.i.s7 = stringToBrush(v);
1083
+ this._a("focusTextColor", brushToString(this.i.s7));
1084
+ }
1085
+ /**
1086
+ * Gets or sets the width to use for the button border regardless of type.
1087
+ */
1088
+ get borderWidth() {
1089
+ return this.i.ax;
1090
+ }
1091
+ set borderWidth(v) {
1092
+ this.i.ax = +v;
1093
+ this._a("borderWidth", this.i.ax);
1094
+ }
1095
+ get cornerRadiusBottomRight() {
1096
+ return this.i.ke ? this.i.ke.b : NaN;
1097
+ }
1098
+ set cornerRadiusBottomRight(v) {
1099
+ this.ensureCornerRadius();
1100
+ this.i.ke.b = +v;
1101
+ this._a("cornerRadiusBottomRight", this.i.ke.b);
1102
+ this.i.ke = this.i.ke;
1103
+ }
1104
+ get cornerRadiusBottomLeft() {
1105
+ return this.i.ke ? this.i.ke.a : NaN;
1106
+ }
1107
+ set cornerRadiusBottomLeft(v) {
1108
+ this.ensureCornerRadius();
1109
+ this.i.ke.a = +v;
1110
+ this._a("cornerRadiusBottomLeft", this.i.ke.a);
1111
+ this.i.ke = this.i.ke;
1112
+ }
1113
+ get cornerRadiusTopLeft() {
1114
+ return this.i.ke ? this.i.ke.c : NaN;
1115
+ }
1116
+ set cornerRadiusTopLeft(v) {
1117
+ this.ensureCornerRadius();
1118
+ this.i.ke.c = +v;
1119
+ this._a("cornerRadiusTopLeft", this.i.ke.c);
1120
+ this.i.ke = this.i.ke;
1121
+ }
1122
+ get cornerRadiusTopRight() {
1123
+ return this.i.ke ? this.i.ke.d : NaN;
1124
+ }
1125
+ set cornerRadiusTopRight(v) {
1126
+ this.ensureCornerRadius();
1127
+ this.i.ke.d = +v;
1128
+ this._a("cornerRadiusTopRight", this.i.ke.d);
1129
+ this.i.ke = this.i.ke;
1130
+ }
1131
+ ensureCornerRadius() {
1132
+ if (this.i.ke) {
1133
+ return;
1134
+ }
1135
+ this.i.ke = new CornerRadius(2);
1136
+ }
1137
+ /**
1138
+ * Gets or sets the color to use for the background of the button when the type is outlined.
1139
+ */
1140
+ get outlinedBackgroundColor() {
1141
+ return brushToString(this.i.tl);
1142
+ }
1143
+ set outlinedBackgroundColor(v) {
1144
+ this.i.tl = stringToBrush(v);
1145
+ this._a("outlinedBackgroundColor", brushToString(this.i.tl));
1146
+ }
1147
+ /**
1148
+ * Gets or sets the color to use for the disabled background of the button when the type is outlined.
1149
+ */
1150
+ get outlinedDisabledBackgroundColor() {
1151
+ return brushToString(this.i.tn);
1152
+ }
1153
+ set outlinedDisabledBackgroundColor(v) {
1154
+ this.i.tn = stringToBrush(v);
1155
+ this._a("outlinedDisabledBackgroundColor", brushToString(this.i.tn));
1156
+ }
1157
+ /**
1158
+ * Gets or sets the color to use for the disabled border of the button when the type is outlined.
1159
+ */
1160
+ get outlinedDisabledBorderColor() {
1161
+ return brushToString(this.i.to);
1162
+ }
1163
+ set outlinedDisabledBorderColor(v) {
1164
+ this.i.to = stringToBrush(v);
1165
+ this._a("outlinedDisabledBorderColor", brushToString(this.i.to));
1166
+ }
1167
+ /**
1168
+ * Gets or sets the color to use for the disabled text of the button when the type is outlined.
1169
+ */
1170
+ get outlinedDisabledTextColor() {
1171
+ return brushToString(this.i.tp);
1172
+ }
1173
+ set outlinedDisabledTextColor(v) {
1174
+ this.i.tp = stringToBrush(v);
1175
+ this._a("outlinedDisabledTextColor", brushToString(this.i.tp));
1176
+ }
1177
+ /**
1178
+ * Gets or sets the disabled elevation to use for the button when the type is outlined.
1179
+ */
1180
+ get outlinedDisabledElevation() {
1181
+ return this.i.el;
1182
+ }
1183
+ set outlinedDisabledElevation(v) {
1184
+ this.i.el = +v;
1185
+ this._a("outlinedDisabledElevation", this.i.el);
1186
+ }
1187
+ /**
1188
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
1189
+ */
1190
+ get outlinedHoverBackgroundColor() {
1191
+ return brushToString(this.i.ts);
1192
+ }
1193
+ set outlinedHoverBackgroundColor(v) {
1194
+ this.i.ts = stringToBrush(v);
1195
+ this._a("outlinedHoverBackgroundColor", brushToString(this.i.ts));
1196
+ }
1197
+ /**
1198
+ * Gets or sets the border color to use for the button when the type is outlined.
1199
+ */
1200
+ get outlinedBorderColor() {
1201
+ return brushToString(this.i.tm);
1202
+ }
1203
+ set outlinedBorderColor(v) {
1204
+ this.i.tm = stringToBrush(v);
1205
+ this._a("outlinedBorderColor", brushToString(this.i.tm));
1206
+ }
1207
+ /**
1208
+ * Gets or sets the elevation to use for the button when the type is outlined.
1209
+ */
1210
+ get outlinedRestingElevation() {
1211
+ return this.i.eo;
1212
+ }
1213
+ set outlinedRestingElevation(v) {
1214
+ this.i.eo = +v;
1215
+ this._a("outlinedRestingElevation", this.i.eo);
1216
+ }
1217
+ /**
1218
+ * Gets or sets the hover elevation to use for the button when the type is outlined.
1219
+ */
1220
+ get outlinedHoverElevation() {
1221
+ return this.i.en;
1222
+ }
1223
+ set outlinedHoverElevation(v) {
1224
+ this.i.en = +v;
1225
+ this._a("outlinedHoverElevation", this.i.en);
1226
+ }
1227
+ /**
1228
+ * Gets or sets the focus elevation to use for the button when the type is outlined.
1229
+ */
1230
+ get outlinedFocusElevation() {
1231
+ return this.i.em;
1232
+ }
1233
+ set outlinedFocusElevation(v) {
1234
+ this.i.em = +v;
1235
+ this._a("outlinedFocusElevation", this.i.em);
1236
+ }
1237
+ /**
1238
+ * Gets or sets the width to use for the button border when the type is outlined.
1239
+ */
1240
+ get outlinedBorderWidth() {
1241
+ return this.i.bi;
1242
+ }
1243
+ set outlinedBorderWidth(v) {
1244
+ this.i.bi = +v;
1245
+ this._a("outlinedBorderWidth", this.i.bi);
1246
+ }
1247
+ get outlinedCornerRadiusBottomRight() {
1248
+ return this.i.kx ? this.i.kx.b : NaN;
1249
+ }
1250
+ set outlinedCornerRadiusBottomRight(v) {
1251
+ this.ensureOutlinedCornerRadius();
1252
+ this.i.kx.b = +v;
1253
+ this._a("outlinedCornerRadiusBottomRight", this.i.kx.b);
1254
+ this.i.kx = this.i.kx;
1255
+ }
1256
+ get outlinedCornerRadiusBottomLeft() {
1257
+ return this.i.kx ? this.i.kx.a : NaN;
1258
+ }
1259
+ set outlinedCornerRadiusBottomLeft(v) {
1260
+ this.ensureOutlinedCornerRadius();
1261
+ this.i.kx.a = +v;
1262
+ this._a("outlinedCornerRadiusBottomLeft", this.i.kx.a);
1263
+ this.i.kx = this.i.kx;
1264
+ }
1265
+ get outlinedCornerRadiusTopLeft() {
1266
+ return this.i.kx ? this.i.kx.c : NaN;
1267
+ }
1268
+ set outlinedCornerRadiusTopLeft(v) {
1269
+ this.ensureOutlinedCornerRadius();
1270
+ this.i.kx.c = +v;
1271
+ this._a("outlinedCornerRadiusTopLeft", this.i.kx.c);
1272
+ this.i.kx = this.i.kx;
1273
+ }
1274
+ get outlinedCornerRadiusTopRight() {
1275
+ return this.i.kx ? this.i.kx.d : NaN;
1276
+ }
1277
+ set outlinedCornerRadiusTopRight(v) {
1278
+ this.ensureOutlinedCornerRadius();
1279
+ this.i.kx.d = +v;
1280
+ this._a("outlinedCornerRadiusTopRight", this.i.kx.d);
1281
+ this.i.kx = this.i.kx;
1282
+ }
1283
+ ensureOutlinedCornerRadius() {
1284
+ if (this.i.kx) {
1285
+ return;
1286
+ }
1287
+ this.i.kx = new CornerRadius(2);
1288
+ }
1289
+ /**
1290
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1291
+ */
1292
+ get outlinedRippleColor() {
1293
+ return brushToString(this.i.tu);
1294
+ }
1295
+ set outlinedRippleColor(v) {
1296
+ this.i.tu = stringToBrush(v);
1297
+ this._a("outlinedRippleColor", brushToString(this.i.tu));
1298
+ }
1299
+ /**
1300
+ * Gets or sets the color to use for the text of the button when type is outlined.
1301
+ */
1302
+ get outlinedTextColor() {
1303
+ return brushToString(this.i.tv);
1304
+ }
1305
+ set outlinedTextColor(v) {
1306
+ this.i.tv = stringToBrush(v);
1307
+ this._a("outlinedTextColor", brushToString(this.i.tv));
1308
+ }
1309
+ /**
1310
+ * Gets or sets the color to use for the hovered text of the button when type is outlined.
1311
+ */
1312
+ get outlinedHoverTextColor() {
1313
+ return brushToString(this.i.tt);
1314
+ }
1315
+ set outlinedHoverTextColor(v) {
1316
+ this.i.tt = stringToBrush(v);
1317
+ this._a("outlinedHoverTextColor", brushToString(this.i.tt));
1318
+ }
1319
+ /**
1320
+ * Gets or sets the color to use for the backround the button when it is focused and outlined.
1321
+ */
1322
+ get outlinedFocusBackgroundColor() {
1323
+ return brushToString(this.i.tq);
1324
+ }
1325
+ set outlinedFocusBackgroundColor(v) {
1326
+ this.i.tq = stringToBrush(v);
1327
+ this._a("outlinedFocusBackgroundColor", brushToString(this.i.tq));
1328
+ }
1329
+ /**
1330
+ * Gets or sets the color to use for the text the button when it is focused and outlined.
1331
+ */
1332
+ get outlinedFocusTextColor() {
1333
+ return brushToString(this.i.tr);
1334
+ }
1335
+ set outlinedFocusTextColor(v) {
1336
+ this.i.tr = stringToBrush(v);
1337
+ this._a("outlinedFocusTextColor", brushToString(this.i.tr));
1338
+ }
1339
+ /**
1340
+ * Gets or sets the color to use for the background of the button when the type is floating action button.
1341
+ */
1342
+ get fabBackgroundColor() {
1343
+ return brushToString(this.i.sk);
1344
+ }
1345
+ set fabBackgroundColor(v) {
1346
+ this.i.sk = stringToBrush(v);
1347
+ this._a("fabBackgroundColor", brushToString(this.i.sk));
1348
+ }
1349
+ /**
1350
+ * Gets or sets the color to use for the disabled background of the button when the type is fab.
1351
+ */
1352
+ get fabDisabledBackgroundColor() {
1353
+ return brushToString(this.i.sm);
1354
+ }
1355
+ set fabDisabledBackgroundColor(v) {
1356
+ this.i.sm = stringToBrush(v);
1357
+ this._a("fabDisabledBackgroundColor", brushToString(this.i.sm));
1358
+ }
1359
+ /**
1360
+ * Gets or sets the color to use for the disabled border of the button when the type is fab.
1361
+ */
1362
+ get fabDisabledBorderColor() {
1363
+ return brushToString(this.i.sn);
1364
+ }
1365
+ set fabDisabledBorderColor(v) {
1366
+ this.i.sn = stringToBrush(v);
1367
+ this._a("fabDisabledBorderColor", brushToString(this.i.sn));
1368
+ }
1369
+ /**
1370
+ * Gets or sets the color to use for the disabled text of the button when the type is fab.
1371
+ */
1372
+ get fabDisabledTextColor() {
1373
+ return brushToString(this.i.so);
1374
+ }
1375
+ set fabDisabledTextColor(v) {
1376
+ this.i.so = stringToBrush(v);
1377
+ this._a("fabDisabledTextColor", brushToString(this.i.so));
1378
+ }
1379
+ /**
1380
+ * Gets or sets the disabled elevation to use for the button when the type is fab.
1381
+ */
1382
+ get fabDisabledElevation() {
1383
+ return this.i.d7;
1384
+ }
1385
+ set fabDisabledElevation(v) {
1386
+ this.i.d7 = +v;
1387
+ this._a("fabDisabledElevation", this.i.d7);
1388
+ }
1389
+ /**
1390
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
1391
+ */
1392
+ get fabHoverBackgroundColor() {
1393
+ return brushToString(this.i.sr);
1394
+ }
1395
+ set fabHoverBackgroundColor(v) {
1396
+ this.i.sr = stringToBrush(v);
1397
+ this._a("fabHoverBackgroundColor", brushToString(this.i.sr));
1398
+ }
1399
+ /**
1400
+ * Gets or sets the border color to use for the button when the type is floating action button.
1401
+ */
1402
+ get fabBorderColor() {
1403
+ return brushToString(this.i.sl);
1404
+ }
1405
+ set fabBorderColor(v) {
1406
+ this.i.sl = stringToBrush(v);
1407
+ this._a("fabBorderColor", brushToString(this.i.sl));
1408
+ }
1409
+ /**
1410
+ * Gets or sets the elevation to use for the button when the type is floating action button.
1411
+ */
1412
+ get fabRestingElevation() {
1413
+ return this.i.ea;
1414
+ }
1415
+ set fabRestingElevation(v) {
1416
+ this.i.ea = +v;
1417
+ this._a("fabRestingElevation", this.i.ea);
1418
+ }
1419
+ /**
1420
+ * Gets or sets the hover elevation to use for the button when the type is floating action button.
1421
+ */
1422
+ get fabHoverElevation() {
1423
+ return this.i.d9;
1424
+ }
1425
+ set fabHoverElevation(v) {
1426
+ this.i.d9 = +v;
1427
+ this._a("fabHoverElevation", this.i.d9);
1428
+ }
1429
+ /**
1430
+ * Gets or sets the focus elevation to use for the button when the type is floating action button.
1431
+ */
1432
+ get fabFocusElevation() {
1433
+ return this.i.d8;
1434
+ }
1435
+ set fabFocusElevation(v) {
1436
+ this.i.d8 = +v;
1437
+ this._a("fabFocusElevation", this.i.d8);
1438
+ }
1439
+ /**
1440
+ * Gets or sets the width to use for the button border when the type is floating action button.
1441
+ */
1442
+ get fabBorderWidth() {
1443
+ return this.i.bd;
1444
+ }
1445
+ set fabBorderWidth(v) {
1446
+ this.i.bd = +v;
1447
+ this._a("fabBorderWidth", this.i.bd);
1448
+ }
1449
+ get fabCornerRadiusBottomRight() {
1450
+ return this.i.ku ? this.i.ku.b : NaN;
1451
+ }
1452
+ set fabCornerRadiusBottomRight(v) {
1453
+ this.ensureFabCornerRadius();
1454
+ this.i.ku.b = +v;
1455
+ this._a("fabCornerRadiusBottomRight", this.i.ku.b);
1456
+ this.i.ku = this.i.ku;
1457
+ }
1458
+ get fabCornerRadiusBottomLeft() {
1459
+ return this.i.ku ? this.i.ku.a : NaN;
1460
+ }
1461
+ set fabCornerRadiusBottomLeft(v) {
1462
+ this.ensureFabCornerRadius();
1463
+ this.i.ku.a = +v;
1464
+ this._a("fabCornerRadiusBottomLeft", this.i.ku.a);
1465
+ this.i.ku = this.i.ku;
1466
+ }
1467
+ get fabCornerRadiusTopLeft() {
1468
+ return this.i.ku ? this.i.ku.c : NaN;
1469
+ }
1470
+ set fabCornerRadiusTopLeft(v) {
1471
+ this.ensureFabCornerRadius();
1472
+ this.i.ku.c = +v;
1473
+ this._a("fabCornerRadiusTopLeft", this.i.ku.c);
1474
+ this.i.ku = this.i.ku;
1475
+ }
1476
+ get fabCornerRadiusTopRight() {
1477
+ return this.i.ku ? this.i.ku.d : NaN;
1478
+ }
1479
+ set fabCornerRadiusTopRight(v) {
1480
+ this.ensureFabCornerRadius();
1481
+ this.i.ku.d = +v;
1482
+ this._a("fabCornerRadiusTopRight", this.i.ku.d);
1483
+ this.i.ku = this.i.ku;
1484
+ }
1485
+ ensureFabCornerRadius() {
1486
+ if (this.i.ku) {
1487
+ return;
1488
+ }
1489
+ this.i.ku = new CornerRadius(2);
1490
+ }
1491
+ /**
1492
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1493
+ */
1494
+ get fabRippleColor() {
1495
+ return brushToString(this.i.st);
1496
+ }
1497
+ set fabRippleColor(v) {
1498
+ this.i.st = stringToBrush(v);
1499
+ this._a("fabRippleColor", brushToString(this.i.st));
1500
+ }
1501
+ /**
1502
+ * Gets or sets the color to use for the text of the button when type is floating action button.
1503
+ */
1504
+ get fabTextColor() {
1505
+ return brushToString(this.i.su);
1506
+ }
1507
+ set fabTextColor(v) {
1508
+ this.i.su = stringToBrush(v);
1509
+ this._a("fabTextColor", brushToString(this.i.su));
1510
+ }
1511
+ /**
1512
+ * Gets or sets the color to use for the hovered text of the button when type is floating action button.
1513
+ */
1514
+ get fabHoverTextColor() {
1515
+ return brushToString(this.i.ss);
1516
+ }
1517
+ set fabHoverTextColor(v) {
1518
+ this.i.ss = stringToBrush(v);
1519
+ this._a("fabHoverTextColor", brushToString(this.i.ss));
1520
+ }
1521
+ /**
1522
+ * Gets or sets the color to use for the backround the button when it is focused and fab.
1523
+ */
1524
+ get fabFocusBackgroundColor() {
1525
+ return brushToString(this.i.sp);
1526
+ }
1527
+ set fabFocusBackgroundColor(v) {
1528
+ this.i.sp = stringToBrush(v);
1529
+ this._a("fabFocusBackgroundColor", brushToString(this.i.sp));
1530
+ }
1531
+ /**
1532
+ * Gets or sets the color to use for the text the button when it is focused and fab.
1533
+ */
1534
+ get fabFocusTextColor() {
1535
+ return brushToString(this.i.sq);
1536
+ }
1537
+ set fabFocusTextColor(v) {
1538
+ this.i.sq = stringToBrush(v);
1539
+ this._a("fabFocusTextColor", brushToString(this.i.sq));
1540
+ }
1541
+ /**
1542
+ * Gets or sets the color to use for the background of the button when the type is icon.
1543
+ */
1544
+ get iconBackgroundColor() {
1545
+ return brushToString(this.i.ta);
1546
+ }
1547
+ set iconBackgroundColor(v) {
1548
+ this.i.ta = stringToBrush(v);
1549
+ this._a("iconBackgroundColor", brushToString(this.i.ta));
1550
+ }
1551
+ /**
1552
+ * Gets or sets the color to use for the disabled background of the button when the type is icon.
1553
+ */
1554
+ get iconDisabledBackgroundColor() {
1555
+ return brushToString(this.i.tc);
1556
+ }
1557
+ set iconDisabledBackgroundColor(v) {
1558
+ this.i.tc = stringToBrush(v);
1559
+ this._a("iconDisabledBackgroundColor", brushToString(this.i.tc));
1560
+ }
1561
+ /**
1562
+ * Gets or sets the color to use for the disabled border of the button when the type is icon.
1563
+ */
1564
+ get iconDisabledBorderColor() {
1565
+ return brushToString(this.i.td);
1566
+ }
1567
+ set iconDisabledBorderColor(v) {
1568
+ this.i.td = stringToBrush(v);
1569
+ this._a("iconDisabledBorderColor", brushToString(this.i.td));
1570
+ }
1571
+ /**
1572
+ * Gets or sets the color to use for the disabled text of the button when the type is icon.
1573
+ */
1574
+ get iconDisabledTextColor() {
1575
+ return brushToString(this.i.te);
1576
+ }
1577
+ set iconDisabledTextColor(v) {
1578
+ this.i.te = stringToBrush(v);
1579
+ this._a("iconDisabledTextColor", brushToString(this.i.te));
1580
+ }
1581
+ /**
1582
+ * Gets or sets the disabled elevation to use for the button when the type is icon.
1583
+ */
1584
+ get iconDisabledElevation() {
1585
+ return this.i.eh;
1586
+ }
1587
+ set iconDisabledElevation(v) {
1588
+ this.i.eh = +v;
1589
+ this._a("iconDisabledElevation", this.i.eh);
1590
+ }
1591
+ /**
1592
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
1593
+ */
1594
+ get iconHoverBackgroundColor() {
1595
+ return brushToString(this.i.th);
1596
+ }
1597
+ set iconHoverBackgroundColor(v) {
1598
+ this.i.th = stringToBrush(v);
1599
+ this._a("iconHoverBackgroundColor", brushToString(this.i.th));
1600
+ }
1601
+ /**
1602
+ * Gets or sets the border color to use for the button when the type is icon.
1603
+ */
1604
+ get iconBorderColor() {
1605
+ return brushToString(this.i.tb);
1606
+ }
1607
+ set iconBorderColor(v) {
1608
+ this.i.tb = stringToBrush(v);
1609
+ this._a("iconBorderColor", brushToString(this.i.tb));
1610
+ }
1611
+ /**
1612
+ * Gets or sets the elevation to use for the button when the type is icon.
1613
+ */
1614
+ get iconRestingElevation() {
1615
+ return this.i.ek;
1616
+ }
1617
+ set iconRestingElevation(v) {
1618
+ this.i.ek = +v;
1619
+ this._a("iconRestingElevation", this.i.ek);
1620
+ }
1621
+ /**
1622
+ * Gets or sets the hover elevation to use for the button when the type is icon.
1623
+ */
1624
+ get iconHoverElevation() {
1625
+ return this.i.ej;
1626
+ }
1627
+ set iconHoverElevation(v) {
1628
+ this.i.ej = +v;
1629
+ this._a("iconHoverElevation", this.i.ej);
1630
+ }
1631
+ /**
1632
+ * Gets or sets the focus elevation to use for the button when the type is icon.
1633
+ */
1634
+ get iconFocusElevation() {
1635
+ return this.i.ei;
1636
+ }
1637
+ set iconFocusElevation(v) {
1638
+ this.i.ei = +v;
1639
+ this._a("iconFocusElevation", this.i.ei);
1640
+ }
1641
+ /**
1642
+ * Gets or sets the width to use for the button border when the type is icon.
1643
+ */
1644
+ get iconBorderWidth() {
1645
+ return this.i.bf;
1646
+ }
1647
+ set iconBorderWidth(v) {
1648
+ this.i.bf = +v;
1649
+ this._a("iconBorderWidth", this.i.bf);
1650
+ }
1651
+ get iconCornerRadiusBottomRight() {
1652
+ return this.i.kw ? this.i.kw.b : NaN;
1653
+ }
1654
+ set iconCornerRadiusBottomRight(v) {
1655
+ this.ensureIconCornerRadius();
1656
+ this.i.kw.b = +v;
1657
+ this._a("iconCornerRadiusBottomRight", this.i.kw.b);
1658
+ this.i.kw = this.i.kw;
1659
+ }
1660
+ get iconCornerRadiusBottomLeft() {
1661
+ return this.i.kw ? this.i.kw.a : NaN;
1662
+ }
1663
+ set iconCornerRadiusBottomLeft(v) {
1664
+ this.ensureIconCornerRadius();
1665
+ this.i.kw.a = +v;
1666
+ this._a("iconCornerRadiusBottomLeft", this.i.kw.a);
1667
+ this.i.kw = this.i.kw;
1668
+ }
1669
+ get iconCornerRadiusTopLeft() {
1670
+ return this.i.kw ? this.i.kw.c : NaN;
1671
+ }
1672
+ set iconCornerRadiusTopLeft(v) {
1673
+ this.ensureIconCornerRadius();
1674
+ this.i.kw.c = +v;
1675
+ this._a("iconCornerRadiusTopLeft", this.i.kw.c);
1676
+ this.i.kw = this.i.kw;
1677
+ }
1678
+ get iconCornerRadiusTopRight() {
1679
+ return this.i.kw ? this.i.kw.d : NaN;
1680
+ }
1681
+ set iconCornerRadiusTopRight(v) {
1682
+ this.ensureIconCornerRadius();
1683
+ this.i.kw.d = +v;
1684
+ this._a("iconCornerRadiusTopRight", this.i.kw.d);
1685
+ this.i.kw = this.i.kw;
1686
+ }
1687
+ ensureIconCornerRadius() {
1688
+ if (this.i.kw) {
1689
+ return;
1690
+ }
1691
+ this.i.kw = new CornerRadius(2);
1692
+ }
1693
+ /**
1694
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1695
+ */
1696
+ get iconRippleColor() {
1697
+ return brushToString(this.i.tj);
1698
+ }
1699
+ set iconRippleColor(v) {
1700
+ this.i.tj = stringToBrush(v);
1701
+ this._a("iconRippleColor", brushToString(this.i.tj));
1702
+ }
1703
+ /**
1704
+ * Gets or sets the color to use for the text of the button when type is icon.
1705
+ */
1706
+ get iconTextColor() {
1707
+ return brushToString(this.i.tk);
1708
+ }
1709
+ set iconTextColor(v) {
1710
+ this.i.tk = stringToBrush(v);
1711
+ this._a("iconTextColor", brushToString(this.i.tk));
1712
+ }
1713
+ /**
1714
+ * Gets or sets the color to use for the hovered text of the button when type is icon.
1715
+ */
1716
+ get iconHoverTextColor() {
1717
+ return brushToString(this.i.ti);
1718
+ }
1719
+ set iconHoverTextColor(v) {
1720
+ this.i.ti = stringToBrush(v);
1721
+ this._a("iconHoverTextColor", brushToString(this.i.ti));
1722
+ }
1723
+ /**
1724
+ * Gets or sets the color to use for the backround the button when it is focused and icon.
1725
+ */
1726
+ get iconFocusBackgroundColor() {
1727
+ return brushToString(this.i.tf);
1728
+ }
1729
+ set iconFocusBackgroundColor(v) {
1730
+ this.i.tf = stringToBrush(v);
1731
+ this._a("iconFocusBackgroundColor", brushToString(this.i.tf));
1732
+ }
1733
+ /**
1734
+ * Gets or sets the color to use for the text the button when it is focused and icon.
1735
+ */
1736
+ get iconFocusTextColor() {
1737
+ return brushToString(this.i.tg);
1738
+ }
1739
+ set iconFocusTextColor(v) {
1740
+ this.i.tg = stringToBrush(v);
1741
+ this._a("iconFocusTextColor", brushToString(this.i.tg));
1742
+ }
1743
+ /**
1744
+ * Gets or sets the id to use for the internal native checkbox.
1745
+ */
1746
+ get inputId() {
1747
+ return this.i.h8;
1748
+ }
1749
+ set inputId(v) {
1750
+ this.i.h8 = v;
1751
+ }
1752
+ /**
1753
+ * Gets or sets the id to use for the checkbox.
1754
+ */
1755
+ get id() {
1756
+ return this.i.h6;
1757
+ }
1758
+ set id(v) {
1759
+ this.i.h6 = v;
1760
+ }
1761
+ /**
1762
+ * Gets or sets the id to use for the checkbox.
1763
+ */
1764
+ get display() {
1765
+ return this.i.gc;
1766
+ }
1767
+ set display(v) {
1768
+ this.i.gc = v;
1769
+ }
1770
+ /**
1771
+ * Gets or sets the id to use for the checkbox.
1772
+ */
1773
+ get flexDirection() {
1774
+ return this.i.hf;
1775
+ }
1776
+ set flexDirection(v) {
1777
+ this.i.hf = v;
1778
+ }
1779
+ /**
1780
+ * Gets or sets the flex-grow setting for the button.
1781
+ */
1782
+ get flexGrow() {
1783
+ return this.i.hh;
1784
+ }
1785
+ set flexGrow(v) {
1786
+ this.i.hh = v;
1787
+ }
1788
+ /**
1789
+ * Gets or sets the id to use for the checkbox.
1790
+ */
1791
+ get alignItems() {
1792
+ return this.i.fw;
1793
+ }
1794
+ set alignItems(v) {
1795
+ this.i.fw = v;
1796
+ }
1797
+ /**
1798
+ * Gets or sets value to use for the checkbox.
1799
+ */
1800
+ get value() {
1801
+ return this.i.e0;
1802
+ }
1803
+ set value(v) {
1804
+ this.i.e0 = v;
1805
+ }
1806
+ /**
1807
+ * Gets or sets name to use for the button.
1808
+ */
1809
+ get name() {
1810
+ return this.i.ih;
1811
+ }
1812
+ set name(v) {
1813
+ this.i.ih = v;
1814
+ }
1815
+ /**
1816
+ * Gets or sets TabIndex to use for the checkbox.
1817
+ */
1818
+ get tabIndex() {
1819
+ return this.i.eu;
1820
+ }
1821
+ set tabIndex(v) {
1822
+ this.i.eu = +v;
1823
+ this._a("tabIndex", this.i.eu);
1824
+ }
1825
+ /**
1826
+ * Gets or sets the value of the aria-label attribute.
1827
+ */
1828
+ get ariaLabel() {
1829
+ return this.i.fy;
1830
+ }
1831
+ set ariaLabel(v) {
1832
+ this.i.fy = v;
1833
+ }
1834
+ /**
1835
+ * Gets or sets if the checkbox is Focused.
1836
+ */
1837
+ get focused() {
1838
+ return this.i.focused;
1839
+ }
1840
+ set focused(v) {
1841
+ this.i.focused = ensureBool(v);
1842
+ this._a("focused", this.i.focused);
1843
+ }
1844
+ /**
1845
+ * Gets or sets if the button show use styling to show focus.
1846
+ */
1847
+ get isFocusStyleEnabled() {
1848
+ return this.i.ak;
1849
+ }
1850
+ set isFocusStyleEnabled(v) {
1851
+ this.i.ak = ensureBool(v);
1852
+ this._a("isFocusStyleEnabled", this.i.ak);
1853
+ }
1854
+ /**
1855
+ * Gets or sets whether to disable the ripple effect for the button.
1856
+ */
1857
+ get disableRipple() {
1858
+ return this.i.af;
1859
+ }
1860
+ set disableRipple(v) {
1861
+ this.i.af = ensureBool(v);
1862
+ this._a("disableRipple", this.i.af);
1863
+ }
1864
+ /**
1865
+ * Gets whether to actually disable the ripple effect for the button.
1866
+ */
1867
+ get actualDisableRipple() {
1868
+ return this.i.ae;
1869
+ }
1870
+ set actualDisableRipple(v) {
1871
+ this.i.ae = ensureBool(v);
1872
+ this._a("actualDisableRipple", this.i.ae);
1873
+ }
1874
+ /**
1875
+ * Gets or sets whether the checkbox is checked.
1876
+ */
1877
+ get isHover() {
1878
+ return this.i.al;
1879
+ }
1880
+ set isHover(v) {
1881
+ this.i.al = ensureBool(v);
1882
+ this._a("isHover", this.i.al);
1883
+ }
1884
+ /**
1885
+ * Gets or sets whether the checkbox is disabled.
1886
+ */
1887
+ get disabled() {
1888
+ return this.i.disabled;
1889
+ }
1890
+ set disabled(v) {
1891
+ this.i.disabled = ensureBool(v);
1892
+ this._a("disabled", this.i.disabled);
1893
+ }
1894
+ /**
1895
+ * Gets or sets whether the checkbox transitions are disabled.
1896
+ */
1897
+ get disableTransitions() {
1898
+ return this.i.ag;
1899
+ }
1900
+ set disableTransitions(v) {
1901
+ this.i.ag = ensureBool(v);
1902
+ this._a("disableTransitions", this.i.ag);
1903
+ }
1904
+ findByName(name) {
1905
+ return null;
1906
+ }
1907
+ get hasUserValues() {
1908
+ return this._hasUserValues;
1909
+ }
1910
+ __m(propertyName) {
1911
+ if (!this._inStyling) {
1912
+ this._hasUserValues.add(propertyName);
1913
+ }
1914
+ }
1915
+ _styling(container, component, parent) {
1916
+ if (this._inStyling) {
1917
+ return;
1918
+ }
1919
+ this._inStyling = true;
1920
+ this._stylingContainer = container;
1921
+ this._stylingParent = component;
1922
+ let genericPrefix = "";
1923
+ let typeName = this.i.$type.name;
1924
+ if (typeName.indexOf("Xam") === 0) {
1925
+ typeName = typeName.substring(3);
1926
+ }
1927
+ genericPrefix = toSpinal("ButtonComponent");
1928
+ let additionalPrefixes = [];
1929
+ let prefix = toSpinal(typeName);
1930
+ additionalPrefixes.push(prefix + "-");
1931
+ let b = this.i.$type.baseType;
1932
+ while (b && b.name != "Object" &&
1933
+ b.name != "Base" &&
1934
+ b.name != "Control" &&
1935
+ b.Name != "DependencyObject" &&
1936
+ b.Name != "FrameworkElement") {
1937
+ typeName = b.name;
1938
+ if (typeName.indexOf("Xam") === 0) {
1939
+ typeName = typeName.substring(3);
1940
+ }
1941
+ let basePrefix = toSpinal(typeName);
1942
+ additionalPrefixes.push(basePrefix + "-");
1943
+ b = b.baseType;
1944
+ }
1945
+ if (parent) {
1946
+ let parentTypeName = parent.i.$type.name;
1947
+ if (parentTypeName.indexOf("Xam") === 0) {
1948
+ parentTypeName = parentTypeName.substring(3);
1949
+ }
1950
+ let parentPrefix = toSpinal(parentTypeName);
1951
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
1952
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
1953
+ }
1954
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
1955
+ if (this._otherStyling) {
1956
+ this._otherStyling(container, component, parent);
1957
+ }
1958
+ this._inStyling = false;
1959
+ }
1960
+ onDetachedFromUI() {
1961
+ this.i.onDetachedFromUI();
1962
+ }
1963
+ onAttachedToUI() {
1964
+ this.i.onAttachedToUI();
1965
+ }
1966
+ /**
1967
+ * Exports visual information about the current state of the grid.
1968
+
1969
+ */
1970
+ exportVisualModel() {
1971
+ let iv = this.i.ey();
1972
+ return (iv);
1973
+ }
1974
+ /**
1975
+ * Returns a serialized copy of the exported visual model
1976
+
1977
+ */
1978
+ exportSerializedVisualModel() {
1979
+ let iv = this.i.gg();
1980
+ return (iv);
1981
+ }
1982
+ get clicked() {
1983
+ return this._clicked;
1984
+ }
1985
+ set clicked(ev) {
1986
+ if (this._clicked_wrapped !== null) {
1987
+ this.i.clicked = delegateRemove(this.i.clicked, this._clicked_wrapped);
1988
+ this._clicked_wrapped = null;
1989
+ this._clicked = null;
1990
+ }
1991
+ this._clicked = ev;
1992
+ this._clicked_wrapped = (o, e) => {
1993
+ let outerArgs = new IgcButtonClickEventArgs();
1994
+ outerArgs._provideImplementation(e);
1995
+ if (this.beforeClicked) {
1996
+ this.beforeClicked(this, outerArgs);
1997
+ }
1998
+ if (this._clicked) {
1999
+ this._clicked(this, outerArgs);
2000
+ }
2001
+ };
2002
+ this.i.clicked = delegateCombine(this.i.clicked, this._clicked_wrapped);
2003
+ }
2004
+ }
2005
+ IgcButtonComponent._observedAttributesIgcButtonComponent = null;
2006
+ IgcButtonComponent.htmlTagName = "igc-button";
2007
+ IgcButtonComponent._isElementRegistered = false;
2008
+ return IgcButtonComponent;
2009
+ })();
2010
+ //# sourceMappingURL=igc-button-component.js.map