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,2722 @@
1
+ import * as tslib_1 from "tslib";
2
+ import { Button } from "./Button";
3
+ import { ensureEnum, brushToString, stringToBrush, ensureBool, initializePropertiesFromCss, NamePatcher, toSpinal, enumToString, getAllPropertyNames, fromSpinal } from "igniteui-webcomponents-core";
4
+ import { FontInfo } from "igniteui-webcomponents-core";
5
+ import { WebComponentRenderer, PortalManager } from "igniteui-webcomponents-core";
6
+ import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
7
+ import { TypeRegistrar } from "igniteui-webcomponents-core";
8
+ import { RegisterElementHelper } from "igniteui-webcomponents-core";
9
+ import { CornerRadius } from "igniteui-webcomponents-core";
10
+ import { ButtonDisplayStyle_$type } from './ButtonDisplayStyle';
11
+ import { IgcButtonClickEventArgs } from './igc-button-click-event-args';
12
+ import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
13
+ import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
14
+ import { ElevationMode_$type } from "igniteui-webcomponents-core";
15
+ import { IgcHTMLElement } from "igniteui-webcomponents-core";
16
+ var IgcButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
17
+ tslib_1.__extends(IgcButtonComponent, _super);
18
+ function IgcButtonComponent() {
19
+ var _this = _super.call(this) || this;
20
+ _this._disconnected = false;
21
+ _this._settingAttributes = false;
22
+ _this._attached = false;
23
+ _this._queuedSetAttributes = [];
24
+ _this._updatingFromAttribute = false;
25
+ _this.__p = null;
26
+ _this._hasUserValues = new Set();
27
+ _this._stylingContainer = null;
28
+ _this._stylingParent = null;
29
+ _this._inStyling = false;
30
+ _this._clicked = null;
31
+ _this._clicked_wrapped = null;
32
+ if (_this._styling) {
33
+ NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
34
+ }
35
+ _this._portalManager = new PortalManager("buttonContent");
36
+ _this._renderer = new WebComponentRenderer(_this, document, true, {}, _this._portalManager);
37
+ _this._container = _this._renderer.createElement("div");
38
+ _this._renderer.updateRoot(_this._container);
39
+ _this._implementation = _this.createImplementation();
40
+ _this._implementation.externalObject = _this;
41
+ //this._container.setStyleProperty("width", "100%");
42
+ //this._container.setStyleProperty("height", "100%");
43
+ var root;
44
+ root = _this._container;
45
+ if (_this._container.getNativeElement() != null) {
46
+ root = _this._container.getNativeElement();
47
+ }
48
+ _this._wrapper = _this._renderer;
49
+ var button = _this.i;
50
+ _this._button = button;
51
+ button.provideContainer(_this._renderer);
52
+ _this._onChildrenChanged();
53
+ //Checkbox.notifySizeChanged();
54
+ var mut = new MutationObserver(function (list) {
55
+ var e_1, _b;
56
+ try {
57
+ for (var list_1 = tslib_1.__values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
58
+ var mutation = list_1_1.value;
59
+ if (mutation.type == 'childList') {
60
+ _this._onChildrenChanged();
61
+ }
62
+ }
63
+ }
64
+ catch (e_1_1) {
65
+ e_1 = { error: e_1_1 };
66
+ }
67
+ finally {
68
+ try {
69
+ if (list_1_1 && !list_1_1.done && (_b = list_1.return))
70
+ _b.call(list_1);
71
+ }
72
+ finally {
73
+ if (e_1)
74
+ throw e_1.error;
75
+ }
76
+ }
77
+ });
78
+ mut.observe(_this, {
79
+ childList: true
80
+ });
81
+ return _this;
82
+ //this._renderer.addSizeWatcher(() => {
83
+ // this._checkbox.notifySizeChanged();
84
+ //});
85
+ }
86
+ IgcButtonComponent.prototype._onDisplayChanged = function () {
87
+ this.style.display = this.display;
88
+ };
89
+ IgcButtonComponent.prototype._onFlexDirectionChanged = function () {
90
+ this.style.flexDirection = this.flexDirection;
91
+ };
92
+ IgcButtonComponent.prototype._onFlexGrowChanged = function () {
93
+ this.style.flexGrow = this.flexGrow;
94
+ };
95
+ IgcButtonComponent.prototype._onAlignItemsChanged = function () {
96
+ this.style.alignItems = this.alignItems;
97
+ };
98
+ IgcButtonComponent.prototype._onChildrenChanged = function () {
99
+ var children = [];
100
+ for (var i = 0; i < this.childNodes.length; i++) {
101
+ var child = this.childNodes[i];
102
+ if (child !== this._container.getNativeElement()) {
103
+ children.push(child);
104
+ }
105
+ }
106
+ this._portalManager.onChildrenChanged(children);
107
+ };
108
+ // supports angular themes or custom properties set in CSS
109
+ IgcButtonComponent.prototype.updateStyle = function () {
110
+ this._styling(this, this);
111
+ };
112
+ IgcButtonComponent.prototype.destroy = function () {
113
+ this._button.destroy();
114
+ this._wrapper.destroy();
115
+ };
116
+ IgcButtonComponent.prototype.createImplementation = function () {
117
+ return new Button();
118
+ };
119
+ IgcButtonComponent.prototype.disconnectedCallback = function () {
120
+ this._disconnected = true;
121
+ if (this.i) {
122
+ this.i.onDetachedFromUI();
123
+ }
124
+ };
125
+ IgcButtonComponent.prototype.connectedCallback = function () {
126
+ if (this._disconnected) {
127
+ this._disconnected = false;
128
+ if (this.i) {
129
+ this.i.onAttachedToUI();
130
+ }
131
+ return;
132
+ }
133
+ this.classList.add("ig-button");
134
+ this.classList.add("igc-button");
135
+ this.appendChild(this._container.getNativeElement());
136
+ this._attached = true;
137
+ this.style.display = this.display;
138
+ //this.style.height = this._height;
139
+ //this.style.width = this._width;
140
+ this._flushQueuedAttributes();
141
+ // supports themes or custom properties set in CSS
142
+ this._styling(this, this);
143
+ this.afterContentInit();
144
+ };
145
+ IgcButtonComponent.prototype.afterContentInit = function () {
146
+ //this.i.notifySizeChanged();
147
+ };
148
+ Object.defineProperty(IgcButtonComponent.prototype, "i", {
149
+ /**
150
+ * @hidden
151
+ */
152
+ get: function () {
153
+ return this._implementation;
154
+ } /**
155
+ * @hidden
156
+ */,
157
+ enumerable: true,
158
+ configurable: true
159
+ });
160
+ IgcButtonComponent._createFromInternal = function (internal) {
161
+ if (!internal) {
162
+ return null;
163
+ }
164
+ if (!internal.$type) {
165
+ return null;
166
+ }
167
+ var name = internal.$type.name;
168
+ var externalName = "Igc" + name + "Component";
169
+ if (!TypeRegistrar.isRegistered(externalName)) {
170
+ return null;
171
+ }
172
+ return TypeRegistrar.create(externalName);
173
+ };
174
+ IgcButtonComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
175
+ this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
176
+ };
177
+ IgcButtonComponent.prototype._flushQueuedAttributes = function () {
178
+ this._settingAttributes = true;
179
+ for (var i = 0; i < this._queuedSetAttributes.length; i++) {
180
+ this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
181
+ }
182
+ this._settingAttributes = false;
183
+ this._queuedSetAttributes.length = 0;
184
+ };
185
+ IgcButtonComponent.prototype._a = function (attrName, attrValue) {
186
+ if (this._updatingFromAttribute) {
187
+ return;
188
+ }
189
+ if (attrValue) {
190
+ attrValue = attrValue.toString();
191
+ }
192
+ this._settingAttributes = true;
193
+ attrName = toSpinal(attrName);
194
+ if (this._attached) {
195
+ this.setAttribute(attrName, attrValue);
196
+ }
197
+ else {
198
+ this._enqueueSetAttribute(attrName, attrValue);
199
+ }
200
+ this._settingAttributes = false;
201
+ };
202
+ Object.defineProperty(IgcButtonComponent, "observedAttributes", {
203
+ get: function () {
204
+ if (IgcButtonComponent._observedAttributesIgcButtonComponent == null) {
205
+ var names = getAllPropertyNames(IgcButtonComponent);
206
+ for (var i = 0; i < names.length; i++) {
207
+ names[i] = toSpinal(names[i]);
208
+ }
209
+ IgcButtonComponent._observedAttributesIgcButtonComponent = names;
210
+ }
211
+ return IgcButtonComponent._observedAttributesIgcButtonComponent;
212
+ },
213
+ enumerable: true,
214
+ configurable: true
215
+ });
216
+ IgcButtonComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
217
+ if (this._settingAttributes) {
218
+ return;
219
+ }
220
+ var setName = fromSpinal(name);
221
+ this._updatingFromAttribute = true;
222
+ this[setName] = newValue;
223
+ this._updatingFromAttribute = false;
224
+ };
225
+ IgcButtonComponent.register = function () {
226
+ if (!IgcButtonComponent._isElementRegistered) {
227
+ IgcButtonComponent._isElementRegistered = true;
228
+ RegisterElementHelper.registerElement(IgcButtonComponent.htmlTagName, IgcButtonComponent);
229
+ }
230
+ };
231
+ Object.defineProperty(IgcButtonComponent.prototype, "minWidth", {
232
+ /**
233
+ * Gets or sets the min width to use for the button.
234
+ */
235
+ get: function () {
236
+ return this.i.bh;
237
+ },
238
+ set: function (v) {
239
+ this.i.bh = +v;
240
+ this._a("minWidth", this.i.bh);
241
+ },
242
+ enumerable: true,
243
+ configurable: true
244
+ });
245
+ Object.defineProperty(IgcButtonComponent.prototype, "minHeight", {
246
+ /**
247
+ * Gets or sets the min height to use for the button.
248
+ */
249
+ get: function () {
250
+ return this.i.bg;
251
+ },
252
+ set: function (v) {
253
+ this.i.bg = +v;
254
+ this._a("minHeight", this.i.bg);
255
+ },
256
+ enumerable: true,
257
+ configurable: true
258
+ });
259
+ Object.defineProperty(IgcButtonComponent.prototype, "displayType", {
260
+ /**
261
+ * Gets or sets the display style to use for the button.
262
+ */
263
+ get: function () {
264
+ return this.i.s;
265
+ },
266
+ set: function (v) {
267
+ this.i.s = ensureEnum(ButtonDisplayStyle_$type, v);
268
+ this._a("displayType", enumToString(ButtonDisplayStyle_$type, this.i.s));
269
+ },
270
+ enumerable: true,
271
+ configurable: true
272
+ });
273
+ Object.defineProperty(IgcButtonComponent.prototype, "density", {
274
+ /**
275
+ * Gets or sets the display density to use for the button.
276
+ */
277
+ get: function () {
278
+ return this.i.h;
279
+ },
280
+ set: function (v) {
281
+ this.i.h = ensureEnum(ControlDisplayDensity_$type, v);
282
+ this._a("density", enumToString(ControlDisplayDensity_$type, this.i.h));
283
+ },
284
+ enumerable: true,
285
+ configurable: true
286
+ });
287
+ Object.defineProperty(IgcButtonComponent.prototype, "baseTheme", {
288
+ /**
289
+ * Gets or sets the base built in theme to use for the button.
290
+ */
291
+ get: function () {
292
+ return this.i.d;
293
+ },
294
+ set: function (v) {
295
+ this.i.d = ensureEnum(BaseControlTheme_$type, v);
296
+ this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.d));
297
+ },
298
+ enumerable: true,
299
+ configurable: true
300
+ });
301
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDensity", {
302
+ /**
303
+ * Gets the actual display density to use for the label.
304
+ */
305
+ get: function () {
306
+ return this.i.g;
307
+ },
308
+ set: function (v) {
309
+ this.i.g = ensureEnum(ControlDisplayDensity_$type, v);
310
+ this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.g));
311
+ },
312
+ enumerable: true,
313
+ configurable: true
314
+ });
315
+ Object.defineProperty(IgcButtonComponent.prototype, "actualBorderColor", {
316
+ /**
317
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
318
+ */
319
+ get: function () {
320
+ return brushToString(this.i.m9);
321
+ },
322
+ set: function (v) {
323
+ this.i.m9 = stringToBrush(v);
324
+ this._a("actualBorderColor", brushToString(this.i.m9));
325
+ },
326
+ enumerable: true,
327
+ configurable: true
328
+ });
329
+ Object.defineProperty(IgcButtonComponent.prototype, "actualUmbraShadowColor", {
330
+ /**
331
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
332
+ */
333
+ get: function () {
334
+ return brushToString(this.i.nk);
335
+ },
336
+ set: function (v) {
337
+ this.i.nk = stringToBrush(v);
338
+ this._a("actualUmbraShadowColor", brushToString(this.i.nk));
339
+ },
340
+ enumerable: true,
341
+ configurable: true
342
+ });
343
+ Object.defineProperty(IgcButtonComponent.prototype, "actualPenumbraShadowColor", {
344
+ /**
345
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
346
+ */
347
+ get: function () {
348
+ return brushToString(this.i.nh);
349
+ },
350
+ set: function (v) {
351
+ this.i.nh = stringToBrush(v);
352
+ this._a("actualPenumbraShadowColor", brushToString(this.i.nh));
353
+ },
354
+ enumerable: true,
355
+ configurable: true
356
+ });
357
+ Object.defineProperty(IgcButtonComponent.prototype, "actualAmbientShadowColor", {
358
+ /**
359
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
360
+ */
361
+ get: function () {
362
+ return brushToString(this.i.m7);
363
+ },
364
+ set: function (v) {
365
+ this.i.m7 = stringToBrush(v);
366
+ this._a("actualAmbientShadowColor", brushToString(this.i.m7));
367
+ },
368
+ enumerable: true,
369
+ configurable: true
370
+ });
371
+ Object.defineProperty(IgcButtonComponent.prototype, "actualRestingElevation", {
372
+ /**
373
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
374
+ */
375
+ get: function () {
376
+ return this.i.cg;
377
+ },
378
+ set: function (v) {
379
+ this.i.cg = +v;
380
+ this._a("actualRestingElevation", this.i.cg);
381
+ },
382
+ enumerable: true,
383
+ configurable: true
384
+ });
385
+ Object.defineProperty(IgcButtonComponent.prototype, "actualFocusElevation", {
386
+ /**
387
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
388
+ */
389
+ get: function () {
390
+ return this.i.ce;
391
+ },
392
+ set: function (v) {
393
+ this.i.ce = +v;
394
+ this._a("actualFocusElevation", this.i.ce);
395
+ },
396
+ enumerable: true,
397
+ configurable: true
398
+ });
399
+ Object.defineProperty(IgcButtonComponent.prototype, "actualHoverElevation", {
400
+ /**
401
+ * Gets or sets the color to use for the check mark when the checkbox is checked.
402
+ */
403
+ get: function () {
404
+ return this.i.cf;
405
+ },
406
+ set: function (v) {
407
+ this.i.cf = +v;
408
+ this._a("actualHoverElevation", this.i.cf);
409
+ },
410
+ enumerable: true,
411
+ configurable: true
412
+ });
413
+ Object.defineProperty(IgcButtonComponent.prototype, "actualRippleColor", {
414
+ /**
415
+ * Gets or sets the color to use for the ripple when the button is pressed.
416
+ */
417
+ get: function () {
418
+ return brushToString(this.i.ni);
419
+ },
420
+ set: function (v) {
421
+ this.i.ni = stringToBrush(v);
422
+ this._a("actualRippleColor", brushToString(this.i.ni));
423
+ },
424
+ enumerable: true,
425
+ configurable: true
426
+ });
427
+ Object.defineProperty(IgcButtonComponent.prototype, "actualCornerRadiusBottomRight", {
428
+ get: function () {
429
+ return this.i.kc ? this.i.kc.b : NaN;
430
+ },
431
+ set: function (v) {
432
+ this.ensureActualCornerRadius();
433
+ this.i.kc.b = +v;
434
+ this._a("actualCornerRadiusBottomRight", this.i.kc.b);
435
+ this.i.kc = this.i.kc;
436
+ },
437
+ enumerable: true,
438
+ configurable: true
439
+ });
440
+ Object.defineProperty(IgcButtonComponent.prototype, "actualCornerRadiusBottomLeft", {
441
+ get: function () {
442
+ return this.i.kc ? this.i.kc.a : NaN;
443
+ },
444
+ set: function (v) {
445
+ this.ensureActualCornerRadius();
446
+ this.i.kc.a = +v;
447
+ this._a("actualCornerRadiusBottomLeft", this.i.kc.a);
448
+ this.i.kc = this.i.kc;
449
+ },
450
+ enumerable: true,
451
+ configurable: true
452
+ });
453
+ Object.defineProperty(IgcButtonComponent.prototype, "actualCornerRadiusTopLeft", {
454
+ get: function () {
455
+ return this.i.kc ? this.i.kc.c : NaN;
456
+ },
457
+ set: function (v) {
458
+ this.ensureActualCornerRadius();
459
+ this.i.kc.c = +v;
460
+ this._a("actualCornerRadiusTopLeft", this.i.kc.c);
461
+ this.i.kc = this.i.kc;
462
+ },
463
+ enumerable: true,
464
+ configurable: true
465
+ });
466
+ Object.defineProperty(IgcButtonComponent.prototype, "actualCornerRadiusTopRight", {
467
+ get: function () {
468
+ return this.i.kc ? this.i.kc.d : NaN;
469
+ },
470
+ set: function (v) {
471
+ this.ensureActualCornerRadius();
472
+ this.i.kc.d = +v;
473
+ this._a("actualCornerRadiusTopRight", this.i.kc.d);
474
+ this.i.kc = this.i.kc;
475
+ },
476
+ enumerable: true,
477
+ configurable: true
478
+ });
479
+ IgcButtonComponent.prototype.ensureActualCornerRadius = function () {
480
+ if (this.i.kc) {
481
+ return;
482
+ }
483
+ this.i.kc = new CornerRadius(2);
484
+ };
485
+ Object.defineProperty(IgcButtonComponent.prototype, "actualBackgroundColor", {
486
+ /**
487
+ * Gets the color to use for the actual background.
488
+ */
489
+ get: function () {
490
+ return brushToString(this.i.m8);
491
+ },
492
+ set: function (v) {
493
+ this.i.m8 = stringToBrush(v);
494
+ this._a("actualBackgroundColor", brushToString(this.i.m8));
495
+ },
496
+ enumerable: true,
497
+ configurable: true
498
+ });
499
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDisabledBackgroundColor", {
500
+ /**
501
+ * Gets the actual color to use for the disabled background of the button.
502
+ */
503
+ get: function () {
504
+ return brushToString(this.i.na);
505
+ },
506
+ set: function (v) {
507
+ this.i.na = stringToBrush(v);
508
+ this._a("actualDisabledBackgroundColor", brushToString(this.i.na));
509
+ },
510
+ enumerable: true,
511
+ configurable: true
512
+ });
513
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDisabledBorderColor", {
514
+ /**
515
+ * Gets the actual color to use for the disabled border of the button.
516
+ */
517
+ get: function () {
518
+ return brushToString(this.i.nb);
519
+ },
520
+ set: function (v) {
521
+ this.i.nb = stringToBrush(v);
522
+ this._a("actualDisabledBorderColor", brushToString(this.i.nb));
523
+ },
524
+ enumerable: true,
525
+ configurable: true
526
+ });
527
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDisabledTextColor", {
528
+ /**
529
+ * Gets the actual color to use for the disabled text of the button.
530
+ */
531
+ get: function () {
532
+ return brushToString(this.i.nc);
533
+ },
534
+ set: function (v) {
535
+ this.i.nc = stringToBrush(v);
536
+ this._a("actualDisabledTextColor", brushToString(this.i.nc));
537
+ },
538
+ enumerable: true,
539
+ configurable: true
540
+ });
541
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDisabledElevation", {
542
+ /**
543
+ * Gets the actual disabled elevation to use for the button.
544
+ */
545
+ get: function () {
546
+ return this.i.cd;
547
+ },
548
+ set: function (v) {
549
+ this.i.cd = +v;
550
+ this._a("actualDisabledElevation", this.i.cd);
551
+ },
552
+ enumerable: true,
553
+ configurable: true
554
+ });
555
+ Object.defineProperty(IgcButtonComponent.prototype, "actualElevationMode", {
556
+ /**
557
+ * Gets the actual disabled elevation to use for the button.
558
+ */
559
+ get: function () {
560
+ return this.i.k;
561
+ },
562
+ set: function (v) {
563
+ this.i.k = ensureEnum(ElevationMode_$type, v);
564
+ this._a("actualElevationMode", enumToString(ElevationMode_$type, this.i.k));
565
+ },
566
+ enumerable: true,
567
+ configurable: true
568
+ });
569
+ Object.defineProperty(IgcButtonComponent.prototype, "actualTextColor", {
570
+ /**
571
+ * Gets the color to use for the actual background.
572
+ */
573
+ get: function () {
574
+ return brushToString(this.i.nj);
575
+ },
576
+ set: function (v) {
577
+ this.i.nj = stringToBrush(v);
578
+ this._a("actualTextColor", brushToString(this.i.nj));
579
+ },
580
+ enumerable: true,
581
+ configurable: true
582
+ });
583
+ Object.defineProperty(IgcButtonComponent.prototype, "actualHoverTextColor", {
584
+ /**
585
+ * Gets the color to use for the actual background.
586
+ */
587
+ get: function () {
588
+ return brushToString(this.i.ng);
589
+ },
590
+ set: function (v) {
591
+ this.i.ng = stringToBrush(v);
592
+ this._a("actualHoverTextColor", brushToString(this.i.ng));
593
+ },
594
+ enumerable: true,
595
+ configurable: true
596
+ });
597
+ Object.defineProperty(IgcButtonComponent.prototype, "actualFocusBackgroundColor", {
598
+ /**
599
+ * Gets the color to use for the actual background.
600
+ */
601
+ get: function () {
602
+ return brushToString(this.i.nd);
603
+ },
604
+ set: function (v) {
605
+ this.i.nd = stringToBrush(v);
606
+ this._a("actualFocusBackgroundColor", brushToString(this.i.nd));
607
+ },
608
+ enumerable: true,
609
+ configurable: true
610
+ });
611
+ Object.defineProperty(IgcButtonComponent.prototype, "actualFocusTextColor", {
612
+ /**
613
+ * Gets the actual color to use for the focused text.
614
+ */
615
+ get: function () {
616
+ return brushToString(this.i.ne);
617
+ },
618
+ set: function (v) {
619
+ this.i.ne = stringToBrush(v);
620
+ this._a("actualFocusTextColor", brushToString(this.i.ne));
621
+ },
622
+ enumerable: true,
623
+ configurable: true
624
+ });
625
+ Object.defineProperty(IgcButtonComponent.prototype, "actualHoverBackgroundColor", {
626
+ /**
627
+ * Gets the hover color to use for the actual background.
628
+ */
629
+ get: function () {
630
+ return brushToString(this.i.nf);
631
+ },
632
+ set: function (v) {
633
+ this.i.nf = stringToBrush(v);
634
+ this._a("actualHoverBackgroundColor", brushToString(this.i.nf));
635
+ },
636
+ enumerable: true,
637
+ configurable: true
638
+ });
639
+ Object.defineProperty(IgcButtonComponent.prototype, "actualBorderWidth", {
640
+ /**
641
+ * Gets or sets the Width to use for the check mark when the checkbox is checked.
642
+ */
643
+ get: function () {
644
+ return this.i.aw;
645
+ },
646
+ set: function (v) {
647
+ this.i.aw = +v;
648
+ this._a("actualBorderWidth", this.i.aw);
649
+ },
650
+ enumerable: true,
651
+ configurable: true
652
+ });
653
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedBackgroundColor", {
654
+ /**
655
+ * Gets or sets the color to use for the background of the button when the type is raised.
656
+ */
657
+ get: function () {
658
+ return brushToString(this.i.tw);
659
+ },
660
+ set: function (v) {
661
+ this.i.tw = stringToBrush(v);
662
+ this._a("raisedBackgroundColor", brushToString(this.i.tw));
663
+ },
664
+ enumerable: true,
665
+ configurable: true
666
+ });
667
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedDisabledBackgroundColor", {
668
+ /**
669
+ * Gets or sets the color to use for the disabled background of the button when the type is raised.
670
+ */
671
+ get: function () {
672
+ return brushToString(this.i.ty);
673
+ },
674
+ set: function (v) {
675
+ this.i.ty = stringToBrush(v);
676
+ this._a("raisedDisabledBackgroundColor", brushToString(this.i.ty));
677
+ },
678
+ enumerable: true,
679
+ configurable: true
680
+ });
681
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedDisabledBorderColor", {
682
+ /**
683
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
684
+ */
685
+ get: function () {
686
+ return brushToString(this.i.tz);
687
+ },
688
+ set: function (v) {
689
+ this.i.tz = stringToBrush(v);
690
+ this._a("raisedDisabledBorderColor", brushToString(this.i.tz));
691
+ },
692
+ enumerable: true,
693
+ configurable: true
694
+ });
695
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedDisabledTextColor", {
696
+ /**
697
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
698
+ */
699
+ get: function () {
700
+ return brushToString(this.i.t0);
701
+ },
702
+ set: function (v) {
703
+ this.i.t0 = stringToBrush(v);
704
+ this._a("raisedDisabledTextColor", brushToString(this.i.t0));
705
+ },
706
+ enumerable: true,
707
+ configurable: true
708
+ });
709
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedDisabledElevation", {
710
+ /**
711
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
712
+ */
713
+ get: function () {
714
+ return this.i.ep;
715
+ },
716
+ set: function (v) {
717
+ this.i.ep = +v;
718
+ this._a("raisedDisabledElevation", this.i.ep);
719
+ },
720
+ enumerable: true,
721
+ configurable: true
722
+ });
723
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedHoverBackgroundColor", {
724
+ /**
725
+ * Gets or sets the hover color to use for the background of the button when the type is raised.
726
+ */
727
+ get: function () {
728
+ return brushToString(this.i.t3);
729
+ },
730
+ set: function (v) {
731
+ this.i.t3 = stringToBrush(v);
732
+ this._a("raisedHoverBackgroundColor", brushToString(this.i.t3));
733
+ },
734
+ enumerable: true,
735
+ configurable: true
736
+ });
737
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedBorderColor", {
738
+ /**
739
+ * Gets or sets the border color to use for the button when the type is raised.
740
+ */
741
+ get: function () {
742
+ return brushToString(this.i.tx);
743
+ },
744
+ set: function (v) {
745
+ this.i.tx = stringToBrush(v);
746
+ this._a("raisedBorderColor", brushToString(this.i.tx));
747
+ },
748
+ enumerable: true,
749
+ configurable: true
750
+ });
751
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedRestingElevation", {
752
+ /**
753
+ * Gets or sets the elevation to use for the button when the type is raised.
754
+ */
755
+ get: function () {
756
+ return this.i.es;
757
+ },
758
+ set: function (v) {
759
+ this.i.es = +v;
760
+ this._a("raisedRestingElevation", this.i.es);
761
+ },
762
+ enumerable: true,
763
+ configurable: true
764
+ });
765
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedHoverElevation", {
766
+ /**
767
+ * Gets or sets the hover elevation to use for the button when the type is raised.
768
+ */
769
+ get: function () {
770
+ return this.i.er;
771
+ },
772
+ set: function (v) {
773
+ this.i.er = +v;
774
+ this._a("raisedHoverElevation", this.i.er);
775
+ },
776
+ enumerable: true,
777
+ configurable: true
778
+ });
779
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedFocusElevation", {
780
+ /**
781
+ * Gets or sets the focus elevation to use for the button when the type is raised.
782
+ */
783
+ get: function () {
784
+ return this.i.eq;
785
+ },
786
+ set: function (v) {
787
+ this.i.eq = +v;
788
+ this._a("raisedFocusElevation", this.i.eq);
789
+ },
790
+ enumerable: true,
791
+ configurable: true
792
+ });
793
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedBorderWidth", {
794
+ /**
795
+ * Gets or sets the width to use for the button border when the type is raised.
796
+ */
797
+ get: function () {
798
+ return this.i.bj;
799
+ },
800
+ set: function (v) {
801
+ this.i.bj = +v;
802
+ this._a("raisedBorderWidth", this.i.bj);
803
+ },
804
+ enumerable: true,
805
+ configurable: true
806
+ });
807
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedCornerRadiusBottomRight", {
808
+ get: function () {
809
+ return this.i.ky ? this.i.ky.b : NaN;
810
+ },
811
+ set: function (v) {
812
+ this.ensureRaisedCornerRadius();
813
+ this.i.ky.b = +v;
814
+ this._a("raisedCornerRadiusBottomRight", this.i.ky.b);
815
+ this.i.ky = this.i.ky;
816
+ },
817
+ enumerable: true,
818
+ configurable: true
819
+ });
820
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedCornerRadiusBottomLeft", {
821
+ get: function () {
822
+ return this.i.ky ? this.i.ky.a : NaN;
823
+ },
824
+ set: function (v) {
825
+ this.ensureRaisedCornerRadius();
826
+ this.i.ky.a = +v;
827
+ this._a("raisedCornerRadiusBottomLeft", this.i.ky.a);
828
+ this.i.ky = this.i.ky;
829
+ },
830
+ enumerable: true,
831
+ configurable: true
832
+ });
833
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedCornerRadiusTopLeft", {
834
+ get: function () {
835
+ return this.i.ky ? this.i.ky.c : NaN;
836
+ },
837
+ set: function (v) {
838
+ this.ensureRaisedCornerRadius();
839
+ this.i.ky.c = +v;
840
+ this._a("raisedCornerRadiusTopLeft", this.i.ky.c);
841
+ this.i.ky = this.i.ky;
842
+ },
843
+ enumerable: true,
844
+ configurable: true
845
+ });
846
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedCornerRadiusTopRight", {
847
+ get: function () {
848
+ return this.i.ky ? this.i.ky.d : NaN;
849
+ },
850
+ set: function (v) {
851
+ this.ensureRaisedCornerRadius();
852
+ this.i.ky.d = +v;
853
+ this._a("raisedCornerRadiusTopRight", this.i.ky.d);
854
+ this.i.ky = this.i.ky;
855
+ },
856
+ enumerable: true,
857
+ configurable: true
858
+ });
859
+ IgcButtonComponent.prototype.ensureRaisedCornerRadius = function () {
860
+ if (this.i.ky) {
861
+ return;
862
+ }
863
+ this.i.ky = new CornerRadius(2);
864
+ };
865
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedRippleColor", {
866
+ /**
867
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
868
+ */
869
+ get: function () {
870
+ return brushToString(this.i.t5);
871
+ },
872
+ set: function (v) {
873
+ this.i.t5 = stringToBrush(v);
874
+ this._a("raisedRippleColor", brushToString(this.i.t5));
875
+ },
876
+ enumerable: true,
877
+ configurable: true
878
+ });
879
+ Object.defineProperty(IgcButtonComponent.prototype, "flatBackgroundColor", {
880
+ /**
881
+ * Gets or sets the color to use for the background of the button when the type is flat.
882
+ */
883
+ get: function () {
884
+ return brushToString(this.i.sv);
885
+ },
886
+ set: function (v) {
887
+ this.i.sv = stringToBrush(v);
888
+ this._a("flatBackgroundColor", brushToString(this.i.sv));
889
+ },
890
+ enumerable: true,
891
+ configurable: true
892
+ });
893
+ Object.defineProperty(IgcButtonComponent.prototype, "flatDisabledBackgroundColor", {
894
+ /**
895
+ * Gets or sets the color to use for the disabled background of the button when the type is flat.
896
+ */
897
+ get: function () {
898
+ return brushToString(this.i.sx);
899
+ },
900
+ set: function (v) {
901
+ this.i.sx = stringToBrush(v);
902
+ this._a("flatDisabledBackgroundColor", brushToString(this.i.sx));
903
+ },
904
+ enumerable: true,
905
+ configurable: true
906
+ });
907
+ Object.defineProperty(IgcButtonComponent.prototype, "flatDisabledBorderColor", {
908
+ /**
909
+ * Gets or sets the color to use for the disabled border of the button when the type is flat.
910
+ */
911
+ get: function () {
912
+ return brushToString(this.i.sy);
913
+ },
914
+ set: function (v) {
915
+ this.i.sy = stringToBrush(v);
916
+ this._a("flatDisabledBorderColor", brushToString(this.i.sy));
917
+ },
918
+ enumerable: true,
919
+ configurable: true
920
+ });
921
+ Object.defineProperty(IgcButtonComponent.prototype, "flatDisabledTextColor", {
922
+ /**
923
+ * Gets or sets the color to use for the disabled text of the button when the type is flat.
924
+ */
925
+ get: function () {
926
+ return brushToString(this.i.sz);
927
+ },
928
+ set: function (v) {
929
+ this.i.sz = stringToBrush(v);
930
+ this._a("flatDisabledTextColor", brushToString(this.i.sz));
931
+ },
932
+ enumerable: true,
933
+ configurable: true
934
+ });
935
+ Object.defineProperty(IgcButtonComponent.prototype, "flatDisabledElevation", {
936
+ /**
937
+ * Gets or sets the disabled elevation to use for the button when the type is flat.
938
+ */
939
+ get: function () {
940
+ return this.i.eb;
941
+ },
942
+ set: function (v) {
943
+ this.i.eb = +v;
944
+ this._a("flatDisabledElevation", this.i.eb);
945
+ },
946
+ enumerable: true,
947
+ configurable: true
948
+ });
949
+ Object.defineProperty(IgcButtonComponent.prototype, "flatHoverBackgroundColor", {
950
+ /**
951
+ * Gets or sets the hover color to use for the background of the button when the type is flat.
952
+ */
953
+ get: function () {
954
+ return brushToString(this.i.s2);
955
+ },
956
+ set: function (v) {
957
+ this.i.s2 = stringToBrush(v);
958
+ this._a("flatHoverBackgroundColor", brushToString(this.i.s2));
959
+ },
960
+ enumerable: true,
961
+ configurable: true
962
+ });
963
+ Object.defineProperty(IgcButtonComponent.prototype, "flatBorderColor", {
964
+ /**
965
+ * Gets or sets the border color to use for the button when the type is flat.
966
+ */
967
+ get: function () {
968
+ return brushToString(this.i.sw);
969
+ },
970
+ set: function (v) {
971
+ this.i.sw = stringToBrush(v);
972
+ this._a("flatBorderColor", brushToString(this.i.sw));
973
+ },
974
+ enumerable: true,
975
+ configurable: true
976
+ });
977
+ Object.defineProperty(IgcButtonComponent.prototype, "flatRestingElevation", {
978
+ /**
979
+ * Gets or sets the elevation to use for the button when the type is flat.
980
+ */
981
+ get: function () {
982
+ return this.i.ee;
983
+ },
984
+ set: function (v) {
985
+ this.i.ee = +v;
986
+ this._a("flatRestingElevation", this.i.ee);
987
+ },
988
+ enumerable: true,
989
+ configurable: true
990
+ });
991
+ Object.defineProperty(IgcButtonComponent.prototype, "flatHoverElevation", {
992
+ /**
993
+ * Gets or sets the hover elevation to use for the button when the type is flat.
994
+ */
995
+ get: function () {
996
+ return this.i.ed;
997
+ },
998
+ set: function (v) {
999
+ this.i.ed = +v;
1000
+ this._a("flatHoverElevation", this.i.ed);
1001
+ },
1002
+ enumerable: true,
1003
+ configurable: true
1004
+ });
1005
+ Object.defineProperty(IgcButtonComponent.prototype, "flatFocusElevation", {
1006
+ /**
1007
+ * Gets or sets the focus elevation to use for the button when the type is flat.
1008
+ */
1009
+ get: function () {
1010
+ return this.i.ec;
1011
+ },
1012
+ set: function (v) {
1013
+ this.i.ec = +v;
1014
+ this._a("flatFocusElevation", this.i.ec);
1015
+ },
1016
+ enumerable: true,
1017
+ configurable: true
1018
+ });
1019
+ Object.defineProperty(IgcButtonComponent.prototype, "flatRippleColor", {
1020
+ /**
1021
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1022
+ */
1023
+ get: function () {
1024
+ return brushToString(this.i.s4);
1025
+ },
1026
+ set: function (v) {
1027
+ this.i.s4 = stringToBrush(v);
1028
+ this._a("flatRippleColor", brushToString(this.i.s4));
1029
+ },
1030
+ enumerable: true,
1031
+ configurable: true
1032
+ });
1033
+ Object.defineProperty(IgcButtonComponent.prototype, "flatTextColor", {
1034
+ /**
1035
+ * Gets or sets the color to use for the text of the button when type is flat.
1036
+ */
1037
+ get: function () {
1038
+ return brushToString(this.i.s5);
1039
+ },
1040
+ set: function (v) {
1041
+ this.i.s5 = stringToBrush(v);
1042
+ this._a("flatTextColor", brushToString(this.i.s5));
1043
+ },
1044
+ enumerable: true,
1045
+ configurable: true
1046
+ });
1047
+ Object.defineProperty(IgcButtonComponent.prototype, "flatHoverTextColor", {
1048
+ /**
1049
+ * Gets or sets the color to use for the hovered text of the button when type is flat.
1050
+ */
1051
+ get: function () {
1052
+ return brushToString(this.i.s3);
1053
+ },
1054
+ set: function (v) {
1055
+ this.i.s3 = stringToBrush(v);
1056
+ this._a("flatHoverTextColor", brushToString(this.i.s3));
1057
+ },
1058
+ enumerable: true,
1059
+ configurable: true
1060
+ });
1061
+ Object.defineProperty(IgcButtonComponent.prototype, "flatFocusBackgroundColor", {
1062
+ /**
1063
+ * Gets or sets the color to use for the backround the button when it is focused and flat.
1064
+ */
1065
+ get: function () {
1066
+ return brushToString(this.i.s0);
1067
+ },
1068
+ set: function (v) {
1069
+ this.i.s0 = stringToBrush(v);
1070
+ this._a("flatFocusBackgroundColor", brushToString(this.i.s0));
1071
+ },
1072
+ enumerable: true,
1073
+ configurable: true
1074
+ });
1075
+ Object.defineProperty(IgcButtonComponent.prototype, "flatFocusTextColor", {
1076
+ /**
1077
+ * Gets or sets the color to use for the text the button when it is focused and flat.
1078
+ */
1079
+ get: function () {
1080
+ return brushToString(this.i.s1);
1081
+ },
1082
+ set: function (v) {
1083
+ this.i.s1 = stringToBrush(v);
1084
+ this._a("flatFocusTextColor", brushToString(this.i.s1));
1085
+ },
1086
+ enumerable: true,
1087
+ configurable: true
1088
+ });
1089
+ Object.defineProperty(IgcButtonComponent.prototype, "flatBorderWidth", {
1090
+ /**
1091
+ * Gets or sets the width to use for the button border when the type is flat.
1092
+ */
1093
+ get: function () {
1094
+ return this.i.be;
1095
+ },
1096
+ set: function (v) {
1097
+ this.i.be = +v;
1098
+ this._a("flatBorderWidth", this.i.be);
1099
+ },
1100
+ enumerable: true,
1101
+ configurable: true
1102
+ });
1103
+ Object.defineProperty(IgcButtonComponent.prototype, "flatCornerRadiusBottomRight", {
1104
+ get: function () {
1105
+ return this.i.kv ? this.i.kv.b : NaN;
1106
+ },
1107
+ set: function (v) {
1108
+ this.ensureFlatCornerRadius();
1109
+ this.i.kv.b = +v;
1110
+ this._a("flatCornerRadiusBottomRight", this.i.kv.b);
1111
+ this.i.kv = this.i.kv;
1112
+ },
1113
+ enumerable: true,
1114
+ configurable: true
1115
+ });
1116
+ Object.defineProperty(IgcButtonComponent.prototype, "flatCornerRadiusBottomLeft", {
1117
+ get: function () {
1118
+ return this.i.kv ? this.i.kv.a : NaN;
1119
+ },
1120
+ set: function (v) {
1121
+ this.ensureFlatCornerRadius();
1122
+ this.i.kv.a = +v;
1123
+ this._a("flatCornerRadiusBottomLeft", this.i.kv.a);
1124
+ this.i.kv = this.i.kv;
1125
+ },
1126
+ enumerable: true,
1127
+ configurable: true
1128
+ });
1129
+ Object.defineProperty(IgcButtonComponent.prototype, "flatCornerRadiusTopLeft", {
1130
+ get: function () {
1131
+ return this.i.kv ? this.i.kv.c : NaN;
1132
+ },
1133
+ set: function (v) {
1134
+ this.ensureFlatCornerRadius();
1135
+ this.i.kv.c = +v;
1136
+ this._a("flatCornerRadiusTopLeft", this.i.kv.c);
1137
+ this.i.kv = this.i.kv;
1138
+ },
1139
+ enumerable: true,
1140
+ configurable: true
1141
+ });
1142
+ Object.defineProperty(IgcButtonComponent.prototype, "flatCornerRadiusTopRight", {
1143
+ get: function () {
1144
+ return this.i.kv ? this.i.kv.d : NaN;
1145
+ },
1146
+ set: function (v) {
1147
+ this.ensureFlatCornerRadius();
1148
+ this.i.kv.d = +v;
1149
+ this._a("flatCornerRadiusTopRight", this.i.kv.d);
1150
+ this.i.kv = this.i.kv;
1151
+ },
1152
+ enumerable: true,
1153
+ configurable: true
1154
+ });
1155
+ IgcButtonComponent.prototype.ensureFlatCornerRadius = function () {
1156
+ if (this.i.kv) {
1157
+ return;
1158
+ }
1159
+ this.i.kv = new CornerRadius(2);
1160
+ };
1161
+ Object.defineProperty(IgcButtonComponent.prototype, "backgroundColor", {
1162
+ /**
1163
+ * Gets or sets the color to use for the background when the button regardless of type.
1164
+ */
1165
+ get: function () {
1166
+ return brushToString(this.i.nl);
1167
+ },
1168
+ set: function (v) {
1169
+ this.i.nl = stringToBrush(v);
1170
+ this._a("backgroundColor", brushToString(this.i.nl));
1171
+ },
1172
+ enumerable: true,
1173
+ configurable: true
1174
+ });
1175
+ Object.defineProperty(IgcButtonComponent.prototype, "disabledBackgroundColor", {
1176
+ /**
1177
+ * Gets or sets the color to use for the disabled background of the button when the type is disabled.
1178
+ */
1179
+ get: function () {
1180
+ return brushToString(this.i.sh);
1181
+ },
1182
+ set: function (v) {
1183
+ this.i.sh = stringToBrush(v);
1184
+ this._a("disabledBackgroundColor", brushToString(this.i.sh));
1185
+ },
1186
+ enumerable: true,
1187
+ configurable: true
1188
+ });
1189
+ Object.defineProperty(IgcButtonComponent.prototype, "disabledBorderColor", {
1190
+ /**
1191
+ * Gets or sets the color to use for the disabled border of the button when the type is raised.
1192
+ */
1193
+ get: function () {
1194
+ return brushToString(this.i.si);
1195
+ },
1196
+ set: function (v) {
1197
+ this.i.si = stringToBrush(v);
1198
+ this._a("disabledBorderColor", brushToString(this.i.si));
1199
+ },
1200
+ enumerable: true,
1201
+ configurable: true
1202
+ });
1203
+ Object.defineProperty(IgcButtonComponent.prototype, "disabledTextColor", {
1204
+ /**
1205
+ * Gets or sets the color to use for the disabled text of the button when the type is raised.
1206
+ */
1207
+ get: function () {
1208
+ return brushToString(this.i.sj);
1209
+ },
1210
+ set: function (v) {
1211
+ this.i.sj = stringToBrush(v);
1212
+ this._a("disabledTextColor", brushToString(this.i.sj));
1213
+ },
1214
+ enumerable: true,
1215
+ configurable: true
1216
+ });
1217
+ Object.defineProperty(IgcButtonComponent.prototype, "disabledElevation", {
1218
+ /**
1219
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
1220
+ */
1221
+ get: function () {
1222
+ return this.i.d6;
1223
+ },
1224
+ set: function (v) {
1225
+ this.i.d6 = +v;
1226
+ this._a("disabledElevation", this.i.d6);
1227
+ },
1228
+ enumerable: true,
1229
+ configurable: true
1230
+ });
1231
+ Object.defineProperty(IgcButtonComponent.prototype, "elevationMode", {
1232
+ /**
1233
+ * Gets or sets the disabled elevation to use for the button when the type is raised.
1234
+ */
1235
+ get: function () {
1236
+ return this.i.o;
1237
+ },
1238
+ set: function (v) {
1239
+ this.i.o = ensureEnum(ElevationMode_$type, v);
1240
+ this._a("elevationMode", enumToString(ElevationMode_$type, this.i.o));
1241
+ },
1242
+ enumerable: true,
1243
+ configurable: true
1244
+ });
1245
+ Object.defineProperty(IgcButtonComponent.prototype, "hoverBackgroundColor", {
1246
+ /**
1247
+ * Gets or sets the hover color to use for the background of the button when the type is hovered.
1248
+ */
1249
+ get: function () {
1250
+ return brushToString(this.i.s8);
1251
+ },
1252
+ set: function (v) {
1253
+ this.i.s8 = stringToBrush(v);
1254
+ this._a("hoverBackgroundColor", brushToString(this.i.s8));
1255
+ },
1256
+ enumerable: true,
1257
+ configurable: true
1258
+ });
1259
+ Object.defineProperty(IgcButtonComponent.prototype, "borderColor", {
1260
+ /**
1261
+ * Gets or sets the border color to use for the button regardless of type.
1262
+ */
1263
+ get: function () {
1264
+ return brushToString(this.i.nm);
1265
+ },
1266
+ set: function (v) {
1267
+ this.i.nm = stringToBrush(v);
1268
+ this._a("borderColor", brushToString(this.i.nm));
1269
+ },
1270
+ enumerable: true,
1271
+ configurable: true
1272
+ });
1273
+ Object.defineProperty(IgcButtonComponent.prototype, "restingElevation", {
1274
+ /**
1275
+ * Gets or sets the elevation to use for the button regardless of type.
1276
+ */
1277
+ get: function () {
1278
+ return this.i.et;
1279
+ },
1280
+ set: function (v) {
1281
+ this.i.et = +v;
1282
+ this._a("restingElevation", this.i.et);
1283
+ },
1284
+ enumerable: true,
1285
+ configurable: true
1286
+ });
1287
+ Object.defineProperty(IgcButtonComponent.prototype, "hoverElevation", {
1288
+ /**
1289
+ * Gets or sets the hover elevation to use for the button regardless of type.
1290
+ */
1291
+ get: function () {
1292
+ return this.i.eg;
1293
+ },
1294
+ set: function (v) {
1295
+ this.i.eg = +v;
1296
+ this._a("hoverElevation", this.i.eg);
1297
+ },
1298
+ enumerable: true,
1299
+ configurable: true
1300
+ });
1301
+ Object.defineProperty(IgcButtonComponent.prototype, "focusElevation", {
1302
+ /**
1303
+ * Gets or sets the focus elevation to use for the button regardless of type.
1304
+ */
1305
+ get: function () {
1306
+ return this.i.ef;
1307
+ },
1308
+ set: function (v) {
1309
+ this.i.ef = +v;
1310
+ this._a("focusElevation", this.i.ef);
1311
+ },
1312
+ enumerable: true,
1313
+ configurable: true
1314
+ });
1315
+ Object.defineProperty(IgcButtonComponent.prototype, "textStyle", {
1316
+ /**
1317
+ * Gets or sets the use for the button.
1318
+ */
1319
+ get: function () {
1320
+ if (this.i.v == null) {
1321
+ return null;
1322
+ }
1323
+ return this.i.v.fontString;
1324
+ },
1325
+ set: function (v) {
1326
+ var fi = new FontInfo();
1327
+ fi.fontString = v;
1328
+ this.i.v = fi;
1329
+ this._a("textStyle", this.i.v != null ? this.i.v.fontString : "");
1330
+ },
1331
+ enumerable: true,
1332
+ configurable: true
1333
+ });
1334
+ Object.defineProperty(IgcButtonComponent.prototype, "textColor", {
1335
+ /**
1336
+ * Gets or sets the color to use for the text of the button regardless of type.
1337
+ */
1338
+ get: function () {
1339
+ return brushToString(this.i.t8);
1340
+ },
1341
+ set: function (v) {
1342
+ this.i.t8 = stringToBrush(v);
1343
+ this._a("textColor", brushToString(this.i.t8));
1344
+ },
1345
+ enumerable: true,
1346
+ configurable: true
1347
+ });
1348
+ Object.defineProperty(IgcButtonComponent.prototype, "hoverTextColor", {
1349
+ /**
1350
+ * Gets or sets the color to use for the hovered text of the button regardless of type.
1351
+ */
1352
+ get: function () {
1353
+ return brushToString(this.i.s9);
1354
+ },
1355
+ set: function (v) {
1356
+ this.i.s9 = stringToBrush(v);
1357
+ this._a("hoverTextColor", brushToString(this.i.s9));
1358
+ },
1359
+ enumerable: true,
1360
+ configurable: true
1361
+ });
1362
+ Object.defineProperty(IgcButtonComponent.prototype, "rippleColor", {
1363
+ /**
1364
+ * Gets or sets the color to use for the background of the button regardless of type.
1365
+ */
1366
+ get: function () {
1367
+ return brushToString(this.i.t7);
1368
+ },
1369
+ set: function (v) {
1370
+ this.i.t7 = stringToBrush(v);
1371
+ this._a("rippleColor", brushToString(this.i.t7));
1372
+ },
1373
+ enumerable: true,
1374
+ configurable: true
1375
+ });
1376
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedTextColor", {
1377
+ /**
1378
+ * Gets or sets the color to use for the text of the button when type is raised.
1379
+ */
1380
+ get: function () {
1381
+ return brushToString(this.i.t6);
1382
+ },
1383
+ set: function (v) {
1384
+ this.i.t6 = stringToBrush(v);
1385
+ this._a("raisedTextColor", brushToString(this.i.t6));
1386
+ },
1387
+ enumerable: true,
1388
+ configurable: true
1389
+ });
1390
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedHoverTextColor", {
1391
+ /**
1392
+ * Gets or sets the color to use for the hovered text of the button when type is raised.
1393
+ */
1394
+ get: function () {
1395
+ return brushToString(this.i.t4);
1396
+ },
1397
+ set: function (v) {
1398
+ this.i.t4 = stringToBrush(v);
1399
+ this._a("raisedHoverTextColor", brushToString(this.i.t4));
1400
+ },
1401
+ enumerable: true,
1402
+ configurable: true
1403
+ });
1404
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedFocusBackgroundColor", {
1405
+ /**
1406
+ * Gets or sets the color to use for the backround the button when it is focused and raised.
1407
+ */
1408
+ get: function () {
1409
+ return brushToString(this.i.t1);
1410
+ },
1411
+ set: function (v) {
1412
+ this.i.t1 = stringToBrush(v);
1413
+ this._a("raisedFocusBackgroundColor", brushToString(this.i.t1));
1414
+ },
1415
+ enumerable: true,
1416
+ configurable: true
1417
+ });
1418
+ Object.defineProperty(IgcButtonComponent.prototype, "raisedFocusTextColor", {
1419
+ /**
1420
+ * Gets or sets the color to use for the text the button when it is focused and raised.
1421
+ */
1422
+ get: function () {
1423
+ return brushToString(this.i.t2);
1424
+ },
1425
+ set: function (v) {
1426
+ this.i.t2 = stringToBrush(v);
1427
+ this._a("raisedFocusTextColor", brushToString(this.i.t2));
1428
+ },
1429
+ enumerable: true,
1430
+ configurable: true
1431
+ });
1432
+ Object.defineProperty(IgcButtonComponent.prototype, "focusBackgroundColor", {
1433
+ /**
1434
+ * Gets or sets the color to use for the backround the button when it is focused.
1435
+ */
1436
+ get: function () {
1437
+ return brushToString(this.i.s6);
1438
+ },
1439
+ set: function (v) {
1440
+ this.i.s6 = stringToBrush(v);
1441
+ this._a("focusBackgroundColor", brushToString(this.i.s6));
1442
+ },
1443
+ enumerable: true,
1444
+ configurable: true
1445
+ });
1446
+ Object.defineProperty(IgcButtonComponent.prototype, "focusTextColor", {
1447
+ /**
1448
+ * Gets or sets the color to use for the text of the button when it is focused.
1449
+ */
1450
+ get: function () {
1451
+ return brushToString(this.i.s7);
1452
+ },
1453
+ set: function (v) {
1454
+ this.i.s7 = stringToBrush(v);
1455
+ this._a("focusTextColor", brushToString(this.i.s7));
1456
+ },
1457
+ enumerable: true,
1458
+ configurable: true
1459
+ });
1460
+ Object.defineProperty(IgcButtonComponent.prototype, "borderWidth", {
1461
+ /**
1462
+ * Gets or sets the width to use for the button border regardless of type.
1463
+ */
1464
+ get: function () {
1465
+ return this.i.ax;
1466
+ },
1467
+ set: function (v) {
1468
+ this.i.ax = +v;
1469
+ this._a("borderWidth", this.i.ax);
1470
+ },
1471
+ enumerable: true,
1472
+ configurable: true
1473
+ });
1474
+ Object.defineProperty(IgcButtonComponent.prototype, "cornerRadiusBottomRight", {
1475
+ get: function () {
1476
+ return this.i.ke ? this.i.ke.b : NaN;
1477
+ },
1478
+ set: function (v) {
1479
+ this.ensureCornerRadius();
1480
+ this.i.ke.b = +v;
1481
+ this._a("cornerRadiusBottomRight", this.i.ke.b);
1482
+ this.i.ke = this.i.ke;
1483
+ },
1484
+ enumerable: true,
1485
+ configurable: true
1486
+ });
1487
+ Object.defineProperty(IgcButtonComponent.prototype, "cornerRadiusBottomLeft", {
1488
+ get: function () {
1489
+ return this.i.ke ? this.i.ke.a : NaN;
1490
+ },
1491
+ set: function (v) {
1492
+ this.ensureCornerRadius();
1493
+ this.i.ke.a = +v;
1494
+ this._a("cornerRadiusBottomLeft", this.i.ke.a);
1495
+ this.i.ke = this.i.ke;
1496
+ },
1497
+ enumerable: true,
1498
+ configurable: true
1499
+ });
1500
+ Object.defineProperty(IgcButtonComponent.prototype, "cornerRadiusTopLeft", {
1501
+ get: function () {
1502
+ return this.i.ke ? this.i.ke.c : NaN;
1503
+ },
1504
+ set: function (v) {
1505
+ this.ensureCornerRadius();
1506
+ this.i.ke.c = +v;
1507
+ this._a("cornerRadiusTopLeft", this.i.ke.c);
1508
+ this.i.ke = this.i.ke;
1509
+ },
1510
+ enumerable: true,
1511
+ configurable: true
1512
+ });
1513
+ Object.defineProperty(IgcButtonComponent.prototype, "cornerRadiusTopRight", {
1514
+ get: function () {
1515
+ return this.i.ke ? this.i.ke.d : NaN;
1516
+ },
1517
+ set: function (v) {
1518
+ this.ensureCornerRadius();
1519
+ this.i.ke.d = +v;
1520
+ this._a("cornerRadiusTopRight", this.i.ke.d);
1521
+ this.i.ke = this.i.ke;
1522
+ },
1523
+ enumerable: true,
1524
+ configurable: true
1525
+ });
1526
+ IgcButtonComponent.prototype.ensureCornerRadius = function () {
1527
+ if (this.i.ke) {
1528
+ return;
1529
+ }
1530
+ this.i.ke = new CornerRadius(2);
1531
+ };
1532
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedBackgroundColor", {
1533
+ /**
1534
+ * Gets or sets the color to use for the background of the button when the type is outlined.
1535
+ */
1536
+ get: function () {
1537
+ return brushToString(this.i.tl);
1538
+ },
1539
+ set: function (v) {
1540
+ this.i.tl = stringToBrush(v);
1541
+ this._a("outlinedBackgroundColor", brushToString(this.i.tl));
1542
+ },
1543
+ enumerable: true,
1544
+ configurable: true
1545
+ });
1546
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedDisabledBackgroundColor", {
1547
+ /**
1548
+ * Gets or sets the color to use for the disabled background of the button when the type is outlined.
1549
+ */
1550
+ get: function () {
1551
+ return brushToString(this.i.tn);
1552
+ },
1553
+ set: function (v) {
1554
+ this.i.tn = stringToBrush(v);
1555
+ this._a("outlinedDisabledBackgroundColor", brushToString(this.i.tn));
1556
+ },
1557
+ enumerable: true,
1558
+ configurable: true
1559
+ });
1560
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedDisabledBorderColor", {
1561
+ /**
1562
+ * Gets or sets the color to use for the disabled border of the button when the type is outlined.
1563
+ */
1564
+ get: function () {
1565
+ return brushToString(this.i.to);
1566
+ },
1567
+ set: function (v) {
1568
+ this.i.to = stringToBrush(v);
1569
+ this._a("outlinedDisabledBorderColor", brushToString(this.i.to));
1570
+ },
1571
+ enumerable: true,
1572
+ configurable: true
1573
+ });
1574
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedDisabledTextColor", {
1575
+ /**
1576
+ * Gets or sets the color to use for the disabled text of the button when the type is outlined.
1577
+ */
1578
+ get: function () {
1579
+ return brushToString(this.i.tp);
1580
+ },
1581
+ set: function (v) {
1582
+ this.i.tp = stringToBrush(v);
1583
+ this._a("outlinedDisabledTextColor", brushToString(this.i.tp));
1584
+ },
1585
+ enumerable: true,
1586
+ configurable: true
1587
+ });
1588
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedDisabledElevation", {
1589
+ /**
1590
+ * Gets or sets the disabled elevation to use for the button when the type is outlined.
1591
+ */
1592
+ get: function () {
1593
+ return this.i.el;
1594
+ },
1595
+ set: function (v) {
1596
+ this.i.el = +v;
1597
+ this._a("outlinedDisabledElevation", this.i.el);
1598
+ },
1599
+ enumerable: true,
1600
+ configurable: true
1601
+ });
1602
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedHoverBackgroundColor", {
1603
+ /**
1604
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
1605
+ */
1606
+ get: function () {
1607
+ return brushToString(this.i.ts);
1608
+ },
1609
+ set: function (v) {
1610
+ this.i.ts = stringToBrush(v);
1611
+ this._a("outlinedHoverBackgroundColor", brushToString(this.i.ts));
1612
+ },
1613
+ enumerable: true,
1614
+ configurable: true
1615
+ });
1616
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedBorderColor", {
1617
+ /**
1618
+ * Gets or sets the border color to use for the button when the type is outlined.
1619
+ */
1620
+ get: function () {
1621
+ return brushToString(this.i.tm);
1622
+ },
1623
+ set: function (v) {
1624
+ this.i.tm = stringToBrush(v);
1625
+ this._a("outlinedBorderColor", brushToString(this.i.tm));
1626
+ },
1627
+ enumerable: true,
1628
+ configurable: true
1629
+ });
1630
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedRestingElevation", {
1631
+ /**
1632
+ * Gets or sets the elevation to use for the button when the type is outlined.
1633
+ */
1634
+ get: function () {
1635
+ return this.i.eo;
1636
+ },
1637
+ set: function (v) {
1638
+ this.i.eo = +v;
1639
+ this._a("outlinedRestingElevation", this.i.eo);
1640
+ },
1641
+ enumerable: true,
1642
+ configurable: true
1643
+ });
1644
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedHoverElevation", {
1645
+ /**
1646
+ * Gets or sets the hover elevation to use for the button when the type is outlined.
1647
+ */
1648
+ get: function () {
1649
+ return this.i.en;
1650
+ },
1651
+ set: function (v) {
1652
+ this.i.en = +v;
1653
+ this._a("outlinedHoverElevation", this.i.en);
1654
+ },
1655
+ enumerable: true,
1656
+ configurable: true
1657
+ });
1658
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedFocusElevation", {
1659
+ /**
1660
+ * Gets or sets the focus elevation to use for the button when the type is outlined.
1661
+ */
1662
+ get: function () {
1663
+ return this.i.em;
1664
+ },
1665
+ set: function (v) {
1666
+ this.i.em = +v;
1667
+ this._a("outlinedFocusElevation", this.i.em);
1668
+ },
1669
+ enumerable: true,
1670
+ configurable: true
1671
+ });
1672
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedBorderWidth", {
1673
+ /**
1674
+ * Gets or sets the width to use for the button border when the type is outlined.
1675
+ */
1676
+ get: function () {
1677
+ return this.i.bi;
1678
+ },
1679
+ set: function (v) {
1680
+ this.i.bi = +v;
1681
+ this._a("outlinedBorderWidth", this.i.bi);
1682
+ },
1683
+ enumerable: true,
1684
+ configurable: true
1685
+ });
1686
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedCornerRadiusBottomRight", {
1687
+ get: function () {
1688
+ return this.i.kx ? this.i.kx.b : NaN;
1689
+ },
1690
+ set: function (v) {
1691
+ this.ensureOutlinedCornerRadius();
1692
+ this.i.kx.b = +v;
1693
+ this._a("outlinedCornerRadiusBottomRight", this.i.kx.b);
1694
+ this.i.kx = this.i.kx;
1695
+ },
1696
+ enumerable: true,
1697
+ configurable: true
1698
+ });
1699
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedCornerRadiusBottomLeft", {
1700
+ get: function () {
1701
+ return this.i.kx ? this.i.kx.a : NaN;
1702
+ },
1703
+ set: function (v) {
1704
+ this.ensureOutlinedCornerRadius();
1705
+ this.i.kx.a = +v;
1706
+ this._a("outlinedCornerRadiusBottomLeft", this.i.kx.a);
1707
+ this.i.kx = this.i.kx;
1708
+ },
1709
+ enumerable: true,
1710
+ configurable: true
1711
+ });
1712
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedCornerRadiusTopLeft", {
1713
+ get: function () {
1714
+ return this.i.kx ? this.i.kx.c : NaN;
1715
+ },
1716
+ set: function (v) {
1717
+ this.ensureOutlinedCornerRadius();
1718
+ this.i.kx.c = +v;
1719
+ this._a("outlinedCornerRadiusTopLeft", this.i.kx.c);
1720
+ this.i.kx = this.i.kx;
1721
+ },
1722
+ enumerable: true,
1723
+ configurable: true
1724
+ });
1725
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedCornerRadiusTopRight", {
1726
+ get: function () {
1727
+ return this.i.kx ? this.i.kx.d : NaN;
1728
+ },
1729
+ set: function (v) {
1730
+ this.ensureOutlinedCornerRadius();
1731
+ this.i.kx.d = +v;
1732
+ this._a("outlinedCornerRadiusTopRight", this.i.kx.d);
1733
+ this.i.kx = this.i.kx;
1734
+ },
1735
+ enumerable: true,
1736
+ configurable: true
1737
+ });
1738
+ IgcButtonComponent.prototype.ensureOutlinedCornerRadius = function () {
1739
+ if (this.i.kx) {
1740
+ return;
1741
+ }
1742
+ this.i.kx = new CornerRadius(2);
1743
+ };
1744
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedRippleColor", {
1745
+ /**
1746
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1747
+ */
1748
+ get: function () {
1749
+ return brushToString(this.i.tu);
1750
+ },
1751
+ set: function (v) {
1752
+ this.i.tu = stringToBrush(v);
1753
+ this._a("outlinedRippleColor", brushToString(this.i.tu));
1754
+ },
1755
+ enumerable: true,
1756
+ configurable: true
1757
+ });
1758
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedTextColor", {
1759
+ /**
1760
+ * Gets or sets the color to use for the text of the button when type is outlined.
1761
+ */
1762
+ get: function () {
1763
+ return brushToString(this.i.tv);
1764
+ },
1765
+ set: function (v) {
1766
+ this.i.tv = stringToBrush(v);
1767
+ this._a("outlinedTextColor", brushToString(this.i.tv));
1768
+ },
1769
+ enumerable: true,
1770
+ configurable: true
1771
+ });
1772
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedHoverTextColor", {
1773
+ /**
1774
+ * Gets or sets the color to use for the hovered text of the button when type is outlined.
1775
+ */
1776
+ get: function () {
1777
+ return brushToString(this.i.tt);
1778
+ },
1779
+ set: function (v) {
1780
+ this.i.tt = stringToBrush(v);
1781
+ this._a("outlinedHoverTextColor", brushToString(this.i.tt));
1782
+ },
1783
+ enumerable: true,
1784
+ configurable: true
1785
+ });
1786
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedFocusBackgroundColor", {
1787
+ /**
1788
+ * Gets or sets the color to use for the backround the button when it is focused and outlined.
1789
+ */
1790
+ get: function () {
1791
+ return brushToString(this.i.tq);
1792
+ },
1793
+ set: function (v) {
1794
+ this.i.tq = stringToBrush(v);
1795
+ this._a("outlinedFocusBackgroundColor", brushToString(this.i.tq));
1796
+ },
1797
+ enumerable: true,
1798
+ configurable: true
1799
+ });
1800
+ Object.defineProperty(IgcButtonComponent.prototype, "outlinedFocusTextColor", {
1801
+ /**
1802
+ * Gets or sets the color to use for the text the button when it is focused and outlined.
1803
+ */
1804
+ get: function () {
1805
+ return brushToString(this.i.tr);
1806
+ },
1807
+ set: function (v) {
1808
+ this.i.tr = stringToBrush(v);
1809
+ this._a("outlinedFocusTextColor", brushToString(this.i.tr));
1810
+ },
1811
+ enumerable: true,
1812
+ configurable: true
1813
+ });
1814
+ Object.defineProperty(IgcButtonComponent.prototype, "fabBackgroundColor", {
1815
+ /**
1816
+ * Gets or sets the color to use for the background of the button when the type is floating action button.
1817
+ */
1818
+ get: function () {
1819
+ return brushToString(this.i.sk);
1820
+ },
1821
+ set: function (v) {
1822
+ this.i.sk = stringToBrush(v);
1823
+ this._a("fabBackgroundColor", brushToString(this.i.sk));
1824
+ },
1825
+ enumerable: true,
1826
+ configurable: true
1827
+ });
1828
+ Object.defineProperty(IgcButtonComponent.prototype, "fabDisabledBackgroundColor", {
1829
+ /**
1830
+ * Gets or sets the color to use for the disabled background of the button when the type is fab.
1831
+ */
1832
+ get: function () {
1833
+ return brushToString(this.i.sm);
1834
+ },
1835
+ set: function (v) {
1836
+ this.i.sm = stringToBrush(v);
1837
+ this._a("fabDisabledBackgroundColor", brushToString(this.i.sm));
1838
+ },
1839
+ enumerable: true,
1840
+ configurable: true
1841
+ });
1842
+ Object.defineProperty(IgcButtonComponent.prototype, "fabDisabledBorderColor", {
1843
+ /**
1844
+ * Gets or sets the color to use for the disabled border of the button when the type is fab.
1845
+ */
1846
+ get: function () {
1847
+ return brushToString(this.i.sn);
1848
+ },
1849
+ set: function (v) {
1850
+ this.i.sn = stringToBrush(v);
1851
+ this._a("fabDisabledBorderColor", brushToString(this.i.sn));
1852
+ },
1853
+ enumerable: true,
1854
+ configurable: true
1855
+ });
1856
+ Object.defineProperty(IgcButtonComponent.prototype, "fabDisabledTextColor", {
1857
+ /**
1858
+ * Gets or sets the color to use for the disabled text of the button when the type is fab.
1859
+ */
1860
+ get: function () {
1861
+ return brushToString(this.i.so);
1862
+ },
1863
+ set: function (v) {
1864
+ this.i.so = stringToBrush(v);
1865
+ this._a("fabDisabledTextColor", brushToString(this.i.so));
1866
+ },
1867
+ enumerable: true,
1868
+ configurable: true
1869
+ });
1870
+ Object.defineProperty(IgcButtonComponent.prototype, "fabDisabledElevation", {
1871
+ /**
1872
+ * Gets or sets the disabled elevation to use for the button when the type is fab.
1873
+ */
1874
+ get: function () {
1875
+ return this.i.d7;
1876
+ },
1877
+ set: function (v) {
1878
+ this.i.d7 = +v;
1879
+ this._a("fabDisabledElevation", this.i.d7);
1880
+ },
1881
+ enumerable: true,
1882
+ configurable: true
1883
+ });
1884
+ Object.defineProperty(IgcButtonComponent.prototype, "fabHoverBackgroundColor", {
1885
+ /**
1886
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
1887
+ */
1888
+ get: function () {
1889
+ return brushToString(this.i.sr);
1890
+ },
1891
+ set: function (v) {
1892
+ this.i.sr = stringToBrush(v);
1893
+ this._a("fabHoverBackgroundColor", brushToString(this.i.sr));
1894
+ },
1895
+ enumerable: true,
1896
+ configurable: true
1897
+ });
1898
+ Object.defineProperty(IgcButtonComponent.prototype, "fabBorderColor", {
1899
+ /**
1900
+ * Gets or sets the border color to use for the button when the type is floating action button.
1901
+ */
1902
+ get: function () {
1903
+ return brushToString(this.i.sl);
1904
+ },
1905
+ set: function (v) {
1906
+ this.i.sl = stringToBrush(v);
1907
+ this._a("fabBorderColor", brushToString(this.i.sl));
1908
+ },
1909
+ enumerable: true,
1910
+ configurable: true
1911
+ });
1912
+ Object.defineProperty(IgcButtonComponent.prototype, "fabRestingElevation", {
1913
+ /**
1914
+ * Gets or sets the elevation to use for the button when the type is floating action button.
1915
+ */
1916
+ get: function () {
1917
+ return this.i.ea;
1918
+ },
1919
+ set: function (v) {
1920
+ this.i.ea = +v;
1921
+ this._a("fabRestingElevation", this.i.ea);
1922
+ },
1923
+ enumerable: true,
1924
+ configurable: true
1925
+ });
1926
+ Object.defineProperty(IgcButtonComponent.prototype, "fabHoverElevation", {
1927
+ /**
1928
+ * Gets or sets the hover elevation to use for the button when the type is floating action button.
1929
+ */
1930
+ get: function () {
1931
+ return this.i.d9;
1932
+ },
1933
+ set: function (v) {
1934
+ this.i.d9 = +v;
1935
+ this._a("fabHoverElevation", this.i.d9);
1936
+ },
1937
+ enumerable: true,
1938
+ configurable: true
1939
+ });
1940
+ Object.defineProperty(IgcButtonComponent.prototype, "fabFocusElevation", {
1941
+ /**
1942
+ * Gets or sets the focus elevation to use for the button when the type is floating action button.
1943
+ */
1944
+ get: function () {
1945
+ return this.i.d8;
1946
+ },
1947
+ set: function (v) {
1948
+ this.i.d8 = +v;
1949
+ this._a("fabFocusElevation", this.i.d8);
1950
+ },
1951
+ enumerable: true,
1952
+ configurable: true
1953
+ });
1954
+ Object.defineProperty(IgcButtonComponent.prototype, "fabBorderWidth", {
1955
+ /**
1956
+ * Gets or sets the width to use for the button border when the type is floating action button.
1957
+ */
1958
+ get: function () {
1959
+ return this.i.bd;
1960
+ },
1961
+ set: function (v) {
1962
+ this.i.bd = +v;
1963
+ this._a("fabBorderWidth", this.i.bd);
1964
+ },
1965
+ enumerable: true,
1966
+ configurable: true
1967
+ });
1968
+ Object.defineProperty(IgcButtonComponent.prototype, "fabCornerRadiusBottomRight", {
1969
+ get: function () {
1970
+ return this.i.ku ? this.i.ku.b : NaN;
1971
+ },
1972
+ set: function (v) {
1973
+ this.ensureFabCornerRadius();
1974
+ this.i.ku.b = +v;
1975
+ this._a("fabCornerRadiusBottomRight", this.i.ku.b);
1976
+ this.i.ku = this.i.ku;
1977
+ },
1978
+ enumerable: true,
1979
+ configurable: true
1980
+ });
1981
+ Object.defineProperty(IgcButtonComponent.prototype, "fabCornerRadiusBottomLeft", {
1982
+ get: function () {
1983
+ return this.i.ku ? this.i.ku.a : NaN;
1984
+ },
1985
+ set: function (v) {
1986
+ this.ensureFabCornerRadius();
1987
+ this.i.ku.a = +v;
1988
+ this._a("fabCornerRadiusBottomLeft", this.i.ku.a);
1989
+ this.i.ku = this.i.ku;
1990
+ },
1991
+ enumerable: true,
1992
+ configurable: true
1993
+ });
1994
+ Object.defineProperty(IgcButtonComponent.prototype, "fabCornerRadiusTopLeft", {
1995
+ get: function () {
1996
+ return this.i.ku ? this.i.ku.c : NaN;
1997
+ },
1998
+ set: function (v) {
1999
+ this.ensureFabCornerRadius();
2000
+ this.i.ku.c = +v;
2001
+ this._a("fabCornerRadiusTopLeft", this.i.ku.c);
2002
+ this.i.ku = this.i.ku;
2003
+ },
2004
+ enumerable: true,
2005
+ configurable: true
2006
+ });
2007
+ Object.defineProperty(IgcButtonComponent.prototype, "fabCornerRadiusTopRight", {
2008
+ get: function () {
2009
+ return this.i.ku ? this.i.ku.d : NaN;
2010
+ },
2011
+ set: function (v) {
2012
+ this.ensureFabCornerRadius();
2013
+ this.i.ku.d = +v;
2014
+ this._a("fabCornerRadiusTopRight", this.i.ku.d);
2015
+ this.i.ku = this.i.ku;
2016
+ },
2017
+ enumerable: true,
2018
+ configurable: true
2019
+ });
2020
+ IgcButtonComponent.prototype.ensureFabCornerRadius = function () {
2021
+ if (this.i.ku) {
2022
+ return;
2023
+ }
2024
+ this.i.ku = new CornerRadius(2);
2025
+ };
2026
+ Object.defineProperty(IgcButtonComponent.prototype, "fabRippleColor", {
2027
+ /**
2028
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
2029
+ */
2030
+ get: function () {
2031
+ return brushToString(this.i.st);
2032
+ },
2033
+ set: function (v) {
2034
+ this.i.st = stringToBrush(v);
2035
+ this._a("fabRippleColor", brushToString(this.i.st));
2036
+ },
2037
+ enumerable: true,
2038
+ configurable: true
2039
+ });
2040
+ Object.defineProperty(IgcButtonComponent.prototype, "fabTextColor", {
2041
+ /**
2042
+ * Gets or sets the color to use for the text of the button when type is floating action button.
2043
+ */
2044
+ get: function () {
2045
+ return brushToString(this.i.su);
2046
+ },
2047
+ set: function (v) {
2048
+ this.i.su = stringToBrush(v);
2049
+ this._a("fabTextColor", brushToString(this.i.su));
2050
+ },
2051
+ enumerable: true,
2052
+ configurable: true
2053
+ });
2054
+ Object.defineProperty(IgcButtonComponent.prototype, "fabHoverTextColor", {
2055
+ /**
2056
+ * Gets or sets the color to use for the hovered text of the button when type is floating action button.
2057
+ */
2058
+ get: function () {
2059
+ return brushToString(this.i.ss);
2060
+ },
2061
+ set: function (v) {
2062
+ this.i.ss = stringToBrush(v);
2063
+ this._a("fabHoverTextColor", brushToString(this.i.ss));
2064
+ },
2065
+ enumerable: true,
2066
+ configurable: true
2067
+ });
2068
+ Object.defineProperty(IgcButtonComponent.prototype, "fabFocusBackgroundColor", {
2069
+ /**
2070
+ * Gets or sets the color to use for the backround the button when it is focused and fab.
2071
+ */
2072
+ get: function () {
2073
+ return brushToString(this.i.sp);
2074
+ },
2075
+ set: function (v) {
2076
+ this.i.sp = stringToBrush(v);
2077
+ this._a("fabFocusBackgroundColor", brushToString(this.i.sp));
2078
+ },
2079
+ enumerable: true,
2080
+ configurable: true
2081
+ });
2082
+ Object.defineProperty(IgcButtonComponent.prototype, "fabFocusTextColor", {
2083
+ /**
2084
+ * Gets or sets the color to use for the text the button when it is focused and fab.
2085
+ */
2086
+ get: function () {
2087
+ return brushToString(this.i.sq);
2088
+ },
2089
+ set: function (v) {
2090
+ this.i.sq = stringToBrush(v);
2091
+ this._a("fabFocusTextColor", brushToString(this.i.sq));
2092
+ },
2093
+ enumerable: true,
2094
+ configurable: true
2095
+ });
2096
+ Object.defineProperty(IgcButtonComponent.prototype, "iconBackgroundColor", {
2097
+ /**
2098
+ * Gets or sets the color to use for the background of the button when the type is icon.
2099
+ */
2100
+ get: function () {
2101
+ return brushToString(this.i.ta);
2102
+ },
2103
+ set: function (v) {
2104
+ this.i.ta = stringToBrush(v);
2105
+ this._a("iconBackgroundColor", brushToString(this.i.ta));
2106
+ },
2107
+ enumerable: true,
2108
+ configurable: true
2109
+ });
2110
+ Object.defineProperty(IgcButtonComponent.prototype, "iconDisabledBackgroundColor", {
2111
+ /**
2112
+ * Gets or sets the color to use for the disabled background of the button when the type is icon.
2113
+ */
2114
+ get: function () {
2115
+ return brushToString(this.i.tc);
2116
+ },
2117
+ set: function (v) {
2118
+ this.i.tc = stringToBrush(v);
2119
+ this._a("iconDisabledBackgroundColor", brushToString(this.i.tc));
2120
+ },
2121
+ enumerable: true,
2122
+ configurable: true
2123
+ });
2124
+ Object.defineProperty(IgcButtonComponent.prototype, "iconDisabledBorderColor", {
2125
+ /**
2126
+ * Gets or sets the color to use for the disabled border of the button when the type is icon.
2127
+ */
2128
+ get: function () {
2129
+ return brushToString(this.i.td);
2130
+ },
2131
+ set: function (v) {
2132
+ this.i.td = stringToBrush(v);
2133
+ this._a("iconDisabledBorderColor", brushToString(this.i.td));
2134
+ },
2135
+ enumerable: true,
2136
+ configurable: true
2137
+ });
2138
+ Object.defineProperty(IgcButtonComponent.prototype, "iconDisabledTextColor", {
2139
+ /**
2140
+ * Gets or sets the color to use for the disabled text of the button when the type is icon.
2141
+ */
2142
+ get: function () {
2143
+ return brushToString(this.i.te);
2144
+ },
2145
+ set: function (v) {
2146
+ this.i.te = stringToBrush(v);
2147
+ this._a("iconDisabledTextColor", brushToString(this.i.te));
2148
+ },
2149
+ enumerable: true,
2150
+ configurable: true
2151
+ });
2152
+ Object.defineProperty(IgcButtonComponent.prototype, "iconDisabledElevation", {
2153
+ /**
2154
+ * Gets or sets the disabled elevation to use for the button when the type is icon.
2155
+ */
2156
+ get: function () {
2157
+ return this.i.eh;
2158
+ },
2159
+ set: function (v) {
2160
+ this.i.eh = +v;
2161
+ this._a("iconDisabledElevation", this.i.eh);
2162
+ },
2163
+ enumerable: true,
2164
+ configurable: true
2165
+ });
2166
+ Object.defineProperty(IgcButtonComponent.prototype, "iconHoverBackgroundColor", {
2167
+ /**
2168
+ * Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
2169
+ */
2170
+ get: function () {
2171
+ return brushToString(this.i.th);
2172
+ },
2173
+ set: function (v) {
2174
+ this.i.th = stringToBrush(v);
2175
+ this._a("iconHoverBackgroundColor", brushToString(this.i.th));
2176
+ },
2177
+ enumerable: true,
2178
+ configurable: true
2179
+ });
2180
+ Object.defineProperty(IgcButtonComponent.prototype, "iconBorderColor", {
2181
+ /**
2182
+ * Gets or sets the border color to use for the button when the type is icon.
2183
+ */
2184
+ get: function () {
2185
+ return brushToString(this.i.tb);
2186
+ },
2187
+ set: function (v) {
2188
+ this.i.tb = stringToBrush(v);
2189
+ this._a("iconBorderColor", brushToString(this.i.tb));
2190
+ },
2191
+ enumerable: true,
2192
+ configurable: true
2193
+ });
2194
+ Object.defineProperty(IgcButtonComponent.prototype, "iconRestingElevation", {
2195
+ /**
2196
+ * Gets or sets the elevation to use for the button when the type is icon.
2197
+ */
2198
+ get: function () {
2199
+ return this.i.ek;
2200
+ },
2201
+ set: function (v) {
2202
+ this.i.ek = +v;
2203
+ this._a("iconRestingElevation", this.i.ek);
2204
+ },
2205
+ enumerable: true,
2206
+ configurable: true
2207
+ });
2208
+ Object.defineProperty(IgcButtonComponent.prototype, "iconHoverElevation", {
2209
+ /**
2210
+ * Gets or sets the hover elevation to use for the button when the type is icon.
2211
+ */
2212
+ get: function () {
2213
+ return this.i.ej;
2214
+ },
2215
+ set: function (v) {
2216
+ this.i.ej = +v;
2217
+ this._a("iconHoverElevation", this.i.ej);
2218
+ },
2219
+ enumerable: true,
2220
+ configurable: true
2221
+ });
2222
+ Object.defineProperty(IgcButtonComponent.prototype, "iconFocusElevation", {
2223
+ /**
2224
+ * Gets or sets the focus elevation to use for the button when the type is icon.
2225
+ */
2226
+ get: function () {
2227
+ return this.i.ei;
2228
+ },
2229
+ set: function (v) {
2230
+ this.i.ei = +v;
2231
+ this._a("iconFocusElevation", this.i.ei);
2232
+ },
2233
+ enumerable: true,
2234
+ configurable: true
2235
+ });
2236
+ Object.defineProperty(IgcButtonComponent.prototype, "iconBorderWidth", {
2237
+ /**
2238
+ * Gets or sets the width to use for the button border when the type is icon.
2239
+ */
2240
+ get: function () {
2241
+ return this.i.bf;
2242
+ },
2243
+ set: function (v) {
2244
+ this.i.bf = +v;
2245
+ this._a("iconBorderWidth", this.i.bf);
2246
+ },
2247
+ enumerable: true,
2248
+ configurable: true
2249
+ });
2250
+ Object.defineProperty(IgcButtonComponent.prototype, "iconCornerRadiusBottomRight", {
2251
+ get: function () {
2252
+ return this.i.kw ? this.i.kw.b : NaN;
2253
+ },
2254
+ set: function (v) {
2255
+ this.ensureIconCornerRadius();
2256
+ this.i.kw.b = +v;
2257
+ this._a("iconCornerRadiusBottomRight", this.i.kw.b);
2258
+ this.i.kw = this.i.kw;
2259
+ },
2260
+ enumerable: true,
2261
+ configurable: true
2262
+ });
2263
+ Object.defineProperty(IgcButtonComponent.prototype, "iconCornerRadiusBottomLeft", {
2264
+ get: function () {
2265
+ return this.i.kw ? this.i.kw.a : NaN;
2266
+ },
2267
+ set: function (v) {
2268
+ this.ensureIconCornerRadius();
2269
+ this.i.kw.a = +v;
2270
+ this._a("iconCornerRadiusBottomLeft", this.i.kw.a);
2271
+ this.i.kw = this.i.kw;
2272
+ },
2273
+ enumerable: true,
2274
+ configurable: true
2275
+ });
2276
+ Object.defineProperty(IgcButtonComponent.prototype, "iconCornerRadiusTopLeft", {
2277
+ get: function () {
2278
+ return this.i.kw ? this.i.kw.c : NaN;
2279
+ },
2280
+ set: function (v) {
2281
+ this.ensureIconCornerRadius();
2282
+ this.i.kw.c = +v;
2283
+ this._a("iconCornerRadiusTopLeft", this.i.kw.c);
2284
+ this.i.kw = this.i.kw;
2285
+ },
2286
+ enumerable: true,
2287
+ configurable: true
2288
+ });
2289
+ Object.defineProperty(IgcButtonComponent.prototype, "iconCornerRadiusTopRight", {
2290
+ get: function () {
2291
+ return this.i.kw ? this.i.kw.d : NaN;
2292
+ },
2293
+ set: function (v) {
2294
+ this.ensureIconCornerRadius();
2295
+ this.i.kw.d = +v;
2296
+ this._a("iconCornerRadiusTopRight", this.i.kw.d);
2297
+ this.i.kw = this.i.kw;
2298
+ },
2299
+ enumerable: true,
2300
+ configurable: true
2301
+ });
2302
+ IgcButtonComponent.prototype.ensureIconCornerRadius = function () {
2303
+ if (this.i.kw) {
2304
+ return;
2305
+ }
2306
+ this.i.kw = new CornerRadius(2);
2307
+ };
2308
+ Object.defineProperty(IgcButtonComponent.prototype, "iconRippleColor", {
2309
+ /**
2310
+ * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
2311
+ */
2312
+ get: function () {
2313
+ return brushToString(this.i.tj);
2314
+ },
2315
+ set: function (v) {
2316
+ this.i.tj = stringToBrush(v);
2317
+ this._a("iconRippleColor", brushToString(this.i.tj));
2318
+ },
2319
+ enumerable: true,
2320
+ configurable: true
2321
+ });
2322
+ Object.defineProperty(IgcButtonComponent.prototype, "iconTextColor", {
2323
+ /**
2324
+ * Gets or sets the color to use for the text of the button when type is icon.
2325
+ */
2326
+ get: function () {
2327
+ return brushToString(this.i.tk);
2328
+ },
2329
+ set: function (v) {
2330
+ this.i.tk = stringToBrush(v);
2331
+ this._a("iconTextColor", brushToString(this.i.tk));
2332
+ },
2333
+ enumerable: true,
2334
+ configurable: true
2335
+ });
2336
+ Object.defineProperty(IgcButtonComponent.prototype, "iconHoverTextColor", {
2337
+ /**
2338
+ * Gets or sets the color to use for the hovered text of the button when type is icon.
2339
+ */
2340
+ get: function () {
2341
+ return brushToString(this.i.ti);
2342
+ },
2343
+ set: function (v) {
2344
+ this.i.ti = stringToBrush(v);
2345
+ this._a("iconHoverTextColor", brushToString(this.i.ti));
2346
+ },
2347
+ enumerable: true,
2348
+ configurable: true
2349
+ });
2350
+ Object.defineProperty(IgcButtonComponent.prototype, "iconFocusBackgroundColor", {
2351
+ /**
2352
+ * Gets or sets the color to use for the backround the button when it is focused and icon.
2353
+ */
2354
+ get: function () {
2355
+ return brushToString(this.i.tf);
2356
+ },
2357
+ set: function (v) {
2358
+ this.i.tf = stringToBrush(v);
2359
+ this._a("iconFocusBackgroundColor", brushToString(this.i.tf));
2360
+ },
2361
+ enumerable: true,
2362
+ configurable: true
2363
+ });
2364
+ Object.defineProperty(IgcButtonComponent.prototype, "iconFocusTextColor", {
2365
+ /**
2366
+ * Gets or sets the color to use for the text the button when it is focused and icon.
2367
+ */
2368
+ get: function () {
2369
+ return brushToString(this.i.tg);
2370
+ },
2371
+ set: function (v) {
2372
+ this.i.tg = stringToBrush(v);
2373
+ this._a("iconFocusTextColor", brushToString(this.i.tg));
2374
+ },
2375
+ enumerable: true,
2376
+ configurable: true
2377
+ });
2378
+ Object.defineProperty(IgcButtonComponent.prototype, "inputId", {
2379
+ /**
2380
+ * Gets or sets the id to use for the internal native checkbox.
2381
+ */
2382
+ get: function () {
2383
+ return this.i.h8;
2384
+ },
2385
+ set: function (v) {
2386
+ this.i.h8 = v;
2387
+ },
2388
+ enumerable: true,
2389
+ configurable: true
2390
+ });
2391
+ Object.defineProperty(IgcButtonComponent.prototype, "id", {
2392
+ /**
2393
+ * Gets or sets the id to use for the checkbox.
2394
+ */
2395
+ get: function () {
2396
+ return this.i.h6;
2397
+ },
2398
+ set: function (v) {
2399
+ this.i.h6 = v;
2400
+ },
2401
+ enumerable: true,
2402
+ configurable: true
2403
+ });
2404
+ Object.defineProperty(IgcButtonComponent.prototype, "display", {
2405
+ /**
2406
+ * Gets or sets the id to use for the checkbox.
2407
+ */
2408
+ get: function () {
2409
+ return this.i.gc;
2410
+ },
2411
+ set: function (v) {
2412
+ this.i.gc = v;
2413
+ },
2414
+ enumerable: true,
2415
+ configurable: true
2416
+ });
2417
+ Object.defineProperty(IgcButtonComponent.prototype, "flexDirection", {
2418
+ /**
2419
+ * Gets or sets the id to use for the checkbox.
2420
+ */
2421
+ get: function () {
2422
+ return this.i.hf;
2423
+ },
2424
+ set: function (v) {
2425
+ this.i.hf = v;
2426
+ },
2427
+ enumerable: true,
2428
+ configurable: true
2429
+ });
2430
+ Object.defineProperty(IgcButtonComponent.prototype, "flexGrow", {
2431
+ /**
2432
+ * Gets or sets the flex-grow setting for the button.
2433
+ */
2434
+ get: function () {
2435
+ return this.i.hh;
2436
+ },
2437
+ set: function (v) {
2438
+ this.i.hh = v;
2439
+ },
2440
+ enumerable: true,
2441
+ configurable: true
2442
+ });
2443
+ Object.defineProperty(IgcButtonComponent.prototype, "alignItems", {
2444
+ /**
2445
+ * Gets or sets the id to use for the checkbox.
2446
+ */
2447
+ get: function () {
2448
+ return this.i.fw;
2449
+ },
2450
+ set: function (v) {
2451
+ this.i.fw = v;
2452
+ },
2453
+ enumerable: true,
2454
+ configurable: true
2455
+ });
2456
+ Object.defineProperty(IgcButtonComponent.prototype, "value", {
2457
+ /**
2458
+ * Gets or sets value to use for the checkbox.
2459
+ */
2460
+ get: function () {
2461
+ return this.i.e0;
2462
+ },
2463
+ set: function (v) {
2464
+ this.i.e0 = v;
2465
+ },
2466
+ enumerable: true,
2467
+ configurable: true
2468
+ });
2469
+ Object.defineProperty(IgcButtonComponent.prototype, "name", {
2470
+ /**
2471
+ * Gets or sets name to use for the button.
2472
+ */
2473
+ get: function () {
2474
+ return this.i.ih;
2475
+ },
2476
+ set: function (v) {
2477
+ this.i.ih = v;
2478
+ },
2479
+ enumerable: true,
2480
+ configurable: true
2481
+ });
2482
+ Object.defineProperty(IgcButtonComponent.prototype, "tabIndex", {
2483
+ /**
2484
+ * Gets or sets TabIndex to use for the checkbox.
2485
+ */
2486
+ get: function () {
2487
+ return this.i.eu;
2488
+ },
2489
+ set: function (v) {
2490
+ this.i.eu = +v;
2491
+ this._a("tabIndex", this.i.eu);
2492
+ },
2493
+ enumerable: true,
2494
+ configurable: true
2495
+ });
2496
+ Object.defineProperty(IgcButtonComponent.prototype, "ariaLabel", {
2497
+ /**
2498
+ * Gets or sets the value of the aria-label attribute.
2499
+ */
2500
+ get: function () {
2501
+ return this.i.fy;
2502
+ },
2503
+ set: function (v) {
2504
+ this.i.fy = v;
2505
+ },
2506
+ enumerable: true,
2507
+ configurable: true
2508
+ });
2509
+ Object.defineProperty(IgcButtonComponent.prototype, "focused", {
2510
+ /**
2511
+ * Gets or sets if the checkbox is Focused.
2512
+ */
2513
+ get: function () {
2514
+ return this.i.focused;
2515
+ },
2516
+ set: function (v) {
2517
+ this.i.focused = ensureBool(v);
2518
+ this._a("focused", this.i.focused);
2519
+ },
2520
+ enumerable: true,
2521
+ configurable: true
2522
+ });
2523
+ Object.defineProperty(IgcButtonComponent.prototype, "isFocusStyleEnabled", {
2524
+ /**
2525
+ * Gets or sets if the button show use styling to show focus.
2526
+ */
2527
+ get: function () {
2528
+ return this.i.ak;
2529
+ },
2530
+ set: function (v) {
2531
+ this.i.ak = ensureBool(v);
2532
+ this._a("isFocusStyleEnabled", this.i.ak);
2533
+ },
2534
+ enumerable: true,
2535
+ configurable: true
2536
+ });
2537
+ Object.defineProperty(IgcButtonComponent.prototype, "disableRipple", {
2538
+ /**
2539
+ * Gets or sets whether to disable the ripple effect for the button.
2540
+ */
2541
+ get: function () {
2542
+ return this.i.af;
2543
+ },
2544
+ set: function (v) {
2545
+ this.i.af = ensureBool(v);
2546
+ this._a("disableRipple", this.i.af);
2547
+ },
2548
+ enumerable: true,
2549
+ configurable: true
2550
+ });
2551
+ Object.defineProperty(IgcButtonComponent.prototype, "actualDisableRipple", {
2552
+ /**
2553
+ * Gets whether to actually disable the ripple effect for the button.
2554
+ */
2555
+ get: function () {
2556
+ return this.i.ae;
2557
+ },
2558
+ set: function (v) {
2559
+ this.i.ae = ensureBool(v);
2560
+ this._a("actualDisableRipple", this.i.ae);
2561
+ },
2562
+ enumerable: true,
2563
+ configurable: true
2564
+ });
2565
+ Object.defineProperty(IgcButtonComponent.prototype, "isHover", {
2566
+ /**
2567
+ * Gets or sets whether the checkbox is checked.
2568
+ */
2569
+ get: function () {
2570
+ return this.i.al;
2571
+ },
2572
+ set: function (v) {
2573
+ this.i.al = ensureBool(v);
2574
+ this._a("isHover", this.i.al);
2575
+ },
2576
+ enumerable: true,
2577
+ configurable: true
2578
+ });
2579
+ Object.defineProperty(IgcButtonComponent.prototype, "disabled", {
2580
+ /**
2581
+ * Gets or sets whether the checkbox is disabled.
2582
+ */
2583
+ get: function () {
2584
+ return this.i.disabled;
2585
+ },
2586
+ set: function (v) {
2587
+ this.i.disabled = ensureBool(v);
2588
+ this._a("disabled", this.i.disabled);
2589
+ },
2590
+ enumerable: true,
2591
+ configurable: true
2592
+ });
2593
+ Object.defineProperty(IgcButtonComponent.prototype, "disableTransitions", {
2594
+ /**
2595
+ * Gets or sets whether the checkbox transitions are disabled.
2596
+ */
2597
+ get: function () {
2598
+ return this.i.ag;
2599
+ },
2600
+ set: function (v) {
2601
+ this.i.ag = ensureBool(v);
2602
+ this._a("disableTransitions", this.i.ag);
2603
+ },
2604
+ enumerable: true,
2605
+ configurable: true
2606
+ });
2607
+ IgcButtonComponent.prototype.findByName = function (name) {
2608
+ return null;
2609
+ };
2610
+ Object.defineProperty(IgcButtonComponent.prototype, "hasUserValues", {
2611
+ get: function () {
2612
+ return this._hasUserValues;
2613
+ },
2614
+ enumerable: true,
2615
+ configurable: true
2616
+ });
2617
+ IgcButtonComponent.prototype.__m = function (propertyName) {
2618
+ if (!this._inStyling) {
2619
+ this._hasUserValues.add(propertyName);
2620
+ }
2621
+ };
2622
+ IgcButtonComponent.prototype._styling = function (container, component, parent) {
2623
+ if (this._inStyling) {
2624
+ return;
2625
+ }
2626
+ this._inStyling = true;
2627
+ this._stylingContainer = container;
2628
+ this._stylingParent = component;
2629
+ var genericPrefix = "";
2630
+ var typeName = this.i.$type.name;
2631
+ if (typeName.indexOf("Xam") === 0) {
2632
+ typeName = typeName.substring(3);
2633
+ }
2634
+ genericPrefix = toSpinal("ButtonComponent");
2635
+ var additionalPrefixes = [];
2636
+ var prefix = toSpinal(typeName);
2637
+ additionalPrefixes.push(prefix + "-");
2638
+ var b = this.i.$type.baseType;
2639
+ while (b && b.name != "Object" &&
2640
+ b.name != "Base" &&
2641
+ b.name != "Control" &&
2642
+ b.Name != "DependencyObject" &&
2643
+ b.Name != "FrameworkElement") {
2644
+ typeName = b.name;
2645
+ if (typeName.indexOf("Xam") === 0) {
2646
+ typeName = typeName.substring(3);
2647
+ }
2648
+ var basePrefix = toSpinal(typeName);
2649
+ additionalPrefixes.push(basePrefix + "-");
2650
+ b = b.baseType;
2651
+ }
2652
+ if (parent) {
2653
+ var parentTypeName = parent.i.$type.name;
2654
+ if (parentTypeName.indexOf("Xam") === 0) {
2655
+ parentTypeName = parentTypeName.substring(3);
2656
+ }
2657
+ var parentPrefix = toSpinal(parentTypeName);
2658
+ additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
2659
+ additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
2660
+ }
2661
+ initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
2662
+ if (this._otherStyling) {
2663
+ this._otherStyling(container, component, parent);
2664
+ }
2665
+ this._inStyling = false;
2666
+ };
2667
+ IgcButtonComponent.prototype.onDetachedFromUI = function () {
2668
+ this.i.onDetachedFromUI();
2669
+ };
2670
+ IgcButtonComponent.prototype.onAttachedToUI = function () {
2671
+ this.i.onAttachedToUI();
2672
+ };
2673
+ /**
2674
+ * Exports visual information about the current state of the grid.
2675
+
2676
+ */
2677
+ IgcButtonComponent.prototype.exportVisualModel = function () {
2678
+ var iv = this.i.ey();
2679
+ return (iv);
2680
+ };
2681
+ /**
2682
+ * Returns a serialized copy of the exported visual model
2683
+
2684
+ */
2685
+ IgcButtonComponent.prototype.exportSerializedVisualModel = function () {
2686
+ var iv = this.i.gg();
2687
+ return (iv);
2688
+ };
2689
+ Object.defineProperty(IgcButtonComponent.prototype, "clicked", {
2690
+ get: function () {
2691
+ return this._clicked;
2692
+ },
2693
+ set: function (ev) {
2694
+ var _this = this;
2695
+ if (this._clicked_wrapped !== null) {
2696
+ this.i.clicked = delegateRemove(this.i.clicked, this._clicked_wrapped);
2697
+ this._clicked_wrapped = null;
2698
+ this._clicked = null;
2699
+ }
2700
+ this._clicked = ev;
2701
+ this._clicked_wrapped = function (o, e) {
2702
+ var outerArgs = new IgcButtonClickEventArgs();
2703
+ outerArgs._provideImplementation(e);
2704
+ if (_this.beforeClicked) {
2705
+ _this.beforeClicked(_this, outerArgs);
2706
+ }
2707
+ if (_this._clicked) {
2708
+ _this._clicked(_this, outerArgs);
2709
+ }
2710
+ };
2711
+ this.i.clicked = delegateCombine(this.i.clicked, this._clicked_wrapped);
2712
+ },
2713
+ enumerable: true,
2714
+ configurable: true
2715
+ });
2716
+ IgcButtonComponent._observedAttributesIgcButtonComponent = null;
2717
+ IgcButtonComponent.htmlTagName = "igc-button";
2718
+ IgcButtonComponent._isElementRegistered = false;
2719
+ return IgcButtonComponent;
2720
+ }(IgcHTMLElement));
2721
+ export { IgcButtonComponent };
2722
+ //# sourceMappingURL=igc-button-component.js.map