igniteui-webcomponents-inputs 7.1.1-beta.0 → 7.1.1-beta.2

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 (552) hide show
  1. package/fesm2022/igniteui-webcomponents-inputs.mjs +40140 -0
  2. package/igniteui-webcomponents-inputs.d.ts +9883 -1
  3. package/package.json +13 -9
  4. package/bundles/igniteui-webcomponents-inputs.umd.js +0 -47852
  5. package/bundles/igniteui-webcomponents-inputs.umd.min.js +0 -7
  6. package/esm2015/igniteui-webcomponents-inputs.js +0 -1
  7. package/esm2015/lib/ButtonClickEventArgs.js +0 -14
  8. package/esm2015/lib/ButtonDisplayStyle.js +0 -11
  9. package/esm2015/lib/ButtonGroupDisplayStyle.js +0 -11
  10. package/esm2015/lib/ButtonGroupOrientation.js +0 -16
  11. package/esm2015/lib/ButtonGroupSelectionChangedEventArgs.js +0 -14
  12. package/esm2015/lib/ButtonGroupView.js +0 -7
  13. package/esm2015/lib/ButtonGroupView_combined.js +0 -1343
  14. package/esm2015/lib/ButtonGroupVisualModelExport.js +0 -62
  15. package/esm2015/lib/ButtonView.js +0 -7
  16. package/esm2015/lib/ButtonView_combined.js +0 -3668
  17. package/esm2015/lib/ButtonVisualModelExport.js +0 -108
  18. package/esm2015/lib/CalendarView.js +0 -7
  19. package/esm2015/lib/CalendarView_combined.js +0 -2803
  20. package/esm2015/lib/CalendarVisualModelExport.js +0 -98
  21. package/esm2015/lib/CheckboxChangeEventArgs.js +0 -31
  22. package/esm2015/lib/CheckboxLabelPosition.js +0 -11
  23. package/esm2015/lib/CheckboxListVisualModelExport.js +0 -41
  24. package/esm2015/lib/CheckboxView.js +0 -7
  25. package/esm2015/lib/CheckboxView_combined.js +0 -1123
  26. package/esm2015/lib/CheckboxVisualModelExport.js +0 -68
  27. package/esm2015/lib/ColorEditor.js +0 -7
  28. package/esm2015/lib/ColorEditorBridge.js +0 -7
  29. package/esm2015/lib/ColorEditorGotFocusEventArgs.js +0 -14
  30. package/esm2015/lib/ColorEditorLostFocusEventArgs.js +0 -14
  31. package/esm2015/lib/ColorEditorPanel.js +0 -7
  32. package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +0 -14
  33. package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -31
  34. package/esm2015/lib/ColorEditorPanelView.js +0 -7
  35. package/esm2015/lib/ColorEditorView.js +0 -7
  36. package/esm2015/lib/ColorEditorVisualModelExport.js +0 -38
  37. package/esm2015/lib/DateFormats.js +0 -25
  38. package/esm2015/lib/DatePickerView.js +0 -7
  39. package/esm2015/lib/DatePickerView_combined.js +0 -1707
  40. package/esm2015/lib/DatePickerVisualModelExport.js +0 -68
  41. package/esm2015/lib/DateTimeValueFormatter.js +0 -106
  42. package/esm2015/lib/DayInfo.js +0 -21
  43. package/esm2015/lib/DayOfWeek.js +0 -45
  44. package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +0 -111
  45. package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +0 -206
  46. package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -168
  47. package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +0 -191
  48. package/esm2015/lib/DefaultMultiTrackShadeVisual.js +0 -170
  49. package/esm2015/lib/ElevationHelper.js +0 -65
  50. package/esm2015/lib/FirstWeek.js +0 -29
  51. package/esm2015/lib/GotFocusEventArgs.js +0 -14
  52. package/esm2015/lib/IMultiSliderTrackBarVisual.js +0 -11
  53. package/esm2015/lib/IMultiSliderTrackRangeVisual.js +0 -11
  54. package/esm2015/lib/IMultiSliderTrackShadeVisual.js +0 -11
  55. package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
  56. package/esm2015/lib/IMultiSliderTrackThumbVisual.js +0 -11
  57. package/esm2015/lib/ISliderTrackOwner.js +0 -11
  58. package/esm2015/lib/IconClickedEventArgs.js +0 -24
  59. package/esm2015/lib/IconView.js +0 -7
  60. package/esm2015/lib/IconViewType.js +0 -11
  61. package/esm2015/lib/IconView_combined.js +0 -1318
  62. package/esm2015/lib/IconVisualModelExport.js +0 -89
  63. package/esm2015/lib/InputChangeEventArgs.js +0 -31
  64. package/esm2015/lib/InputGroupDisplayType.js +0 -18
  65. package/esm2015/lib/InputGroupView.js +0 -7
  66. package/esm2015/lib/InputGroupView_combined.js +0 -5638
  67. package/esm2015/lib/InputGroupVisualModelExport.js +0 -107
  68. package/esm2015/lib/InputShiftType.js +0 -17
  69. package/esm2015/lib/InputView.js +0 -7
  70. package/esm2015/lib/InputVisualModelExport.js +0 -78
  71. package/esm2015/lib/KEYCODES.js +0 -11
  72. package/esm2015/lib/LabelShiftType.js +0 -17
  73. package/esm2015/lib/LabelView.js +0 -7
  74. package/esm2015/lib/LabelVisualModelExport.js +0 -82
  75. package/esm2015/lib/LostFocusEventArgs.js +0 -14
  76. package/esm2015/lib/MaskOptions.js +0 -19
  77. package/esm2015/lib/MaskParsingService.js +0 -211
  78. package/esm2015/lib/MultiSlider.js +0 -7
  79. package/esm2015/lib/MultiSliderBridge.js +0 -163
  80. package/esm2015/lib/MultiSliderCursor.js +0 -11
  81. package/esm2015/lib/MultiSliderHitInfo.js +0 -20
  82. package/esm2015/lib/MultiSliderOrientation.js +0 -17
  83. package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -31
  84. package/esm2015/lib/MultiSliderThumb.js +0 -7
  85. package/esm2015/lib/MultiSliderThumbCollection.js +0 -19
  86. package/esm2015/lib/MultiSliderThumbRangePosition.js +0 -16
  87. package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +0 -19
  88. package/esm2015/lib/MultiSliderThumb_combined.js +0 -293
  89. package/esm2015/lib/MultiSliderTrackShadeOrientation.js +0 -11
  90. package/esm2015/lib/MultiSliderTrackThumbRange.js +0 -7
  91. package/esm2015/lib/MultiSliderView.js +0 -7
  92. package/esm2015/lib/MultiSliderView_combined.js +0 -1779
  93. package/esm2015/lib/MultiSliderVisualArea.js +0 -11
  94. package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +0 -18
  95. package/esm2015/lib/NativeUIXInputsFactory.js +0 -7
  96. package/esm2015/lib/NativeUIXInputsFactory_combined.js +0 -2132
  97. package/esm2015/lib/PrefixShiftType.js +0 -17
  98. package/esm2015/lib/PrefixView.js +0 -7
  99. package/esm2015/lib/PrefixVisualModelExport.js +0 -33
  100. package/esm2015/lib/Replaced.js +0 -19
  101. package/esm2015/lib/RippleView.js +0 -7
  102. package/esm2015/lib/RippleView_combined.js +0 -392
  103. package/esm2015/lib/RippleVisualModelExport.js +0 -36
  104. package/esm2015/lib/SelectedValueChangedEventArgs.js +0 -31
  105. package/esm2015/lib/SuffixShiftType.js +0 -17
  106. package/esm2015/lib/SuffixView.js +0 -7
  107. package/esm2015/lib/SuffixVisualModelExport.js +0 -32
  108. package/esm2015/lib/TextBlockVisualModelExport.js +0 -62
  109. package/esm2015/lib/TextElementsVisualModelExport.js +0 -42
  110. package/esm2015/lib/Theme.js +0 -46
  111. package/esm2015/lib/ThemeResolver.js +0 -190
  112. package/esm2015/lib/XButton.js +0 -7
  113. package/esm2015/lib/XButtonBridge.js +0 -326
  114. package/esm2015/lib/XButtonGroup.js +0 -7
  115. package/esm2015/lib/XButtonGroupBridge.js +0 -185
  116. package/esm2015/lib/XButtonGroupButtonCollection.js +0 -26
  117. package/esm2015/lib/XCalendar.js +0 -7
  118. package/esm2015/lib/XCalendarLocaleEn.js +0 -56
  119. package/esm2015/lib/XCheckbox.js +0 -7
  120. package/esm2015/lib/XCheckboxBridge.js +0 -96
  121. package/esm2015/lib/XComponentBridge.js +0 -51
  122. package/esm2015/lib/XDatePicker.js +0 -7
  123. package/esm2015/lib/XIcon.js +0 -7
  124. package/esm2015/lib/XIconBridge.js +0 -128
  125. package/esm2015/lib/XIconButtonBridge.js +0 -75
  126. package/esm2015/lib/XInput.js +0 -7
  127. package/esm2015/lib/XInputBridge.js +0 -474
  128. package/esm2015/lib/XInputGroup.js +0 -7
  129. package/esm2015/lib/XInputGroupInputCollection.js +0 -7
  130. package/esm2015/lib/XInputGroupItem.js +0 -7
  131. package/esm2015/lib/XLabel.js +0 -7
  132. package/esm2015/lib/XPopupBridge.js +0 -323
  133. package/esm2015/lib/XPrefix.js +0 -7
  134. package/esm2015/lib/XRipple.js +0 -7
  135. package/esm2015/lib/XSuffix.js +0 -7
  136. package/esm2015/lib/igc-button-click-event-args.js +0 -30
  137. package/esm2015/lib/igc-button-group-selection-changed-event-args.js +0 -30
  138. package/esm2015/lib/igc-checkbox-change-event-args.js +0 -43
  139. package/esm2015/lib/igc-color-editor-component.js +0 -550
  140. package/esm2015/lib/igc-color-editor-got-focus-event-args.js +0 -30
  141. package/esm2015/lib/igc-color-editor-lost-focus-event-args.js +0 -30
  142. package/esm2015/lib/igc-color-editor-module.js +0 -19
  143. package/esm2015/lib/igc-color-editor-panel-closed-event-args.js +0 -30
  144. package/esm2015/lib/igc-color-editor-panel-component.js +0 -434
  145. package/esm2015/lib/igc-color-editor-panel-module.js +0 -25
  146. package/esm2015/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -43
  147. package/esm2015/lib/igc-got-focus-event-args.js +0 -30
  148. package/esm2015/lib/igc-input-change-event-args.js +0 -43
  149. package/esm2015/lib/igc-lost-focus-event-args.js +0 -30
  150. package/esm2015/lib/igc-multi-slider-component.js +0 -683
  151. package/esm2015/lib/igc-multi-slider-module.js +0 -17
  152. package/esm2015/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -42
  153. package/esm2015/lib/igc-multi-slider-thumb-collection.js +0 -53
  154. package/esm2015/lib/igc-multi-slider-thumb-component.js +0 -271
  155. package/esm2015/lib/igc-multi-slider-thumb-module.js +0 -16
  156. package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -54
  157. package/esm2015/lib/igc-multi-slider-track-thumb-range.js +0 -103
  158. package/esm2015/lib/igc-multi-slider-y-value-changing-event-args.js +0 -36
  159. package/esm2015/lib/igc-selected-value-changed-event-args.js +0 -42
  160. package/esm2015/lib/igc-x-button-component.js +0 -2398
  161. package/esm2015/lib/igc-x-button-group-button-collection.js +0 -53
  162. package/esm2015/lib/igc-x-button-group-component.js +0 -1023
  163. package/esm2015/lib/igc-x-button-group-module.js +0 -21
  164. package/esm2015/lib/igc-x-button-module.js +0 -21
  165. package/esm2015/lib/igc-x-calendar-component.js +0 -511
  166. package/esm2015/lib/igc-x-calendar-locale-en-module.js +0 -13
  167. package/esm2015/lib/igc-x-calendar-module.js +0 -21
  168. package/esm2015/lib/igc-x-checkbox-component.js +0 -626
  169. package/esm2015/lib/igc-x-checkbox-module.js +0 -21
  170. package/esm2015/lib/igc-x-date-picker-component.js +0 -680
  171. package/esm2015/lib/igc-x-date-picker-module.js +0 -25
  172. package/esm2015/lib/igc-x-icon-component.js +0 -705
  173. package/esm2015/lib/igc-x-icon-module.js +0 -19
  174. package/esm2015/lib/igc-x-input-component.js +0 -603
  175. package/esm2015/lib/igc-x-input-group-component.js +0 -2356
  176. package/esm2015/lib/igc-x-input-group-input-collection.js +0 -53
  177. package/esm2015/lib/igc-x-input-group-item-component.js +0 -198
  178. package/esm2015/lib/igc-x-input-group-module.js +0 -23
  179. package/esm2015/lib/igc-x-input-module.js +0 -19
  180. package/esm2015/lib/igc-x-label-component.js +0 -413
  181. package/esm2015/lib/igc-x-label-module.js +0 -19
  182. package/esm2015/lib/igc-x-prefix-component.js +0 -186
  183. package/esm2015/lib/igc-x-prefix-module.js +0 -19
  184. package/esm2015/lib/igc-x-ripple-component.js +0 -385
  185. package/esm2015/lib/igc-x-ripple-module.js +0 -17
  186. package/esm2015/lib/igc-x-suffix-component.js +0 -186
  187. package/esm2015/public_api.js +0 -169
  188. package/esm5/igniteui-webcomponents-inputs.js +0 -1
  189. package/esm5/lib/ButtonClickEventArgs.js +0 -19
  190. package/esm5/lib/ButtonDisplayStyle.js +0 -11
  191. package/esm5/lib/ButtonGroupDisplayStyle.js +0 -11
  192. package/esm5/lib/ButtonGroupOrientation.js +0 -16
  193. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +0 -19
  194. package/esm5/lib/ButtonGroupView.js +0 -7
  195. package/esm5/lib/ButtonGroupView_combined.js +0 -1713
  196. package/esm5/lib/ButtonGroupVisualModelExport.js +0 -65
  197. package/esm5/lib/ButtonView.js +0 -7
  198. package/esm5/lib/ButtonView_combined.js +0 -4368
  199. package/esm5/lib/ButtonVisualModelExport.js +0 -111
  200. package/esm5/lib/CalendarView.js +0 -7
  201. package/esm5/lib/CalendarView_combined.js +0 -2929
  202. package/esm5/lib/CalendarVisualModelExport.js +0 -101
  203. package/esm5/lib/CheckboxChangeEventArgs.js +0 -42
  204. package/esm5/lib/CheckboxLabelPosition.js +0 -11
  205. package/esm5/lib/CheckboxListVisualModelExport.js +0 -44
  206. package/esm5/lib/CheckboxView.js +0 -7
  207. package/esm5/lib/CheckboxView_combined.js +0 -1327
  208. package/esm5/lib/CheckboxVisualModelExport.js +0 -71
  209. package/esm5/lib/ColorEditor.js +0 -7
  210. package/esm5/lib/ColorEditorBridge.js +0 -7
  211. package/esm5/lib/ColorEditorGotFocusEventArgs.js +0 -19
  212. package/esm5/lib/ColorEditorLostFocusEventArgs.js +0 -19
  213. package/esm5/lib/ColorEditorPanel.js +0 -7
  214. package/esm5/lib/ColorEditorPanelClosedEventArgs.js +0 -19
  215. package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +0 -42
  216. package/esm5/lib/ColorEditorPanelView.js +0 -7
  217. package/esm5/lib/ColorEditorView.js +0 -7
  218. package/esm5/lib/ColorEditorVisualModelExport.js +0 -41
  219. package/esm5/lib/DateFormats.js +0 -25
  220. package/esm5/lib/DatePickerView.js +0 -7
  221. package/esm5/lib/DatePickerView_combined.js +0 -1833
  222. package/esm5/lib/DatePickerVisualModelExport.js +0 -71
  223. package/esm5/lib/DateTimeValueFormatter.js +0 -109
  224. package/esm5/lib/DayInfo.js +0 -24
  225. package/esm5/lib/DayOfWeek.js +0 -45
  226. package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +0 -138
  227. package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +0 -241
  228. package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +0 -211
  229. package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +0 -226
  230. package/esm5/lib/DefaultMultiTrackShadeVisual.js +0 -205
  231. package/esm5/lib/ElevationHelper.js +0 -70
  232. package/esm5/lib/FirstWeek.js +0 -29
  233. package/esm5/lib/GotFocusEventArgs.js +0 -19
  234. package/esm5/lib/IMultiSliderTrackBarVisual.js +0 -11
  235. package/esm5/lib/IMultiSliderTrackRangeVisual.js +0 -11
  236. package/esm5/lib/IMultiSliderTrackShadeVisual.js +0 -11
  237. package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +0 -11
  238. package/esm5/lib/IMultiSliderTrackThumbVisual.js +0 -11
  239. package/esm5/lib/ISliderTrackOwner.js +0 -11
  240. package/esm5/lib/IconClickedEventArgs.js +0 -31
  241. package/esm5/lib/IconView.js +0 -7
  242. package/esm5/lib/IconViewType.js +0 -11
  243. package/esm5/lib/IconView_combined.js +0 -1590
  244. package/esm5/lib/IconVisualModelExport.js +0 -100
  245. package/esm5/lib/InputChangeEventArgs.js +0 -42
  246. package/esm5/lib/InputGroupDisplayType.js +0 -18
  247. package/esm5/lib/InputGroupView.js +0 -7
  248. package/esm5/lib/InputGroupView_combined.js +0 -6792
  249. package/esm5/lib/InputGroupVisualModelExport.js +0 -110
  250. package/esm5/lib/InputShiftType.js +0 -17
  251. package/esm5/lib/InputView.js +0 -7
  252. package/esm5/lib/InputVisualModelExport.js +0 -81
  253. package/esm5/lib/KEYCODES.js +0 -11
  254. package/esm5/lib/LabelShiftType.js +0 -17
  255. package/esm5/lib/LabelView.js +0 -7
  256. package/esm5/lib/LabelVisualModelExport.js +0 -85
  257. package/esm5/lib/LostFocusEventArgs.js +0 -19
  258. package/esm5/lib/MaskOptions.js +0 -22
  259. package/esm5/lib/MaskParsingService.js +0 -266
  260. package/esm5/lib/MultiSlider.js +0 -7
  261. package/esm5/lib/MultiSliderBridge.js +0 -166
  262. package/esm5/lib/MultiSliderCursor.js +0 -11
  263. package/esm5/lib/MultiSliderHitInfo.js +0 -23
  264. package/esm5/lib/MultiSliderOrientation.js +0 -17
  265. package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +0 -42
  266. package/esm5/lib/MultiSliderThumb.js +0 -7
  267. package/esm5/lib/MultiSliderThumbCollection.js +0 -21
  268. package/esm5/lib/MultiSliderThumbRangePosition.js +0 -16
  269. package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +0 -22
  270. package/esm5/lib/MultiSliderThumb_combined.js +0 -350
  271. package/esm5/lib/MultiSliderTrackShadeOrientation.js +0 -11
  272. package/esm5/lib/MultiSliderTrackThumbRange.js +0 -7
  273. package/esm5/lib/MultiSliderView.js +0 -7
  274. package/esm5/lib/MultiSliderView_combined.js +0 -2002
  275. package/esm5/lib/MultiSliderVisualArea.js +0 -11
  276. package/esm5/lib/MultiSliderYValueChangingEventArgs.js +0 -21
  277. package/esm5/lib/NativeUIXInputsFactory.js +0 -7
  278. package/esm5/lib/NativeUIXInputsFactory_combined.js +0 -2327
  279. package/esm5/lib/PrefixShiftType.js +0 -17
  280. package/esm5/lib/PrefixView.js +0 -7
  281. package/esm5/lib/PrefixVisualModelExport.js +0 -36
  282. package/esm5/lib/Replaced.js +0 -22
  283. package/esm5/lib/RippleView.js +0 -7
  284. package/esm5/lib/RippleView_combined.js +0 -489
  285. package/esm5/lib/RippleVisualModelExport.js +0 -39
  286. package/esm5/lib/SelectedValueChangedEventArgs.js +0 -42
  287. package/esm5/lib/SuffixShiftType.js +0 -17
  288. package/esm5/lib/SuffixView.js +0 -7
  289. package/esm5/lib/SuffixVisualModelExport.js +0 -35
  290. package/esm5/lib/TextBlockVisualModelExport.js +0 -65
  291. package/esm5/lib/TextElementsVisualModelExport.js +0 -45
  292. package/esm5/lib/Theme.js +0 -57
  293. package/esm5/lib/ThemeResolver.js +0 -197
  294. package/esm5/lib/XButton.js +0 -7
  295. package/esm5/lib/XButtonBridge.js +0 -329
  296. package/esm5/lib/XButtonGroup.js +0 -7
  297. package/esm5/lib/XButtonGroupBridge.js +0 -188
  298. package/esm5/lib/XButtonGroupButtonCollection.js +0 -29
  299. package/esm5/lib/XCalendar.js +0 -7
  300. package/esm5/lib/XCalendarLocaleEn.js +0 -58
  301. package/esm5/lib/XCheckbox.js +0 -7
  302. package/esm5/lib/XCheckboxBridge.js +0 -99
  303. package/esm5/lib/XComponentBridge.js +0 -58
  304. package/esm5/lib/XDatePicker.js +0 -7
  305. package/esm5/lib/XIcon.js +0 -7
  306. package/esm5/lib/XIconBridge.js +0 -131
  307. package/esm5/lib/XIconButtonBridge.js +0 -78
  308. package/esm5/lib/XInput.js +0 -7
  309. package/esm5/lib/XInputBridge.js +0 -477
  310. package/esm5/lib/XInputGroup.js +0 -7
  311. package/esm5/lib/XInputGroupInputCollection.js +0 -7
  312. package/esm5/lib/XInputGroupItem.js +0 -7
  313. package/esm5/lib/XLabel.js +0 -7
  314. package/esm5/lib/XPopupBridge.js +0 -326
  315. package/esm5/lib/XPrefix.js +0 -7
  316. package/esm5/lib/XRipple.js +0 -7
  317. package/esm5/lib/XSuffix.js +0 -7
  318. package/esm5/lib/igc-button-click-event-args.js +0 -36
  319. package/esm5/lib/igc-button-group-selection-changed-event-args.js +0 -36
  320. package/esm5/lib/igc-checkbox-change-event-args.js +0 -57
  321. package/esm5/lib/igc-color-editor-component.js +0 -663
  322. package/esm5/lib/igc-color-editor-got-focus-event-args.js +0 -36
  323. package/esm5/lib/igc-color-editor-lost-focus-event-args.js +0 -36
  324. package/esm5/lib/igc-color-editor-module.js +0 -23
  325. package/esm5/lib/igc-color-editor-panel-closed-event-args.js +0 -36
  326. package/esm5/lib/igc-color-editor-panel-component.js +0 -521
  327. package/esm5/lib/igc-color-editor-panel-module.js +0 -29
  328. package/esm5/lib/igc-color-editor-panel-selected-value-changed-event-args.js +0 -57
  329. package/esm5/lib/igc-got-focus-event-args.js +0 -36
  330. package/esm5/lib/igc-input-change-event-args.js +0 -57
  331. package/esm5/lib/igc-lost-focus-event-args.js +0 -36
  332. package/esm5/lib/igc-multi-slider-component.js +0 -888
  333. package/esm5/lib/igc-multi-slider-module.js +0 -21
  334. package/esm5/lib/igc-multi-slider-resolving-tool-tip-value-event-args.js +0 -56
  335. package/esm5/lib/igc-multi-slider-thumb-collection.js +0 -58
  336. package/esm5/lib/igc-multi-slider-thumb-component.js +0 -300
  337. package/esm5/lib/igc-multi-slider-thumb-module.js +0 -20
  338. package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +0 -68
  339. package/esm5/lib/igc-multi-slider-track-thumb-range.js +0 -133
  340. package/esm5/lib/igc-multi-slider-y-value-changing-event-args.js +0 -46
  341. package/esm5/lib/igc-selected-value-changed-event-args.js +0 -56
  342. package/esm5/lib/igc-x-button-component.js +0 -3162
  343. package/esm5/lib/igc-x-button-group-button-collection.js +0 -58
  344. package/esm5/lib/igc-x-button-group-component.js +0 -1322
  345. package/esm5/lib/igc-x-button-group-module.js +0 -25
  346. package/esm5/lib/igc-x-button-module.js +0 -25
  347. package/esm5/lib/igc-x-calendar-component.js +0 -625
  348. package/esm5/lib/igc-x-calendar-locale-en-module.js +0 -17
  349. package/esm5/lib/igc-x-calendar-module.js +0 -25
  350. package/esm5/lib/igc-x-checkbox-component.js +0 -792
  351. package/esm5/lib/igc-x-checkbox-module.js +0 -25
  352. package/esm5/lib/igc-x-date-picker-component.js +0 -834
  353. package/esm5/lib/igc-x-date-picker-module.js +0 -29
  354. package/esm5/lib/igc-x-icon-component.js +0 -898
  355. package/esm5/lib/igc-x-icon-module.js +0 -23
  356. package/esm5/lib/igc-x-input-component.js +0 -763
  357. package/esm5/lib/igc-x-input-group-component.js +0 -3034
  358. package/esm5/lib/igc-x-input-group-input-collection.js +0 -58
  359. package/esm5/lib/igc-x-input-group-item-component.js +0 -214
  360. package/esm5/lib/igc-x-input-group-module.js +0 -27
  361. package/esm5/lib/igc-x-input-module.js +0 -23
  362. package/esm5/lib/igc-x-label-component.js +0 -538
  363. package/esm5/lib/igc-x-label-module.js +0 -23
  364. package/esm5/lib/igc-x-prefix-component.js +0 -227
  365. package/esm5/lib/igc-x-prefix-module.js +0 -23
  366. package/esm5/lib/igc-x-ripple-component.js +0 -453
  367. package/esm5/lib/igc-x-ripple-module.js +0 -21
  368. package/esm5/lib/igc-x-suffix-component.js +0 -227
  369. package/esm5/public_api.js +0 -169
  370. package/fesm2015/igniteui-webcomponents-inputs.js +0 -40191
  371. package/fesm5/igniteui-webcomponents-inputs.js +0 -47666
  372. package/lib/ButtonClickEventArgs.d.ts +0 -7
  373. package/lib/ButtonDisplayStyle.d.ts +0 -15
  374. package/lib/ButtonGroupDisplayStyle.d.ts +0 -12
  375. package/lib/ButtonGroupOrientation.d.ts +0 -9
  376. package/lib/ButtonGroupSelectionChangedEventArgs.d.ts +0 -7
  377. package/lib/ButtonGroupView.d.ts +0 -1
  378. package/lib/ButtonGroupView_combined.d.ts +0 -374
  379. package/lib/ButtonGroupVisualModelExport.d.ts +0 -28
  380. package/lib/ButtonView.d.ts +0 -1
  381. package/lib/ButtonView_combined.d.ts +0 -708
  382. package/lib/ButtonVisualModelExport.d.ts +0 -47
  383. package/lib/CalendarView.d.ts +0 -1
  384. package/lib/CalendarView_combined.d.ts +0 -234
  385. package/lib/CalendarVisualModelExport.d.ts +0 -33
  386. package/lib/CheckboxChangeEventArgs.d.ts +0 -13
  387. package/lib/CheckboxLabelPosition.d.ts +0 -12
  388. package/lib/CheckboxListVisualModelExport.d.ts +0 -18
  389. package/lib/CheckboxView.d.ts +0 -1
  390. package/lib/CheckboxView_combined.d.ts +0 -216
  391. package/lib/CheckboxVisualModelExport.d.ts +0 -32
  392. package/lib/ColorEditor.d.ts +0 -1
  393. package/lib/ColorEditorBridge.d.ts +0 -1
  394. package/lib/ColorEditorGotFocusEventArgs.d.ts +0 -7
  395. package/lib/ColorEditorLostFocusEventArgs.d.ts +0 -7
  396. package/lib/ColorEditorPanel.d.ts +0 -1
  397. package/lib/ColorEditorPanelClosedEventArgs.d.ts +0 -7
  398. package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +0 -14
  399. package/lib/ColorEditorPanelView.d.ts +0 -1
  400. package/lib/ColorEditorView.d.ts +0 -1
  401. package/lib/ColorEditorVisualModelExport.d.ts +0 -17
  402. package/lib/DateFormats.d.ts +0 -18
  403. package/lib/DatePickerView.d.ts +0 -1
  404. package/lib/DatePickerView_combined.d.ts +0 -247
  405. package/lib/DatePickerVisualModelExport.d.ts +0 -24
  406. package/lib/DateTimeValueFormatter.d.ts +0 -20
  407. package/lib/DayInfo.d.ts +0 -13
  408. package/lib/DayOfWeek.d.ts +0 -38
  409. package/lib/DefaultMultiSliderTrackBarVisual.d.ts +0 -34
  410. package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +0 -43
  411. package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +0 -49
  412. package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +0 -45
  413. package/lib/DefaultMultiTrackShadeVisual.d.ts +0 -42
  414. package/lib/ElevationHelper.d.ts +0 -16
  415. package/lib/FirstWeek.d.ts +0 -22
  416. package/lib/GotFocusEventArgs.d.ts +0 -7
  417. package/lib/IMultiSliderTrackBarVisual.d.ts +0 -21
  418. package/lib/IMultiSliderTrackRangeVisual.d.ts +0 -25
  419. package/lib/IMultiSliderTrackShadeVisual.d.ts +0 -24
  420. package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +0 -27
  421. package/lib/IMultiSliderTrackThumbVisual.d.ts +0 -27
  422. package/lib/ISliderTrackOwner.d.ts +0 -15
  423. package/lib/IconClickedEventArgs.d.ts +0 -10
  424. package/lib/IconView.d.ts +0 -1
  425. package/lib/IconViewType.d.ts +0 -16
  426. package/lib/IconView_combined.d.ts +0 -257
  427. package/lib/IconVisualModelExport.d.ts +0 -32
  428. package/lib/InputChangeEventArgs.d.ts +0 -13
  429. package/lib/InputGroupDisplayType.d.ts +0 -11
  430. package/lib/InputGroupView.d.ts +0 -1
  431. package/lib/InputGroupView_combined.d.ts +0 -1213
  432. package/lib/InputGroupVisualModelExport.d.ts +0 -44
  433. package/lib/InputShiftType.d.ts +0 -10
  434. package/lib/InputView.d.ts +0 -1
  435. package/lib/InputVisualModelExport.d.ts +0 -32
  436. package/lib/KEYCODES.d.ts +0 -27
  437. package/lib/LabelShiftType.d.ts +0 -10
  438. package/lib/LabelView.d.ts +0 -1
  439. package/lib/LabelVisualModelExport.d.ts +0 -34
  440. package/lib/LostFocusEventArgs.d.ts +0 -7
  441. package/lib/MaskOptions.d.ts +0 -9
  442. package/lib/MaskParsingService.d.ts +0 -19
  443. package/lib/MultiSlider.d.ts +0 -1
  444. package/lib/MultiSliderBridge.d.ts +0 -24
  445. package/lib/MultiSliderCursor.d.ts +0 -15
  446. package/lib/MultiSliderHitInfo.d.ts +0 -13
  447. package/lib/MultiSliderOrientation.d.ts +0 -10
  448. package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +0 -13
  449. package/lib/MultiSliderThumb.d.ts +0 -1
  450. package/lib/MultiSliderThumbCollection.d.ts +0 -10
  451. package/lib/MultiSliderThumbRangePosition.d.ts +0 -9
  452. package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +0 -10
  453. package/lib/MultiSliderThumb_combined.d.ts +0 -76
  454. package/lib/MultiSliderTrackShadeOrientation.d.ts +0 -14
  455. package/lib/MultiSliderTrackThumbRange.d.ts +0 -1
  456. package/lib/MultiSliderView.d.ts +0 -1
  457. package/lib/MultiSliderView_combined.d.ts +0 -298
  458. package/lib/MultiSliderVisualArea.d.ts +0 -14
  459. package/lib/MultiSliderYValueChangingEventArgs.d.ts +0 -8
  460. package/lib/NativeUIXInputsFactory.d.ts +0 -1
  461. package/lib/NativeUIXInputsFactory_combined.d.ts +0 -400
  462. package/lib/PrefixShiftType.d.ts +0 -10
  463. package/lib/PrefixView.d.ts +0 -1
  464. package/lib/PrefixVisualModelExport.d.ts +0 -13
  465. package/lib/Replaced.d.ts +0 -9
  466. package/lib/RippleView.d.ts +0 -1
  467. package/lib/RippleView_combined.d.ts +0 -98
  468. package/lib/RippleVisualModelExport.d.ts +0 -15
  469. package/lib/SelectedValueChangedEventArgs.d.ts +0 -13
  470. package/lib/SuffixShiftType.d.ts +0 -10
  471. package/lib/SuffixView.d.ts +0 -1
  472. package/lib/SuffixVisualModelExport.d.ts +0 -13
  473. package/lib/TextBlockVisualModelExport.d.ts +0 -21
  474. package/lib/TextElementsVisualModelExport.d.ts +0 -16
  475. package/lib/Theme.d.ts +0 -15
  476. package/lib/ThemeResolver.d.ts +0 -59
  477. package/lib/XButton.d.ts +0 -1
  478. package/lib/XButtonBridge.d.ts +0 -40
  479. package/lib/XButtonGroup.d.ts +0 -1
  480. package/lib/XButtonGroupBridge.d.ts +0 -29
  481. package/lib/XButtonGroupButtonCollection.d.ts +0 -12
  482. package/lib/XCalendar.d.ts +0 -1
  483. package/lib/XCalendarLocaleEn.d.ts +0 -49
  484. package/lib/XCheckbox.d.ts +0 -1
  485. package/lib/XCheckboxBridge.d.ts +0 -20
  486. package/lib/XComponentBridge.d.ts +0 -18
  487. package/lib/XDatePicker.d.ts +0 -1
  488. package/lib/XIcon.d.ts +0 -1
  489. package/lib/XIconBridge.d.ts +0 -18
  490. package/lib/XIconButtonBridge.d.ts +0 -16
  491. package/lib/XInput.d.ts +0 -1
  492. package/lib/XInputBridge.d.ts +0 -53
  493. package/lib/XInputGroup.d.ts +0 -1
  494. package/lib/XInputGroupInputCollection.d.ts +0 -1
  495. package/lib/XInputGroupItem.d.ts +0 -1
  496. package/lib/XLabel.d.ts +0 -1
  497. package/lib/XPopupBridge.d.ts +0 -57
  498. package/lib/XPrefix.d.ts +0 -1
  499. package/lib/XRipple.d.ts +0 -1
  500. package/lib/XSuffix.d.ts +0 -1
  501. package/lib/igc-button-click-event-args.d.ts +0 -12
  502. package/lib/igc-button-group-selection-changed-event-args.d.ts +0 -12
  503. package/lib/igc-checkbox-change-event-args.d.ts +0 -16
  504. package/lib/igc-color-editor-component.d.ts +0 -163
  505. package/lib/igc-color-editor-got-focus-event-args.d.ts +0 -12
  506. package/lib/igc-color-editor-lost-focus-event-args.d.ts +0 -12
  507. package/lib/igc-color-editor-module.d.ts +0 -3
  508. package/lib/igc-color-editor-panel-closed-event-args.d.ts +0 -12
  509. package/lib/igc-color-editor-panel-component.d.ts +0 -124
  510. package/lib/igc-color-editor-panel-module.d.ts +0 -3
  511. package/lib/igc-color-editor-panel-selected-value-changed-event-args.d.ts +0 -16
  512. package/lib/igc-got-focus-event-args.d.ts +0 -12
  513. package/lib/igc-input-change-event-args.d.ts +0 -16
  514. package/lib/igc-lost-focus-event-args.d.ts +0 -12
  515. package/lib/igc-multi-slider-component.d.ts +0 -174
  516. package/lib/igc-multi-slider-module.d.ts +0 -3
  517. package/lib/igc-multi-slider-resolving-tool-tip-value-event-args.d.ts +0 -16
  518. package/lib/igc-multi-slider-thumb-collection.d.ts +0 -8
  519. package/lib/igc-multi-slider-thumb-component.d.ts +0 -53
  520. package/lib/igc-multi-slider-thumb-module.d.ts +0 -3
  521. package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +0 -17
  522. package/lib/igc-multi-slider-track-thumb-range.d.ts +0 -26
  523. package/lib/igc-multi-slider-y-value-changing-event-args.d.ts +0 -14
  524. package/lib/igc-selected-value-changed-event-args.d.ts +0 -16
  525. package/lib/igc-x-button-component.d.ts +0 -902
  526. package/lib/igc-x-button-group-button-collection.d.ts +0 -8
  527. package/lib/igc-x-button-group-component.d.ts +0 -410
  528. package/lib/igc-x-button-group-module.d.ts +0 -3
  529. package/lib/igc-x-button-module.d.ts +0 -3
  530. package/lib/igc-x-calendar-component.d.ts +0 -181
  531. package/lib/igc-x-calendar-locale-en-module.d.ts +0 -3
  532. package/lib/igc-x-calendar-module.d.ts +0 -3
  533. package/lib/igc-x-checkbox-component.d.ts +0 -232
  534. package/lib/igc-x-checkbox-module.d.ts +0 -3
  535. package/lib/igc-x-date-picker-component.d.ts +0 -226
  536. package/lib/igc-x-date-picker-module.d.ts +0 -3
  537. package/lib/igc-x-icon-component.d.ts +0 -285
  538. package/lib/igc-x-icon-module.d.ts +0 -3
  539. package/lib/igc-x-input-component.d.ts +0 -194
  540. package/lib/igc-x-input-group-component.d.ts +0 -748
  541. package/lib/igc-x-input-group-input-collection.d.ts +0 -8
  542. package/lib/igc-x-input-group-item-component.d.ts +0 -41
  543. package/lib/igc-x-input-group-module.d.ts +0 -3
  544. package/lib/igc-x-input-module.d.ts +0 -3
  545. package/lib/igc-x-label-component.d.ts +0 -171
  546. package/lib/igc-x-label-module.d.ts +0 -3
  547. package/lib/igc-x-prefix-component.d.ts +0 -59
  548. package/lib/igc-x-prefix-module.d.ts +0 -3
  549. package/lib/igc-x-ripple-component.d.ts +0 -118
  550. package/lib/igc-x-ripple-module.d.ts +0 -3
  551. package/lib/igc-x-suffix-component.d.ts +0 -59
  552. package/public_api.d.ts +0 -169
@@ -1,3162 +0,0 @@
1
- import { __extends, __values } from "tslib";
2
- import { XButton } from "./XButton";
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
- import { HorizontalAlignment_$type } from "igniteui-webcomponents-core";
17
- import { VerticalAlignment_$type } from "igniteui-webcomponents-core";
18
- import { IgcFocusEventArgs } from "igniteui-webcomponents-core";
19
- export var IgcXButtonComponent = /** @class */ /*@__PURE__*/ (function (_super) {
20
- __extends(IgcXButtonComponent, _super);
21
- function IgcXButtonComponent() {
22
- var _this = _super.call(this) || this;
23
- _this._disconnected = false;
24
- _this._settingAttributes = false;
25
- _this._attached = false;
26
- _this._queuedSetAttributes = [];
27
- _this._updatingFromAttribute = false;
28
- _this.__p = null;
29
- _this._hasUserValues = new Set();
30
- _this._stylingContainer = null;
31
- _this._stylingParent = null;
32
- _this._inStyling = false;
33
- _this._clicked = null;
34
- _this._clicked_wrapped = null;
35
- _this._gotFocus = null;
36
- _this._gotFocus_wrapped = null;
37
- _this._lostFocus = null;
38
- _this._lostFocus_wrapped = null;
39
- if (_this._styling) {
40
- NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
41
- }
42
- _this._portalManager = new PortalManager("buttonContent");
43
- _this._renderer = new WebComponentRenderer(_this, document, true, {}, _this._portalManager);
44
- _this._container = _this._renderer.createElement("div");
45
- _this._renderer.updateRoot(_this._container);
46
- _this._implementation = _this.createImplementation();
47
- _this._implementation.externalObject = _this;
48
- //this._container.setStyleProperty("width", "100%");
49
- //this._container.setStyleProperty("height", "100%");
50
- var root;
51
- root = _this._container;
52
- if (_this._container.getNativeElement() != null) {
53
- root = _this._container.getNativeElement();
54
- }
55
- _this._wrapper = _this._renderer;
56
- var button = _this.i;
57
- _this._button = button;
58
- button.provideContainer(_this._renderer);
59
- _this._onChildrenChanged();
60
- //Checkbox.notifySizeChanged();
61
- var mut = new MutationObserver(function (list) {
62
- var e_1, _b;
63
- try {
64
- for (var list_1 = __values(list), list_1_1 = list_1.next(); !list_1_1.done; list_1_1 = list_1.next()) {
65
- var mutation = list_1_1.value;
66
- if (mutation.type == 'childList') {
67
- _this._onChildrenChanged();
68
- }
69
- }
70
- }
71
- catch (e_1_1) {
72
- e_1 = { error: e_1_1 };
73
- }
74
- finally {
75
- try {
76
- if (list_1_1 && !list_1_1.done && (_b = list_1.return))
77
- _b.call(list_1);
78
- }
79
- finally {
80
- if (e_1)
81
- throw e_1.error;
82
- }
83
- }
84
- });
85
- mut.observe(_this, {
86
- childList: true
87
- });
88
- return _this;
89
- //this._renderer.addSizeWatcher(() => {
90
- // this._checkbox.notifySizeChanged();
91
- //});
92
- }
93
- IgcXButtonComponent.prototype._onDisplayChanged = function () {
94
- this.style.display = this.display;
95
- };
96
- IgcXButtonComponent.prototype._onFlexDirectionChanged = function () {
97
- this.style.flexDirection = this.flexDirection;
98
- };
99
- IgcXButtonComponent.prototype._onFlexGrowChanged = function () {
100
- this.style.flexGrow = this.flexGrow;
101
- };
102
- IgcXButtonComponent.prototype._onAlignItemsChanged = function () {
103
- this.style.alignItems = this.alignItems;
104
- };
105
- IgcXButtonComponent.prototype._onChildrenChanged = function () {
106
- var children = [];
107
- for (var i = 0; i < this.childNodes.length; i++) {
108
- var child = this.childNodes[i];
109
- if (child !== this._container.getNativeElement()) {
110
- children.push(child);
111
- }
112
- }
113
- this._portalManager.onChildrenChanged(children);
114
- };
115
- // supports angular themes or custom properties set in CSS
116
- IgcXButtonComponent.prototype.updateStyle = function () {
117
- this._styling(this, this);
118
- };
119
- IgcXButtonComponent.prototype.destroy = function () {
120
- this._button.destroy();
121
- this._wrapper.destroy();
122
- };
123
- IgcXButtonComponent.prototype.createImplementation = function () {
124
- return new XButton();
125
- };
126
- IgcXButtonComponent.prototype.disconnectedCallback = function () {
127
- this._disconnected = true;
128
- if (this.i) {
129
- this.i.onDetachedFromUI();
130
- }
131
- };
132
- IgcXButtonComponent.prototype.connectedCallback = function () {
133
- if (this._disconnected) {
134
- this._disconnected = false;
135
- if (this.i) {
136
- this.i.onAttachedToUI();
137
- }
138
- return;
139
- }
140
- this.classList.add("ig-x-button");
141
- this.classList.add("igc-x-button");
142
- this.appendChild(this._container.getNativeElement());
143
- this._attached = true;
144
- this.style.display = this.display;
145
- //this.style.height = this._height;
146
- //this.style.width = this._width;
147
- this._flushQueuedAttributes();
148
- // supports themes or custom properties set in CSS
149
- this._styling(this, this);
150
- this.afterContentInit();
151
- };
152
- IgcXButtonComponent.prototype.afterContentInit = function () {
153
- //this.i.notifySizeChanged();
154
- };
155
- Object.defineProperty(IgcXButtonComponent.prototype, "i", {
156
- /**
157
- * @hidden
158
- */
159
- get: function () {
160
- return this._implementation;
161
- } /**
162
- * @hidden
163
- */,
164
- enumerable: false,
165
- configurable: true
166
- });
167
- IgcXButtonComponent._createFromInternal = function (internal) {
168
- if (!internal) {
169
- return null;
170
- }
171
- if (!internal.$type) {
172
- return null;
173
- }
174
- var name = internal.$type.name;
175
- var externalName = "Igc" + name + "Component";
176
- if (!TypeRegistrar.isRegistered(externalName)) {
177
- return null;
178
- }
179
- return TypeRegistrar.create(externalName);
180
- };
181
- IgcXButtonComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
182
- this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
183
- };
184
- IgcXButtonComponent.prototype._flushQueuedAttributes = function () {
185
- this._settingAttributes = true;
186
- for (var i = 0; i < this._queuedSetAttributes.length; i++) {
187
- this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
188
- }
189
- this._settingAttributes = false;
190
- this._queuedSetAttributes.length = 0;
191
- };
192
- IgcXButtonComponent.prototype._a = function (attrName, attrValue) {
193
- if (this._updatingFromAttribute) {
194
- return;
195
- }
196
- if (attrValue) {
197
- attrValue = attrValue.toString();
198
- }
199
- this._settingAttributes = true;
200
- attrName = toSpinal(attrName);
201
- if (this._attached) {
202
- this.setAttribute(attrName, attrValue);
203
- }
204
- else {
205
- this._enqueueSetAttribute(attrName, attrValue);
206
- }
207
- this._settingAttributes = false;
208
- };
209
- Object.defineProperty(IgcXButtonComponent, "observedAttributes", {
210
- get: function () {
211
- if (IgcXButtonComponent._observedAttributesIgcXButtonComponent == null) {
212
- var names = getAllPropertyNames(IgcXButtonComponent);
213
- for (var i = 0; i < names.length; i++) {
214
- names[i] = toSpinal(names[i]);
215
- }
216
- IgcXButtonComponent._observedAttributesIgcXButtonComponent = names;
217
- }
218
- return IgcXButtonComponent._observedAttributesIgcXButtonComponent;
219
- },
220
- enumerable: false,
221
- configurable: true
222
- });
223
- IgcXButtonComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
224
- if (this._settingAttributes) {
225
- return;
226
- }
227
- var setName = fromSpinal(name);
228
- this._updatingFromAttribute = true;
229
- this[setName] = newValue;
230
- this._updatingFromAttribute = false;
231
- };
232
- IgcXButtonComponent.register = function () {
233
- if (!IgcXButtonComponent._isElementRegistered) {
234
- IgcXButtonComponent._isElementRegistered = true;
235
- RegisterElementHelper.registerElement(IgcXButtonComponent.htmlTagName, IgcXButtonComponent);
236
- }
237
- };
238
- Object.defineProperty(IgcXButtonComponent.prototype, "minWidth", {
239
- /**
240
- * Gets or sets the min width to use for the button.
241
- */
242
- get: function () {
243
- return this.i.bz;
244
- },
245
- set: function (v) {
246
- this.i.bz = +v;
247
- this._a("minWidth", this.i.bz);
248
- },
249
- enumerable: false,
250
- configurable: true
251
- });
252
- Object.defineProperty(IgcXButtonComponent.prototype, "minHeight", {
253
- /**
254
- * Gets or sets the min height to use for the button.
255
- */
256
- get: function () {
257
- return this.i.by;
258
- },
259
- set: function (v) {
260
- this.i.by = +v;
261
- this._a("minHeight", this.i.by);
262
- },
263
- enumerable: false,
264
- configurable: true
265
- });
266
- Object.defineProperty(IgcXButtonComponent.prototype, "displayType", {
267
- /**
268
- * Gets or sets the display style to use for the button.
269
- */
270
- get: function () {
271
- return this.i.e;
272
- },
273
- set: function (v) {
274
- this.i.e = ensureEnum(ButtonDisplayStyle_$type, v);
275
- this._a("displayType", enumToString(ButtonDisplayStyle_$type, this.i.e));
276
- },
277
- enumerable: false,
278
- configurable: true
279
- });
280
- Object.defineProperty(IgcXButtonComponent.prototype, "density", {
281
- /**
282
- * Gets or sets the display density to use for the button.
283
- */
284
- get: function () {
285
- return this.i.s;
286
- },
287
- set: function (v) {
288
- this.i.s = ensureEnum(ControlDisplayDensity_$type, v);
289
- this._a("density", enumToString(ControlDisplayDensity_$type, this.i.s));
290
- },
291
- enumerable: false,
292
- configurable: true
293
- });
294
- Object.defineProperty(IgcXButtonComponent.prototype, "baseTheme", {
295
- /**
296
- * Gets or sets the base built in theme to use for the button.
297
- */
298
- get: function () {
299
- return this.i.o;
300
- },
301
- set: function (v) {
302
- this.i.o = ensureEnum(BaseControlTheme_$type, v);
303
- this._a("baseTheme", enumToString(BaseControlTheme_$type, this.i.o));
304
- },
305
- enumerable: false,
306
- configurable: true
307
- });
308
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDensity", {
309
- /**
310
- * Gets the actual display density to use for the label.
311
- */
312
- get: function () {
313
- return this.i.r;
314
- },
315
- set: function (v) {
316
- this.i.r = ensureEnum(ControlDisplayDensity_$type, v);
317
- this._a("actualDensity", enumToString(ControlDisplayDensity_$type, this.i.r));
318
- },
319
- enumerable: false,
320
- configurable: true
321
- });
322
- Object.defineProperty(IgcXButtonComponent.prototype, "actualBorderColor", {
323
- /**
324
- * Gets or sets the color to use for the check mark when the checkbox is checked.
325
- */
326
- get: function () {
327
- return brushToString(this.i.nu);
328
- },
329
- set: function (v) {
330
- this.i.nu = stringToBrush(v);
331
- this._a("actualBorderColor", brushToString(this.i.nu));
332
- },
333
- enumerable: false,
334
- configurable: true
335
- });
336
- Object.defineProperty(IgcXButtonComponent.prototype, "actualUmbraShadowColor", {
337
- /**
338
- * Gets or sets the color to use for the check mark when the checkbox is checked.
339
- */
340
- get: function () {
341
- return brushToString(this.i.n5);
342
- },
343
- set: function (v) {
344
- this.i.n5 = stringToBrush(v);
345
- this._a("actualUmbraShadowColor", brushToString(this.i.n5));
346
- },
347
- enumerable: false,
348
- configurable: true
349
- });
350
- Object.defineProperty(IgcXButtonComponent.prototype, "actualPenumbraShadowColor", {
351
- /**
352
- * Gets or sets the color to use for the check mark when the checkbox is checked.
353
- */
354
- get: function () {
355
- return brushToString(this.i.n2);
356
- },
357
- set: function (v) {
358
- this.i.n2 = stringToBrush(v);
359
- this._a("actualPenumbraShadowColor", brushToString(this.i.n2));
360
- },
361
- enumerable: false,
362
- configurable: true
363
- });
364
- Object.defineProperty(IgcXButtonComponent.prototype, "actualAmbientShadowColor", {
365
- /**
366
- * Gets or sets the color to use for the check mark when the checkbox is checked.
367
- */
368
- get: function () {
369
- return brushToString(this.i.ns);
370
- },
371
- set: function (v) {
372
- this.i.ns = stringToBrush(v);
373
- this._a("actualAmbientShadowColor", brushToString(this.i.ns));
374
- },
375
- enumerable: false,
376
- configurable: true
377
- });
378
- Object.defineProperty(IgcXButtonComponent.prototype, "actualRestingElevation", {
379
- /**
380
- * Gets or sets the color to use for the check mark when the checkbox is checked.
381
- */
382
- get: function () {
383
- return this.i.cy;
384
- },
385
- set: function (v) {
386
- this.i.cy = +v;
387
- this._a("actualRestingElevation", this.i.cy);
388
- },
389
- enumerable: false,
390
- configurable: true
391
- });
392
- Object.defineProperty(IgcXButtonComponent.prototype, "actualFocusElevation", {
393
- /**
394
- * Gets or sets the color to use for the check mark when the checkbox is checked.
395
- */
396
- get: function () {
397
- return this.i.cw;
398
- },
399
- set: function (v) {
400
- this.i.cw = +v;
401
- this._a("actualFocusElevation", this.i.cw);
402
- },
403
- enumerable: false,
404
- configurable: true
405
- });
406
- Object.defineProperty(IgcXButtonComponent.prototype, "actualHoverElevation", {
407
- /**
408
- * Gets or sets the color to use for the check mark when the checkbox is checked.
409
- */
410
- get: function () {
411
- return this.i.cx;
412
- },
413
- set: function (v) {
414
- this.i.cx = +v;
415
- this._a("actualHoverElevation", this.i.cx);
416
- },
417
- enumerable: false,
418
- configurable: true
419
- });
420
- Object.defineProperty(IgcXButtonComponent.prototype, "actualRippleColor", {
421
- /**
422
- * Gets or sets the color to use for the ripple when the button is pressed.
423
- */
424
- get: function () {
425
- return brushToString(this.i.n3);
426
- },
427
- set: function (v) {
428
- this.i.n3 = stringToBrush(v);
429
- this._a("actualRippleColor", brushToString(this.i.n3));
430
- },
431
- enumerable: false,
432
- configurable: true
433
- });
434
- Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusBottomRight", {
435
- get: function () {
436
- return this.i.k4 ? this.i.k4.c : NaN;
437
- },
438
- set: function (v) {
439
- this.ensureActualCornerRadius();
440
- var __nv = +v;
441
- if (this.i.k4.c === __nv) {
442
- return;
443
- }
444
- var __copy = new CornerRadius(2);
445
- __copy.c = __nv;
446
- __copy.b = this.i.k4.b;
447
- __copy.d = this.i.k4.d;
448
- __copy.e = this.i.k4.e;
449
- this.i.k4 = __copy;
450
- this._a("actualCornerRadiusBottomRight", this.i.k4.c);
451
- },
452
- enumerable: false,
453
- configurable: true
454
- });
455
- Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusBottomLeft", {
456
- get: function () {
457
- return this.i.k4 ? this.i.k4.b : NaN;
458
- },
459
- set: function (v) {
460
- this.ensureActualCornerRadius();
461
- var __nv = +v;
462
- if (this.i.k4.b === __nv) {
463
- return;
464
- }
465
- var __copy = new CornerRadius(2);
466
- __copy.b = __nv;
467
- __copy.c = this.i.k4.c;
468
- __copy.d = this.i.k4.d;
469
- __copy.e = this.i.k4.e;
470
- this.i.k4 = __copy;
471
- this._a("actualCornerRadiusBottomLeft", this.i.k4.b);
472
- },
473
- enumerable: false,
474
- configurable: true
475
- });
476
- Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusTopLeft", {
477
- get: function () {
478
- return this.i.k4 ? this.i.k4.d : NaN;
479
- },
480
- set: function (v) {
481
- this.ensureActualCornerRadius();
482
- var __nv = +v;
483
- if (this.i.k4.d === __nv) {
484
- return;
485
- }
486
- var __copy = new CornerRadius(2);
487
- __copy.d = __nv;
488
- __copy.c = this.i.k4.c;
489
- __copy.b = this.i.k4.b;
490
- __copy.e = this.i.k4.e;
491
- this.i.k4 = __copy;
492
- this._a("actualCornerRadiusTopLeft", this.i.k4.d);
493
- },
494
- enumerable: false,
495
- configurable: true
496
- });
497
- Object.defineProperty(IgcXButtonComponent.prototype, "actualCornerRadiusTopRight", {
498
- get: function () {
499
- return this.i.k4 ? this.i.k4.e : NaN;
500
- },
501
- set: function (v) {
502
- this.ensureActualCornerRadius();
503
- var __nv = +v;
504
- if (this.i.k4.e === __nv) {
505
- return;
506
- }
507
- var __copy = new CornerRadius(2);
508
- __copy.e = __nv;
509
- __copy.c = this.i.k4.c;
510
- __copy.b = this.i.k4.b;
511
- __copy.d = this.i.k4.d;
512
- this.i.k4 = __copy;
513
- this._a("actualCornerRadiusTopRight", this.i.k4.e);
514
- },
515
- enumerable: false,
516
- configurable: true
517
- });
518
- IgcXButtonComponent.prototype.ensureActualCornerRadius = function () {
519
- if (this.i.k4) {
520
- return;
521
- }
522
- this.i.k4 = new CornerRadius(2);
523
- };
524
- Object.defineProperty(IgcXButtonComponent.prototype, "actualBackgroundColor", {
525
- /**
526
- * Gets the color to use for the actual background.
527
- */
528
- get: function () {
529
- return brushToString(this.i.nt);
530
- },
531
- set: function (v) {
532
- this.i.nt = stringToBrush(v);
533
- this._a("actualBackgroundColor", brushToString(this.i.nt));
534
- },
535
- enumerable: false,
536
- configurable: true
537
- });
538
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDisabledBackgroundColor", {
539
- /**
540
- * Gets the actual color to use for the disabled background of the button.
541
- */
542
- get: function () {
543
- return brushToString(this.i.nv);
544
- },
545
- set: function (v) {
546
- this.i.nv = stringToBrush(v);
547
- this._a("actualDisabledBackgroundColor", brushToString(this.i.nv));
548
- },
549
- enumerable: false,
550
- configurable: true
551
- });
552
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDisabledBorderColor", {
553
- /**
554
- * Gets the actual color to use for the disabled border of the button.
555
- */
556
- get: function () {
557
- return brushToString(this.i.nw);
558
- },
559
- set: function (v) {
560
- this.i.nw = stringToBrush(v);
561
- this._a("actualDisabledBorderColor", brushToString(this.i.nw));
562
- },
563
- enumerable: false,
564
- configurable: true
565
- });
566
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDisabledTextColor", {
567
- /**
568
- * Gets the actual color to use for the disabled text of the button.
569
- */
570
- get: function () {
571
- return brushToString(this.i.nx);
572
- },
573
- set: function (v) {
574
- this.i.nx = stringToBrush(v);
575
- this._a("actualDisabledTextColor", brushToString(this.i.nx));
576
- },
577
- enumerable: false,
578
- configurable: true
579
- });
580
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDisabledElevation", {
581
- /**
582
- * Gets the actual disabled elevation to use for the button.
583
- */
584
- get: function () {
585
- return this.i.cv;
586
- },
587
- set: function (v) {
588
- this.i.cv = +v;
589
- this._a("actualDisabledElevation", this.i.cv);
590
- },
591
- enumerable: false,
592
- configurable: true
593
- });
594
- Object.defineProperty(IgcXButtonComponent.prototype, "actualElevationMode", {
595
- /**
596
- * Gets the actual disabled elevation to use for the button.
597
- */
598
- get: function () {
599
- return this.i.v;
600
- },
601
- set: function (v) {
602
- this.i.v = ensureEnum(ElevationMode_$type, v);
603
- this._a("actualElevationMode", enumToString(ElevationMode_$type, this.i.v));
604
- },
605
- enumerable: false,
606
- configurable: true
607
- });
608
- Object.defineProperty(IgcXButtonComponent.prototype, "actualTextColor", {
609
- /**
610
- * Gets the color to use for the actual background.
611
- */
612
- get: function () {
613
- return brushToString(this.i.n4);
614
- },
615
- set: function (v) {
616
- this.i.n4 = stringToBrush(v);
617
- this._a("actualTextColor", brushToString(this.i.n4));
618
- },
619
- enumerable: false,
620
- configurable: true
621
- });
622
- Object.defineProperty(IgcXButtonComponent.prototype, "actualHoverTextColor", {
623
- /**
624
- * Gets the color to use for the actual background.
625
- */
626
- get: function () {
627
- return brushToString(this.i.n1);
628
- },
629
- set: function (v) {
630
- this.i.n1 = stringToBrush(v);
631
- this._a("actualHoverTextColor", brushToString(this.i.n1));
632
- },
633
- enumerable: false,
634
- configurable: true
635
- });
636
- Object.defineProperty(IgcXButtonComponent.prototype, "actualFocusBackgroundColor", {
637
- /**
638
- * Gets the color to use for the actual background.
639
- */
640
- get: function () {
641
- return brushToString(this.i.ny);
642
- },
643
- set: function (v) {
644
- this.i.ny = stringToBrush(v);
645
- this._a("actualFocusBackgroundColor", brushToString(this.i.ny));
646
- },
647
- enumerable: false,
648
- configurable: true
649
- });
650
- Object.defineProperty(IgcXButtonComponent.prototype, "actualFocusTextColor", {
651
- /**
652
- * Gets the actual color to use for the focused text.
653
- */
654
- get: function () {
655
- return brushToString(this.i.nz);
656
- },
657
- set: function (v) {
658
- this.i.nz = stringToBrush(v);
659
- this._a("actualFocusTextColor", brushToString(this.i.nz));
660
- },
661
- enumerable: false,
662
- configurable: true
663
- });
664
- Object.defineProperty(IgcXButtonComponent.prototype, "actualHoverBackgroundColor", {
665
- /**
666
- * Gets the hover color to use for the actual background.
667
- */
668
- get: function () {
669
- return brushToString(this.i.n0);
670
- },
671
- set: function (v) {
672
- this.i.n0 = stringToBrush(v);
673
- this._a("actualHoverBackgroundColor", brushToString(this.i.n0));
674
- },
675
- enumerable: false,
676
- configurable: true
677
- });
678
- Object.defineProperty(IgcXButtonComponent.prototype, "actualBorderWidth", {
679
- /**
680
- * Gets or sets the Width to use for the check mark when the checkbox is checked.
681
- */
682
- get: function () {
683
- return this.i.bk;
684
- },
685
- set: function (v) {
686
- this.i.bk = +v;
687
- this._a("actualBorderWidth", this.i.bk);
688
- },
689
- enumerable: false,
690
- configurable: true
691
- });
692
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedBackgroundColor", {
693
- /**
694
- * Gets or sets the color to use for the background of the button when the type is raised.
695
- */
696
- get: function () {
697
- return brushToString(this.i.q9);
698
- },
699
- set: function (v) {
700
- this.i.q9 = stringToBrush(v);
701
- this._a("raisedBackgroundColor", brushToString(this.i.q9));
702
- },
703
- enumerable: false,
704
- configurable: true
705
- });
706
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedDisabledBackgroundColor", {
707
- /**
708
- * Gets or sets the color to use for the disabled background of the button when the type is raised.
709
- */
710
- get: function () {
711
- return brushToString(this.i.rb);
712
- },
713
- set: function (v) {
714
- this.i.rb = stringToBrush(v);
715
- this._a("raisedDisabledBackgroundColor", brushToString(this.i.rb));
716
- },
717
- enumerable: false,
718
- configurable: true
719
- });
720
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedDisabledBorderColor", {
721
- /**
722
- * Gets or sets the color to use for the disabled border of the button when the type is raised.
723
- */
724
- get: function () {
725
- return brushToString(this.i.rc);
726
- },
727
- set: function (v) {
728
- this.i.rc = stringToBrush(v);
729
- this._a("raisedDisabledBorderColor", brushToString(this.i.rc));
730
- },
731
- enumerable: false,
732
- configurable: true
733
- });
734
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedDisabledTextColor", {
735
- /**
736
- * Gets or sets the color to use for the disabled text of the button when the type is raised.
737
- */
738
- get: function () {
739
- return brushToString(this.i.rd);
740
- },
741
- set: function (v) {
742
- this.i.rd = stringToBrush(v);
743
- this._a("raisedDisabledTextColor", brushToString(this.i.rd));
744
- },
745
- enumerable: false,
746
- configurable: true
747
- });
748
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedDisabledElevation", {
749
- /**
750
- * Gets or sets the disabled elevation to use for the button when the type is raised.
751
- */
752
- get: function () {
753
- return this.i.d3;
754
- },
755
- set: function (v) {
756
- this.i.d3 = +v;
757
- this._a("raisedDisabledElevation", this.i.d3);
758
- },
759
- enumerable: false,
760
- configurable: true
761
- });
762
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedHoverBackgroundColor", {
763
- /**
764
- * Gets or sets the hover color to use for the background of the button when the type is raised.
765
- */
766
- get: function () {
767
- return brushToString(this.i.rg);
768
- },
769
- set: function (v) {
770
- this.i.rg = stringToBrush(v);
771
- this._a("raisedHoverBackgroundColor", brushToString(this.i.rg));
772
- },
773
- enumerable: false,
774
- configurable: true
775
- });
776
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedBorderColor", {
777
- /**
778
- * Gets or sets the border color to use for the button when the type is raised.
779
- */
780
- get: function () {
781
- return brushToString(this.i.ra);
782
- },
783
- set: function (v) {
784
- this.i.ra = stringToBrush(v);
785
- this._a("raisedBorderColor", brushToString(this.i.ra));
786
- },
787
- enumerable: false,
788
- configurable: true
789
- });
790
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedRestingElevation", {
791
- /**
792
- * Gets or sets the elevation to use for the button when the type is raised.
793
- */
794
- get: function () {
795
- return this.i.d6;
796
- },
797
- set: function (v) {
798
- this.i.d6 = +v;
799
- this._a("raisedRestingElevation", this.i.d6);
800
- },
801
- enumerable: false,
802
- configurable: true
803
- });
804
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedHoverElevation", {
805
- /**
806
- * Gets or sets the hover elevation to use for the button when the type is raised.
807
- */
808
- get: function () {
809
- return this.i.d5;
810
- },
811
- set: function (v) {
812
- this.i.d5 = +v;
813
- this._a("raisedHoverElevation", this.i.d5);
814
- },
815
- enumerable: false,
816
- configurable: true
817
- });
818
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedFocusElevation", {
819
- /**
820
- * Gets or sets the focus elevation to use for the button when the type is raised.
821
- */
822
- get: function () {
823
- return this.i.d4;
824
- },
825
- set: function (v) {
826
- this.i.d4 = +v;
827
- this._a("raisedFocusElevation", this.i.d4);
828
- },
829
- enumerable: false,
830
- configurable: true
831
- });
832
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedBorderWidth", {
833
- /**
834
- * Gets or sets the width to use for the button border when the type is raised.
835
- */
836
- get: function () {
837
- return this.i.b1;
838
- },
839
- set: function (v) {
840
- this.i.b1 = +v;
841
- this._a("raisedBorderWidth", this.i.b1);
842
- },
843
- enumerable: false,
844
- configurable: true
845
- });
846
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusBottomRight", {
847
- get: function () {
848
- return this.i.lh ? this.i.lh.c : NaN;
849
- },
850
- set: function (v) {
851
- this.ensureRaisedCornerRadius();
852
- var __nv = +v;
853
- if (this.i.lh.c === __nv) {
854
- return;
855
- }
856
- var __copy = new CornerRadius(2);
857
- __copy.c = __nv;
858
- __copy.b = this.i.lh.b;
859
- __copy.d = this.i.lh.d;
860
- __copy.e = this.i.lh.e;
861
- this.i.lh = __copy;
862
- this._a("raisedCornerRadiusBottomRight", this.i.lh.c);
863
- },
864
- enumerable: false,
865
- configurable: true
866
- });
867
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusBottomLeft", {
868
- get: function () {
869
- return this.i.lh ? this.i.lh.b : NaN;
870
- },
871
- set: function (v) {
872
- this.ensureRaisedCornerRadius();
873
- var __nv = +v;
874
- if (this.i.lh.b === __nv) {
875
- return;
876
- }
877
- var __copy = new CornerRadius(2);
878
- __copy.b = __nv;
879
- __copy.c = this.i.lh.c;
880
- __copy.d = this.i.lh.d;
881
- __copy.e = this.i.lh.e;
882
- this.i.lh = __copy;
883
- this._a("raisedCornerRadiusBottomLeft", this.i.lh.b);
884
- },
885
- enumerable: false,
886
- configurable: true
887
- });
888
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusTopLeft", {
889
- get: function () {
890
- return this.i.lh ? this.i.lh.d : NaN;
891
- },
892
- set: function (v) {
893
- this.ensureRaisedCornerRadius();
894
- var __nv = +v;
895
- if (this.i.lh.d === __nv) {
896
- return;
897
- }
898
- var __copy = new CornerRadius(2);
899
- __copy.d = __nv;
900
- __copy.c = this.i.lh.c;
901
- __copy.b = this.i.lh.b;
902
- __copy.e = this.i.lh.e;
903
- this.i.lh = __copy;
904
- this._a("raisedCornerRadiusTopLeft", this.i.lh.d);
905
- },
906
- enumerable: false,
907
- configurable: true
908
- });
909
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedCornerRadiusTopRight", {
910
- get: function () {
911
- return this.i.lh ? this.i.lh.e : NaN;
912
- },
913
- set: function (v) {
914
- this.ensureRaisedCornerRadius();
915
- var __nv = +v;
916
- if (this.i.lh.e === __nv) {
917
- return;
918
- }
919
- var __copy = new CornerRadius(2);
920
- __copy.e = __nv;
921
- __copy.c = this.i.lh.c;
922
- __copy.b = this.i.lh.b;
923
- __copy.d = this.i.lh.d;
924
- this.i.lh = __copy;
925
- this._a("raisedCornerRadiusTopRight", this.i.lh.e);
926
- },
927
- enumerable: false,
928
- configurable: true
929
- });
930
- IgcXButtonComponent.prototype.ensureRaisedCornerRadius = function () {
931
- if (this.i.lh) {
932
- return;
933
- }
934
- this.i.lh = new CornerRadius(2);
935
- };
936
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedRippleColor", {
937
- /**
938
- * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
939
- */
940
- get: function () {
941
- return brushToString(this.i.ri);
942
- },
943
- set: function (v) {
944
- this.i.ri = stringToBrush(v);
945
- this._a("raisedRippleColor", brushToString(this.i.ri));
946
- },
947
- enumerable: false,
948
- configurable: true
949
- });
950
- Object.defineProperty(IgcXButtonComponent.prototype, "flatBackgroundColor", {
951
- /**
952
- * Gets or sets the color to use for the background of the button when the type is flat.
953
- */
954
- get: function () {
955
- return brushToString(this.i.p8);
956
- },
957
- set: function (v) {
958
- this.i.p8 = stringToBrush(v);
959
- this._a("flatBackgroundColor", brushToString(this.i.p8));
960
- },
961
- enumerable: false,
962
- configurable: true
963
- });
964
- Object.defineProperty(IgcXButtonComponent.prototype, "flatDisabledBackgroundColor", {
965
- /**
966
- * Gets or sets the color to use for the disabled background of the button when the type is flat.
967
- */
968
- get: function () {
969
- return brushToString(this.i.qa);
970
- },
971
- set: function (v) {
972
- this.i.qa = stringToBrush(v);
973
- this._a("flatDisabledBackgroundColor", brushToString(this.i.qa));
974
- },
975
- enumerable: false,
976
- configurable: true
977
- });
978
- Object.defineProperty(IgcXButtonComponent.prototype, "flatDisabledBorderColor", {
979
- /**
980
- * Gets or sets the color to use for the disabled border of the button when the type is flat.
981
- */
982
- get: function () {
983
- return brushToString(this.i.qb);
984
- },
985
- set: function (v) {
986
- this.i.qb = stringToBrush(v);
987
- this._a("flatDisabledBorderColor", brushToString(this.i.qb));
988
- },
989
- enumerable: false,
990
- configurable: true
991
- });
992
- Object.defineProperty(IgcXButtonComponent.prototype, "flatDisabledTextColor", {
993
- /**
994
- * Gets or sets the color to use for the disabled text of the button when the type is flat.
995
- */
996
- get: function () {
997
- return brushToString(this.i.qc);
998
- },
999
- set: function (v) {
1000
- this.i.qc = stringToBrush(v);
1001
- this._a("flatDisabledTextColor", brushToString(this.i.qc));
1002
- },
1003
- enumerable: false,
1004
- configurable: true
1005
- });
1006
- Object.defineProperty(IgcXButtonComponent.prototype, "flatDisabledElevation", {
1007
- /**
1008
- * Gets or sets the disabled elevation to use for the button when the type is flat.
1009
- */
1010
- get: function () {
1011
- return this.i.dp;
1012
- },
1013
- set: function (v) {
1014
- this.i.dp = +v;
1015
- this._a("flatDisabledElevation", this.i.dp);
1016
- },
1017
- enumerable: false,
1018
- configurable: true
1019
- });
1020
- Object.defineProperty(IgcXButtonComponent.prototype, "flatHoverBackgroundColor", {
1021
- /**
1022
- * Gets or sets the hover color to use for the background of the button when the type is flat.
1023
- */
1024
- get: function () {
1025
- return brushToString(this.i.qf);
1026
- },
1027
- set: function (v) {
1028
- this.i.qf = stringToBrush(v);
1029
- this._a("flatHoverBackgroundColor", brushToString(this.i.qf));
1030
- },
1031
- enumerable: false,
1032
- configurable: true
1033
- });
1034
- Object.defineProperty(IgcXButtonComponent.prototype, "flatBorderColor", {
1035
- /**
1036
- * Gets or sets the border color to use for the button when the type is flat.
1037
- */
1038
- get: function () {
1039
- return brushToString(this.i.p9);
1040
- },
1041
- set: function (v) {
1042
- this.i.p9 = stringToBrush(v);
1043
- this._a("flatBorderColor", brushToString(this.i.p9));
1044
- },
1045
- enumerable: false,
1046
- configurable: true
1047
- });
1048
- Object.defineProperty(IgcXButtonComponent.prototype, "flatRestingElevation", {
1049
- /**
1050
- * Gets or sets the elevation to use for the button when the type is flat.
1051
- */
1052
- get: function () {
1053
- return this.i.ds;
1054
- },
1055
- set: function (v) {
1056
- this.i.ds = +v;
1057
- this._a("flatRestingElevation", this.i.ds);
1058
- },
1059
- enumerable: false,
1060
- configurable: true
1061
- });
1062
- Object.defineProperty(IgcXButtonComponent.prototype, "flatHoverElevation", {
1063
- /**
1064
- * Gets or sets the hover elevation to use for the button when the type is flat.
1065
- */
1066
- get: function () {
1067
- return this.i.dr;
1068
- },
1069
- set: function (v) {
1070
- this.i.dr = +v;
1071
- this._a("flatHoverElevation", this.i.dr);
1072
- },
1073
- enumerable: false,
1074
- configurable: true
1075
- });
1076
- Object.defineProperty(IgcXButtonComponent.prototype, "flatFocusElevation", {
1077
- /**
1078
- * Gets or sets the focus elevation to use for the button when the type is flat.
1079
- */
1080
- get: function () {
1081
- return this.i.dq;
1082
- },
1083
- set: function (v) {
1084
- this.i.dq = +v;
1085
- this._a("flatFocusElevation", this.i.dq);
1086
- },
1087
- enumerable: false,
1088
- configurable: true
1089
- });
1090
- Object.defineProperty(IgcXButtonComponent.prototype, "flatRippleColor", {
1091
- /**
1092
- * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1093
- */
1094
- get: function () {
1095
- return brushToString(this.i.qh);
1096
- },
1097
- set: function (v) {
1098
- this.i.qh = stringToBrush(v);
1099
- this._a("flatRippleColor", brushToString(this.i.qh));
1100
- },
1101
- enumerable: false,
1102
- configurable: true
1103
- });
1104
- Object.defineProperty(IgcXButtonComponent.prototype, "flatTextColor", {
1105
- /**
1106
- * Gets or sets the color to use for the text of the button when type is flat.
1107
- */
1108
- get: function () {
1109
- return brushToString(this.i.qi);
1110
- },
1111
- set: function (v) {
1112
- this.i.qi = stringToBrush(v);
1113
- this._a("flatTextColor", brushToString(this.i.qi));
1114
- },
1115
- enumerable: false,
1116
- configurable: true
1117
- });
1118
- Object.defineProperty(IgcXButtonComponent.prototype, "flatHoverTextColor", {
1119
- /**
1120
- * Gets or sets the color to use for the hovered text of the button when type is flat.
1121
- */
1122
- get: function () {
1123
- return brushToString(this.i.qg);
1124
- },
1125
- set: function (v) {
1126
- this.i.qg = stringToBrush(v);
1127
- this._a("flatHoverTextColor", brushToString(this.i.qg));
1128
- },
1129
- enumerable: false,
1130
- configurable: true
1131
- });
1132
- Object.defineProperty(IgcXButtonComponent.prototype, "flatFocusBackgroundColor", {
1133
- /**
1134
- * Gets or sets the color to use for the backround the button when it is focused and flat.
1135
- */
1136
- get: function () {
1137
- return brushToString(this.i.qd);
1138
- },
1139
- set: function (v) {
1140
- this.i.qd = stringToBrush(v);
1141
- this._a("flatFocusBackgroundColor", brushToString(this.i.qd));
1142
- },
1143
- enumerable: false,
1144
- configurable: true
1145
- });
1146
- Object.defineProperty(IgcXButtonComponent.prototype, "flatFocusTextColor", {
1147
- /**
1148
- * Gets or sets the color to use for the text the button when it is focused and flat.
1149
- */
1150
- get: function () {
1151
- return brushToString(this.i.qe);
1152
- },
1153
- set: function (v) {
1154
- this.i.qe = stringToBrush(v);
1155
- this._a("flatFocusTextColor", brushToString(this.i.qe));
1156
- },
1157
- enumerable: false,
1158
- configurable: true
1159
- });
1160
- Object.defineProperty(IgcXButtonComponent.prototype, "flatBorderWidth", {
1161
- /**
1162
- * Gets or sets the width to use for the button border when the type is flat.
1163
- */
1164
- get: function () {
1165
- return this.i.bw;
1166
- },
1167
- set: function (v) {
1168
- this.i.bw = +v;
1169
- this._a("flatBorderWidth", this.i.bw);
1170
- },
1171
- enumerable: false,
1172
- configurable: true
1173
- });
1174
- Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusBottomRight", {
1175
- get: function () {
1176
- return this.i.ld ? this.i.ld.c : NaN;
1177
- },
1178
- set: function (v) {
1179
- this.ensureFlatCornerRadius();
1180
- var __nv = +v;
1181
- if (this.i.ld.c === __nv) {
1182
- return;
1183
- }
1184
- var __copy = new CornerRadius(2);
1185
- __copy.c = __nv;
1186
- __copy.b = this.i.ld.b;
1187
- __copy.d = this.i.ld.d;
1188
- __copy.e = this.i.ld.e;
1189
- this.i.ld = __copy;
1190
- this._a("flatCornerRadiusBottomRight", this.i.ld.c);
1191
- },
1192
- enumerable: false,
1193
- configurable: true
1194
- });
1195
- Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusBottomLeft", {
1196
- get: function () {
1197
- return this.i.ld ? this.i.ld.b : NaN;
1198
- },
1199
- set: function (v) {
1200
- this.ensureFlatCornerRadius();
1201
- var __nv = +v;
1202
- if (this.i.ld.b === __nv) {
1203
- return;
1204
- }
1205
- var __copy = new CornerRadius(2);
1206
- __copy.b = __nv;
1207
- __copy.c = this.i.ld.c;
1208
- __copy.d = this.i.ld.d;
1209
- __copy.e = this.i.ld.e;
1210
- this.i.ld = __copy;
1211
- this._a("flatCornerRadiusBottomLeft", this.i.ld.b);
1212
- },
1213
- enumerable: false,
1214
- configurable: true
1215
- });
1216
- Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusTopLeft", {
1217
- get: function () {
1218
- return this.i.ld ? this.i.ld.d : NaN;
1219
- },
1220
- set: function (v) {
1221
- this.ensureFlatCornerRadius();
1222
- var __nv = +v;
1223
- if (this.i.ld.d === __nv) {
1224
- return;
1225
- }
1226
- var __copy = new CornerRadius(2);
1227
- __copy.d = __nv;
1228
- __copy.c = this.i.ld.c;
1229
- __copy.b = this.i.ld.b;
1230
- __copy.e = this.i.ld.e;
1231
- this.i.ld = __copy;
1232
- this._a("flatCornerRadiusTopLeft", this.i.ld.d);
1233
- },
1234
- enumerable: false,
1235
- configurable: true
1236
- });
1237
- Object.defineProperty(IgcXButtonComponent.prototype, "flatCornerRadiusTopRight", {
1238
- get: function () {
1239
- return this.i.ld ? this.i.ld.e : NaN;
1240
- },
1241
- set: function (v) {
1242
- this.ensureFlatCornerRadius();
1243
- var __nv = +v;
1244
- if (this.i.ld.e === __nv) {
1245
- return;
1246
- }
1247
- var __copy = new CornerRadius(2);
1248
- __copy.e = __nv;
1249
- __copy.c = this.i.ld.c;
1250
- __copy.b = this.i.ld.b;
1251
- __copy.d = this.i.ld.d;
1252
- this.i.ld = __copy;
1253
- this._a("flatCornerRadiusTopRight", this.i.ld.e);
1254
- },
1255
- enumerable: false,
1256
- configurable: true
1257
- });
1258
- IgcXButtonComponent.prototype.ensureFlatCornerRadius = function () {
1259
- if (this.i.ld) {
1260
- return;
1261
- }
1262
- this.i.ld = new CornerRadius(2);
1263
- };
1264
- Object.defineProperty(IgcXButtonComponent.prototype, "backgroundColor", {
1265
- /**
1266
- * Gets or sets the color to use for the background when the button regardless of type.
1267
- */
1268
- get: function () {
1269
- return brushToString(this.i.n6);
1270
- },
1271
- set: function (v) {
1272
- this.i.n6 = stringToBrush(v);
1273
- this._a("backgroundColor", brushToString(this.i.n6));
1274
- },
1275
- enumerable: false,
1276
- configurable: true
1277
- });
1278
- Object.defineProperty(IgcXButtonComponent.prototype, "disabledBackgroundColor", {
1279
- /**
1280
- * Gets or sets the color to use for the disabled background of the button when the type is disabled.
1281
- */
1282
- get: function () {
1283
- return brushToString(this.i.pu);
1284
- },
1285
- set: function (v) {
1286
- this.i.pu = stringToBrush(v);
1287
- this._a("disabledBackgroundColor", brushToString(this.i.pu));
1288
- },
1289
- enumerable: false,
1290
- configurable: true
1291
- });
1292
- Object.defineProperty(IgcXButtonComponent.prototype, "disabledBorderColor", {
1293
- /**
1294
- * Gets or sets the color to use for the disabled border of the button when the type is raised.
1295
- */
1296
- get: function () {
1297
- return brushToString(this.i.pv);
1298
- },
1299
- set: function (v) {
1300
- this.i.pv = stringToBrush(v);
1301
- this._a("disabledBorderColor", brushToString(this.i.pv));
1302
- },
1303
- enumerable: false,
1304
- configurable: true
1305
- });
1306
- Object.defineProperty(IgcXButtonComponent.prototype, "disabledTextColor", {
1307
- /**
1308
- * Gets or sets the color to use for the disabled text of the button when the type is raised.
1309
- */
1310
- get: function () {
1311
- return brushToString(this.i.pw);
1312
- },
1313
- set: function (v) {
1314
- this.i.pw = stringToBrush(v);
1315
- this._a("disabledTextColor", brushToString(this.i.pw));
1316
- },
1317
- enumerable: false,
1318
- configurable: true
1319
- });
1320
- Object.defineProperty(IgcXButtonComponent.prototype, "disabledElevation", {
1321
- /**
1322
- * Gets or sets the disabled elevation to use for the button when the type is raised.
1323
- */
1324
- get: function () {
1325
- return this.i.dj;
1326
- },
1327
- set: function (v) {
1328
- this.i.dj = +v;
1329
- this._a("disabledElevation", this.i.dj);
1330
- },
1331
- enumerable: false,
1332
- configurable: true
1333
- });
1334
- Object.defineProperty(IgcXButtonComponent.prototype, "elevationMode", {
1335
- /**
1336
- * Gets or sets the disabled elevation to use for the button when the type is raised.
1337
- */
1338
- get: function () {
1339
- return this.i.x;
1340
- },
1341
- set: function (v) {
1342
- this.i.x = ensureEnum(ElevationMode_$type, v);
1343
- this._a("elevationMode", enumToString(ElevationMode_$type, this.i.x));
1344
- },
1345
- enumerable: false,
1346
- configurable: true
1347
- });
1348
- Object.defineProperty(IgcXButtonComponent.prototype, "hoverBackgroundColor", {
1349
- /**
1350
- * Gets or sets the hover color to use for the background of the button when the type is hovered.
1351
- */
1352
- get: function () {
1353
- return brushToString(this.i.ql);
1354
- },
1355
- set: function (v) {
1356
- this.i.ql = stringToBrush(v);
1357
- this._a("hoverBackgroundColor", brushToString(this.i.ql));
1358
- },
1359
- enumerable: false,
1360
- configurable: true
1361
- });
1362
- Object.defineProperty(IgcXButtonComponent.prototype, "borderColor", {
1363
- /**
1364
- * Gets or sets the border color to use for the button regardless of type.
1365
- */
1366
- get: function () {
1367
- return brushToString(this.i.n7);
1368
- },
1369
- set: function (v) {
1370
- this.i.n7 = stringToBrush(v);
1371
- this._a("borderColor", brushToString(this.i.n7));
1372
- },
1373
- enumerable: false,
1374
- configurable: true
1375
- });
1376
- Object.defineProperty(IgcXButtonComponent.prototype, "restingElevation", {
1377
- /**
1378
- * Gets or sets the elevation to use for the button regardless of type.
1379
- */
1380
- get: function () {
1381
- return this.i.d7;
1382
- },
1383
- set: function (v) {
1384
- this.i.d7 = +v;
1385
- this._a("restingElevation", this.i.d7);
1386
- },
1387
- enumerable: false,
1388
- configurable: true
1389
- });
1390
- Object.defineProperty(IgcXButtonComponent.prototype, "hoverElevation", {
1391
- /**
1392
- * Gets or sets the hover elevation to use for the button regardless of type.
1393
- */
1394
- get: function () {
1395
- return this.i.du;
1396
- },
1397
- set: function (v) {
1398
- this.i.du = +v;
1399
- this._a("hoverElevation", this.i.du);
1400
- },
1401
- enumerable: false,
1402
- configurable: true
1403
- });
1404
- Object.defineProperty(IgcXButtonComponent.prototype, "focusElevation", {
1405
- /**
1406
- * Gets or sets the focus elevation to use for the button regardless of type.
1407
- */
1408
- get: function () {
1409
- return this.i.dt;
1410
- },
1411
- set: function (v) {
1412
- this.i.dt = +v;
1413
- this._a("focusElevation", this.i.dt);
1414
- },
1415
- enumerable: false,
1416
- configurable: true
1417
- });
1418
- Object.defineProperty(IgcXButtonComponent.prototype, "textStyle", {
1419
- /**
1420
- * Gets or sets the use for the button.
1421
- */
1422
- get: function () {
1423
- if (this.i.ab == null) {
1424
- return null;
1425
- }
1426
- return this.i.ab.fontString;
1427
- },
1428
- set: function (v) {
1429
- var fi = new FontInfo();
1430
- fi.fontString = v;
1431
- this.i.ab = fi;
1432
- this._a("textStyle", this.i.ab != null ? this.i.ab.fontString : "");
1433
- },
1434
- enumerable: false,
1435
- configurable: true
1436
- });
1437
- Object.defineProperty(IgcXButtonComponent.prototype, "textColor", {
1438
- /**
1439
- * Gets or sets the color to use for the text of the button regardless of type.
1440
- */
1441
- get: function () {
1442
- return brushToString(this.i.rl);
1443
- },
1444
- set: function (v) {
1445
- this.i.rl = stringToBrush(v);
1446
- this._a("textColor", brushToString(this.i.rl));
1447
- },
1448
- enumerable: false,
1449
- configurable: true
1450
- });
1451
- Object.defineProperty(IgcXButtonComponent.prototype, "hoverTextColor", {
1452
- /**
1453
- * Gets or sets the color to use for the hovered text of the button regardless of type.
1454
- */
1455
- get: function () {
1456
- return brushToString(this.i.qm);
1457
- },
1458
- set: function (v) {
1459
- this.i.qm = stringToBrush(v);
1460
- this._a("hoverTextColor", brushToString(this.i.qm));
1461
- },
1462
- enumerable: false,
1463
- configurable: true
1464
- });
1465
- Object.defineProperty(IgcXButtonComponent.prototype, "rippleColor", {
1466
- /**
1467
- * Gets or sets the color to use for the background of the button regardless of type.
1468
- */
1469
- get: function () {
1470
- return brushToString(this.i.rk);
1471
- },
1472
- set: function (v) {
1473
- this.i.rk = stringToBrush(v);
1474
- this._a("rippleColor", brushToString(this.i.rk));
1475
- },
1476
- enumerable: false,
1477
- configurable: true
1478
- });
1479
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedTextColor", {
1480
- /**
1481
- * Gets or sets the color to use for the text of the button when type is raised.
1482
- */
1483
- get: function () {
1484
- return brushToString(this.i.rj);
1485
- },
1486
- set: function (v) {
1487
- this.i.rj = stringToBrush(v);
1488
- this._a("raisedTextColor", brushToString(this.i.rj));
1489
- },
1490
- enumerable: false,
1491
- configurable: true
1492
- });
1493
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedHoverTextColor", {
1494
- /**
1495
- * Gets or sets the color to use for the hovered text of the button when type is raised.
1496
- */
1497
- get: function () {
1498
- return brushToString(this.i.rh);
1499
- },
1500
- set: function (v) {
1501
- this.i.rh = stringToBrush(v);
1502
- this._a("raisedHoverTextColor", brushToString(this.i.rh));
1503
- },
1504
- enumerable: false,
1505
- configurable: true
1506
- });
1507
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedFocusBackgroundColor", {
1508
- /**
1509
- * Gets or sets the color to use for the backround the button when it is focused and raised.
1510
- */
1511
- get: function () {
1512
- return brushToString(this.i.re);
1513
- },
1514
- set: function (v) {
1515
- this.i.re = stringToBrush(v);
1516
- this._a("raisedFocusBackgroundColor", brushToString(this.i.re));
1517
- },
1518
- enumerable: false,
1519
- configurable: true
1520
- });
1521
- Object.defineProperty(IgcXButtonComponent.prototype, "raisedFocusTextColor", {
1522
- /**
1523
- * Gets or sets the color to use for the text the button when it is focused and raised.
1524
- */
1525
- get: function () {
1526
- return brushToString(this.i.rf);
1527
- },
1528
- set: function (v) {
1529
- this.i.rf = stringToBrush(v);
1530
- this._a("raisedFocusTextColor", brushToString(this.i.rf));
1531
- },
1532
- enumerable: false,
1533
- configurable: true
1534
- });
1535
- Object.defineProperty(IgcXButtonComponent.prototype, "focusBackgroundColor", {
1536
- /**
1537
- * Gets or sets the color to use for the backround the button when it is focused.
1538
- */
1539
- get: function () {
1540
- return brushToString(this.i.qj);
1541
- },
1542
- set: function (v) {
1543
- this.i.qj = stringToBrush(v);
1544
- this._a("focusBackgroundColor", brushToString(this.i.qj));
1545
- },
1546
- enumerable: false,
1547
- configurable: true
1548
- });
1549
- Object.defineProperty(IgcXButtonComponent.prototype, "focusTextColor", {
1550
- /**
1551
- * Gets or sets the color to use for the text of the button when it is focused.
1552
- */
1553
- get: function () {
1554
- return brushToString(this.i.qk);
1555
- },
1556
- set: function (v) {
1557
- this.i.qk = stringToBrush(v);
1558
- this._a("focusTextColor", brushToString(this.i.qk));
1559
- },
1560
- enumerable: false,
1561
- configurable: true
1562
- });
1563
- Object.defineProperty(IgcXButtonComponent.prototype, "borderWidth", {
1564
- /**
1565
- * Gets or sets the width to use for the button border regardless of type.
1566
- */
1567
- get: function () {
1568
- return this.i.bl;
1569
- },
1570
- set: function (v) {
1571
- this.i.bl = +v;
1572
- this._a("borderWidth", this.i.bl);
1573
- },
1574
- enumerable: false,
1575
- configurable: true
1576
- });
1577
- Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusBottomRight", {
1578
- get: function () {
1579
- return this.i.k6 ? this.i.k6.c : NaN;
1580
- },
1581
- set: function (v) {
1582
- this.ensureCornerRadius();
1583
- var __nv = +v;
1584
- if (this.i.k6.c === __nv) {
1585
- return;
1586
- }
1587
- var __copy = new CornerRadius(2);
1588
- __copy.c = __nv;
1589
- __copy.b = this.i.k6.b;
1590
- __copy.d = this.i.k6.d;
1591
- __copy.e = this.i.k6.e;
1592
- this.i.k6 = __copy;
1593
- this._a("cornerRadiusBottomRight", this.i.k6.c);
1594
- },
1595
- enumerable: false,
1596
- configurable: true
1597
- });
1598
- Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusBottomLeft", {
1599
- get: function () {
1600
- return this.i.k6 ? this.i.k6.b : NaN;
1601
- },
1602
- set: function (v) {
1603
- this.ensureCornerRadius();
1604
- var __nv = +v;
1605
- if (this.i.k6.b === __nv) {
1606
- return;
1607
- }
1608
- var __copy = new CornerRadius(2);
1609
- __copy.b = __nv;
1610
- __copy.c = this.i.k6.c;
1611
- __copy.d = this.i.k6.d;
1612
- __copy.e = this.i.k6.e;
1613
- this.i.k6 = __copy;
1614
- this._a("cornerRadiusBottomLeft", this.i.k6.b);
1615
- },
1616
- enumerable: false,
1617
- configurable: true
1618
- });
1619
- Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusTopLeft", {
1620
- get: function () {
1621
- return this.i.k6 ? this.i.k6.d : NaN;
1622
- },
1623
- set: function (v) {
1624
- this.ensureCornerRadius();
1625
- var __nv = +v;
1626
- if (this.i.k6.d === __nv) {
1627
- return;
1628
- }
1629
- var __copy = new CornerRadius(2);
1630
- __copy.d = __nv;
1631
- __copy.c = this.i.k6.c;
1632
- __copy.b = this.i.k6.b;
1633
- __copy.e = this.i.k6.e;
1634
- this.i.k6 = __copy;
1635
- this._a("cornerRadiusTopLeft", this.i.k6.d);
1636
- },
1637
- enumerable: false,
1638
- configurable: true
1639
- });
1640
- Object.defineProperty(IgcXButtonComponent.prototype, "cornerRadiusTopRight", {
1641
- get: function () {
1642
- return this.i.k6 ? this.i.k6.e : NaN;
1643
- },
1644
- set: function (v) {
1645
- this.ensureCornerRadius();
1646
- var __nv = +v;
1647
- if (this.i.k6.e === __nv) {
1648
- return;
1649
- }
1650
- var __copy = new CornerRadius(2);
1651
- __copy.e = __nv;
1652
- __copy.c = this.i.k6.c;
1653
- __copy.b = this.i.k6.b;
1654
- __copy.d = this.i.k6.d;
1655
- this.i.k6 = __copy;
1656
- this._a("cornerRadiusTopRight", this.i.k6.e);
1657
- },
1658
- enumerable: false,
1659
- configurable: true
1660
- });
1661
- IgcXButtonComponent.prototype.ensureCornerRadius = function () {
1662
- if (this.i.k6) {
1663
- return;
1664
- }
1665
- this.i.k6 = new CornerRadius(2);
1666
- };
1667
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedBackgroundColor", {
1668
- /**
1669
- * Gets or sets the color to use for the background of the button when the type is outlined.
1670
- */
1671
- get: function () {
1672
- return brushToString(this.i.qy);
1673
- },
1674
- set: function (v) {
1675
- this.i.qy = stringToBrush(v);
1676
- this._a("outlinedBackgroundColor", brushToString(this.i.qy));
1677
- },
1678
- enumerable: false,
1679
- configurable: true
1680
- });
1681
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedDisabledBackgroundColor", {
1682
- /**
1683
- * Gets or sets the color to use for the disabled background of the button when the type is outlined.
1684
- */
1685
- get: function () {
1686
- return brushToString(this.i.q0);
1687
- },
1688
- set: function (v) {
1689
- this.i.q0 = stringToBrush(v);
1690
- this._a("outlinedDisabledBackgroundColor", brushToString(this.i.q0));
1691
- },
1692
- enumerable: false,
1693
- configurable: true
1694
- });
1695
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedDisabledBorderColor", {
1696
- /**
1697
- * Gets or sets the color to use for the disabled border of the button when the type is outlined.
1698
- */
1699
- get: function () {
1700
- return brushToString(this.i.q1);
1701
- },
1702
- set: function (v) {
1703
- this.i.q1 = stringToBrush(v);
1704
- this._a("outlinedDisabledBorderColor", brushToString(this.i.q1));
1705
- },
1706
- enumerable: false,
1707
- configurable: true
1708
- });
1709
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedDisabledTextColor", {
1710
- /**
1711
- * Gets or sets the color to use for the disabled text of the button when the type is outlined.
1712
- */
1713
- get: function () {
1714
- return brushToString(this.i.q2);
1715
- },
1716
- set: function (v) {
1717
- this.i.q2 = stringToBrush(v);
1718
- this._a("outlinedDisabledTextColor", brushToString(this.i.q2));
1719
- },
1720
- enumerable: false,
1721
- configurable: true
1722
- });
1723
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedDisabledElevation", {
1724
- /**
1725
- * Gets or sets the disabled elevation to use for the button when the type is outlined.
1726
- */
1727
- get: function () {
1728
- return this.i.dz;
1729
- },
1730
- set: function (v) {
1731
- this.i.dz = +v;
1732
- this._a("outlinedDisabledElevation", this.i.dz);
1733
- },
1734
- enumerable: false,
1735
- configurable: true
1736
- });
1737
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedHoverBackgroundColor", {
1738
- /**
1739
- * Gets or sets the hover color to use for the background of the button when the type is hoveredOutlined.
1740
- */
1741
- get: function () {
1742
- return brushToString(this.i.q5);
1743
- },
1744
- set: function (v) {
1745
- this.i.q5 = stringToBrush(v);
1746
- this._a("outlinedHoverBackgroundColor", brushToString(this.i.q5));
1747
- },
1748
- enumerable: false,
1749
- configurable: true
1750
- });
1751
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedBorderColor", {
1752
- /**
1753
- * Gets or sets the border color to use for the button when the type is outlined.
1754
- */
1755
- get: function () {
1756
- return brushToString(this.i.qz);
1757
- },
1758
- set: function (v) {
1759
- this.i.qz = stringToBrush(v);
1760
- this._a("outlinedBorderColor", brushToString(this.i.qz));
1761
- },
1762
- enumerable: false,
1763
- configurable: true
1764
- });
1765
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedRestingElevation", {
1766
- /**
1767
- * Gets or sets the elevation to use for the button when the type is outlined.
1768
- */
1769
- get: function () {
1770
- return this.i.d2;
1771
- },
1772
- set: function (v) {
1773
- this.i.d2 = +v;
1774
- this._a("outlinedRestingElevation", this.i.d2);
1775
- },
1776
- enumerable: false,
1777
- configurable: true
1778
- });
1779
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedHoverElevation", {
1780
- /**
1781
- * Gets or sets the hover elevation to use for the button when the type is outlined.
1782
- */
1783
- get: function () {
1784
- return this.i.d1;
1785
- },
1786
- set: function (v) {
1787
- this.i.d1 = +v;
1788
- this._a("outlinedHoverElevation", this.i.d1);
1789
- },
1790
- enumerable: false,
1791
- configurable: true
1792
- });
1793
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedFocusElevation", {
1794
- /**
1795
- * Gets or sets the focus elevation to use for the button when the type is outlined.
1796
- */
1797
- get: function () {
1798
- return this.i.d0;
1799
- },
1800
- set: function (v) {
1801
- this.i.d0 = +v;
1802
- this._a("outlinedFocusElevation", this.i.d0);
1803
- },
1804
- enumerable: false,
1805
- configurable: true
1806
- });
1807
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedBorderWidth", {
1808
- /**
1809
- * Gets or sets the width to use for the button border when the type is outlined.
1810
- */
1811
- get: function () {
1812
- return this.i.b0;
1813
- },
1814
- set: function (v) {
1815
- this.i.b0 = +v;
1816
- this._a("outlinedBorderWidth", this.i.b0);
1817
- },
1818
- enumerable: false,
1819
- configurable: true
1820
- });
1821
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusBottomRight", {
1822
- get: function () {
1823
- return this.i.lg ? this.i.lg.c : NaN;
1824
- },
1825
- set: function (v) {
1826
- this.ensureOutlinedCornerRadius();
1827
- var __nv = +v;
1828
- if (this.i.lg.c === __nv) {
1829
- return;
1830
- }
1831
- var __copy = new CornerRadius(2);
1832
- __copy.c = __nv;
1833
- __copy.b = this.i.lg.b;
1834
- __copy.d = this.i.lg.d;
1835
- __copy.e = this.i.lg.e;
1836
- this.i.lg = __copy;
1837
- this._a("outlinedCornerRadiusBottomRight", this.i.lg.c);
1838
- },
1839
- enumerable: false,
1840
- configurable: true
1841
- });
1842
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusBottomLeft", {
1843
- get: function () {
1844
- return this.i.lg ? this.i.lg.b : NaN;
1845
- },
1846
- set: function (v) {
1847
- this.ensureOutlinedCornerRadius();
1848
- var __nv = +v;
1849
- if (this.i.lg.b === __nv) {
1850
- return;
1851
- }
1852
- var __copy = new CornerRadius(2);
1853
- __copy.b = __nv;
1854
- __copy.c = this.i.lg.c;
1855
- __copy.d = this.i.lg.d;
1856
- __copy.e = this.i.lg.e;
1857
- this.i.lg = __copy;
1858
- this._a("outlinedCornerRadiusBottomLeft", this.i.lg.b);
1859
- },
1860
- enumerable: false,
1861
- configurable: true
1862
- });
1863
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusTopLeft", {
1864
- get: function () {
1865
- return this.i.lg ? this.i.lg.d : NaN;
1866
- },
1867
- set: function (v) {
1868
- this.ensureOutlinedCornerRadius();
1869
- var __nv = +v;
1870
- if (this.i.lg.d === __nv) {
1871
- return;
1872
- }
1873
- var __copy = new CornerRadius(2);
1874
- __copy.d = __nv;
1875
- __copy.c = this.i.lg.c;
1876
- __copy.b = this.i.lg.b;
1877
- __copy.e = this.i.lg.e;
1878
- this.i.lg = __copy;
1879
- this._a("outlinedCornerRadiusTopLeft", this.i.lg.d);
1880
- },
1881
- enumerable: false,
1882
- configurable: true
1883
- });
1884
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedCornerRadiusTopRight", {
1885
- get: function () {
1886
- return this.i.lg ? this.i.lg.e : NaN;
1887
- },
1888
- set: function (v) {
1889
- this.ensureOutlinedCornerRadius();
1890
- var __nv = +v;
1891
- if (this.i.lg.e === __nv) {
1892
- return;
1893
- }
1894
- var __copy = new CornerRadius(2);
1895
- __copy.e = __nv;
1896
- __copy.c = this.i.lg.c;
1897
- __copy.b = this.i.lg.b;
1898
- __copy.d = this.i.lg.d;
1899
- this.i.lg = __copy;
1900
- this._a("outlinedCornerRadiusTopRight", this.i.lg.e);
1901
- },
1902
- enumerable: false,
1903
- configurable: true
1904
- });
1905
- IgcXButtonComponent.prototype.ensureOutlinedCornerRadius = function () {
1906
- if (this.i.lg) {
1907
- return;
1908
- }
1909
- this.i.lg = new CornerRadius(2);
1910
- };
1911
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedRippleColor", {
1912
- /**
1913
- * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
1914
- */
1915
- get: function () {
1916
- return brushToString(this.i.q7);
1917
- },
1918
- set: function (v) {
1919
- this.i.q7 = stringToBrush(v);
1920
- this._a("outlinedRippleColor", brushToString(this.i.q7));
1921
- },
1922
- enumerable: false,
1923
- configurable: true
1924
- });
1925
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedTextColor", {
1926
- /**
1927
- * Gets or sets the color to use for the text of the button when type is outlined.
1928
- */
1929
- get: function () {
1930
- return brushToString(this.i.q8);
1931
- },
1932
- set: function (v) {
1933
- this.i.q8 = stringToBrush(v);
1934
- this._a("outlinedTextColor", brushToString(this.i.q8));
1935
- },
1936
- enumerable: false,
1937
- configurable: true
1938
- });
1939
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedHoverTextColor", {
1940
- /**
1941
- * Gets or sets the color to use for the hovered text of the button when type is outlined.
1942
- */
1943
- get: function () {
1944
- return brushToString(this.i.q6);
1945
- },
1946
- set: function (v) {
1947
- this.i.q6 = stringToBrush(v);
1948
- this._a("outlinedHoverTextColor", brushToString(this.i.q6));
1949
- },
1950
- enumerable: false,
1951
- configurable: true
1952
- });
1953
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedFocusBackgroundColor", {
1954
- /**
1955
- * Gets or sets the color to use for the backround the button when it is focused and outlined.
1956
- */
1957
- get: function () {
1958
- return brushToString(this.i.q3);
1959
- },
1960
- set: function (v) {
1961
- this.i.q3 = stringToBrush(v);
1962
- this._a("outlinedFocusBackgroundColor", brushToString(this.i.q3));
1963
- },
1964
- enumerable: false,
1965
- configurable: true
1966
- });
1967
- Object.defineProperty(IgcXButtonComponent.prototype, "outlinedFocusTextColor", {
1968
- /**
1969
- * Gets or sets the color to use for the text the button when it is focused and outlined.
1970
- */
1971
- get: function () {
1972
- return brushToString(this.i.q4);
1973
- },
1974
- set: function (v) {
1975
- this.i.q4 = stringToBrush(v);
1976
- this._a("outlinedFocusTextColor", brushToString(this.i.q4));
1977
- },
1978
- enumerable: false,
1979
- configurable: true
1980
- });
1981
- Object.defineProperty(IgcXButtonComponent.prototype, "fabBackgroundColor", {
1982
- /**
1983
- * Gets or sets the color to use for the background of the button when the type is floating action button.
1984
- */
1985
- get: function () {
1986
- return brushToString(this.i.px);
1987
- },
1988
- set: function (v) {
1989
- this.i.px = stringToBrush(v);
1990
- this._a("fabBackgroundColor", brushToString(this.i.px));
1991
- },
1992
- enumerable: false,
1993
- configurable: true
1994
- });
1995
- Object.defineProperty(IgcXButtonComponent.prototype, "fabDisabledBackgroundColor", {
1996
- /**
1997
- * Gets or sets the color to use for the disabled background of the button when the type is fab.
1998
- */
1999
- get: function () {
2000
- return brushToString(this.i.pz);
2001
- },
2002
- set: function (v) {
2003
- this.i.pz = stringToBrush(v);
2004
- this._a("fabDisabledBackgroundColor", brushToString(this.i.pz));
2005
- },
2006
- enumerable: false,
2007
- configurable: true
2008
- });
2009
- Object.defineProperty(IgcXButtonComponent.prototype, "fabDisabledBorderColor", {
2010
- /**
2011
- * Gets or sets the color to use for the disabled border of the button when the type is fab.
2012
- */
2013
- get: function () {
2014
- return brushToString(this.i.p0);
2015
- },
2016
- set: function (v) {
2017
- this.i.p0 = stringToBrush(v);
2018
- this._a("fabDisabledBorderColor", brushToString(this.i.p0));
2019
- },
2020
- enumerable: false,
2021
- configurable: true
2022
- });
2023
- Object.defineProperty(IgcXButtonComponent.prototype, "fabDisabledTextColor", {
2024
- /**
2025
- * Gets or sets the color to use for the disabled text of the button when the type is fab.
2026
- */
2027
- get: function () {
2028
- return brushToString(this.i.p1);
2029
- },
2030
- set: function (v) {
2031
- this.i.p1 = stringToBrush(v);
2032
- this._a("fabDisabledTextColor", brushToString(this.i.p1));
2033
- },
2034
- enumerable: false,
2035
- configurable: true
2036
- });
2037
- Object.defineProperty(IgcXButtonComponent.prototype, "fabDisabledElevation", {
2038
- /**
2039
- * Gets or sets the disabled elevation to use for the button when the type is fab.
2040
- */
2041
- get: function () {
2042
- return this.i.dk;
2043
- },
2044
- set: function (v) {
2045
- this.i.dk = +v;
2046
- this._a("fabDisabledElevation", this.i.dk);
2047
- },
2048
- enumerable: false,
2049
- configurable: true
2050
- });
2051
- Object.defineProperty(IgcXButtonComponent.prototype, "fabHoverBackgroundColor", {
2052
- /**
2053
- * Gets or sets the hover color to use for the background of the button when the type is hoveredFab.
2054
- */
2055
- get: function () {
2056
- return brushToString(this.i.p4);
2057
- },
2058
- set: function (v) {
2059
- this.i.p4 = stringToBrush(v);
2060
- this._a("fabHoverBackgroundColor", brushToString(this.i.p4));
2061
- },
2062
- enumerable: false,
2063
- configurable: true
2064
- });
2065
- Object.defineProperty(IgcXButtonComponent.prototype, "fabBorderColor", {
2066
- /**
2067
- * Gets or sets the border color to use for the button when the type is floating action button.
2068
- */
2069
- get: function () {
2070
- return brushToString(this.i.py);
2071
- },
2072
- set: function (v) {
2073
- this.i.py = stringToBrush(v);
2074
- this._a("fabBorderColor", brushToString(this.i.py));
2075
- },
2076
- enumerable: false,
2077
- configurable: true
2078
- });
2079
- Object.defineProperty(IgcXButtonComponent.prototype, "fabRestingElevation", {
2080
- /**
2081
- * Gets or sets the elevation to use for the button when the type is floating action button.
2082
- */
2083
- get: function () {
2084
- return this.i.dn;
2085
- },
2086
- set: function (v) {
2087
- this.i.dn = +v;
2088
- this._a("fabRestingElevation", this.i.dn);
2089
- },
2090
- enumerable: false,
2091
- configurable: true
2092
- });
2093
- Object.defineProperty(IgcXButtonComponent.prototype, "fabHoverElevation", {
2094
- /**
2095
- * Gets or sets the hover elevation to use for the button when the type is floating action button.
2096
- */
2097
- get: function () {
2098
- return this.i.dm;
2099
- },
2100
- set: function (v) {
2101
- this.i.dm = +v;
2102
- this._a("fabHoverElevation", this.i.dm);
2103
- },
2104
- enumerable: false,
2105
- configurable: true
2106
- });
2107
- Object.defineProperty(IgcXButtonComponent.prototype, "fabFocusElevation", {
2108
- /**
2109
- * Gets or sets the focus elevation to use for the button when the type is floating action button.
2110
- */
2111
- get: function () {
2112
- return this.i.dl;
2113
- },
2114
- set: function (v) {
2115
- this.i.dl = +v;
2116
- this._a("fabFocusElevation", this.i.dl);
2117
- },
2118
- enumerable: false,
2119
- configurable: true
2120
- });
2121
- Object.defineProperty(IgcXButtonComponent.prototype, "fabBorderWidth", {
2122
- /**
2123
- * Gets or sets the width to use for the button border when the type is floating action button.
2124
- */
2125
- get: function () {
2126
- return this.i.bv;
2127
- },
2128
- set: function (v) {
2129
- this.i.bv = +v;
2130
- this._a("fabBorderWidth", this.i.bv);
2131
- },
2132
- enumerable: false,
2133
- configurable: true
2134
- });
2135
- Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusBottomRight", {
2136
- get: function () {
2137
- return this.i.lc ? this.i.lc.c : NaN;
2138
- },
2139
- set: function (v) {
2140
- this.ensureFabCornerRadius();
2141
- var __nv = +v;
2142
- if (this.i.lc.c === __nv) {
2143
- return;
2144
- }
2145
- var __copy = new CornerRadius(2);
2146
- __copy.c = __nv;
2147
- __copy.b = this.i.lc.b;
2148
- __copy.d = this.i.lc.d;
2149
- __copy.e = this.i.lc.e;
2150
- this.i.lc = __copy;
2151
- this._a("fabCornerRadiusBottomRight", this.i.lc.c);
2152
- },
2153
- enumerable: false,
2154
- configurable: true
2155
- });
2156
- Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusBottomLeft", {
2157
- get: function () {
2158
- return this.i.lc ? this.i.lc.b : NaN;
2159
- },
2160
- set: function (v) {
2161
- this.ensureFabCornerRadius();
2162
- var __nv = +v;
2163
- if (this.i.lc.b === __nv) {
2164
- return;
2165
- }
2166
- var __copy = new CornerRadius(2);
2167
- __copy.b = __nv;
2168
- __copy.c = this.i.lc.c;
2169
- __copy.d = this.i.lc.d;
2170
- __copy.e = this.i.lc.e;
2171
- this.i.lc = __copy;
2172
- this._a("fabCornerRadiusBottomLeft", this.i.lc.b);
2173
- },
2174
- enumerable: false,
2175
- configurable: true
2176
- });
2177
- Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusTopLeft", {
2178
- get: function () {
2179
- return this.i.lc ? this.i.lc.d : NaN;
2180
- },
2181
- set: function (v) {
2182
- this.ensureFabCornerRadius();
2183
- var __nv = +v;
2184
- if (this.i.lc.d === __nv) {
2185
- return;
2186
- }
2187
- var __copy = new CornerRadius(2);
2188
- __copy.d = __nv;
2189
- __copy.c = this.i.lc.c;
2190
- __copy.b = this.i.lc.b;
2191
- __copy.e = this.i.lc.e;
2192
- this.i.lc = __copy;
2193
- this._a("fabCornerRadiusTopLeft", this.i.lc.d);
2194
- },
2195
- enumerable: false,
2196
- configurable: true
2197
- });
2198
- Object.defineProperty(IgcXButtonComponent.prototype, "fabCornerRadiusTopRight", {
2199
- get: function () {
2200
- return this.i.lc ? this.i.lc.e : NaN;
2201
- },
2202
- set: function (v) {
2203
- this.ensureFabCornerRadius();
2204
- var __nv = +v;
2205
- if (this.i.lc.e === __nv) {
2206
- return;
2207
- }
2208
- var __copy = new CornerRadius(2);
2209
- __copy.e = __nv;
2210
- __copy.c = this.i.lc.c;
2211
- __copy.b = this.i.lc.b;
2212
- __copy.d = this.i.lc.d;
2213
- this.i.lc = __copy;
2214
- this._a("fabCornerRadiusTopRight", this.i.lc.e);
2215
- },
2216
- enumerable: false,
2217
- configurable: true
2218
- });
2219
- IgcXButtonComponent.prototype.ensureFabCornerRadius = function () {
2220
- if (this.i.lc) {
2221
- return;
2222
- }
2223
- this.i.lc = new CornerRadius(2);
2224
- };
2225
- Object.defineProperty(IgcXButtonComponent.prototype, "fabRippleColor", {
2226
- /**
2227
- * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
2228
- */
2229
- get: function () {
2230
- return brushToString(this.i.p6);
2231
- },
2232
- set: function (v) {
2233
- this.i.p6 = stringToBrush(v);
2234
- this._a("fabRippleColor", brushToString(this.i.p6));
2235
- },
2236
- enumerable: false,
2237
- configurable: true
2238
- });
2239
- Object.defineProperty(IgcXButtonComponent.prototype, "fabTextColor", {
2240
- /**
2241
- * Gets or sets the color to use for the text of the button when type is floating action button.
2242
- */
2243
- get: function () {
2244
- return brushToString(this.i.p7);
2245
- },
2246
- set: function (v) {
2247
- this.i.p7 = stringToBrush(v);
2248
- this._a("fabTextColor", brushToString(this.i.p7));
2249
- },
2250
- enumerable: false,
2251
- configurable: true
2252
- });
2253
- Object.defineProperty(IgcXButtonComponent.prototype, "fabHoverTextColor", {
2254
- /**
2255
- * Gets or sets the color to use for the hovered text of the button when type is floating action button.
2256
- */
2257
- get: function () {
2258
- return brushToString(this.i.p5);
2259
- },
2260
- set: function (v) {
2261
- this.i.p5 = stringToBrush(v);
2262
- this._a("fabHoverTextColor", brushToString(this.i.p5));
2263
- },
2264
- enumerable: false,
2265
- configurable: true
2266
- });
2267
- Object.defineProperty(IgcXButtonComponent.prototype, "fabFocusBackgroundColor", {
2268
- /**
2269
- * Gets or sets the color to use for the backround the button when it is focused and fab.
2270
- */
2271
- get: function () {
2272
- return brushToString(this.i.p2);
2273
- },
2274
- set: function (v) {
2275
- this.i.p2 = stringToBrush(v);
2276
- this._a("fabFocusBackgroundColor", brushToString(this.i.p2));
2277
- },
2278
- enumerable: false,
2279
- configurable: true
2280
- });
2281
- Object.defineProperty(IgcXButtonComponent.prototype, "fabFocusTextColor", {
2282
- /**
2283
- * Gets or sets the color to use for the text the button when it is focused and fab.
2284
- */
2285
- get: function () {
2286
- return brushToString(this.i.p3);
2287
- },
2288
- set: function (v) {
2289
- this.i.p3 = stringToBrush(v);
2290
- this._a("fabFocusTextColor", brushToString(this.i.p3));
2291
- },
2292
- enumerable: false,
2293
- configurable: true
2294
- });
2295
- Object.defineProperty(IgcXButtonComponent.prototype, "iconBackgroundColor", {
2296
- /**
2297
- * Gets or sets the color to use for the background of the button when the type is icon.
2298
- */
2299
- get: function () {
2300
- return brushToString(this.i.qn);
2301
- },
2302
- set: function (v) {
2303
- this.i.qn = stringToBrush(v);
2304
- this._a("iconBackgroundColor", brushToString(this.i.qn));
2305
- },
2306
- enumerable: false,
2307
- configurable: true
2308
- });
2309
- Object.defineProperty(IgcXButtonComponent.prototype, "iconDisabledBackgroundColor", {
2310
- /**
2311
- * Gets or sets the color to use for the disabled background of the button when the type is icon.
2312
- */
2313
- get: function () {
2314
- return brushToString(this.i.qp);
2315
- },
2316
- set: function (v) {
2317
- this.i.qp = stringToBrush(v);
2318
- this._a("iconDisabledBackgroundColor", brushToString(this.i.qp));
2319
- },
2320
- enumerable: false,
2321
- configurable: true
2322
- });
2323
- Object.defineProperty(IgcXButtonComponent.prototype, "iconDisabledBorderColor", {
2324
- /**
2325
- * Gets or sets the color to use for the disabled border of the button when the type is icon.
2326
- */
2327
- get: function () {
2328
- return brushToString(this.i.qq);
2329
- },
2330
- set: function (v) {
2331
- this.i.qq = stringToBrush(v);
2332
- this._a("iconDisabledBorderColor", brushToString(this.i.qq));
2333
- },
2334
- enumerable: false,
2335
- configurable: true
2336
- });
2337
- Object.defineProperty(IgcXButtonComponent.prototype, "iconDisabledTextColor", {
2338
- /**
2339
- * Gets or sets the color to use for the disabled text of the button when the type is icon.
2340
- */
2341
- get: function () {
2342
- return brushToString(this.i.qr);
2343
- },
2344
- set: function (v) {
2345
- this.i.qr = stringToBrush(v);
2346
- this._a("iconDisabledTextColor", brushToString(this.i.qr));
2347
- },
2348
- enumerable: false,
2349
- configurable: true
2350
- });
2351
- Object.defineProperty(IgcXButtonComponent.prototype, "iconDisabledElevation", {
2352
- /**
2353
- * Gets or sets the disabled elevation to use for the button when the type is icon.
2354
- */
2355
- get: function () {
2356
- return this.i.dv;
2357
- },
2358
- set: function (v) {
2359
- this.i.dv = +v;
2360
- this._a("iconDisabledElevation", this.i.dv);
2361
- },
2362
- enumerable: false,
2363
- configurable: true
2364
- });
2365
- Object.defineProperty(IgcXButtonComponent.prototype, "iconHoverBackgroundColor", {
2366
- /**
2367
- * Gets or sets the hover color to use for the background of the button when the type is hoveredIcon.
2368
- */
2369
- get: function () {
2370
- return brushToString(this.i.qu);
2371
- },
2372
- set: function (v) {
2373
- this.i.qu = stringToBrush(v);
2374
- this._a("iconHoverBackgroundColor", brushToString(this.i.qu));
2375
- },
2376
- enumerable: false,
2377
- configurable: true
2378
- });
2379
- Object.defineProperty(IgcXButtonComponent.prototype, "iconBorderColor", {
2380
- /**
2381
- * Gets or sets the border color to use for the button when the type is icon.
2382
- */
2383
- get: function () {
2384
- return brushToString(this.i.qo);
2385
- },
2386
- set: function (v) {
2387
- this.i.qo = stringToBrush(v);
2388
- this._a("iconBorderColor", brushToString(this.i.qo));
2389
- },
2390
- enumerable: false,
2391
- configurable: true
2392
- });
2393
- Object.defineProperty(IgcXButtonComponent.prototype, "iconRestingElevation", {
2394
- /**
2395
- * Gets or sets the elevation to use for the button when the type is icon.
2396
- */
2397
- get: function () {
2398
- return this.i.dy;
2399
- },
2400
- set: function (v) {
2401
- this.i.dy = +v;
2402
- this._a("iconRestingElevation", this.i.dy);
2403
- },
2404
- enumerable: false,
2405
- configurable: true
2406
- });
2407
- Object.defineProperty(IgcXButtonComponent.prototype, "iconHoverElevation", {
2408
- /**
2409
- * Gets or sets the hover elevation to use for the button when the type is icon.
2410
- */
2411
- get: function () {
2412
- return this.i.dx;
2413
- },
2414
- set: function (v) {
2415
- this.i.dx = +v;
2416
- this._a("iconHoverElevation", this.i.dx);
2417
- },
2418
- enumerable: false,
2419
- configurable: true
2420
- });
2421
- Object.defineProperty(IgcXButtonComponent.prototype, "iconFocusElevation", {
2422
- /**
2423
- * Gets or sets the focus elevation to use for the button when the type is icon.
2424
- */
2425
- get: function () {
2426
- return this.i.dw;
2427
- },
2428
- set: function (v) {
2429
- this.i.dw = +v;
2430
- this._a("iconFocusElevation", this.i.dw);
2431
- },
2432
- enumerable: false,
2433
- configurable: true
2434
- });
2435
- Object.defineProperty(IgcXButtonComponent.prototype, "iconBorderWidth", {
2436
- /**
2437
- * Gets or sets the width to use for the button border when the type is icon.
2438
- */
2439
- get: function () {
2440
- return this.i.bx;
2441
- },
2442
- set: function (v) {
2443
- this.i.bx = +v;
2444
- this._a("iconBorderWidth", this.i.bx);
2445
- },
2446
- enumerable: false,
2447
- configurable: true
2448
- });
2449
- Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusBottomRight", {
2450
- get: function () {
2451
- return this.i.lf ? this.i.lf.c : NaN;
2452
- },
2453
- set: function (v) {
2454
- this.ensureIconCornerRadius();
2455
- var __nv = +v;
2456
- if (this.i.lf.c === __nv) {
2457
- return;
2458
- }
2459
- var __copy = new CornerRadius(2);
2460
- __copy.c = __nv;
2461
- __copy.b = this.i.lf.b;
2462
- __copy.d = this.i.lf.d;
2463
- __copy.e = this.i.lf.e;
2464
- this.i.lf = __copy;
2465
- this._a("iconCornerRadiusBottomRight", this.i.lf.c);
2466
- },
2467
- enumerable: false,
2468
- configurable: true
2469
- });
2470
- Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusBottomLeft", {
2471
- get: function () {
2472
- return this.i.lf ? this.i.lf.b : NaN;
2473
- },
2474
- set: function (v) {
2475
- this.ensureIconCornerRadius();
2476
- var __nv = +v;
2477
- if (this.i.lf.b === __nv) {
2478
- return;
2479
- }
2480
- var __copy = new CornerRadius(2);
2481
- __copy.b = __nv;
2482
- __copy.c = this.i.lf.c;
2483
- __copy.d = this.i.lf.d;
2484
- __copy.e = this.i.lf.e;
2485
- this.i.lf = __copy;
2486
- this._a("iconCornerRadiusBottomLeft", this.i.lf.b);
2487
- },
2488
- enumerable: false,
2489
- configurable: true
2490
- });
2491
- Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusTopLeft", {
2492
- get: function () {
2493
- return this.i.lf ? this.i.lf.d : NaN;
2494
- },
2495
- set: function (v) {
2496
- this.ensureIconCornerRadius();
2497
- var __nv = +v;
2498
- if (this.i.lf.d === __nv) {
2499
- return;
2500
- }
2501
- var __copy = new CornerRadius(2);
2502
- __copy.d = __nv;
2503
- __copy.c = this.i.lf.c;
2504
- __copy.b = this.i.lf.b;
2505
- __copy.e = this.i.lf.e;
2506
- this.i.lf = __copy;
2507
- this._a("iconCornerRadiusTopLeft", this.i.lf.d);
2508
- },
2509
- enumerable: false,
2510
- configurable: true
2511
- });
2512
- Object.defineProperty(IgcXButtonComponent.prototype, "iconCornerRadiusTopRight", {
2513
- get: function () {
2514
- return this.i.lf ? this.i.lf.e : NaN;
2515
- },
2516
- set: function (v) {
2517
- this.ensureIconCornerRadius();
2518
- var __nv = +v;
2519
- if (this.i.lf.e === __nv) {
2520
- return;
2521
- }
2522
- var __copy = new CornerRadius(2);
2523
- __copy.e = __nv;
2524
- __copy.c = this.i.lf.c;
2525
- __copy.b = this.i.lf.b;
2526
- __copy.d = this.i.lf.d;
2527
- this.i.lf = __copy;
2528
- this._a("iconCornerRadiusTopRight", this.i.lf.e);
2529
- },
2530
- enumerable: false,
2531
- configurable: true
2532
- });
2533
- IgcXButtonComponent.prototype.ensureIconCornerRadius = function () {
2534
- if (this.i.lf) {
2535
- return;
2536
- }
2537
- this.i.lf = new CornerRadius(2);
2538
- };
2539
- Object.defineProperty(IgcXButtonComponent.prototype, "iconRippleColor", {
2540
- /**
2541
- * Gets or sets the color to use for the background when the button is pressed and the type is floating action button.
2542
- */
2543
- get: function () {
2544
- return brushToString(this.i.qw);
2545
- },
2546
- set: function (v) {
2547
- this.i.qw = stringToBrush(v);
2548
- this._a("iconRippleColor", brushToString(this.i.qw));
2549
- },
2550
- enumerable: false,
2551
- configurable: true
2552
- });
2553
- Object.defineProperty(IgcXButtonComponent.prototype, "iconTextColor", {
2554
- /**
2555
- * Gets or sets the color to use for the text of the button when type is icon.
2556
- */
2557
- get: function () {
2558
- return brushToString(this.i.qx);
2559
- },
2560
- set: function (v) {
2561
- this.i.qx = stringToBrush(v);
2562
- this._a("iconTextColor", brushToString(this.i.qx));
2563
- },
2564
- enumerable: false,
2565
- configurable: true
2566
- });
2567
- Object.defineProperty(IgcXButtonComponent.prototype, "iconHoverTextColor", {
2568
- /**
2569
- * Gets or sets the color to use for the hovered text of the button when type is icon.
2570
- */
2571
- get: function () {
2572
- return brushToString(this.i.qv);
2573
- },
2574
- set: function (v) {
2575
- this.i.qv = stringToBrush(v);
2576
- this._a("iconHoverTextColor", brushToString(this.i.qv));
2577
- },
2578
- enumerable: false,
2579
- configurable: true
2580
- });
2581
- Object.defineProperty(IgcXButtonComponent.prototype, "iconFocusBackgroundColor", {
2582
- /**
2583
- * Gets or sets the color to use for the backround the button when it is focused and icon.
2584
- */
2585
- get: function () {
2586
- return brushToString(this.i.qs);
2587
- },
2588
- set: function (v) {
2589
- this.i.qs = stringToBrush(v);
2590
- this._a("iconFocusBackgroundColor", brushToString(this.i.qs));
2591
- },
2592
- enumerable: false,
2593
- configurable: true
2594
- });
2595
- Object.defineProperty(IgcXButtonComponent.prototype, "iconFocusTextColor", {
2596
- /**
2597
- * Gets or sets the color to use for the text the button when it is focused and icon.
2598
- */
2599
- get: function () {
2600
- return brushToString(this.i.qt);
2601
- },
2602
- set: function (v) {
2603
- this.i.qt = stringToBrush(v);
2604
- this._a("iconFocusTextColor", brushToString(this.i.qt));
2605
- },
2606
- enumerable: false,
2607
- configurable: true
2608
- });
2609
- Object.defineProperty(IgcXButtonComponent.prototype, "inputId", {
2610
- /**
2611
- * Gets or sets the id to use for the internal native checkbox.
2612
- */
2613
- get: function () {
2614
- return this.i.hz;
2615
- },
2616
- set: function (v) {
2617
- this.i.hz = v;
2618
- },
2619
- enumerable: false,
2620
- configurable: true
2621
- });
2622
- Object.defineProperty(IgcXButtonComponent.prototype, "id", {
2623
- /**
2624
- * Gets or sets the id to use for the checkbox.
2625
- */
2626
- get: function () {
2627
- return this.i.hx;
2628
- },
2629
- set: function (v) {
2630
- this.i.hx = v;
2631
- },
2632
- enumerable: false,
2633
- configurable: true
2634
- });
2635
- Object.defineProperty(IgcXButtonComponent.prototype, "display", {
2636
- /**
2637
- * Gets or sets the id to use for the checkbox.
2638
- */
2639
- get: function () {
2640
- return this.i.f1;
2641
- },
2642
- set: function (v) {
2643
- this.i.f1 = v;
2644
- },
2645
- enumerable: false,
2646
- configurable: true
2647
- });
2648
- Object.defineProperty(IgcXButtonComponent.prototype, "flexDirection", {
2649
- /**
2650
- * Gets or sets the id to use for the checkbox.
2651
- */
2652
- get: function () {
2653
- return this.i.g5;
2654
- },
2655
- set: function (v) {
2656
- this.i.g5 = v;
2657
- },
2658
- enumerable: false,
2659
- configurable: true
2660
- });
2661
- Object.defineProperty(IgcXButtonComponent.prototype, "flexGrow", {
2662
- /**
2663
- * Gets or sets the flex-grow setting for the button.
2664
- */
2665
- get: function () {
2666
- return this.i.g7;
2667
- },
2668
- set: function (v) {
2669
- this.i.g7 = v;
2670
- },
2671
- enumerable: false,
2672
- configurable: true
2673
- });
2674
- Object.defineProperty(IgcXButtonComponent.prototype, "alignItems", {
2675
- /**
2676
- * Gets or sets the id to use for the checkbox.
2677
- */
2678
- get: function () {
2679
- return this.i.fc;
2680
- },
2681
- set: function (v) {
2682
- this.i.fc = v;
2683
- },
2684
- enumerable: false,
2685
- configurable: true
2686
- });
2687
- Object.defineProperty(IgcXButtonComponent.prototype, "value", {
2688
- /**
2689
- * Gets or sets value to use for the checkbox.
2690
- */
2691
- get: function () {
2692
- return this.i.ef;
2693
- },
2694
- set: function (v) {
2695
- this.i.ef = v;
2696
- },
2697
- enumerable: false,
2698
- configurable: true
2699
- });
2700
- Object.defineProperty(IgcXButtonComponent.prototype, "name", {
2701
- /**
2702
- * Gets or sets name to use for the button.
2703
- */
2704
- get: function () {
2705
- return this.i.h7;
2706
- },
2707
- set: function (v) {
2708
- this.i.h7 = v;
2709
- },
2710
- enumerable: false,
2711
- configurable: true
2712
- });
2713
- Object.defineProperty(IgcXButtonComponent.prototype, "tabIndex", {
2714
- /**
2715
- * Gets or sets TabIndex to use for the checkbox.
2716
- */
2717
- get: function () {
2718
- return this.i.d8;
2719
- },
2720
- set: function (v) {
2721
- this.i.d8 = +v;
2722
- this._a("tabIndex", this.i.d8);
2723
- },
2724
- enumerable: false,
2725
- configurable: true
2726
- });
2727
- Object.defineProperty(IgcXButtonComponent.prototype, "ariaLabel", {
2728
- /**
2729
- * Gets or sets the value of the aria-label attribute.
2730
- */
2731
- get: function () {
2732
- return this.i.fe;
2733
- },
2734
- set: function (v) {
2735
- this.i.fe = v;
2736
- },
2737
- enumerable: false,
2738
- configurable: true
2739
- });
2740
- Object.defineProperty(IgcXButtonComponent.prototype, "fillAvailableSpace", {
2741
- /**
2742
- * Gets or sets whether the button should fill the available space. If false, the button
2743
- * will use an intrinsic size.
2744
- */
2745
- get: function () {
2746
- return this.i.az;
2747
- },
2748
- set: function (v) {
2749
- this.i.az = ensureBool(v);
2750
- this._a("fillAvailableSpace", this.i.az);
2751
- },
2752
- enumerable: false,
2753
- configurable: true
2754
- });
2755
- Object.defineProperty(IgcXButtonComponent.prototype, "focused", {
2756
- /**
2757
- * Gets or sets if the checkbox is Focused.
2758
- */
2759
- get: function () {
2760
- return this.i.focused;
2761
- },
2762
- set: function (v) {
2763
- this.i.focused = ensureBool(v);
2764
- this._a("focused", this.i.focused);
2765
- },
2766
- enumerable: false,
2767
- configurable: true
2768
- });
2769
- Object.defineProperty(IgcXButtonComponent.prototype, "isFocusStyleEnabled", {
2770
- /**
2771
- * Gets or sets if the button show use styling to show focus.
2772
- */
2773
- get: function () {
2774
- return this.i.a3;
2775
- },
2776
- set: function (v) {
2777
- this.i.a3 = ensureBool(v);
2778
- this._a("isFocusStyleEnabled", this.i.a3);
2779
- },
2780
- enumerable: false,
2781
- configurable: true
2782
- });
2783
- Object.defineProperty(IgcXButtonComponent.prototype, "disableRipple", {
2784
- /**
2785
- * Gets or sets whether to disable the ripple effect for the button.
2786
- */
2787
- get: function () {
2788
- return this.i.ax;
2789
- },
2790
- set: function (v) {
2791
- this.i.ax = ensureBool(v);
2792
- this._a("disableRipple", this.i.ax);
2793
- },
2794
- enumerable: false,
2795
- configurable: true
2796
- });
2797
- Object.defineProperty(IgcXButtonComponent.prototype, "actualDisableRipple", {
2798
- /**
2799
- * Gets whether to actually disable the ripple effect for the button.
2800
- */
2801
- get: function () {
2802
- return this.i.at;
2803
- },
2804
- set: function (v) {
2805
- this.i.at = ensureBool(v);
2806
- this._a("actualDisableRipple", this.i.at);
2807
- },
2808
- enumerable: false,
2809
- configurable: true
2810
- });
2811
- Object.defineProperty(IgcXButtonComponent.prototype, "disableHover", {
2812
- /**
2813
- * Gets or sets whether the hover effect is disabled.
2814
- */
2815
- get: function () {
2816
- return this.i.av;
2817
- },
2818
- set: function (v) {
2819
- this.i.av = ensureBool(v);
2820
- this._a("disableHover", this.i.av);
2821
- },
2822
- enumerable: false,
2823
- configurable: true
2824
- });
2825
- Object.defineProperty(IgcXButtonComponent.prototype, "isHover", {
2826
- /**
2827
- * Gets or sets whether the checkbox is checked.
2828
- */
2829
- get: function () {
2830
- return this.i.a4;
2831
- },
2832
- set: function (v) {
2833
- this.i.a4 = ensureBool(v);
2834
- this._a("isHover", this.i.a4);
2835
- },
2836
- enumerable: false,
2837
- configurable: true
2838
- });
2839
- Object.defineProperty(IgcXButtonComponent.prototype, "disabled", {
2840
- /**
2841
- * Gets or sets whether the checkbox is disabled.
2842
- */
2843
- get: function () {
2844
- return this.i.disabled;
2845
- },
2846
- set: function (v) {
2847
- this.i.disabled = ensureBool(v);
2848
- this._a("disabled", this.i.disabled);
2849
- },
2850
- enumerable: false,
2851
- configurable: true
2852
- });
2853
- Object.defineProperty(IgcXButtonComponent.prototype, "disableTransitions", {
2854
- /**
2855
- * Gets or sets whether the checkbox transitions are disabled.
2856
- */
2857
- get: function () {
2858
- return this.i.ay;
2859
- },
2860
- set: function (v) {
2861
- this.i.ay = ensureBool(v);
2862
- this._a("disableTransitions", this.i.ay);
2863
- },
2864
- enumerable: false,
2865
- configurable: true
2866
- });
2867
- Object.defineProperty(IgcXButtonComponent.prototype, "disablePointer", {
2868
- /**
2869
- * Gets or sets whether the cursor will change into a pointer when the button is hovered.
2870
- */
2871
- get: function () {
2872
- return this.i.aw;
2873
- },
2874
- set: function (v) {
2875
- this.i.aw = ensureBool(v);
2876
- this._a("disablePointer", this.i.aw);
2877
- },
2878
- enumerable: false,
2879
- configurable: true
2880
- });
2881
- Object.defineProperty(IgcXButtonComponent.prototype, "contentPaddingLeft", {
2882
- /**
2883
- * Gets or sets the left padding for the button content.
2884
- */
2885
- get: function () {
2886
- return this.i.bn;
2887
- },
2888
- set: function (v) {
2889
- this.i.bn = +v;
2890
- this._a("contentPaddingLeft", this.i.bn);
2891
- },
2892
- enumerable: false,
2893
- configurable: true
2894
- });
2895
- Object.defineProperty(IgcXButtonComponent.prototype, "contentPaddingTop", {
2896
- /**
2897
- * Gets or sets the top padding for the button content.
2898
- */
2899
- get: function () {
2900
- return this.i.bp;
2901
- },
2902
- set: function (v) {
2903
- this.i.bp = +v;
2904
- this._a("contentPaddingTop", this.i.bp);
2905
- },
2906
- enumerable: false,
2907
- configurable: true
2908
- });
2909
- Object.defineProperty(IgcXButtonComponent.prototype, "contentPaddingRight", {
2910
- /**
2911
- * Gets or sets the right padding for the button content.
2912
- */
2913
- get: function () {
2914
- return this.i.bo;
2915
- },
2916
- set: function (v) {
2917
- this.i.bo = +v;
2918
- this._a("contentPaddingRight", this.i.bo);
2919
- },
2920
- enumerable: false,
2921
- configurable: true
2922
- });
2923
- Object.defineProperty(IgcXButtonComponent.prototype, "contentPaddingBottom", {
2924
- /**
2925
- * Gets or sets the bottom padding for the button content.
2926
- */
2927
- get: function () {
2928
- return this.i.bm;
2929
- },
2930
- set: function (v) {
2931
- this.i.bm = +v;
2932
- this._a("contentPaddingBottom", this.i.bm);
2933
- },
2934
- enumerable: false,
2935
- configurable: true
2936
- });
2937
- Object.defineProperty(IgcXButtonComponent.prototype, "horizontalContentAlignment", {
2938
- get: function () {
2939
- return this.i.lj;
2940
- },
2941
- set: function (v) {
2942
- this.i.lj = ensureEnum(HorizontalAlignment_$type, v);
2943
- this._a("horizontalContentAlignment", enumToString(HorizontalAlignment_$type, this.i.lj));
2944
- },
2945
- enumerable: false,
2946
- configurable: true
2947
- });
2948
- Object.defineProperty(IgcXButtonComponent.prototype, "verticalContentAlignment", {
2949
- get: function () {
2950
- return this.i.rn;
2951
- },
2952
- set: function (v) {
2953
- this.i.rn = ensureEnum(VerticalAlignment_$type, v);
2954
- this._a("verticalContentAlignment", enumToString(VerticalAlignment_$type, this.i.rn));
2955
- },
2956
- enumerable: false,
2957
- configurable: true
2958
- });
2959
- Object.defineProperty(IgcXButtonComponent.prototype, "clickTunneling", {
2960
- /**
2961
- * Gets or sets if clicking on the button is allowed to tunnel down to button content.
2962
- */
2963
- get: function () {
2964
- return this.i.au;
2965
- },
2966
- set: function (v) {
2967
- this.i.au = ensureBool(v);
2968
- this._a("clickTunneling", this.i.au);
2969
- },
2970
- enumerable: false,
2971
- configurable: true
2972
- });
2973
- Object.defineProperty(IgcXButtonComponent.prototype, "stopPropagation", {
2974
- /**
2975
- * Gets or sets whether mouse events on the button will bubble up to parent elements.
2976
- */
2977
- get: function () {
2978
- return this.i.a6;
2979
- },
2980
- set: function (v) {
2981
- this.i.a6 = ensureBool(v);
2982
- this._a("stopPropagation", this.i.a6);
2983
- },
2984
- enumerable: false,
2985
- configurable: true
2986
- });
2987
- IgcXButtonComponent.prototype.findByName = function (name) {
2988
- if (this.findEphemera) {
2989
- if (name && name.indexOf("@@e:") == 0) {
2990
- return this.findEphemera(name);
2991
- }
2992
- }
2993
- return null;
2994
- };
2995
- Object.defineProperty(IgcXButtonComponent.prototype, "hasUserValues", {
2996
- get: function () {
2997
- return this._hasUserValues;
2998
- },
2999
- enumerable: false,
3000
- configurable: true
3001
- });
3002
- IgcXButtonComponent.prototype.__m = function (propertyName) {
3003
- if (!this._inStyling) {
3004
- this._hasUserValues.add(propertyName);
3005
- }
3006
- };
3007
- IgcXButtonComponent.prototype._styling = function (container, component, parent) {
3008
- if (this._inStyling) {
3009
- return;
3010
- }
3011
- this._inStyling = true;
3012
- this._stylingContainer = container;
3013
- this._stylingParent = component;
3014
- var genericPrefix = "";
3015
- var typeName = this.i.$type.name;
3016
- if (typeName.indexOf("Xam") === 0) {
3017
- typeName = typeName.substring(3);
3018
- }
3019
- genericPrefix = toSpinal("XButtonComponent");
3020
- var additionalPrefixes = [];
3021
- var prefix = toSpinal(typeName);
3022
- additionalPrefixes.push(prefix + "-");
3023
- var b = this.i.$type.baseType;
3024
- while (b && b.name != "Object" &&
3025
- b.name != "Base" &&
3026
- b.name != "Control" &&
3027
- b.Name != "DependencyObject" &&
3028
- b.Name != "FrameworkElement") {
3029
- typeName = b.name;
3030
- if (typeName.indexOf("Xam") === 0) {
3031
- typeName = typeName.substring(3);
3032
- }
3033
- var basePrefix = toSpinal(typeName);
3034
- additionalPrefixes.push(basePrefix + "-");
3035
- b = b.baseType;
3036
- }
3037
- if (parent) {
3038
- var parentTypeName = parent.i.$type.name;
3039
- if (parentTypeName.indexOf("Xam") === 0) {
3040
- parentTypeName = parentTypeName.substring(3);
3041
- }
3042
- var parentPrefix = toSpinal(parentTypeName);
3043
- additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
3044
- additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
3045
- }
3046
- initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
3047
- if (this._otherStyling) {
3048
- this._otherStyling(container, component, parent);
3049
- }
3050
- this._inStyling = false;
3051
- };
3052
- IgcXButtonComponent.prototype.onDetachedFromUI = function () {
3053
- this.i.onDetachedFromUI();
3054
- };
3055
- IgcXButtonComponent.prototype.onAttachedToUI = function () {
3056
- this.i.onAttachedToUI();
3057
- };
3058
- /**
3059
- * Exports visual information about the current state of the grid.
3060
-
3061
- */
3062
- IgcXButtonComponent.prototype.exportVisualModel = function () {
3063
- var iv = this.i.ec();
3064
- return (iv);
3065
- };
3066
- /**
3067
- * Returns a serialized copy of the exported visual model
3068
-
3069
- */
3070
- IgcXButtonComponent.prototype.exportSerializedVisualModel = function () {
3071
- var iv = this.i.f5();
3072
- return (iv);
3073
- };
3074
- Object.defineProperty(IgcXButtonComponent.prototype, "clicked", {
3075
- get: function () {
3076
- return this._clicked;
3077
- },
3078
- set: function (ev) {
3079
- var _this = this;
3080
- if (this._clicked_wrapped !== null) {
3081
- this.i.clicked = delegateRemove(this.i.clicked, this._clicked_wrapped);
3082
- this._clicked_wrapped = null;
3083
- this._clicked = null;
3084
- }
3085
- this._clicked = ev;
3086
- this._clicked_wrapped = function (o, e) {
3087
- var outerArgs = new IgcButtonClickEventArgs();
3088
- outerArgs._provideImplementation(e);
3089
- if (_this.beforeClicked) {
3090
- _this.beforeClicked(_this, outerArgs);
3091
- }
3092
- if (_this._clicked) {
3093
- _this._clicked(_this, outerArgs);
3094
- }
3095
- };
3096
- this.i.clicked = delegateCombine(this.i.clicked, this._clicked_wrapped);
3097
- ;
3098
- },
3099
- enumerable: false,
3100
- configurable: true
3101
- });
3102
- Object.defineProperty(IgcXButtonComponent.prototype, "gotFocus", {
3103
- get: function () {
3104
- return this._gotFocus;
3105
- },
3106
- set: function (ev) {
3107
- var _this = this;
3108
- if (this._gotFocus_wrapped !== null) {
3109
- this.i.gotFocus = delegateRemove(this.i.gotFocus, this._gotFocus_wrapped);
3110
- this._gotFocus_wrapped = null;
3111
- this._gotFocus = null;
3112
- }
3113
- this._gotFocus = ev;
3114
- this._gotFocus_wrapped = function (o, e) {
3115
- var outerArgs = new IgcFocusEventArgs();
3116
- outerArgs._provideImplementation(e);
3117
- if (_this.beforeGotFocus) {
3118
- _this.beforeGotFocus(_this, outerArgs);
3119
- }
3120
- if (_this._gotFocus) {
3121
- _this._gotFocus(_this, outerArgs);
3122
- }
3123
- };
3124
- this.i.gotFocus = delegateCombine(this.i.gotFocus, this._gotFocus_wrapped);
3125
- ;
3126
- },
3127
- enumerable: false,
3128
- configurable: true
3129
- });
3130
- Object.defineProperty(IgcXButtonComponent.prototype, "lostFocus", {
3131
- get: function () {
3132
- return this._lostFocus;
3133
- },
3134
- set: function (ev) {
3135
- var _this = this;
3136
- if (this._lostFocus_wrapped !== null) {
3137
- this.i.lostFocus = delegateRemove(this.i.lostFocus, this._lostFocus_wrapped);
3138
- this._lostFocus_wrapped = null;
3139
- this._lostFocus = null;
3140
- }
3141
- this._lostFocus = ev;
3142
- this._lostFocus_wrapped = function (o, e) {
3143
- var outerArgs = new IgcFocusEventArgs();
3144
- outerArgs._provideImplementation(e);
3145
- if (_this.beforeLostFocus) {
3146
- _this.beforeLostFocus(_this, outerArgs);
3147
- }
3148
- if (_this._lostFocus) {
3149
- _this._lostFocus(_this, outerArgs);
3150
- }
3151
- };
3152
- this.i.lostFocus = delegateCombine(this.i.lostFocus, this._lostFocus_wrapped);
3153
- ;
3154
- },
3155
- enumerable: false,
3156
- configurable: true
3157
- });
3158
- IgcXButtonComponent._observedAttributesIgcXButtonComponent = null;
3159
- IgcXButtonComponent.htmlTagName = "igc-x-button";
3160
- IgcXButtonComponent._isElementRegistered = false;
3161
- return IgcXButtonComponent;
3162
- }(IgcHTMLElement));