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,4368 +0,0 @@
1
- /*
2
- THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
3
- https://www.infragistics.com/legal/license/igultimate-la
4
- https://www.infragistics.com/legal/license/igultimate-eula
5
- GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
- */
7
- import { __extends, __values } from "tslib";
8
- import { Base, Delegate_$type, fromEnum, runOn, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, String_$type } from "igniteui-webcomponents-core";
9
- import { List$1 } from "igniteui-webcomponents-core";
10
- import { XRipple } from "./XRipple";
11
- import { NativeUI } from "igniteui-webcomponents-core";
12
- import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
13
- import { HorizontalAlignment_$type } from "igniteui-webcomponents-core";
14
- import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
15
- import { ElevationMode_$type } from "igniteui-webcomponents-core";
16
- import { ElevationHelper } from "./ElevationHelper";
17
- import { ButtonDisplayStyle_$type } from "./ButtonDisplayStyle";
18
- import { isNaN_ } from "igniteui-webcomponents-core";
19
- import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
20
- import { CornerRadius } from "igniteui-webcomponents-core";
21
- import { VerticalAlignment_$type } from "igniteui-webcomponents-core";
22
- import { AnimationKeyFrameEffectTiming } from "igniteui-webcomponents-core";
23
- import { ThemeResolver } from "./ThemeResolver";
24
- import { ButtonClickEventArgs } from "./ButtonClickEventArgs";
25
- import { MouseEventArgs } from "igniteui-webcomponents-core";
26
- import { FocusEventArgs } from "igniteui-webcomponents-core";
27
- import { Thickness } from "igniteui-webcomponents-core";
28
- import { BrushUtil } from "igniteui-webcomponents-core";
29
- import { ButtonVisualModelExport } from "./ButtonVisualModelExport";
30
- import { AppearanceHelper } from "igniteui-webcomponents-core";
31
- import { FontUtil } from "igniteui-webcomponents-core";
32
- import { Dictionary$2 } from "igniteui-webcomponents-core";
33
- import { Theme } from "./Theme";
34
- /**
35
- * @hidden
36
- */
37
- export var ButtonView = /** @class */ /*@__PURE__*/ (function (_super) {
38
- __extends(ButtonView, _super);
39
- function ButtonView() {
40
- var _this = _super.call(this) || this;
41
- _this.c = null;
42
- _this.l = null;
43
- _this.e = null;
44
- _this.i = new List$1(Delegate_$type, 0);
45
- _this.f = true;
46
- _this.o = null;
47
- _this.k = NaN;
48
- _this.j = NaN;
49
- _this.m = null;
50
- _this.d = null;
51
- _this.n = null;
52
- _this.q = null;
53
- _this.p = null;
54
- return _this;
55
- }
56
- ButtonView.prototype.ar = function () {
57
- };
58
- ButtonView.prototype.h = function () {
59
- return true;
60
- };
61
- Object.defineProperty(ButtonView.prototype, "r", {
62
- get: function () {
63
- return this.o;
64
- },
65
- enumerable: false,
66
- configurable: true
67
- });
68
- Object.defineProperty(ButtonView.prototype, "t", {
69
- get: function () {
70
- return this.n;
71
- },
72
- enumerable: false,
73
- configurable: true
74
- });
75
- ButtonView.prototype.al = function (a) {
76
- var e_1, _a;
77
- var _this = this;
78
- if (a == null) {
79
- try {
80
- for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
81
- var b = _c.value;
82
- b();
83
- }
84
- }
85
- catch (e_1_1) {
86
- e_1 = { error: e_1_1 };
87
- }
88
- finally {
89
- try {
90
- if (_c && !_c.done && (_a = _b.return))
91
- _a.call(_b);
92
- }
93
- finally {
94
- if (e_1)
95
- throw e_1.error;
96
- }
97
- }
98
- this.i.clear();
99
- return;
100
- }
101
- this.l = a;
102
- this.l.rootWrapper.setStyleProperty("display", "flex");
103
- this.l.rootWrapper.setStyleProperty("flex-direction", "row");
104
- this.l.rootWrapper.setStyleProperty("flex-wrap", "no-wrap");
105
- this.l.rootWrapper.setStyleProperty("align-items", "center");
106
- var c = this.l.createElement("button");
107
- this.o = c;
108
- this.o.setStyleProperty("position", "relative");
109
- this.o.setStyleProperty("display", "inline-flex");
110
- this.o.setStyleProperty("align-items", "center");
111
- this.o.setStyleProperty("justify-content", "center");
112
- this.a1();
113
- this.o.setStyleProperty("border", "none");
114
- this.o.setStyleProperty("cursor", "pointer");
115
- this.o.setStyleProperty("user-select", "none");
116
- this.o.setStyleProperty("outline-style", "none");
117
- this.o.setStyleProperty("-webkit-tap-highlight-color", "transparent");
118
- this.o.setStyleProperty("overflow", "hidden");
119
- this.o.setStyleProperty("white-space", "no-wrap");
120
- this.o.setStyleProperty("color", "#000");
121
- this.o.setStyleProperty("background", this.c.nt._fill);
122
- NativeUI.p(this.o, this.c.k4);
123
- this.o.setAttribute("id", this.c.hz);
124
- this.ay();
125
- this.i.add(c.listen("change", runOn(this, this.aa)));
126
- this.i.add(c.listen("click", runOn(this, this.ab)));
127
- this.i.add(c.listen("focus", runOn(this, this.ac)));
128
- this.i.add(c.listen("blur", runOn(this, this.z)));
129
- this.i.add(this.l.rootWrapper.listen("mouseenter", runOn(this, this.w)));
130
- this.i.add(this.l.rootWrapper.listen("mouseleave", runOn(this, this.x)));
131
- this.i.add(this.l.rootWrapper.listen("mousedown", runOn(this, this.v)));
132
- this.i.add(this.l.rootWrapper.listen("mouseup", runOn(this, this.y)));
133
- this.i.add(this.l.rootWrapper.listen("focusin", runOn(this, this.ad)));
134
- this.i.add(this.l.rootWrapper.listen("focusout", runOn(this, this.ae)));
135
- this.l.append(c);
136
- var d = this.l.createElement("div");
137
- var e = this.l.getSubRenderer(d);
138
- d.setStyleProperty("position", "absolute");
139
- d.setStyleProperty("width", "100%");
140
- d.setStyleProperty("height", "100%");
141
- d.setStyleProperty("left", "0px");
142
- d.setStyleProperty("top", "0px");
143
- d.setStyleProperty("overflow", "hidden");
144
- var f = new XRipple();
145
- f.provideContainer(e);
146
- f.q = c;
147
- var g = this.l.getExternal(f, this.l.rootWrapper, this.l.getExternal(this.c, null, null));
148
- f.h = false;
149
- f.k = true;
150
- this.d = f;
151
- this.o.append(d);
152
- var h = this.l.createElement("div");
153
- h.addClass("ig-button-content");
154
- h.setStyleProperty("font-family", "Verdana");
155
- h.setStyleProperty("font-weight", "400");
156
- h.setStyleProperty("font-size", ".875rem");
157
- this.n = h;
158
- this.i.add(h.listen("click", runOn(this, this.u)));
159
- this.o.append(h);
160
- this.p = h;
161
- this.l.getPortal(h, "ChildContent", function (i) {
162
- var comp_ = i.componentRef;
163
- _this.q = comp_;
164
- {
165
- _this.p.setStyleProperty("flex-direction", _this.c.g5);
166
- _this.p.setStyleProperty("align-items", _this.c.fc);
167
- var direction_ = _this.c.g5;
168
- var display_ = _this.c.fk != null ? _this.c.fk : _this.c.f1;
169
- var alignItems_ = _this.c.fc;
170
- comp_.display = display_;
171
- comp_.flexDirection = direction_;
172
- comp_.alignItems = alignItems_;
173
- }
174
- }, true);
175
- this.c.kq();
176
- };
177
- ButtonView.prototype.an = function () {
178
- this.d.i = this.c.at;
179
- };
180
- ButtonView.prototype.a1 = function () {
181
- var a = "2.25rem";
182
- var b = "2.25rem";
183
- var c = "2.25rem";
184
- var d = "2.25rem";
185
- var e = "3.5rem";
186
- var f = "3.5rem";
187
- var g = "3.5rem";
188
- var h = "3.5rem";
189
- var i = "5.5rem";
190
- var j = "2.25rem";
191
- var k = "0px";
192
- var l = ".9375rem";
193
- var m = ".5625rem 1rem";
194
- switch (this.c.r) {
195
- case 2:
196
- m = ".375rem .75rem";
197
- j = "1.875rem";
198
- e = "3rem";
199
- f = "3rem";
200
- g = "3rem";
201
- h = "3rem";
202
- l = ".6875rem";
203
- break;
204
- case 3:
205
- m = ".1875rem 1rem";
206
- j = "1.5rem";
207
- f = "2.5rem";
208
- e = "2.5rem";
209
- h = "2.5rem";
210
- g = "2.5rem";
211
- l = ".4375rem";
212
- break;
213
- case 4:
214
- m = "0.09375rem 0.5rem";
215
- j = "0.5rem";
216
- f = "1.5rem";
217
- e = "1.5rem";
218
- h = "1.5rem";
219
- g = "1.5rem";
220
- l = "0.21875rem";
221
- b = "1rem";
222
- a = "1rem";
223
- d = "1rem";
224
- c = "1rem";
225
- break;
226
- }
227
- if (!isNaN_(this.c.bn) && !isNaN_(this.c.bp) && !isNaN_(this.c.bo) && !isNaN_(this.c.bm)) {
228
- m = this.c.bp + "px " + this.c.bo + "px " + this.c.bm + "px " + this.c.bn + "px";
229
- }
230
- if (this.c.e == 4) {
231
- this.o.setStyleProperty("min-width", a);
232
- this.o.setStyleProperty("min-height", b);
233
- this.o.setStyleProperty("padding", k);
234
- this.o.setStyleProperty("width", c);
235
- this.o.setStyleProperty("height", d);
236
- }
237
- else if (this.c.e == 3) {
238
- this.o.setStyleProperty("min-width", e);
239
- this.o.setStyleProperty("min-height", f);
240
- this.o.setStyleProperty("padding", l);
241
- this.o.setStyleProperty("width", g);
242
- this.o.setStyleProperty("height", h);
243
- }
244
- else {
245
- this.o.setStyleProperty("width", "auto");
246
- this.o.setStyleProperty("height", "auto");
247
- this.o.setStyleProperty("min-width", i);
248
- this.o.setStyleProperty("min-height", j);
249
- this.o.setStyleProperty("padding", m);
250
- }
251
- this.l.rootWrapper.setStyleProperty("height", "auto");
252
- if (!isNaN_(this.c.bk) && this.c.bk > 0) {
253
- this.o.setStyleProperty("border-style", "solid");
254
- }
255
- else {
256
- this.o.setStyleProperty("border-style", "none");
257
- }
258
- if (!isNaN_(this.k)) {
259
- this.o.setStyleProperty("min-width", this.k.toString() + "px");
260
- }
261
- if (!isNaN_(this.j)) {
262
- this.o.setStyleProperty("min-height", this.j.toString() + "px");
263
- }
264
- if (this.c.az) {
265
- this.o.setStyleProperty("width", "100%");
266
- this.o.setStyleProperty("height", "100%");
267
- this.l.rootWrapper.setStyleProperty("height", "100%");
268
- }
269
- };
270
- ButtonView.prototype.av = function () {
271
- switch (this.c.lj) {
272
- case 1:
273
- this.o.setStyleProperty("justify-content", "center");
274
- this.p.setStyleProperty("flex-grow", "unset");
275
- break;
276
- case 3:
277
- this.o.setStyleProperty("justify-content", "stretch");
278
- this.p.setStyleProperty("flex-grow", "1");
279
- break;
280
- case 0:
281
- this.o.setStyleProperty("justify-content", "left");
282
- this.p.setStyleProperty("flex-grow", "unset");
283
- break;
284
- case 2:
285
- this.o.setStyleProperty("justify-content", "right");
286
- this.p.setStyleProperty("flex-grow", "unset");
287
- break;
288
- }
289
- };
290
- ButtonView.prototype.ax = function (a) {
291
- this.k = a;
292
- };
293
- ButtonView.prototype.aw = function (a) {
294
- this.j = a;
295
- };
296
- ButtonView.prototype.at = function () {
297
- this.o.setAttribute("disabled", this.c.disabled ? "true" : "false");
298
- this.o.setProperty("disabled", this.c.disabled);
299
- };
300
- ButtonView.prototype.ao = function () {
301
- if (this.l != null) {
302
- this.l.rootWrapper.setStyleProperty("display", this.c.f1);
303
- var comp_ = this.q;
304
- if (this.q != null) {
305
- this.p.setStyleProperty("display", this.c.f1);
306
- var display_ = this.c.fk != null ? this.c.f1 : this.c.fk;
307
- comp_.display = display_;
308
- }
309
- var ext_ = this.l.getExternal(this.c, null, null);
310
- if (ext_ && ext_._onDisplayChanged) {
311
- ext_._onDisplayChanged();
312
- }
313
- ;
314
- }
315
- };
316
- ButtonView.prototype.ak = function () {
317
- if (this.l != null) {
318
- var comp_ = this.q;
319
- if (this.q != null) {
320
- var display_ = this.c.fk != null ? this.c.fk : this.c.f1;
321
- comp_.display = display_;
322
- }
323
- }
324
- };
325
- ButtonView.prototype.ai = function () {
326
- if (this.l != null) {
327
- this.l.rootWrapper.setStyleProperty("align-items", this.c.fc);
328
- this.o.setStyleProperty("align-items", this.c.fc);
329
- var comp_ = this.q;
330
- if (this.q != null) {
331
- this.p.setStyleProperty("align-items", this.c.fc);
332
- var alignItems_ = this.c.fc;
333
- comp_.alignItems = alignItems_;
334
- }
335
- var ext_ = this.l.getExternal(this.c, null, null);
336
- if (ext_ && ext_._onAlignItemsChanged) {
337
- ext_._onAlignItemsChanged();
338
- }
339
- ;
340
- }
341
- };
342
- ButtonView.prototype.ap = function () {
343
- if (this.l != null) {
344
- this.l.rootWrapper.setStyleProperty("flex-direction", this.c.g5);
345
- this.o.setStyleProperty("flex-direction", this.c.g5);
346
- var ext_ = this.l.getExternal(this.c, null, null);
347
- var comp_ = this.q;
348
- if (this.q != null) {
349
- this.p.setStyleProperty("flex-direction", this.c.g5);
350
- var direction_ = this.c.g5;
351
- comp_.flexDirection = direction_;
352
- }
353
- if (ext_ && ext_._onFlexDirectionChanged) {
354
- ext_._onFlexDirectionChanged();
355
- }
356
- ;
357
- }
358
- };
359
- ButtonView.prototype.aq = function () {
360
- if (this.l != null) {
361
- this.l.rootWrapper.setStyleProperty("flex-grow", this.c.g7);
362
- this.o.setStyleProperty("flex-grow", this.c.g7);
363
- var ext_ = this.l.getExternal(this.c, null, null);
364
- if (ext_ && ext_._onFlexGrowChanged) {
365
- ext_._onFlexGrowChanged();
366
- }
367
- ;
368
- }
369
- };
370
- ButtonView.prototype.u = function (a) {
371
- };
372
- ButtonView.prototype.ay = function () {
373
- if (this.h()) {
374
- var a = this.c.hz;
375
- this.o.setAttribute("name", this.c.h7);
376
- this.o.setProperty("value", this.c.ef);
377
- if (this.c.a0) {
378
- this.o.setAttribute("tabindex", this.c.d8.toString());
379
- }
380
- this.o.setProperty("disabled", this.c.disabled);
381
- {
382
- }
383
- this.o.setAttribute("aria-label", this.c.fe);
384
- this.o.setStyleProperty("cursor", !this.c.aw ? "pointer" : "unset");
385
- }
386
- };
387
- ButtonView.prototype.as = function () {
388
- if (this.h()) {
389
- var a = this.c.hz;
390
- this.o.setAttribute("id", a);
391
- }
392
- };
393
- ButtonView.prototype.w = function (a) {
394
- this.c.km();
395
- if (this.c.a6) {
396
- a.stopPropagation();
397
- }
398
- };
399
- ButtonView.prototype.x = function (a) {
400
- this.c.kn();
401
- if (this.c.a6) {
402
- a.stopPropagation();
403
- }
404
- };
405
- ButtonView.prototype.v = function (a) {
406
- this.c.kl();
407
- if (this.c.a6) {
408
- a.stopPropagation();
409
- }
410
- };
411
- ButtonView.prototype.y = function (a) {
412
- this.c.ko();
413
- if (this.c.a6) {
414
- a.stopPropagation();
415
- }
416
- };
417
- ButtonView.prototype.z = function (a) {
418
- this.c.kf();
419
- };
420
- ButtonView.prototype.ac = function (a) {
421
- this.c.ki();
422
- };
423
- ButtonView.prototype.ab = function (a) {
424
- this.c.kg();
425
- if (!this.c.au) {
426
- a.preventDefault();
427
- }
428
- if (this.c.a6) {
429
- a.stopPropagation();
430
- }
431
- };
432
- ButtonView.prototype.ad = function (a) {
433
- this.c.kj();
434
- };
435
- ButtonView.prototype.ae = function (a) {
436
- this.c.kk(a.originalEvent.relatedTarget, a.originalEvent.target);
437
- };
438
- ButtonView.prototype.g = function () {
439
- return false;
440
- };
441
- ButtonView.prototype.aa = function (a) {
442
- };
443
- ButtonView.prototype.ah = function () {
444
- if (KeyFrameAnimationFactory.h == null) {
445
- KeyFrameAnimationFactory.h = this.l;
446
- }
447
- };
448
- ButtonView.prototype.aj = function () {
449
- this.f = true;
450
- this.i.add(this.o.listen("change", runOn(this, this.aa)));
451
- this.i.add(this.o.listen("click", runOn(this, this.ab)));
452
- this.i.add(this.o.listen("focus", runOn(this, this.ac)));
453
- this.i.add(this.o.listen("blur", runOn(this, this.z)));
454
- this.i.add(this.n.listen("click", runOn(this, this.u)));
455
- this.i.add(this.o.listen("mouseenter", runOn(this, this.w)));
456
- this.i.add(this.o.listen("mouseleave", runOn(this, this.x)));
457
- this.i.add(this.o.listen("mousedown", runOn(this, this.v)));
458
- this.i.add(this.o.listen("mouseup", runOn(this, this.y)));
459
- this.i.add(this.o.listen("focusin", runOn(this, this.ad)));
460
- this.i.add(this.o.listen("focusout", runOn(this, this.ae)));
461
- };
462
- ButtonView.prototype.am = function () {
463
- var e_2, _a;
464
- this.f = false;
465
- try {
466
- for (var _b = __values(fromEnum(this.i)), _c = _b.next(); !_c.done; _c = _b.next()) {
467
- var a = _c.value;
468
- a();
469
- }
470
- }
471
- catch (e_2_1) {
472
- e_2 = { error: e_2_1 };
473
- }
474
- finally {
475
- try {
476
- if (_c && !_c.done && (_a = _b.return))
477
- _a.call(_b);
478
- }
479
- finally {
480
- if (e_2)
481
- throw e_2.error;
482
- }
483
- }
484
- this.i.clear();
485
- };
486
- ButtonView.prototype.au = function () {
487
- var model_ = this.c;
488
- if (model_.externalObject && model_.externalObject.refreshDefaults) {
489
- model_.externalObject.refreshDefaults();
490
- }
491
- ;
492
- };
493
- ButtonView.prototype.az = function (a, b) {
494
- this.d.ax = a;
495
- this.d.aw = b;
496
- };
497
- ButtonView.prototype.a0 = function (a, b) {
498
- var c = ElevationHelper.e(a, this.c.n5, this.c.n2, this.c.ns, b);
499
- this.o.setStyleProperty("box-shadow", c);
500
- };
501
- ButtonView.prototype.a2 = function (a) {
502
- if (a != null) {
503
- this.n.setStyleProperty("font", a.fontString);
504
- }
505
- };
506
- ButtonView.prototype.af = function (a) {
507
- this.n.append(a);
508
- };
509
- ButtonView.prototype.ag = function () {
510
- this.n.removeChildren();
511
- };
512
- ButtonView.prototype.s = function () {
513
- return this.n.getChildCount() > 0 ? this.n.getChildAt(0) : null;
514
- };
515
- ButtonView.prototype.b = function () {
516
- var rect_ = this.l.rootWrapper.getNativeElement().getBoundingClientRect();
517
- var a = (rect_.top);
518
- var b = (rect_.left);
519
- var c = new Array(2);
520
- c[0] = a;
521
- c[1] = b;
522
- return c;
523
- };
524
- ButtonView.prototype.a = function () {
525
- var a = new Array(2);
526
- a[0] = NativeUI.k(this.r);
527
- a[1] = NativeUI.d(this.r);
528
- return a;
529
- };
530
- ButtonView.$t = markType(ButtonView, 'ButtonView');
531
- return ButtonView;
532
- }(Base));
533
- /**
534
- * @hidden
535
- */
536
- export var XButton = /** @class */ /*@__PURE__*/ (function (_super) {
537
- __extends(XButton, _super);
538
- function XButton() {
539
- var _this = _super.call(this) || this;
540
- _this._view = null;
541
- _this.ee = null;
542
- _this.pt = XButton.l.ag(XButton.n, "UmbraShadowColor");
543
- _this.ph = XButton.l.ag(XButton.n, "PenumbraShadowColor");
544
- _this.n8 = XButton.l.ag(XButton.n, "AmbientShadowColor");
545
- _this.w = XButton.l.d(XButton.n, "ElevationMode");
546
- _this.pk = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBackgroundColor");
547
- _this.pl = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBorderColor");
548
- _this.pm = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledTextColor");
549
- _this.df = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledElevation");
550
- _this.di = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "RestingElevation");
551
- _this.dh = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverElevation");
552
- _this.dg = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusElevation");
553
- _this.pj = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderColor");
554
- _this.pr = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "RippleColor");
555
- _this.lb = XButton.l.y(XButton.n, 1, enumGetBox(ButtonDisplayStyle_$type, 0), "CornerRadius");
556
- _this.bu = XButton.l.i(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderWidth");
557
- _this.pi = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "BackgroundColor");
558
- _this.ps = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "TextColor");
559
- _this.pq = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverTextColor");
560
- _this.pp = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverBackgroundColor");
561
- _this.pn = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusBackgroundColor");
562
- _this.po = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusTextColor");
563
- _this.om = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledBackgroundColor");
564
- _this.on = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledBorderColor");
565
- _this.oo = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledTextColor");
566
- _this.c3 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledElevation");
567
- _this.c6 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "RestingElevation");
568
- _this.c5 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverElevation");
569
- _this.c4 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusElevation");
570
- _this.ol = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "BorderColor");
571
- _this.ot = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "RippleColor");
572
- _this.k8 = XButton.l.y(XButton.n, 1, enumGetBox(ButtonDisplayStyle_$type, 1), "CornerRadius");
573
- _this.br = XButton.l.i(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "BorderWidth");
574
- _this.ok = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "BackgroundColor");
575
- _this.ou = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "TextColor");
576
- _this.os = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverTextColor");
577
- _this.or = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverBackgroundColor");
578
- _this.op = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusBackgroundColor");
579
- _this.oq = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusTextColor");
580
- _this.o8 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledBackgroundColor");
581
- _this.o9 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledBorderColor");
582
- _this.pa = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledTextColor");
583
- _this.db = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledElevation");
584
- _this.de = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "RestingElevation");
585
- _this.dd = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverElevation");
586
- _this.dc = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusElevation");
587
- _this.o7 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "BorderColor");
588
- _this.pf = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "RippleColor");
589
- _this.la = XButton.l.y(XButton.n, 1, enumGetBox(ButtonDisplayStyle_$type, 2), "CornerRadius");
590
- _this.bt = XButton.l.i(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "BorderWidth");
591
- _this.o6 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "BackgroundColor");
592
- _this.pg = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "TextColor");
593
- _this.pe = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverTextColor");
594
- _this.pd = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverBackgroundColor");
595
- _this.pb = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusBackgroundColor");
596
- _this.pc = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusTextColor");
597
- _this.ox = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledBackgroundColor");
598
- _this.oy = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledBorderColor");
599
- _this.oz = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledTextColor");
600
- _this.c7 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledElevation");
601
- _this.da = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "RestingElevation");
602
- _this.c9 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverElevation");
603
- _this.c8 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusElevation");
604
- _this.ow = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "BorderColor");
605
- _this.o4 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "RippleColor");
606
- _this.k9 = XButton.l.y(XButton.n, 1, enumGetBox(ButtonDisplayStyle_$type, 4), "CornerRadius");
607
- _this.bs = XButton.l.i(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "BorderWidth");
608
- _this.ov = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "BackgroundColor");
609
- _this.o5 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "TextColor");
610
- _this.o3 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverTextColor");
611
- _this.o2 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverBackgroundColor");
612
- _this.o0 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusBackgroundColor");
613
- _this.o1 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusTextColor");
614
- _this.ob = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledBackgroundColor");
615
- _this.oc = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledBorderColor");
616
- _this.od = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledTextColor");
617
- _this.cz = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledElevation");
618
- _this.c2 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "RestingElevation");
619
- _this.c1 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverElevation");
620
- _this.c0 = XButton.l.n(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusElevation");
621
- _this.oa = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "BorderColor");
622
- _this.oi = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "RippleColor");
623
- _this.k7 = XButton.l.y(XButton.n, 1, enumGetBox(ButtonDisplayStyle_$type, 3), "CornerRadius");
624
- _this.bq = XButton.l.i(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "BorderWidth");
625
- _this.n9 = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "BackgroundColor");
626
- _this.oj = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "TextColor");
627
- _this.oh = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverTextColor");
628
- _this.og = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverBackgroundColor");
629
- _this.oe = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusBackgroundColor");
630
- _this.of = XButton.l.af(XButton.n, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusTextColor");
631
- _this.bh = NaN;
632
- _this.bg = NaN;
633
- _this.d = 0;
634
- _this.q = 0;
635
- _this.m = 0;
636
- _this.p = 1;
637
- _this.lm = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderColor");
638
- _this.lx = ThemeResolver.ai(XButton.n, XButton.l, "UmbraShadowColor");
639
- _this.lu = ThemeResolver.ai(XButton.n, XButton.l, "PenumbraShadowColor");
640
- _this.lk = ThemeResolver.ai(XButton.n, XButton.l, "AmbientShadowColor");
641
- _this.b5 = ThemeResolver.p(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "RestingElevation");
642
- _this.b3 = ThemeResolver.p(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusElevation");
643
- _this.b4 = ThemeResolver.p(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverElevation");
644
- _this.lv = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "RippleColor");
645
- _this.kx = ThemeResolver.ad(XButton.n, 1, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "CornerRadius");
646
- _this.ll = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "BackgroundColor");
647
- _this.ln = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBackgroundColor");
648
- _this.lo = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBorderColor");
649
- _this.lp = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledTextColor");
650
- _this.b2 = ThemeResolver.p(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledElevation");
651
- _this.t = ThemeResolver.f(XButton.n, XButton.l, "ElevationMode");
652
- _this.lw = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "TextColor");
653
- _this.lt = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverTextColor");
654
- _this.lq = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusBackgroundColor");
655
- _this.lr = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusTextColor");
656
- _this.ls = ThemeResolver.ah(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverBackgroundColor");
657
- _this.a7 = ThemeResolver.k(XButton.n, XButton.l, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderWidth");
658
- _this.nf = null;
659
- _this.nh = null;
660
- _this.ni = null;
661
- _this.nj = null;
662
- _this.cp = -1;
663
- _this.nm = null;
664
- _this.ng = null;
665
- _this.cs = -1;
666
- _this.cr = -1;
667
- _this.cq = -1;
668
- _this.bj = NaN;
669
- _this.k3 = new CornerRadius(1, NaN, NaN, NaN, NaN);
670
- _this.no = null;
671
- _this.md = null;
672
- _this.mf = null;
673
- _this.mg = null;
674
- _this.mh = null;
675
- _this.cb = -1;
676
- _this.mk = null;
677
- _this.me = null;
678
- _this.ce = -1;
679
- _this.cd = -1;
680
- _this.cc = -1;
681
- _this.mm = null;
682
- _this.mn = null;
683
- _this.ml = null;
684
- _this.mi = null;
685
- _this.mj = null;
686
- _this.be = NaN;
687
- _this.k0 = new CornerRadius(1, NaN, NaN, NaN, NaN);
688
- _this.ly = null;
689
- _this.l0 = null;
690
- _this.l1 = null;
691
- _this.l2 = null;
692
- _this.b6 = -1;
693
- _this.u = 0;
694
- _this.mq = null;
695
- _this.lz = null;
696
- _this.ct = -1;
697
- _this.cg = -1;
698
- _this.cf = -1;
699
- _this.aa = null;
700
- _this.nr = null;
701
- _this.ms = null;
702
- _this.nq = null;
703
- _this.np = null;
704
- _this.nn = null;
705
- _this.nk = null;
706
- _this.nl = null;
707
- _this.mo = null;
708
- _this.mp = null;
709
- _this.a8 = NaN;
710
- _this.ky = new CornerRadius(1, NaN, NaN, NaN, NaN);
711
- _this.m4 = null;
712
- _this.m6 = null;
713
- _this.m7 = null;
714
- _this.m8 = null;
715
- _this.cl = -1;
716
- _this.nb = null;
717
- _this.m5 = null;
718
- _this.co = -1;
719
- _this.cn = -1;
720
- _this.cm = -1;
721
- _this.bi = NaN;
722
- _this.k2 = new CornerRadius(1, NaN, NaN, NaN, NaN);
723
- _this.nd = null;
724
- _this.ne = null;
725
- _this.nc = null;
726
- _this.m9 = null;
727
- _this.na = null;
728
- _this.l3 = null;
729
- _this.l5 = null;
730
- _this.l6 = null;
731
- _this.l7 = null;
732
- _this.b7 = -1;
733
- _this.mr = null;
734
- _this.l4 = null;
735
- _this.ca = -1;
736
- _this.b9 = -1;
737
- _this.b8 = -1;
738
- _this.bd = NaN;
739
- _this.kz = new CornerRadius(1, NaN, NaN, NaN, NaN);
740
- _this.mb = null;
741
- _this.mc = null;
742
- _this.ma = null;
743
- _this.l8 = null;
744
- _this.l9 = null;
745
- _this.mt = null;
746
- _this.mv = null;
747
- _this.mw = null;
748
- _this.mx = null;
749
- _this.ch = -1;
750
- _this.m0 = null;
751
- _this.mu = null;
752
- _this.ck = -1;
753
- _this.cj = -1;
754
- _this.ci = -1;
755
- _this.bf = NaN;
756
- _this.k1 = new CornerRadius(1, NaN, NaN, NaN, NaN);
757
- _this.m2 = null;
758
- _this.m3 = null;
759
- _this.m1 = null;
760
- _this.my = null;
761
- _this.mz = null;
762
- _this.en = "ig-native-button-" + XButton.ea++;
763
- _this.em = "ig-button-" + XButton.d9++;
764
- _this.ej = "inline-block";
765
- _this.ei = null;
766
- _this.ek = "inline-block";
767
- _this.el = null;
768
- _this.eg = "center";
769
- _this.eb = null;
770
- _this.eo = null;
771
- _this.cu = 0;
772
- _this.an = false;
773
- _this.eh = null;
774
- _this.am = false;
775
- _this.ap = false;
776
- _this.aq = true;
777
- _this.ak = false;
778
- _this.ag = false;
779
- _this.ai = false;
780
- _this.ar = false;
781
- _this.ao = false;
782
- _this.al = false;
783
- _this.aj = false;
784
- _this.ba = NaN;
785
- _this.bc = NaN;
786
- _this.bb = NaN;
787
- _this.a9 = NaN;
788
- _this.li = 1;
789
- _this.rm = 1;
790
- _this.ah = true;
791
- _this.as = false;
792
- _this.propertyChanged = null;
793
- _this.clicked = null;
794
- _this.mouseEnter = null;
795
- _this.mouseLeave = null;
796
- _this.mouseDown = null;
797
- _this.mouseUp = null;
798
- _this.gotFocus = null;
799
- _this.lostFocus = null;
800
- var a = new ButtonView();
801
- a.c = _this;
802
- _this.view = a;
803
- _this.view.ar();
804
- return _this;
805
- }
806
- Object.defineProperty(XButton.prototype, "view", {
807
- get: function () {
808
- return this._view;
809
- },
810
- set: function (a) {
811
- this._view = a;
812
- },
813
- enumerable: false,
814
- configurable: true
815
- });
816
- XButton.prototype.destroy = function () {
817
- this.provideContainer(null);
818
- };
819
- XButton.prototype.kp = function (a, b, c) {
820
- if (this.propertyChanged != null) {
821
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
822
- }
823
- this.kr(a, b, c);
824
- };
825
- XButton.prototype.kr = function (a, b, c) {
826
- switch (a) {
827
- case "CornerRadius":
828
- case "BorderColor":
829
- case "RestingElevation":
830
- case "HoverElevation":
831
- case "FocusElevation":
832
- case "RippleColor":
833
- case "BorderWidth":
834
- case "BackgroundColor":
835
- case "DisabledBackgroundColor":
836
- case "DisabledBorderColor":
837
- case "DisabledTextColor":
838
- case "DisabledElevation":
839
- case "HoverBackgroundColor":
840
- case "FocusTextColor":
841
- case "TextColor":
842
- case "HoverTextColor":
843
- case "FocusBackgroundColor":
844
- case "RaisedBorderColor":
845
- case "RaisedRestingElevation":
846
- case "RaisedFocusElevation":
847
- case "RaisedHoverElevation":
848
- case "RaisedRippleColor":
849
- case "RaisedBorderWidth":
850
- case "RaisedBackgroundColor":
851
- case "RaisedDisabledBackgroundColor":
852
- case "RaisedDisabledBorderColor":
853
- case "RaisedDisabledTextColor":
854
- case "RaisedDisabledElevation":
855
- case "RaisedHoverBackgroundColor":
856
- case "RaisedCornerRadius":
857
- case "RaisedFocusBackgroundColor":
858
- case "RaisedFocusTextColor":
859
- case "RaisedTextColor":
860
- case "RaisedHoverTextColor":
861
- case "FlatBorderColor":
862
- case "FlatRestingElevation":
863
- case "FlatFocusElevation":
864
- case "FlatHoverElevation":
865
- case "FlatRippleColor":
866
- case "FlatBorderWidth":
867
- case "FlatBackgroundColor":
868
- case "FlatDisabledBackgroundColor":
869
- case "FlatDisabledBorderColor":
870
- case "FlatDisabledTextColor":
871
- case "FlatDisabledElevation":
872
- case "FlatHoverBackgroundColor":
873
- case "FlatCornerRadius":
874
- case "FlatFocusBackgroundColor":
875
- case "FlatFocusTextColor":
876
- case "FlatTextColor":
877
- case "FlatHoverTextColor":
878
- case "OutlinedRippleColor":
879
- case "OutlinedRestingElevation":
880
- case "OutlinedFocusElevation":
881
- case "OutlinedHoverElevation":
882
- case "OutlinedBorderColor":
883
- case "OutlinedBorderWidth":
884
- case "OutlinedBackgroundColor":
885
- case "OutlinedDisabledBackgroundColor":
886
- case "OutlinedDisabledBorderColor":
887
- case "OutlinedDisabledTextColor":
888
- case "OutlinedDisabledElevation":
889
- case "OutlinedHoverBackgroundColor":
890
- case "OutlinedCornerRadius":
891
- case "OutlinedFocusBackgroundColor":
892
- case "OutlinedFocusTextColor":
893
- case "OutlinedTextColor":
894
- case "OutlinedHoverTextColor":
895
- case "FabBorderColor":
896
- case "FabRippleColor":
897
- case "FabRestingElevation":
898
- case "FabFocusElevation":
899
- case "FabHoverElevation":
900
- case "FabBorderWidth":
901
- case "FabBackgroundColor":
902
- case "FabDisabledBackgroundColor":
903
- case "FabDisabledBorderColor":
904
- case "FabDisabledTextColor":
905
- case "FabDisabledElevation":
906
- case "FabHoverBackgroundColor":
907
- case "FabCornerRadius":
908
- case "FabFocusBackgroundColor":
909
- case "FabFocusTextColor":
910
- case "FabTextColor":
911
- case "FabHoverTextColor":
912
- case "IconRestingElevation":
913
- case "IconFocusElevation":
914
- case "IconHoverElevation":
915
- case "IconBorderColor":
916
- case "IconRippleColor":
917
- case "IconBorderWidth":
918
- case "IconBackgroundColor":
919
- case "IconDisabledBackgroundColor":
920
- case "IconDisabledBorderColor":
921
- case "IconDisabledTextColor":
922
- case "IconDisabledElevation":
923
- case "IconHoverBackgroundColor":
924
- case "IconCornerRadius":
925
- case "IconFocusBackgroundColor":
926
- case "IconFocusTextColor":
927
- case "IconTextColor":
928
- case "IconHoverTextColor":
929
- case "ElevationMode":
930
- this.kv();
931
- break;
932
- case "BaseTheme":
933
- this.kw(this.o == 0 ? 2 : this.o);
934
- this.kv();
935
- break;
936
- case "IsDisabled":
937
- this.at = this.disabled || this.ax;
938
- this.kv();
939
- this.view.at();
940
- this.ku();
941
- break;
942
- case "DisableRipple":
943
- this.at = this.disabled || this.ax;
944
- this.kv();
945
- break;
946
- case "TextStyle":
947
- case "DisableHover":
948
- this.ku();
949
- break;
950
- case "ActualDisableRipple":
951
- this.view.an();
952
- break;
953
- case "ActualBackgroundColor":
954
- case "ActualDisabledBackgroundColor":
955
- case "ActualDisabledBorderColor":
956
- case "ActualDisabledTextColor":
957
- case "ActualDisabledElevation":
958
- case "ActualHoverBackgroundColor":
959
- case "ActualBorderColor":
960
- case "ActualFocusTextColor":
961
- case "ActualHoverTextColor":
962
- case "ActualElevationMode":
963
- this.ku();
964
- break;
965
- case "Density":
966
- this.r = this.s == 0 ? 1 : this.s;
967
- this.kw(this.o == 0 ? 2 : this.o);
968
- this.kv();
969
- break;
970
- case "ActualDensity":
971
- case "ActualBorderWidth":
972
- case "ActualCornerRadius":
973
- if (this.e == 4) {
974
- this.kt();
975
- }
976
- this.view.a1();
977
- this.ku();
978
- break;
979
- case "DisplayType":
980
- this.view.a1();
981
- this.kv();
982
- this.ku();
983
- break;
984
- case "ContentPaddingLeft":
985
- case "ContentPaddingTop":
986
- case "ContentPaddingRight":
987
- case "ContentPaddingBottom":
988
- case "FillAvailableSpace":
989
- this.view.a1();
990
- break;
991
- case "HorizontalContentAlignment":
992
- case "VerticalContentAlignment":
993
- this.view.av();
994
- break;
995
- case "InputId":
996
- this.view.as();
997
- break;
998
- case "Display":
999
- this.view.ao();
1000
- break;
1001
- case "ChildContentDisplay":
1002
- this.view.ak();
1003
- break;
1004
- case "FlexDirection":
1005
- this.view.ap();
1006
- break;
1007
- case "FlexGrow":
1008
- this.view.aq();
1009
- break;
1010
- case "AlignItems":
1011
- this.view.ai();
1012
- break;
1013
- case "TabIndex":
1014
- this.view.ay();
1015
- break;
1016
- case "DisablePointer":
1017
- this.view.ay();
1018
- break;
1019
- case "MinWidth":
1020
- this.view.ax(this.bz);
1021
- this.view.a1();
1022
- break;
1023
- case "MinHeight":
1024
- this.view.aw(this.by);
1025
- this.view.a1();
1026
- break;
1027
- }
1028
- };
1029
- XButton.prototype.k5 = function (a, b) {
1030
- return new CornerRadius(1, !isNaN_(a.d) ? a.d : b.d, !isNaN_(a.e) ? a.e : b.e, !isNaN_(a.c) ? a.c : b.c, !isNaN_(a.b) ? a.b : b.b);
1031
- };
1032
- XButton.prototype.kv = function () {
1033
- this.v = this.x != 0 ? this.x : this.w;
1034
- this.n5 = this.pt;
1035
- this.n2 = this.ph;
1036
- this.ns = this.n8;
1037
- switch (this.e) {
1038
- case 0:
1039
- this.nv = this.pu != null ? this.pu : this.rb != null ? this.rb : this.pk;
1040
- this.nw = this.pv != null ? this.pv : this.rc != null ? this.rc : this.pl;
1041
- this.nx = this.pw != null ? this.pw : this.rd != null ? this.rd : this.pm;
1042
- this.cv = this.dj >= 0 ? this.dj : this.d3 >= 0 ? this.d3 : this.df;
1043
- this.cy = this.d7 >= 0 ? this.d7 : this.d6 >= 0 ? this.d6 : this.di;
1044
- this.cx = this.du >= 0 ? this.du : this.d5 >= 0 ? this.d5 : this.dh;
1045
- this.cw = this.dt >= 0 ? this.dt : this.d4 >= 0 ? this.d4 : this.dg;
1046
- this.nu = this.n7 != null ? this.n7 : this.ra != null ? this.ra : this.pj;
1047
- this.nt = this.n6 != null ? this.n6 : this.q9 != null ? this.q9 : this.pi;
1048
- this.n0 = this.ql != null ? this.ql : this.rg != null ? this.rg : this.pp;
1049
- this.k4 = this.k5(this.k6, this.k5(this.lh, this.lb));
1050
- this.bk = !isNaN_(this.bl) ? this.bl : !isNaN_(this.b1) ? this.b1 : this.bu;
1051
- this.n3 = this.rk != null ? this.rk : this.ri != null ? this.ri : this.pr;
1052
- this.ny = this.qj != null ? this.qj : this.re != null ? this.re : this.pn;
1053
- this.nz = this.qk != null ? this.qk : this.rf != null ? this.rf : this.po;
1054
- this.n4 = this.rl != null ? this.rl : this.rj != null ? this.rj : this.ps;
1055
- this.n1 = this.qm != null ? this.qm : this.rh != null ? this.rh : this.pq;
1056
- break;
1057
- case 2:
1058
- this.nv = this.pu != null ? this.pu : this.q0 != null ? this.q0 : this.o8;
1059
- this.nw = this.pv != null ? this.pv : this.q1 != null ? this.q1 : this.o9;
1060
- this.nx = this.pw != null ? this.pw : this.q2 != null ? this.q2 : this.pa;
1061
- this.cv = this.dj >= 0 ? this.dj : this.dz >= 0 ? this.dz : this.db;
1062
- this.cy = this.d7 >= 0 ? this.d7 : this.d2 >= 0 ? this.d2 : this.de;
1063
- this.cx = this.du >= 0 ? this.du : this.d1 >= 0 ? this.d1 : this.dd;
1064
- this.cw = this.dt >= 0 ? this.dt : this.d0 >= 0 ? this.d0 : this.dc;
1065
- this.nu = this.n7 != null ? this.n7 : this.qz != null ? this.qz : this.o7;
1066
- this.nt = this.ql != null ? this.ql : this.n6 != null ? this.n6 : this.qy != null ? this.qy : this.o6;
1067
- this.n0 = this.q5 != null ? this.q5 : this.pd;
1068
- this.k4 = this.k5(this.k6, this.k5(this.lg, this.la));
1069
- this.bk = !isNaN_(this.bl) ? this.bl : !isNaN_(this.b0) ? this.b0 : this.bt;
1070
- this.n3 = this.rk != null ? this.rk : this.q7 != null ? this.q7 : this.pf;
1071
- this.ny = this.qj != null ? this.qj : this.q3 != null ? this.q3 : this.pb;
1072
- this.nz = this.qk != null ? this.qk : this.q4 != null ? this.q4 : this.pc;
1073
- this.n4 = this.rl != null ? this.rl : this.q8 != null ? this.q8 : this.pg;
1074
- this.n1 = this.qm != null ? this.qm : this.q6 != null ? this.q6 : this.pe;
1075
- break;
1076
- case 1:
1077
- this.nv = this.pu != null ? this.pu : this.qa != null ? this.qa : this.om;
1078
- this.nw = this.pv != null ? this.pv : this.qb != null ? this.qb : this.on;
1079
- this.nx = this.pw != null ? this.pw : this.qc != null ? this.qc : this.oo;
1080
- this.cv = this.dj >= 0 ? this.dj : this.dp >= 0 ? this.dp : this.c3;
1081
- this.cy = this.d7 >= 0 ? this.d7 : this.ds >= 0 ? this.ds : this.c6;
1082
- this.cx = this.du >= 0 ? this.du : this.dr >= 0 ? this.dr : this.c5;
1083
- this.cw = this.dt >= 0 ? this.dt : this.dq >= 0 ? this.dq : this.c4;
1084
- this.nu = this.n7 != null ? this.n7 : this.p9 != null ? this.p9 : this.ol;
1085
- this.nt = this.n6 != null ? this.n6 : this.p8 != null ? this.p8 : this.ok;
1086
- this.n0 = this.ql != null ? this.ql : this.qf != null ? this.qf : this.or;
1087
- this.k4 = this.k5(this.k6, this.k5(this.ld, this.k8));
1088
- this.bk = !isNaN_(this.bl) ? this.bl : !isNaN_(this.bw) ? this.bw : this.br;
1089
- this.n3 = this.rk != null ? this.rk : this.qh != null ? this.qh : this.ot;
1090
- this.ny = this.qj != null ? this.qj : this.qd != null ? this.qd : this.op;
1091
- this.nz = this.qk != null ? this.qk : this.qe != null ? this.qe : this.oq;
1092
- this.n4 = this.rl != null ? this.rl : this.qi != null ? this.qi : this.ou;
1093
- this.n1 = this.qm != null ? this.qm : this.qg != null ? this.qg : this.os;
1094
- break;
1095
- case 4:
1096
- this.nv = this.pu != null ? this.pu : this.qp != null ? this.qp : this.ox;
1097
- this.nw = this.pv != null ? this.pv : this.qq != null ? this.qq : this.oy;
1098
- this.nx = this.pw != null ? this.pw : this.qr != null ? this.qr : this.oz;
1099
- this.cv = this.dj >= 0 ? this.dj : this.dv >= 0 ? this.dv : this.c7;
1100
- this.cy = this.d7 >= 0 ? this.d7 : this.dy >= 0 ? this.dy : this.da;
1101
- this.cx = this.du >= 0 ? this.du : this.dx >= 0 ? this.dx : this.c9;
1102
- this.cw = this.dt >= 0 ? this.dt : this.dw >= 0 ? this.dw : this.c8;
1103
- this.nu = this.n7 != null ? this.n7 : this.qo != null ? this.qo : this.ow;
1104
- this.nt = this.n6 != null ? this.n6 : this.qn != null ? this.qn : this.ov;
1105
- this.n0 = this.ql != null ? this.ql : this.qu != null ? this.qu : this.o2;
1106
- this.kt();
1107
- this.bk = !isNaN_(this.bl) ? this.bl : !isNaN_(this.bx) ? this.bx : this.bs;
1108
- this.n3 = this.rk != null ? this.rk : this.qw != null ? this.qw : this.o4;
1109
- this.ny = this.qj != null ? this.qj : this.qs != null ? this.qs : this.o0;
1110
- this.nz = this.qk != null ? this.qk : this.qt != null ? this.qt : this.o1;
1111
- this.n4 = this.rl != null ? this.rl : this.qx != null ? this.qx : this.o5;
1112
- this.n1 = this.qm != null ? this.qm : this.qv != null ? this.qv : this.o3;
1113
- break;
1114
- case 3:
1115
- this.nv = this.pu != null ? this.pu : this.pz != null ? this.pz : this.ob;
1116
- this.nw = this.pv != null ? this.pv : this.p0 != null ? this.p0 : this.oc;
1117
- this.nx = this.pw != null ? this.pw : this.p1 != null ? this.p1 : this.od;
1118
- this.cv = this.dj >= 0 ? this.dj : this.dk >= 0 ? this.dk : this.cz;
1119
- this.cy = this.d7 >= 0 ? this.d7 : this.dn >= 0 ? this.dn : this.c2;
1120
- this.cx = this.du >= 0 ? this.du : this.dm >= 0 ? this.dm : this.c1;
1121
- this.cw = this.dt >= 0 ? this.dt : this.dl >= 0 ? this.dl : this.c0;
1122
- this.nu = this.n7 != null ? this.n7 : this.py != null ? this.py : this.oa;
1123
- this.nt = this.n6 != null ? this.n6 : this.px != null ? this.px : this.n9;
1124
- this.n0 = this.ql != null ? this.ql : this.p4 != null ? this.p4 : this.og;
1125
- this.k4 = this.k5(this.k6, this.k5(this.lc, this.k7));
1126
- this.bk = !isNaN_(this.bl) ? this.bl : !isNaN_(this.bv) ? this.bv : this.bq;
1127
- this.n3 = this.rk != null ? this.rk : this.p6 != null ? this.p6 : this.pr;
1128
- this.ny = this.qj != null ? this.qj : this.p2 != null ? this.p2 : this.oe;
1129
- this.nz = this.qk != null ? this.qk : this.p3 != null ? this.p3 : this.of;
1130
- this.n4 = this.rl != null ? this.rl : this.p7 != null ? this.p7 : this.oj;
1131
- this.n1 = this.qm != null ? this.qm : this.p5 != null ? this.p5 : this.oh;
1132
- break;
1133
- }
1134
- };
1135
- XButton.prototype.kt = function () {
1136
- this.k4 = this.k5(this.k6, this.k5(this.lf, this.le(this.k9)));
1137
- };
1138
- XButton.prototype.le = function (a) {
1139
- switch (this.r) {
1140
- case 1: return a;
1141
- case 2: return a;
1142
- case 3: return a;
1143
- case 4: return new CornerRadius(0, 16);
1144
- }
1145
- return a;
1146
- };
1147
- XButton.prototype.kg = function () {
1148
- if (this.disabled) {
1149
- return;
1150
- }
1151
- if (this.clicked != null) {
1152
- this.clicked(this, new ButtonClickEventArgs());
1153
- }
1154
- };
1155
- XButton.prototype.kl = function () {
1156
- if (this.disabled) {
1157
- return;
1158
- }
1159
- if (this.mouseDown != null) {
1160
- this.mouseDown(this, new MouseEventArgs());
1161
- }
1162
- };
1163
- XButton.prototype.ko = function () {
1164
- if (this.disabled) {
1165
- return;
1166
- }
1167
- if (this.mouseUp != null) {
1168
- this.mouseUp(this, new MouseEventArgs());
1169
- }
1170
- };
1171
- XButton.prototype.kf = function () {
1172
- this.focused = false;
1173
- this.ku();
1174
- };
1175
- XButton.prototype.ki = function () {
1176
- this.focused = true;
1177
- this.ku();
1178
- };
1179
- XButton.prototype.kn = function () {
1180
- this.a4 = false;
1181
- this.ku();
1182
- if (this.mouseLeave != null) {
1183
- this.mouseLeave(this, new MouseEventArgs());
1184
- }
1185
- };
1186
- XButton.prototype.km = function () {
1187
- this.a4 = true;
1188
- this.ku();
1189
- if (this.mouseEnter != null) {
1190
- this.mouseEnter(this, new MouseEventArgs());
1191
- }
1192
- };
1193
- XButton.prototype.kj = function () {
1194
- if (this.gotFocus != null) {
1195
- this.gotFocus(this, new FocusEventArgs());
1196
- }
1197
- };
1198
- XButton.prototype.kk = function (a, b) {
1199
- if (this.lostFocus != null) {
1200
- this.lostFocus(this, ((function () {
1201
- var $ret = new FocusEventArgs();
1202
- $ret.b = a;
1203
- $ret.a = b;
1204
- return $ret;
1205
- })()));
1206
- }
1207
- };
1208
- XButton.prototype.ku = function () {
1209
- var a = this.view.r;
1210
- if (a == null) {
1211
- return;
1212
- }
1213
- NativeUI.p(a, this.k4);
1214
- NativeUI.o(a, this.nu);
1215
- if (!isNaN_(this.bk)) {
1216
- NativeUI.q(a, new Thickness(0, this.bk));
1217
- }
1218
- if (this.disabled) {
1219
- this.view.a0(this.cv, this.v);
1220
- }
1221
- else if (this.focused && this.a3) {
1222
- this.view.a0(this.cw, this.v);
1223
- }
1224
- else {
1225
- if (this.a4 && !this.av) {
1226
- this.view.a0(this.cx, this.v);
1227
- }
1228
- else {
1229
- this.view.a0(this.cy, this.v);
1230
- }
1231
- }
1232
- if (this.disabled) {
1233
- NativeUI.n(a, this.nv);
1234
- }
1235
- else if (this.focused && this.a3) {
1236
- NativeUI.n(a, this.ny);
1237
- }
1238
- else {
1239
- if (this.a4 && !this.av) {
1240
- NativeUI.n(a, this.n0);
1241
- }
1242
- else {
1243
- NativeUI.n(a, this.nt);
1244
- }
1245
- }
1246
- this.view.az(this.n3, BrushUtil.l(0, 0, 0, 0));
1247
- if (this.ab != null) {
1248
- this.view.a2(this.ab);
1249
- }
1250
- if (this.disabled) {
1251
- NativeUI.r(this.view.t, this.nx);
1252
- NativeUI.t(this.view.t, this.nx);
1253
- }
1254
- else if (this.focused && this.a3) {
1255
- NativeUI.r(this.view.t, this.nz);
1256
- NativeUI.t(this.view.t, this.nz);
1257
- }
1258
- else {
1259
- if (this.a4 && !this.av) {
1260
- NativeUI.r(this.view.t, this.n1);
1261
- NativeUI.t(this.view.t, this.n1);
1262
- }
1263
- else {
1264
- NativeUI.r(this.view.t, this.n4);
1265
- NativeUI.t(this.view.t, this.n4);
1266
- }
1267
- }
1268
- };
1269
- XButton.prototype.kw = function (a) {
1270
- this.pt = XButton.l.ag(a, "UmbraShadowColor");
1271
- this.ph = XButton.l.ag(a, "PenumbraShadowColor");
1272
- this.n8 = XButton.l.ag(a, "AmbientShadowColor");
1273
- this.w = XButton.l.d(a, "ElevationMode");
1274
- this.pk = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBackgroundColor");
1275
- this.pl = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledBorderColor");
1276
- this.pm = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledTextColor");
1277
- this.df = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 0), "DisabledElevation");
1278
- this.di = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 0), "RestingElevation");
1279
- this.dh = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverElevation");
1280
- this.dg = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusElevation");
1281
- this.pj = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderColor");
1282
- this.pr = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "RippleColor");
1283
- this.lb = XButton.l.y(a, this.p, enumGetBox(ButtonDisplayStyle_$type, 0), "CornerRadius");
1284
- this.bu = XButton.l.i(a, enumGetBox(ButtonDisplayStyle_$type, 0), "BorderWidth");
1285
- this.pi = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "BackgroundColor");
1286
- this.ps = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "TextColor");
1287
- this.pq = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverTextColor");
1288
- this.pp = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "HoverBackgroundColor");
1289
- this.pn = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusBackgroundColor");
1290
- this.po = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 0), "FocusTextColor");
1291
- this.om = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledBackgroundColor");
1292
- this.on = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledBorderColor");
1293
- this.oo = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledTextColor");
1294
- this.c3 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 1), "DisabledElevation");
1295
- this.c6 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 1), "RestingElevation");
1296
- this.c5 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverElevation");
1297
- this.c4 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusElevation");
1298
- this.ol = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "BorderColor");
1299
- this.ot = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "RippleColor");
1300
- this.k8 = XButton.l.y(a, this.p, enumGetBox(ButtonDisplayStyle_$type, 1), "CornerRadius");
1301
- this.br = XButton.l.i(a, enumGetBox(ButtonDisplayStyle_$type, 1), "BorderWidth");
1302
- this.ok = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "BackgroundColor");
1303
- this.ou = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "TextColor");
1304
- this.os = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverTextColor");
1305
- this.or = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "HoverBackgroundColor");
1306
- this.op = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusBackgroundColor");
1307
- this.oq = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 1), "FocusTextColor");
1308
- this.o8 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledBackgroundColor");
1309
- this.o9 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledBorderColor");
1310
- this.pa = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledTextColor");
1311
- this.db = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 2), "DisabledElevation");
1312
- this.de = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 2), "RestingElevation");
1313
- this.dd = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverElevation");
1314
- this.dc = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusElevation");
1315
- this.o7 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "BorderColor");
1316
- this.pf = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "RippleColor");
1317
- this.la = XButton.l.y(a, this.p, enumGetBox(ButtonDisplayStyle_$type, 2), "CornerRadius");
1318
- this.bt = XButton.l.i(a, enumGetBox(ButtonDisplayStyle_$type, 2), "BorderWidth");
1319
- this.o6 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "BackgroundColor");
1320
- this.pg = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "TextColor");
1321
- this.pe = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverTextColor");
1322
- this.pd = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "HoverBackgroundColor");
1323
- this.pb = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusBackgroundColor");
1324
- this.pc = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 2), "FocusTextColor");
1325
- this.ox = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledBackgroundColor");
1326
- this.oy = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledBorderColor");
1327
- this.oz = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledTextColor");
1328
- this.c7 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 4), "DisabledElevation");
1329
- this.da = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 4), "RestingElevation");
1330
- this.c9 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverElevation");
1331
- this.c8 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusElevation");
1332
- this.ow = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "BorderColor");
1333
- this.o4 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "RippleColor");
1334
- this.k9 = XButton.l.y(a, this.p, enumGetBox(ButtonDisplayStyle_$type, 4), "CornerRadius");
1335
- this.bs = XButton.l.i(a, enumGetBox(ButtonDisplayStyle_$type, 4), "BorderWidth");
1336
- this.ov = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "BackgroundColor");
1337
- this.o5 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "TextColor");
1338
- this.o3 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverTextColor");
1339
- this.o2 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "HoverBackgroundColor");
1340
- this.o0 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusBackgroundColor");
1341
- this.o1 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 4), "FocusTextColor");
1342
- this.ob = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledBackgroundColor");
1343
- this.oc = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledBorderColor");
1344
- this.od = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledTextColor");
1345
- this.cz = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 3), "DisabledElevation");
1346
- this.c2 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 3), "RestingElevation");
1347
- this.c1 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverElevation");
1348
- this.c0 = XButton.l.n(a, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusElevation");
1349
- this.oa = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "BorderColor");
1350
- this.oi = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "RippleColor");
1351
- this.k7 = XButton.l.y(a, this.p, enumGetBox(ButtonDisplayStyle_$type, 3), "CornerRadius");
1352
- this.bq = XButton.l.i(a, enumGetBox(ButtonDisplayStyle_$type, 3), "BorderWidth");
1353
- this.n9 = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "BackgroundColor");
1354
- this.oj = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "TextColor");
1355
- this.oh = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverTextColor");
1356
- this.og = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "HoverBackgroundColor");
1357
- this.oe = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusBackgroundColor");
1358
- this.of = XButton.l.af(a, enumGetBox(ButtonDisplayStyle_$type, 3), "FocusTextColor");
1359
- };
1360
- Object.defineProperty(XButton.prototype, "bz", {
1361
- get: function () {
1362
- return this.bh;
1363
- },
1364
- set: function (a) {
1365
- var b = this.bh;
1366
- this.bh = a;
1367
- if (b != this.bh) {
1368
- this.kp("MinWidth", b, a);
1369
- }
1370
- },
1371
- enumerable: false,
1372
- configurable: true
1373
- });
1374
- Object.defineProperty(XButton.prototype, "by", {
1375
- get: function () {
1376
- return this.bg;
1377
- },
1378
- set: function (a) {
1379
- var b = this.bg;
1380
- this.bg = a;
1381
- if (b != this.bg) {
1382
- this.kp("MinHeight", b, a);
1383
- }
1384
- },
1385
- enumerable: false,
1386
- configurable: true
1387
- });
1388
- Object.defineProperty(XButton.prototype, "e", {
1389
- get: function () {
1390
- return this.d;
1391
- },
1392
- set: function (a) {
1393
- var b = this.d;
1394
- this.d = a;
1395
- if (b != this.d) {
1396
- this.kp("DisplayType", enumGetBox(ButtonDisplayStyle_$type, b), enumGetBox(ButtonDisplayStyle_$type, a));
1397
- }
1398
- },
1399
- enumerable: false,
1400
- configurable: true
1401
- });
1402
- Object.defineProperty(XButton.prototype, "s", {
1403
- get: function () {
1404
- return this.q;
1405
- },
1406
- set: function (a) {
1407
- var b = this.q;
1408
- this.q = a;
1409
- if (b != this.q) {
1410
- this.kp("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
1411
- }
1412
- },
1413
- enumerable: false,
1414
- configurable: true
1415
- });
1416
- Object.defineProperty(XButton.prototype, "o", {
1417
- get: function () {
1418
- return this.m;
1419
- },
1420
- set: function (a) {
1421
- var b = this.m;
1422
- this.m = a;
1423
- if (b != this.m) {
1424
- this.kp("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, a));
1425
- }
1426
- },
1427
- enumerable: false,
1428
- configurable: true
1429
- });
1430
- Object.defineProperty(XButton.prototype, "r", {
1431
- get: function () {
1432
- return this.p;
1433
- },
1434
- set: function (a) {
1435
- var b = this.p;
1436
- this.p = a;
1437
- if (b != this.p) {
1438
- this.kp("ActualDensity", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, a));
1439
- }
1440
- },
1441
- enumerable: false,
1442
- configurable: true
1443
- });
1444
- Object.defineProperty(XButton.prototype, "nu", {
1445
- get: function () {
1446
- return this.lm;
1447
- },
1448
- set: function (a) {
1449
- var b = this.lm;
1450
- this.lm = a;
1451
- if (b != this.lm) {
1452
- this.kp("ActualBorderColor", b, a);
1453
- }
1454
- },
1455
- enumerable: false,
1456
- configurable: true
1457
- });
1458
- Object.defineProperty(XButton.prototype, "n5", {
1459
- get: function () {
1460
- return this.lx;
1461
- },
1462
- set: function (a) {
1463
- var b = this.lx;
1464
- this.lx = a;
1465
- if (b != this.lx) {
1466
- this.kp("ActualUmbraShadowColor", b, a);
1467
- }
1468
- },
1469
- enumerable: false,
1470
- configurable: true
1471
- });
1472
- Object.defineProperty(XButton.prototype, "n2", {
1473
- get: function () {
1474
- return this.lu;
1475
- },
1476
- set: function (a) {
1477
- var b = this.lu;
1478
- this.lu = a;
1479
- if (b != this.lu) {
1480
- this.kp("ActualPenumbraShadowColor", b, a);
1481
- }
1482
- },
1483
- enumerable: false,
1484
- configurable: true
1485
- });
1486
- Object.defineProperty(XButton.prototype, "ns", {
1487
- get: function () {
1488
- return this.lk;
1489
- },
1490
- set: function (a) {
1491
- var b = this.lk;
1492
- this.lk = a;
1493
- if (b != this.lk) {
1494
- this.kp("ActualAmbientShadowColor", b, a);
1495
- }
1496
- },
1497
- enumerable: false,
1498
- configurable: true
1499
- });
1500
- Object.defineProperty(XButton.prototype, "cy", {
1501
- get: function () {
1502
- return this.b5;
1503
- },
1504
- set: function (a) {
1505
- var b = this.b5;
1506
- this.b5 = a;
1507
- if (b != this.b5) {
1508
- this.kp("ActualRestingElevation", b, a);
1509
- }
1510
- },
1511
- enumerable: false,
1512
- configurable: true
1513
- });
1514
- Object.defineProperty(XButton.prototype, "cw", {
1515
- get: function () {
1516
- return this.b3;
1517
- },
1518
- set: function (a) {
1519
- var b = this.b3;
1520
- this.b3 = a;
1521
- if (b != this.b3) {
1522
- this.kp("ActualFocusElevation", b, a);
1523
- }
1524
- },
1525
- enumerable: false,
1526
- configurable: true
1527
- });
1528
- Object.defineProperty(XButton.prototype, "cx", {
1529
- get: function () {
1530
- return this.b4;
1531
- },
1532
- set: function (a) {
1533
- var b = this.b4;
1534
- this.b4 = a;
1535
- if (b != this.b4) {
1536
- this.kp("ActualHoverElevation", b, a);
1537
- }
1538
- },
1539
- enumerable: false,
1540
- configurable: true
1541
- });
1542
- Object.defineProperty(XButton.prototype, "n3", {
1543
- get: function () {
1544
- return this.lv;
1545
- },
1546
- set: function (a) {
1547
- var b = this.lv;
1548
- this.lv = a;
1549
- if (b != this.lv) {
1550
- this.kp("ActualRippleColor", b, a);
1551
- }
1552
- },
1553
- enumerable: false,
1554
- configurable: true
1555
- });
1556
- Object.defineProperty(XButton.prototype, "k4", {
1557
- get: function () {
1558
- return this.kx;
1559
- },
1560
- set: function (a) {
1561
- var b = this.kx;
1562
- this.kx = a;
1563
- if (!b.equals(this.kx)) {
1564
- this.kp("ActualCornerRadius", b, a);
1565
- }
1566
- },
1567
- enumerable: false,
1568
- configurable: true
1569
- });
1570
- Object.defineProperty(XButton.prototype, "nt", {
1571
- get: function () {
1572
- return this.ll;
1573
- },
1574
- set: function (a) {
1575
- var b = this.ll;
1576
- this.ll = a;
1577
- if (b != this.ll) {
1578
- this.kp("ActualBackgroundColor", b, a);
1579
- }
1580
- },
1581
- enumerable: false,
1582
- configurable: true
1583
- });
1584
- Object.defineProperty(XButton.prototype, "nv", {
1585
- get: function () {
1586
- return this.ln;
1587
- },
1588
- set: function (a) {
1589
- var b = this.ln;
1590
- this.ln = a;
1591
- if (b != this.ln) {
1592
- this.kp("ActualDisabledBackgroundColor", b, a);
1593
- }
1594
- },
1595
- enumerable: false,
1596
- configurable: true
1597
- });
1598
- Object.defineProperty(XButton.prototype, "nw", {
1599
- get: function () {
1600
- return this.lo;
1601
- },
1602
- set: function (a) {
1603
- var b = this.lo;
1604
- this.lo = a;
1605
- if (b != this.lo) {
1606
- this.kp("ActualDisabledBorderColor", b, a);
1607
- }
1608
- },
1609
- enumerable: false,
1610
- configurable: true
1611
- });
1612
- Object.defineProperty(XButton.prototype, "nx", {
1613
- get: function () {
1614
- return this.lp;
1615
- },
1616
- set: function (a) {
1617
- var b = this.lp;
1618
- this.lp = a;
1619
- if (b != this.lp) {
1620
- this.kp("ActualDisabledTextColor", b, a);
1621
- }
1622
- },
1623
- enumerable: false,
1624
- configurable: true
1625
- });
1626
- Object.defineProperty(XButton.prototype, "cv", {
1627
- get: function () {
1628
- return this.b2;
1629
- },
1630
- set: function (a) {
1631
- var b = this.b2;
1632
- this.b2 = a;
1633
- if (b != this.b2) {
1634
- this.kp("ActualDisabledElevation", b, a);
1635
- }
1636
- },
1637
- enumerable: false,
1638
- configurable: true
1639
- });
1640
- Object.defineProperty(XButton.prototype, "v", {
1641
- get: function () {
1642
- return this.t;
1643
- },
1644
- set: function (a) {
1645
- var b = this.t;
1646
- this.t = a;
1647
- if (b != this.t) {
1648
- this.kp("ActualElevationMode", enumGetBox(ElevationMode_$type, b), enumGetBox(ElevationMode_$type, a));
1649
- }
1650
- },
1651
- enumerable: false,
1652
- configurable: true
1653
- });
1654
- Object.defineProperty(XButton.prototype, "n4", {
1655
- get: function () {
1656
- return this.lw;
1657
- },
1658
- set: function (a) {
1659
- var b = this.lw;
1660
- this.lw = a;
1661
- if (b != this.lw) {
1662
- this.kp("ActualTextColor", b, a);
1663
- }
1664
- },
1665
- enumerable: false,
1666
- configurable: true
1667
- });
1668
- Object.defineProperty(XButton.prototype, "n1", {
1669
- get: function () {
1670
- return this.lt;
1671
- },
1672
- set: function (a) {
1673
- var b = this.lt;
1674
- this.lt = a;
1675
- if (b != this.lt) {
1676
- this.kp("ActualHoverTextColor", b, a);
1677
- }
1678
- },
1679
- enumerable: false,
1680
- configurable: true
1681
- });
1682
- Object.defineProperty(XButton.prototype, "ny", {
1683
- get: function () {
1684
- return this.lq;
1685
- },
1686
- set: function (a) {
1687
- var b = this.lq;
1688
- this.lq = a;
1689
- if (b != this.lq) {
1690
- this.kp("ActualFocusBackgroundColor", b, a);
1691
- }
1692
- },
1693
- enumerable: false,
1694
- configurable: true
1695
- });
1696
- Object.defineProperty(XButton.prototype, "nz", {
1697
- get: function () {
1698
- return this.lr;
1699
- },
1700
- set: function (a) {
1701
- var b = this.lr;
1702
- this.lr = a;
1703
- if (b != this.lr) {
1704
- this.kp("ActualFocusTextColor", b, a);
1705
- }
1706
- },
1707
- enumerable: false,
1708
- configurable: true
1709
- });
1710
- Object.defineProperty(XButton.prototype, "n0", {
1711
- get: function () {
1712
- return this.ls;
1713
- },
1714
- set: function (a) {
1715
- var b = this.ls;
1716
- this.ls = a;
1717
- if (b != this.ls) {
1718
- this.kp("ActualHoverBackgroundColor", b, a);
1719
- }
1720
- },
1721
- enumerable: false,
1722
- configurable: true
1723
- });
1724
- Object.defineProperty(XButton.prototype, "bk", {
1725
- get: function () {
1726
- return this.a7;
1727
- },
1728
- set: function (a) {
1729
- var b = this.a7;
1730
- this.a7 = a;
1731
- if (b != this.a7) {
1732
- this.kp("ActualBorderWidth", b, a);
1733
- }
1734
- },
1735
- enumerable: false,
1736
- configurable: true
1737
- });
1738
- Object.defineProperty(XButton.prototype, "q9", {
1739
- get: function () {
1740
- return this.nf;
1741
- },
1742
- set: function (a) {
1743
- var b = this.nf;
1744
- this.nf = a;
1745
- if (b != this.nf) {
1746
- this.kp("RaisedBackgroundColor", b, a);
1747
- }
1748
- },
1749
- enumerable: false,
1750
- configurable: true
1751
- });
1752
- Object.defineProperty(XButton.prototype, "rb", {
1753
- get: function () {
1754
- return this.nh;
1755
- },
1756
- set: function (a) {
1757
- var b = this.nh;
1758
- this.nh = a;
1759
- if (b != this.nh) {
1760
- this.kp("RaisedDisabledBackgroundColor", b, a);
1761
- }
1762
- },
1763
- enumerable: false,
1764
- configurable: true
1765
- });
1766
- Object.defineProperty(XButton.prototype, "rc", {
1767
- get: function () {
1768
- return this.ni;
1769
- },
1770
- set: function (a) {
1771
- var b = this.ni;
1772
- this.ni = a;
1773
- if (b != this.ni) {
1774
- this.kp("RaisedDisabledBorderColor", b, a);
1775
- }
1776
- },
1777
- enumerable: false,
1778
- configurable: true
1779
- });
1780
- Object.defineProperty(XButton.prototype, "rd", {
1781
- get: function () {
1782
- return this.nj;
1783
- },
1784
- set: function (a) {
1785
- var b = this.nj;
1786
- this.nj = a;
1787
- if (b != this.nj) {
1788
- this.kp("RaisedDisabledTextColor", b, a);
1789
- }
1790
- },
1791
- enumerable: false,
1792
- configurable: true
1793
- });
1794
- Object.defineProperty(XButton.prototype, "d3", {
1795
- get: function () {
1796
- return this.cp;
1797
- },
1798
- set: function (a) {
1799
- var b = this.cp;
1800
- this.cp = a;
1801
- if (b != this.cp) {
1802
- this.kp("RaisedDisabledElevation", b, a);
1803
- }
1804
- },
1805
- enumerable: false,
1806
- configurable: true
1807
- });
1808
- Object.defineProperty(XButton.prototype, "rg", {
1809
- get: function () {
1810
- return this.nm;
1811
- },
1812
- set: function (a) {
1813
- var b = this.nm;
1814
- this.nm = a;
1815
- if (b != this.nm) {
1816
- this.kp("RaisedHoverBackgroundColor", b, a);
1817
- }
1818
- },
1819
- enumerable: false,
1820
- configurable: true
1821
- });
1822
- Object.defineProperty(XButton.prototype, "ra", {
1823
- get: function () {
1824
- return this.ng;
1825
- },
1826
- set: function (a) {
1827
- var b = this.ng;
1828
- this.ng = a;
1829
- if (b != this.ng) {
1830
- this.kp("RaisedBorderColor", b, a);
1831
- }
1832
- },
1833
- enumerable: false,
1834
- configurable: true
1835
- });
1836
- Object.defineProperty(XButton.prototype, "d6", {
1837
- get: function () {
1838
- return this.cs;
1839
- },
1840
- set: function (a) {
1841
- var b = this.cs;
1842
- this.cs = a;
1843
- if (b != this.cs) {
1844
- this.kp("RaisedRestingElevation", b, a);
1845
- }
1846
- },
1847
- enumerable: false,
1848
- configurable: true
1849
- });
1850
- Object.defineProperty(XButton.prototype, "d5", {
1851
- get: function () {
1852
- return this.cr;
1853
- },
1854
- set: function (a) {
1855
- var b = this.cr;
1856
- this.cr = a;
1857
- if (b != this.cr) {
1858
- this.kp("RaisedHoverElevation", b, a);
1859
- }
1860
- },
1861
- enumerable: false,
1862
- configurable: true
1863
- });
1864
- Object.defineProperty(XButton.prototype, "d4", {
1865
- get: function () {
1866
- return this.cq;
1867
- },
1868
- set: function (a) {
1869
- var b = this.cq;
1870
- this.cq = a;
1871
- if (b != this.cq) {
1872
- this.kp("RaisedFocusElevation", b, a);
1873
- }
1874
- },
1875
- enumerable: false,
1876
- configurable: true
1877
- });
1878
- Object.defineProperty(XButton.prototype, "b1", {
1879
- get: function () {
1880
- return this.bj;
1881
- },
1882
- set: function (a) {
1883
- var b = this.bj;
1884
- this.bj = a;
1885
- if (b != this.bj) {
1886
- this.kp("RaisedBorderWidth", b, a);
1887
- }
1888
- },
1889
- enumerable: false,
1890
- configurable: true
1891
- });
1892
- Object.defineProperty(XButton.prototype, "lh", {
1893
- get: function () {
1894
- return this.k3;
1895
- },
1896
- set: function (a) {
1897
- var b = this.k3;
1898
- this.k3 = a;
1899
- {
1900
- this.kp("RaisedCornerRadius", b, a);
1901
- }
1902
- },
1903
- enumerable: false,
1904
- configurable: true
1905
- });
1906
- Object.defineProperty(XButton.prototype, "ri", {
1907
- get: function () {
1908
- return this.no;
1909
- },
1910
- set: function (a) {
1911
- var b = this.no;
1912
- this.no = a;
1913
- if (b != this.no) {
1914
- this.kp("RaisedRippleColor", b, a);
1915
- }
1916
- },
1917
- enumerable: false,
1918
- configurable: true
1919
- });
1920
- Object.defineProperty(XButton.prototype, "p8", {
1921
- get: function () {
1922
- return this.md;
1923
- },
1924
- set: function (a) {
1925
- var b = this.md;
1926
- this.md = a;
1927
- if (b != this.md) {
1928
- this.kp("FlatBackgroundColor", b, a);
1929
- }
1930
- },
1931
- enumerable: false,
1932
- configurable: true
1933
- });
1934
- Object.defineProperty(XButton.prototype, "qa", {
1935
- get: function () {
1936
- return this.mf;
1937
- },
1938
- set: function (a) {
1939
- var b = this.mf;
1940
- this.mf = a;
1941
- if (b != this.mf) {
1942
- this.kp("FlatDisabledBackgroundColor", b, a);
1943
- }
1944
- },
1945
- enumerable: false,
1946
- configurable: true
1947
- });
1948
- Object.defineProperty(XButton.prototype, "qb", {
1949
- get: function () {
1950
- return this.mg;
1951
- },
1952
- set: function (a) {
1953
- var b = this.mg;
1954
- this.mg = a;
1955
- if (b != this.mg) {
1956
- this.kp("FlatDisabledBorderColor", b, a);
1957
- }
1958
- },
1959
- enumerable: false,
1960
- configurable: true
1961
- });
1962
- Object.defineProperty(XButton.prototype, "qc", {
1963
- get: function () {
1964
- return this.mh;
1965
- },
1966
- set: function (a) {
1967
- var b = this.mh;
1968
- this.mh = a;
1969
- if (b != this.mh) {
1970
- this.kp("FlatDisabledTextColor", b, a);
1971
- }
1972
- },
1973
- enumerable: false,
1974
- configurable: true
1975
- });
1976
- Object.defineProperty(XButton.prototype, "dp", {
1977
- get: function () {
1978
- return this.cb;
1979
- },
1980
- set: function (a) {
1981
- var b = this.cb;
1982
- this.cb = a;
1983
- if (b != this.cb) {
1984
- this.kp("FlatDisabledElevation", b, a);
1985
- }
1986
- },
1987
- enumerable: false,
1988
- configurable: true
1989
- });
1990
- Object.defineProperty(XButton.prototype, "qf", {
1991
- get: function () {
1992
- return this.mk;
1993
- },
1994
- set: function (a) {
1995
- var b = this.mk;
1996
- this.mk = a;
1997
- if (b != this.mk) {
1998
- this.kp("FlatHoverBackgroundColor", b, a);
1999
- }
2000
- },
2001
- enumerable: false,
2002
- configurable: true
2003
- });
2004
- Object.defineProperty(XButton.prototype, "p9", {
2005
- get: function () {
2006
- return this.me;
2007
- },
2008
- set: function (a) {
2009
- var b = this.me;
2010
- this.me = a;
2011
- if (b != this.me) {
2012
- this.kp("FlatBorderColor", b, a);
2013
- }
2014
- },
2015
- enumerable: false,
2016
- configurable: true
2017
- });
2018
- Object.defineProperty(XButton.prototype, "ds", {
2019
- get: function () {
2020
- return this.ce;
2021
- },
2022
- set: function (a) {
2023
- var b = this.ce;
2024
- this.ce = a;
2025
- if (b != this.ce) {
2026
- this.kp("FlatRestingElevation", b, a);
2027
- }
2028
- },
2029
- enumerable: false,
2030
- configurable: true
2031
- });
2032
- Object.defineProperty(XButton.prototype, "dr", {
2033
- get: function () {
2034
- return this.cd;
2035
- },
2036
- set: function (a) {
2037
- var b = this.cd;
2038
- this.cd = a;
2039
- if (b != this.cd) {
2040
- this.kp("FlatHoverElevation", b, a);
2041
- }
2042
- },
2043
- enumerable: false,
2044
- configurable: true
2045
- });
2046
- Object.defineProperty(XButton.prototype, "dq", {
2047
- get: function () {
2048
- return this.cc;
2049
- },
2050
- set: function (a) {
2051
- var b = this.cc;
2052
- this.cc = a;
2053
- if (b != this.cc) {
2054
- this.kp("FlatFocusElevation", b, a);
2055
- }
2056
- },
2057
- enumerable: false,
2058
- configurable: true
2059
- });
2060
- Object.defineProperty(XButton.prototype, "qh", {
2061
- get: function () {
2062
- return this.mm;
2063
- },
2064
- set: function (a) {
2065
- var b = this.mm;
2066
- this.mm = a;
2067
- if (b != this.mm) {
2068
- this.kp("FlatRippleColor", b, a);
2069
- }
2070
- },
2071
- enumerable: false,
2072
- configurable: true
2073
- });
2074
- Object.defineProperty(XButton.prototype, "qi", {
2075
- get: function () {
2076
- return this.mn;
2077
- },
2078
- set: function (a) {
2079
- var b = this.mn;
2080
- this.mn = a;
2081
- if (b != this.mn) {
2082
- this.kp("FlatTextColor", b, a);
2083
- }
2084
- },
2085
- enumerable: false,
2086
- configurable: true
2087
- });
2088
- Object.defineProperty(XButton.prototype, "qg", {
2089
- get: function () {
2090
- return this.ml;
2091
- },
2092
- set: function (a) {
2093
- var b = this.ml;
2094
- this.ml = a;
2095
- if (b != this.ml) {
2096
- this.kp("FlatHoverTextColor", b, a);
2097
- }
2098
- },
2099
- enumerable: false,
2100
- configurable: true
2101
- });
2102
- Object.defineProperty(XButton.prototype, "qd", {
2103
- get: function () {
2104
- return this.mi;
2105
- },
2106
- set: function (a) {
2107
- var b = this.mi;
2108
- this.mi = a;
2109
- if (b != this.mi) {
2110
- this.kp("FlatFocusBackgroundColor", b, a);
2111
- }
2112
- },
2113
- enumerable: false,
2114
- configurable: true
2115
- });
2116
- Object.defineProperty(XButton.prototype, "qe", {
2117
- get: function () {
2118
- return this.mj;
2119
- },
2120
- set: function (a) {
2121
- var b = this.mj;
2122
- this.mj = a;
2123
- if (b != this.mj) {
2124
- this.kp("FlatFocusTextColor", b, a);
2125
- }
2126
- },
2127
- enumerable: false,
2128
- configurable: true
2129
- });
2130
- Object.defineProperty(XButton.prototype, "bw", {
2131
- get: function () {
2132
- return this.be;
2133
- },
2134
- set: function (a) {
2135
- var b = this.be;
2136
- this.be = a;
2137
- if (b != this.be) {
2138
- this.kp("FlatBorderWidth", b, a);
2139
- }
2140
- },
2141
- enumerable: false,
2142
- configurable: true
2143
- });
2144
- Object.defineProperty(XButton.prototype, "ld", {
2145
- get: function () {
2146
- return this.k0;
2147
- },
2148
- set: function (a) {
2149
- var b = this.k0;
2150
- this.k0 = a;
2151
- {
2152
- this.kp("FlatCornerRadius", b, a);
2153
- }
2154
- },
2155
- enumerable: false,
2156
- configurable: true
2157
- });
2158
- Object.defineProperty(XButton.prototype, "n6", {
2159
- get: function () {
2160
- return this.ly;
2161
- },
2162
- set: function (a) {
2163
- var b = this.ly;
2164
- this.ly = a;
2165
- if (b != this.ly) {
2166
- this.kp("BackgroundColor", b, a);
2167
- }
2168
- },
2169
- enumerable: false,
2170
- configurable: true
2171
- });
2172
- Object.defineProperty(XButton.prototype, "pu", {
2173
- get: function () {
2174
- return this.l0;
2175
- },
2176
- set: function (a) {
2177
- var b = this.l0;
2178
- this.l0 = a;
2179
- if (b != this.l0) {
2180
- this.kp("DisabledBackgroundColor", b, a);
2181
- }
2182
- },
2183
- enumerable: false,
2184
- configurable: true
2185
- });
2186
- Object.defineProperty(XButton.prototype, "pv", {
2187
- get: function () {
2188
- return this.l1;
2189
- },
2190
- set: function (a) {
2191
- var b = this.l1;
2192
- this.l1 = a;
2193
- if (b != this.l1) {
2194
- this.kp("DisabledBorderColor", b, a);
2195
- }
2196
- },
2197
- enumerable: false,
2198
- configurable: true
2199
- });
2200
- Object.defineProperty(XButton.prototype, "pw", {
2201
- get: function () {
2202
- return this.l2;
2203
- },
2204
- set: function (a) {
2205
- var b = this.l2;
2206
- this.l2 = a;
2207
- if (b != this.l2) {
2208
- this.kp("DisabledTextColor", b, a);
2209
- }
2210
- },
2211
- enumerable: false,
2212
- configurable: true
2213
- });
2214
- Object.defineProperty(XButton.prototype, "dj", {
2215
- get: function () {
2216
- return this.b6;
2217
- },
2218
- set: function (a) {
2219
- var b = this.b6;
2220
- this.b6 = a;
2221
- if (b != this.b6) {
2222
- this.kp("DisabledElevation", b, a);
2223
- }
2224
- },
2225
- enumerable: false,
2226
- configurable: true
2227
- });
2228
- Object.defineProperty(XButton.prototype, "x", {
2229
- get: function () {
2230
- return this.u;
2231
- },
2232
- set: function (a) {
2233
- var b = this.u;
2234
- this.u = a;
2235
- if (b != this.u) {
2236
- this.kp("ElevationMode", enumGetBox(ElevationMode_$type, b), enumGetBox(ElevationMode_$type, a));
2237
- }
2238
- },
2239
- enumerable: false,
2240
- configurable: true
2241
- });
2242
- Object.defineProperty(XButton.prototype, "ql", {
2243
- get: function () {
2244
- return this.mq;
2245
- },
2246
- set: function (a) {
2247
- var b = this.mq;
2248
- this.mq = a;
2249
- if (b != this.mq) {
2250
- this.kp("HoverBackgroundColor", b, a);
2251
- }
2252
- },
2253
- enumerable: false,
2254
- configurable: true
2255
- });
2256
- Object.defineProperty(XButton.prototype, "n7", {
2257
- get: function () {
2258
- return this.lz;
2259
- },
2260
- set: function (a) {
2261
- var b = this.lz;
2262
- this.lz = a;
2263
- if (b != this.lz) {
2264
- this.kp("BorderColor", b, a);
2265
- }
2266
- },
2267
- enumerable: false,
2268
- configurable: true
2269
- });
2270
- Object.defineProperty(XButton.prototype, "d7", {
2271
- get: function () {
2272
- return this.ct;
2273
- },
2274
- set: function (a) {
2275
- var b = this.ct;
2276
- this.ct = a;
2277
- if (b != this.ct) {
2278
- this.kp("RestingElevation", b, a);
2279
- }
2280
- },
2281
- enumerable: false,
2282
- configurable: true
2283
- });
2284
- Object.defineProperty(XButton.prototype, "du", {
2285
- get: function () {
2286
- return this.cg;
2287
- },
2288
- set: function (a) {
2289
- var b = this.cg;
2290
- this.cg = a;
2291
- if (b != this.cg) {
2292
- this.kp("HoverElevation", b, a);
2293
- }
2294
- },
2295
- enumerable: false,
2296
- configurable: true
2297
- });
2298
- Object.defineProperty(XButton.prototype, "dt", {
2299
- get: function () {
2300
- return this.cf;
2301
- },
2302
- set: function (a) {
2303
- var b = this.cf;
2304
- this.cf = a;
2305
- if (b != this.cf) {
2306
- this.kp("FocusElevation", b, a);
2307
- }
2308
- },
2309
- enumerable: false,
2310
- configurable: true
2311
- });
2312
- Object.defineProperty(XButton.prototype, "ab", {
2313
- get: function () {
2314
- return this.aa;
2315
- },
2316
- set: function (a) {
2317
- var b = this.aa;
2318
- this.aa = a;
2319
- if (b != this.aa) {
2320
- this.kp("TextStyle", b, a);
2321
- }
2322
- },
2323
- enumerable: false,
2324
- configurable: true
2325
- });
2326
- Object.defineProperty(XButton.prototype, "rl", {
2327
- get: function () {
2328
- return this.nr;
2329
- },
2330
- set: function (a) {
2331
- var b = this.nr;
2332
- this.nr = a;
2333
- if (b != this.nr) {
2334
- this.kp("TextColor", b, a);
2335
- }
2336
- },
2337
- enumerable: false,
2338
- configurable: true
2339
- });
2340
- Object.defineProperty(XButton.prototype, "qm", {
2341
- get: function () {
2342
- return this.ms;
2343
- },
2344
- set: function (a) {
2345
- var b = this.ms;
2346
- this.ms = a;
2347
- if (b != this.ms) {
2348
- this.kp("HoverTextColor", b, a);
2349
- }
2350
- },
2351
- enumerable: false,
2352
- configurable: true
2353
- });
2354
- Object.defineProperty(XButton.prototype, "rk", {
2355
- get: function () {
2356
- return this.nq;
2357
- },
2358
- set: function (a) {
2359
- var b = this.nq;
2360
- this.nq = a;
2361
- if (b != this.nq) {
2362
- this.kp("RippleColor", b, a);
2363
- }
2364
- },
2365
- enumerable: false,
2366
- configurable: true
2367
- });
2368
- Object.defineProperty(XButton.prototype, "rj", {
2369
- get: function () {
2370
- return this.np;
2371
- },
2372
- set: function (a) {
2373
- var b = this.np;
2374
- this.np = a;
2375
- if (b != this.np) {
2376
- this.kp("RaisedTextColor", b, a);
2377
- }
2378
- },
2379
- enumerable: false,
2380
- configurable: true
2381
- });
2382
- Object.defineProperty(XButton.prototype, "rh", {
2383
- get: function () {
2384
- return this.nn;
2385
- },
2386
- set: function (a) {
2387
- var b = this.nn;
2388
- this.nn = a;
2389
- if (b != this.nn) {
2390
- this.kp("RaisedHoverTextColor", b, a);
2391
- }
2392
- },
2393
- enumerable: false,
2394
- configurable: true
2395
- });
2396
- Object.defineProperty(XButton.prototype, "re", {
2397
- get: function () {
2398
- return this.nk;
2399
- },
2400
- set: function (a) {
2401
- var b = this.nk;
2402
- this.nk = a;
2403
- if (b != this.nk) {
2404
- this.kp("RaisedFocusBackgroundColor", b, a);
2405
- }
2406
- },
2407
- enumerable: false,
2408
- configurable: true
2409
- });
2410
- Object.defineProperty(XButton.prototype, "rf", {
2411
- get: function () {
2412
- return this.nl;
2413
- },
2414
- set: function (a) {
2415
- var b = this.nl;
2416
- this.nl = a;
2417
- if (b != this.nl) {
2418
- this.kp("RaisedFocusTextColor", b, a);
2419
- }
2420
- },
2421
- enumerable: false,
2422
- configurable: true
2423
- });
2424
- Object.defineProperty(XButton.prototype, "qj", {
2425
- get: function () {
2426
- return this.mo;
2427
- },
2428
- set: function (a) {
2429
- var b = this.mo;
2430
- this.mo = a;
2431
- if (b != this.mo) {
2432
- this.kp("FocusBackgroundColor", b, a);
2433
- }
2434
- },
2435
- enumerable: false,
2436
- configurable: true
2437
- });
2438
- Object.defineProperty(XButton.prototype, "qk", {
2439
- get: function () {
2440
- return this.mp;
2441
- },
2442
- set: function (a) {
2443
- var b = this.mp;
2444
- this.mp = a;
2445
- if (b != this.mp) {
2446
- this.kp("FocusTextColor", b, a);
2447
- }
2448
- },
2449
- enumerable: false,
2450
- configurable: true
2451
- });
2452
- Object.defineProperty(XButton.prototype, "bl", {
2453
- get: function () {
2454
- return this.a8;
2455
- },
2456
- set: function (a) {
2457
- var b = this.a8;
2458
- this.a8 = a;
2459
- if (b != this.a8) {
2460
- this.kp("BorderWidth", b, a);
2461
- }
2462
- },
2463
- enumerable: false,
2464
- configurable: true
2465
- });
2466
- Object.defineProperty(XButton.prototype, "k6", {
2467
- get: function () {
2468
- return this.ky;
2469
- },
2470
- set: function (a) {
2471
- var b = this.ky;
2472
- this.ky = a;
2473
- {
2474
- this.kp("CornerRadius", b, a);
2475
- }
2476
- },
2477
- enumerable: false,
2478
- configurable: true
2479
- });
2480
- Object.defineProperty(XButton.prototype, "qy", {
2481
- get: function () {
2482
- return this.m4;
2483
- },
2484
- set: function (a) {
2485
- var b = this.m4;
2486
- this.m4 = a;
2487
- if (b != this.m4) {
2488
- this.kp("OutlinedBackgroundColor", b, a);
2489
- }
2490
- },
2491
- enumerable: false,
2492
- configurable: true
2493
- });
2494
- Object.defineProperty(XButton.prototype, "q0", {
2495
- get: function () {
2496
- return this.m6;
2497
- },
2498
- set: function (a) {
2499
- var b = this.m6;
2500
- this.m6 = a;
2501
- if (b != this.m6) {
2502
- this.kp("OutlinedDisabledBackgroundColor", b, a);
2503
- }
2504
- },
2505
- enumerable: false,
2506
- configurable: true
2507
- });
2508
- Object.defineProperty(XButton.prototype, "q1", {
2509
- get: function () {
2510
- return this.m7;
2511
- },
2512
- set: function (a) {
2513
- var b = this.m7;
2514
- this.m7 = a;
2515
- if (b != this.m7) {
2516
- this.kp("OutlinedDisabledBorderColor", b, a);
2517
- }
2518
- },
2519
- enumerable: false,
2520
- configurable: true
2521
- });
2522
- Object.defineProperty(XButton.prototype, "q2", {
2523
- get: function () {
2524
- return this.m8;
2525
- },
2526
- set: function (a) {
2527
- var b = this.m8;
2528
- this.m8 = a;
2529
- if (b != this.m8) {
2530
- this.kp("OutlinedDisabledTextColor", b, a);
2531
- }
2532
- },
2533
- enumerable: false,
2534
- configurable: true
2535
- });
2536
- Object.defineProperty(XButton.prototype, "dz", {
2537
- get: function () {
2538
- return this.cl;
2539
- },
2540
- set: function (a) {
2541
- var b = this.cl;
2542
- this.cl = a;
2543
- if (b != this.cl) {
2544
- this.kp("OutlinedDisabledElevation", b, a);
2545
- }
2546
- },
2547
- enumerable: false,
2548
- configurable: true
2549
- });
2550
- Object.defineProperty(XButton.prototype, "q5", {
2551
- get: function () {
2552
- return this.nb;
2553
- },
2554
- set: function (a) {
2555
- var b = this.nb;
2556
- this.nb = a;
2557
- if (b != this.nb) {
2558
- this.kp("OutlinedHoverBackgroundColor", b, a);
2559
- }
2560
- },
2561
- enumerable: false,
2562
- configurable: true
2563
- });
2564
- Object.defineProperty(XButton.prototype, "qz", {
2565
- get: function () {
2566
- return this.m5;
2567
- },
2568
- set: function (a) {
2569
- var b = this.m5;
2570
- this.m5 = a;
2571
- if (b != this.m5) {
2572
- this.kp("OutlinedBorderColor", b, a);
2573
- }
2574
- },
2575
- enumerable: false,
2576
- configurable: true
2577
- });
2578
- Object.defineProperty(XButton.prototype, "d2", {
2579
- get: function () {
2580
- return this.co;
2581
- },
2582
- set: function (a) {
2583
- var b = this.co;
2584
- this.co = a;
2585
- if (b != this.co) {
2586
- this.kp("OutlinedRestingElevation", b, a);
2587
- }
2588
- },
2589
- enumerable: false,
2590
- configurable: true
2591
- });
2592
- Object.defineProperty(XButton.prototype, "d1", {
2593
- get: function () {
2594
- return this.cn;
2595
- },
2596
- set: function (a) {
2597
- var b = this.cn;
2598
- this.cn = a;
2599
- if (b != this.cn) {
2600
- this.kp("OutlinedHoverElevation", b, a);
2601
- }
2602
- },
2603
- enumerable: false,
2604
- configurable: true
2605
- });
2606
- Object.defineProperty(XButton.prototype, "d0", {
2607
- get: function () {
2608
- return this.cm;
2609
- },
2610
- set: function (a) {
2611
- var b = this.cm;
2612
- this.cm = a;
2613
- if (b != this.cm) {
2614
- this.kp("OutlinedFocusElevation", b, a);
2615
- }
2616
- },
2617
- enumerable: false,
2618
- configurable: true
2619
- });
2620
- Object.defineProperty(XButton.prototype, "b0", {
2621
- get: function () {
2622
- return this.bi;
2623
- },
2624
- set: function (a) {
2625
- var b = this.bi;
2626
- this.bi = a;
2627
- if (b != this.bi) {
2628
- this.kp("OutlinedBorderWidth", b, a);
2629
- }
2630
- },
2631
- enumerable: false,
2632
- configurable: true
2633
- });
2634
- Object.defineProperty(XButton.prototype, "lg", {
2635
- get: function () {
2636
- return this.k2;
2637
- },
2638
- set: function (a) {
2639
- var b = this.k2;
2640
- this.k2 = a;
2641
- {
2642
- this.kp("OutlinedCornerRadius", b, a);
2643
- }
2644
- },
2645
- enumerable: false,
2646
- configurable: true
2647
- });
2648
- Object.defineProperty(XButton.prototype, "q7", {
2649
- get: function () {
2650
- return this.nd;
2651
- },
2652
- set: function (a) {
2653
- var b = this.nd;
2654
- this.nd = a;
2655
- if (b != this.nd) {
2656
- this.kp("OutlinedRippleColor", b, a);
2657
- }
2658
- },
2659
- enumerable: false,
2660
- configurable: true
2661
- });
2662
- Object.defineProperty(XButton.prototype, "q8", {
2663
- get: function () {
2664
- return this.ne;
2665
- },
2666
- set: function (a) {
2667
- var b = this.ne;
2668
- this.ne = a;
2669
- if (b != this.ne) {
2670
- this.kp("OutlinedTextColor", b, a);
2671
- }
2672
- },
2673
- enumerable: false,
2674
- configurable: true
2675
- });
2676
- Object.defineProperty(XButton.prototype, "q6", {
2677
- get: function () {
2678
- return this.nc;
2679
- },
2680
- set: function (a) {
2681
- var b = this.nc;
2682
- this.nc = a;
2683
- if (b != this.nc) {
2684
- this.kp("OutlinedHoverTextColor", b, a);
2685
- }
2686
- },
2687
- enumerable: false,
2688
- configurable: true
2689
- });
2690
- Object.defineProperty(XButton.prototype, "q3", {
2691
- get: function () {
2692
- return this.m9;
2693
- },
2694
- set: function (a) {
2695
- var b = this.m9;
2696
- this.m9 = a;
2697
- if (b != this.m9) {
2698
- this.kp("OutlinedFocusBackgroundColor", b, a);
2699
- }
2700
- },
2701
- enumerable: false,
2702
- configurable: true
2703
- });
2704
- Object.defineProperty(XButton.prototype, "q4", {
2705
- get: function () {
2706
- return this.na;
2707
- },
2708
- set: function (a) {
2709
- var b = this.na;
2710
- this.na = a;
2711
- if (b != this.na) {
2712
- this.kp("OutlinedFocusTextColor", b, a);
2713
- }
2714
- },
2715
- enumerable: false,
2716
- configurable: true
2717
- });
2718
- Object.defineProperty(XButton.prototype, "px", {
2719
- get: function () {
2720
- return this.l3;
2721
- },
2722
- set: function (a) {
2723
- var b = this.l3;
2724
- this.l3 = a;
2725
- if (b != this.l3) {
2726
- this.kp("FabBackgroundColor", b, a);
2727
- }
2728
- },
2729
- enumerable: false,
2730
- configurable: true
2731
- });
2732
- Object.defineProperty(XButton.prototype, "pz", {
2733
- get: function () {
2734
- return this.l5;
2735
- },
2736
- set: function (a) {
2737
- var b = this.l5;
2738
- this.l5 = a;
2739
- if (b != this.l5) {
2740
- this.kp("FabDisabledBackgroundColor", b, a);
2741
- }
2742
- },
2743
- enumerable: false,
2744
- configurable: true
2745
- });
2746
- Object.defineProperty(XButton.prototype, "p0", {
2747
- get: function () {
2748
- return this.l6;
2749
- },
2750
- set: function (a) {
2751
- var b = this.l6;
2752
- this.l6 = a;
2753
- if (b != this.l6) {
2754
- this.kp("FabDisabledBorderColor", b, a);
2755
- }
2756
- },
2757
- enumerable: false,
2758
- configurable: true
2759
- });
2760
- Object.defineProperty(XButton.prototype, "p1", {
2761
- get: function () {
2762
- return this.l7;
2763
- },
2764
- set: function (a) {
2765
- var b = this.l7;
2766
- this.l7 = a;
2767
- if (b != this.l7) {
2768
- this.kp("FabDisabledTextColor", b, a);
2769
- }
2770
- },
2771
- enumerable: false,
2772
- configurable: true
2773
- });
2774
- Object.defineProperty(XButton.prototype, "dk", {
2775
- get: function () {
2776
- return this.b7;
2777
- },
2778
- set: function (a) {
2779
- var b = this.b7;
2780
- this.b7 = a;
2781
- if (b != this.b7) {
2782
- this.kp("FabDisabledElevation", b, a);
2783
- }
2784
- },
2785
- enumerable: false,
2786
- configurable: true
2787
- });
2788
- Object.defineProperty(XButton.prototype, "p4", {
2789
- get: function () {
2790
- return this.mr;
2791
- },
2792
- set: function (a) {
2793
- var b = this.mr;
2794
- this.mr = a;
2795
- if (b != this.mr) {
2796
- this.kp("FabHoverBackgroundColor", b, a);
2797
- }
2798
- },
2799
- enumerable: false,
2800
- configurable: true
2801
- });
2802
- Object.defineProperty(XButton.prototype, "py", {
2803
- get: function () {
2804
- return this.l4;
2805
- },
2806
- set: function (a) {
2807
- var b = this.l4;
2808
- this.l4 = a;
2809
- if (b != this.l4) {
2810
- this.kp("FabBorderColor", b, a);
2811
- }
2812
- },
2813
- enumerable: false,
2814
- configurable: true
2815
- });
2816
- Object.defineProperty(XButton.prototype, "dn", {
2817
- get: function () {
2818
- return this.ca;
2819
- },
2820
- set: function (a) {
2821
- var b = this.ca;
2822
- this.ca = a;
2823
- if (b != this.ca) {
2824
- this.kp("FabRestingElevation", b, a);
2825
- }
2826
- },
2827
- enumerable: false,
2828
- configurable: true
2829
- });
2830
- Object.defineProperty(XButton.prototype, "dm", {
2831
- get: function () {
2832
- return this.b9;
2833
- },
2834
- set: function (a) {
2835
- var b = this.b9;
2836
- this.b9 = a;
2837
- if (b != this.b9) {
2838
- this.kp("FabHoverElevation", b, a);
2839
- }
2840
- },
2841
- enumerable: false,
2842
- configurable: true
2843
- });
2844
- Object.defineProperty(XButton.prototype, "dl", {
2845
- get: function () {
2846
- return this.b8;
2847
- },
2848
- set: function (a) {
2849
- var b = this.b8;
2850
- this.b8 = a;
2851
- if (b != this.b8) {
2852
- this.kp("FabFocusElevation", b, a);
2853
- }
2854
- },
2855
- enumerable: false,
2856
- configurable: true
2857
- });
2858
- Object.defineProperty(XButton.prototype, "bv", {
2859
- get: function () {
2860
- return this.bd;
2861
- },
2862
- set: function (a) {
2863
- var b = this.bd;
2864
- this.bd = a;
2865
- if (b != this.bd) {
2866
- this.kp("FabBorderWidth", b, a);
2867
- }
2868
- },
2869
- enumerable: false,
2870
- configurable: true
2871
- });
2872
- Object.defineProperty(XButton.prototype, "lc", {
2873
- get: function () {
2874
- return this.kz;
2875
- },
2876
- set: function (a) {
2877
- var b = this.kz;
2878
- this.kz = a;
2879
- {
2880
- this.kp("FabCornerRadius", b, a);
2881
- }
2882
- },
2883
- enumerable: false,
2884
- configurable: true
2885
- });
2886
- Object.defineProperty(XButton.prototype, "p6", {
2887
- get: function () {
2888
- return this.mb;
2889
- },
2890
- set: function (a) {
2891
- var b = this.mb;
2892
- this.mb = a;
2893
- if (b != this.mb) {
2894
- this.kp("FabRippleColor", b, a);
2895
- }
2896
- },
2897
- enumerable: false,
2898
- configurable: true
2899
- });
2900
- Object.defineProperty(XButton.prototype, "p7", {
2901
- get: function () {
2902
- return this.mc;
2903
- },
2904
- set: function (a) {
2905
- var b = this.mc;
2906
- this.mc = a;
2907
- if (b != this.mc) {
2908
- this.kp("FabTextColor", b, a);
2909
- }
2910
- },
2911
- enumerable: false,
2912
- configurable: true
2913
- });
2914
- Object.defineProperty(XButton.prototype, "p5", {
2915
- get: function () {
2916
- return this.ma;
2917
- },
2918
- set: function (a) {
2919
- var b = this.ma;
2920
- this.ma = a;
2921
- if (b != this.ma) {
2922
- this.kp("FabHoverTextColor", b, a);
2923
- }
2924
- },
2925
- enumerable: false,
2926
- configurable: true
2927
- });
2928
- Object.defineProperty(XButton.prototype, "p2", {
2929
- get: function () {
2930
- return this.l8;
2931
- },
2932
- set: function (a) {
2933
- var b = this.l8;
2934
- this.l8 = a;
2935
- if (b != this.l8) {
2936
- this.kp("FabFocusBackgroundColor", b, a);
2937
- }
2938
- },
2939
- enumerable: false,
2940
- configurable: true
2941
- });
2942
- Object.defineProperty(XButton.prototype, "p3", {
2943
- get: function () {
2944
- return this.l9;
2945
- },
2946
- set: function (a) {
2947
- var b = this.l9;
2948
- this.l9 = a;
2949
- if (b != this.l9) {
2950
- this.kp("FabFocusTextColor", b, a);
2951
- }
2952
- },
2953
- enumerable: false,
2954
- configurable: true
2955
- });
2956
- Object.defineProperty(XButton.prototype, "qn", {
2957
- get: function () {
2958
- return this.mt;
2959
- },
2960
- set: function (a) {
2961
- var b = this.mt;
2962
- this.mt = a;
2963
- if (b != this.mt) {
2964
- this.kp("IconBackgroundColor", b, a);
2965
- }
2966
- },
2967
- enumerable: false,
2968
- configurable: true
2969
- });
2970
- Object.defineProperty(XButton.prototype, "qp", {
2971
- get: function () {
2972
- return this.mv;
2973
- },
2974
- set: function (a) {
2975
- var b = this.mv;
2976
- this.mv = a;
2977
- if (b != this.mv) {
2978
- this.kp("IconDisabledBackgroundColor", b, a);
2979
- }
2980
- },
2981
- enumerable: false,
2982
- configurable: true
2983
- });
2984
- Object.defineProperty(XButton.prototype, "qq", {
2985
- get: function () {
2986
- return this.mw;
2987
- },
2988
- set: function (a) {
2989
- var b = this.mw;
2990
- this.mw = a;
2991
- if (b != this.mw) {
2992
- this.kp("IconDisabledBorderColor", b, a);
2993
- }
2994
- },
2995
- enumerable: false,
2996
- configurable: true
2997
- });
2998
- Object.defineProperty(XButton.prototype, "qr", {
2999
- get: function () {
3000
- return this.mx;
3001
- },
3002
- set: function (a) {
3003
- var b = this.mx;
3004
- this.mx = a;
3005
- if (b != this.mx) {
3006
- this.kp("IconDisabledTextColor", b, a);
3007
- }
3008
- },
3009
- enumerable: false,
3010
- configurable: true
3011
- });
3012
- Object.defineProperty(XButton.prototype, "dv", {
3013
- get: function () {
3014
- return this.ch;
3015
- },
3016
- set: function (a) {
3017
- var b = this.ch;
3018
- this.ch = a;
3019
- if (b != this.ch) {
3020
- this.kp("IconDisabledElevation", b, a);
3021
- }
3022
- },
3023
- enumerable: false,
3024
- configurable: true
3025
- });
3026
- Object.defineProperty(XButton.prototype, "qu", {
3027
- get: function () {
3028
- return this.m0;
3029
- },
3030
- set: function (a) {
3031
- var b = this.m0;
3032
- this.m0 = a;
3033
- if (b != this.m0) {
3034
- this.kp("IconHoverBackgroundColor", b, a);
3035
- }
3036
- },
3037
- enumerable: false,
3038
- configurable: true
3039
- });
3040
- Object.defineProperty(XButton.prototype, "qo", {
3041
- get: function () {
3042
- return this.mu;
3043
- },
3044
- set: function (a) {
3045
- var b = this.mu;
3046
- this.mu = a;
3047
- if (b != this.mu) {
3048
- this.kp("IconBorderColor", b, a);
3049
- }
3050
- },
3051
- enumerable: false,
3052
- configurable: true
3053
- });
3054
- Object.defineProperty(XButton.prototype, "dy", {
3055
- get: function () {
3056
- return this.ck;
3057
- },
3058
- set: function (a) {
3059
- var b = this.ck;
3060
- this.ck = a;
3061
- if (b != this.ck) {
3062
- this.kp("IconRestingElevation", b, a);
3063
- }
3064
- },
3065
- enumerable: false,
3066
- configurable: true
3067
- });
3068
- Object.defineProperty(XButton.prototype, "dx", {
3069
- get: function () {
3070
- return this.cj;
3071
- },
3072
- set: function (a) {
3073
- var b = this.cj;
3074
- this.cj = a;
3075
- if (b != this.cj) {
3076
- this.kp("IconHoverElevation", b, a);
3077
- }
3078
- },
3079
- enumerable: false,
3080
- configurable: true
3081
- });
3082
- Object.defineProperty(XButton.prototype, "dw", {
3083
- get: function () {
3084
- return this.ci;
3085
- },
3086
- set: function (a) {
3087
- var b = this.ci;
3088
- this.ci = a;
3089
- if (b != this.ci) {
3090
- this.kp("IconFocusElevation", b, a);
3091
- }
3092
- },
3093
- enumerable: false,
3094
- configurable: true
3095
- });
3096
- Object.defineProperty(XButton.prototype, "bx", {
3097
- get: function () {
3098
- return this.bf;
3099
- },
3100
- set: function (a) {
3101
- var b = this.bf;
3102
- this.bf = a;
3103
- if (b != this.bf) {
3104
- this.kp("IconBorderWidth", b, a);
3105
- }
3106
- },
3107
- enumerable: false,
3108
- configurable: true
3109
- });
3110
- Object.defineProperty(XButton.prototype, "lf", {
3111
- get: function () {
3112
- return this.k1;
3113
- },
3114
- set: function (a) {
3115
- var b = this.k1;
3116
- this.k1 = a;
3117
- {
3118
- this.kp("IconCornerRadius", b, a);
3119
- }
3120
- },
3121
- enumerable: false,
3122
- configurable: true
3123
- });
3124
- Object.defineProperty(XButton.prototype, "qw", {
3125
- get: function () {
3126
- return this.m2;
3127
- },
3128
- set: function (a) {
3129
- var b = this.m2;
3130
- this.m2 = a;
3131
- if (b != this.m2) {
3132
- this.kp("IconRippleColor", b, a);
3133
- }
3134
- },
3135
- enumerable: false,
3136
- configurable: true
3137
- });
3138
- Object.defineProperty(XButton.prototype, "qx", {
3139
- get: function () {
3140
- return this.m3;
3141
- },
3142
- set: function (a) {
3143
- var b = this.m3;
3144
- this.m3 = a;
3145
- if (b != this.m3) {
3146
- this.kp("IconTextColor", b, a);
3147
- }
3148
- },
3149
- enumerable: false,
3150
- configurable: true
3151
- });
3152
- Object.defineProperty(XButton.prototype, "qv", {
3153
- get: function () {
3154
- return this.m1;
3155
- },
3156
- set: function (a) {
3157
- var b = this.m1;
3158
- this.m1 = a;
3159
- if (b != this.m1) {
3160
- this.kp("IconHoverTextColor", b, a);
3161
- }
3162
- },
3163
- enumerable: false,
3164
- configurable: true
3165
- });
3166
- Object.defineProperty(XButton.prototype, "qs", {
3167
- get: function () {
3168
- return this.my;
3169
- },
3170
- set: function (a) {
3171
- var b = this.my;
3172
- this.my = a;
3173
- if (b != this.my) {
3174
- this.kp("IconFocusBackgroundColor", b, a);
3175
- }
3176
- },
3177
- enumerable: false,
3178
- configurable: true
3179
- });
3180
- Object.defineProperty(XButton.prototype, "qt", {
3181
- get: function () {
3182
- return this.mz;
3183
- },
3184
- set: function (a) {
3185
- var b = this.mz;
3186
- this.mz = a;
3187
- if (b != this.mz) {
3188
- this.kp("IconFocusTextColor", b, a);
3189
- }
3190
- },
3191
- enumerable: false,
3192
- configurable: true
3193
- });
3194
- Object.defineProperty(XButton.prototype, "hz", {
3195
- get: function () {
3196
- return this.en;
3197
- },
3198
- set: function (a) {
3199
- var b = this.en;
3200
- this.en = a;
3201
- if (b != this.en) {
3202
- this.kp("InputId", b, a);
3203
- }
3204
- },
3205
- enumerable: false,
3206
- configurable: true
3207
- });
3208
- Object.defineProperty(XButton.prototype, "hx", {
3209
- get: function () {
3210
- return this.em;
3211
- },
3212
- set: function (a) {
3213
- var b = this.em;
3214
- this.em = a;
3215
- if (b != this.em) {
3216
- this.kp("Id", b, a);
3217
- }
3218
- },
3219
- enumerable: false,
3220
- configurable: true
3221
- });
3222
- Object.defineProperty(XButton.prototype, "f1", {
3223
- get: function () {
3224
- return this.ej;
3225
- },
3226
- set: function (a) {
3227
- var b = this.ej;
3228
- this.ej = a;
3229
- if (b != this.ej) {
3230
- this.kp("Display", b, a);
3231
- }
3232
- },
3233
- enumerable: false,
3234
- configurable: true
3235
- });
3236
- Object.defineProperty(XButton.prototype, "fk", {
3237
- get: function () {
3238
- return this.ei;
3239
- },
3240
- set: function (a) {
3241
- var b = this.ei;
3242
- this.ei = a;
3243
- if (b != this.ei) {
3244
- this.kp("ChildContentDisplay", b, this.ei);
3245
- }
3246
- },
3247
- enumerable: false,
3248
- configurable: true
3249
- });
3250
- Object.defineProperty(XButton.prototype, "g5", {
3251
- get: function () {
3252
- return this.ek;
3253
- },
3254
- set: function (a) {
3255
- var b = this.ek;
3256
- this.ek = a;
3257
- if (b != this.ek) {
3258
- this.kp("FlexDirection", b, a);
3259
- }
3260
- },
3261
- enumerable: false,
3262
- configurable: true
3263
- });
3264
- Object.defineProperty(XButton.prototype, "g7", {
3265
- get: function () {
3266
- return this.el;
3267
- },
3268
- set: function (a) {
3269
- var b = this.el;
3270
- this.el = a;
3271
- if (b != this.el) {
3272
- this.kp("FlexGrow", b, a);
3273
- }
3274
- },
3275
- enumerable: false,
3276
- configurable: true
3277
- });
3278
- Object.defineProperty(XButton.prototype, "fc", {
3279
- get: function () {
3280
- return this.eg;
3281
- },
3282
- set: function (a) {
3283
- var b = this.eg;
3284
- this.eg = a;
3285
- if (b != this.eg) {
3286
- this.kp("AlignItems", b, a);
3287
- }
3288
- },
3289
- enumerable: false,
3290
- configurable: true
3291
- });
3292
- Object.defineProperty(XButton.prototype, "ef", {
3293
- get: function () {
3294
- return this.eb;
3295
- },
3296
- set: function (a) {
3297
- var b = this.eb;
3298
- this.eb = a;
3299
- if (b != this.eb) {
3300
- this.kp("Value", b, a);
3301
- }
3302
- },
3303
- enumerable: false,
3304
- configurable: true
3305
- });
3306
- Object.defineProperty(XButton.prototype, "h7", {
3307
- get: function () {
3308
- return this.eo;
3309
- },
3310
- set: function (a) {
3311
- var b = this.eo;
3312
- this.eo = a;
3313
- if (b != this.eo) {
3314
- this.kp("Name", b, a);
3315
- }
3316
- },
3317
- enumerable: false,
3318
- configurable: true
3319
- });
3320
- Object.defineProperty(XButton.prototype, "a0", {
3321
- get: function () {
3322
- return this.an;
3323
- },
3324
- enumerable: false,
3325
- configurable: true
3326
- });
3327
- Object.defineProperty(XButton.prototype, "d8", {
3328
- get: function () {
3329
- return this.cu;
3330
- },
3331
- set: function (a) {
3332
- var b = this.cu;
3333
- this.cu = a;
3334
- this.an = true;
3335
- if (b != this.cu) {
3336
- this.kp("TabIndex", b, a);
3337
- }
3338
- },
3339
- enumerable: false,
3340
- configurable: true
3341
- });
3342
- Object.defineProperty(XButton.prototype, "fe", {
3343
- get: function () {
3344
- return this.eh;
3345
- },
3346
- set: function (a) {
3347
- var b = this.eh;
3348
- this.eh = a;
3349
- if (b != this.eh) {
3350
- this.kp("AriaLabel", b, a);
3351
- }
3352
- },
3353
- enumerable: false,
3354
- configurable: true
3355
- });
3356
- Object.defineProperty(XButton.prototype, "az", {
3357
- get: function () {
3358
- return this.am;
3359
- },
3360
- set: function (a) {
3361
- var b = this.am;
3362
- this.am = a;
3363
- if (b != this.am) {
3364
- this.kp("FillAvailableSpace", b, this.am);
3365
- }
3366
- },
3367
- enumerable: false,
3368
- configurable: true
3369
- });
3370
- Object.defineProperty(XButton.prototype, "focused", {
3371
- get: function () {
3372
- return this.ap;
3373
- },
3374
- set: function (a) {
3375
- var b = this.ap;
3376
- this.ap = a;
3377
- if (b != this.ap) {
3378
- this.kp("IsFocused", b, a);
3379
- }
3380
- },
3381
- enumerable: false,
3382
- configurable: true
3383
- });
3384
- Object.defineProperty(XButton.prototype, "a3", {
3385
- get: function () {
3386
- return this.aq;
3387
- },
3388
- set: function (a) {
3389
- var b = this.aq;
3390
- this.aq = a;
3391
- if (b != this.aq) {
3392
- this.kp("IsFocusStyleEnabled", b, a);
3393
- }
3394
- },
3395
- enumerable: false,
3396
- configurable: true
3397
- });
3398
- Object.defineProperty(XButton.prototype, "ax", {
3399
- get: function () {
3400
- return this.ak;
3401
- },
3402
- set: function (a) {
3403
- var b = this.ak;
3404
- this.ak = a;
3405
- if (b != this.ak) {
3406
- this.kp("DisableRipple", b, a);
3407
- }
3408
- },
3409
- enumerable: false,
3410
- configurable: true
3411
- });
3412
- Object.defineProperty(XButton.prototype, "at", {
3413
- get: function () {
3414
- return this.ag;
3415
- },
3416
- set: function (a) {
3417
- var b = this.ag;
3418
- this.ag = a;
3419
- if (b != this.ag) {
3420
- this.kp("ActualDisableRipple", b, a);
3421
- }
3422
- },
3423
- enumerable: false,
3424
- configurable: true
3425
- });
3426
- Object.defineProperty(XButton.prototype, "av", {
3427
- get: function () {
3428
- return this.ai;
3429
- },
3430
- set: function (a) {
3431
- var b = this.ai;
3432
- this.ai = a;
3433
- if (b != this.ai) {
3434
- this.kp("DisableHover", b, this.ai);
3435
- }
3436
- },
3437
- enumerable: false,
3438
- configurable: true
3439
- });
3440
- Object.defineProperty(XButton.prototype, "a4", {
3441
- get: function () {
3442
- return this.ar;
3443
- },
3444
- set: function (a) {
3445
- var b = this.ar;
3446
- this.ar = a;
3447
- if (b != this.ar) {
3448
- this.kp("IsHover", b, a);
3449
- }
3450
- },
3451
- enumerable: false,
3452
- configurable: true
3453
- });
3454
- Object.defineProperty(XButton.prototype, "disabled", {
3455
- get: function () {
3456
- return this.ao;
3457
- },
3458
- set: function (a) {
3459
- var b = this.ao;
3460
- this.ao = a;
3461
- if (b != this.ao) {
3462
- this.kp("IsDisabled", b, a);
3463
- }
3464
- },
3465
- enumerable: false,
3466
- configurable: true
3467
- });
3468
- Object.defineProperty(XButton.prototype, "ay", {
3469
- get: function () {
3470
- return this.al;
3471
- },
3472
- set: function (a) {
3473
- var b = this.al;
3474
- this.al = a;
3475
- if (b != this.al) {
3476
- this.kp("DisableTransitions", b, a);
3477
- }
3478
- },
3479
- enumerable: false,
3480
- configurable: true
3481
- });
3482
- Object.defineProperty(XButton.prototype, "aw", {
3483
- get: function () {
3484
- return this.aj;
3485
- },
3486
- set: function (a) {
3487
- var b = this.aj;
3488
- this.aj = a;
3489
- if (b != this.aj) {
3490
- this.kp("DisablePointer", b, this.aj);
3491
- }
3492
- },
3493
- enumerable: false,
3494
- configurable: true
3495
- });
3496
- Object.defineProperty(XButton.prototype, "bn", {
3497
- get: function () {
3498
- return this.ba;
3499
- },
3500
- set: function (a) {
3501
- var b = this.ba;
3502
- this.ba = a;
3503
- if (b != this.ba) {
3504
- this.kp("ContentPaddingLeft", b, this.ba);
3505
- }
3506
- },
3507
- enumerable: false,
3508
- configurable: true
3509
- });
3510
- Object.defineProperty(XButton.prototype, "bp", {
3511
- get: function () {
3512
- return this.bc;
3513
- },
3514
- set: function (a) {
3515
- var b = this.bc;
3516
- this.bc = a;
3517
- if (b != this.bc) {
3518
- this.kp("ContentPaddingTop", b, this.bc);
3519
- }
3520
- },
3521
- enumerable: false,
3522
- configurable: true
3523
- });
3524
- Object.defineProperty(XButton.prototype, "bo", {
3525
- get: function () {
3526
- return this.bb;
3527
- },
3528
- set: function (a) {
3529
- var b = this.bb;
3530
- this.bb = a;
3531
- if (b != this.bb) {
3532
- this.kp("ContentPaddingRight", b, this.bb);
3533
- }
3534
- },
3535
- enumerable: false,
3536
- configurable: true
3537
- });
3538
- Object.defineProperty(XButton.prototype, "bm", {
3539
- get: function () {
3540
- return this.a9;
3541
- },
3542
- set: function (a) {
3543
- var b = this.a9;
3544
- this.a9 = a;
3545
- if (b != this.a9) {
3546
- this.kp("ContentPaddingBottom", b, this.a9);
3547
- }
3548
- },
3549
- enumerable: false,
3550
- configurable: true
3551
- });
3552
- Object.defineProperty(XButton.prototype, "lj", {
3553
- get: function () {
3554
- return this.li;
3555
- },
3556
- set: function (a) {
3557
- var b = this.li;
3558
- this.li = a;
3559
- if (b != this.li) {
3560
- this.kp("HorizontalContentAlignment", enumGetBox(HorizontalAlignment_$type, b), enumGetBox(HorizontalAlignment_$type, this.li));
3561
- }
3562
- },
3563
- enumerable: false,
3564
- configurable: true
3565
- });
3566
- Object.defineProperty(XButton.prototype, "rn", {
3567
- get: function () {
3568
- return this.rm;
3569
- },
3570
- set: function (a) {
3571
- var b = this.rm;
3572
- this.rm = a;
3573
- if (b != this.rm) {
3574
- this.kp("VerticalContentAlignment", enumGetBox(VerticalAlignment_$type, b), enumGetBox(VerticalAlignment_$type, this.rm));
3575
- }
3576
- },
3577
- enumerable: false,
3578
- configurable: true
3579
- });
3580
- Object.defineProperty(XButton.prototype, "au", {
3581
- get: function () {
3582
- return this.ah;
3583
- },
3584
- set: function (a) {
3585
- var b = this.ah;
3586
- this.ah = a;
3587
- if (b != this.ah) {
3588
- this.kp("ClickTunneling", b, this.ah);
3589
- }
3590
- },
3591
- enumerable: false,
3592
- configurable: true
3593
- });
3594
- Object.defineProperty(XButton.prototype, "a6", {
3595
- get: function () {
3596
- return this.as;
3597
- },
3598
- set: function (a) {
3599
- var b = this.as;
3600
- this.as = a;
3601
- if (b != this.as) {
3602
- this.kp("StopPropagation", b, this.as);
3603
- }
3604
- },
3605
- enumerable: false,
3606
- configurable: true
3607
- });
3608
- XButton.prototype.kq = function () {
3609
- this.kd();
3610
- this.view.az(this.n3, BrushUtil.l(0, 0, 0, 0));
3611
- this.ku();
3612
- };
3613
- Object.defineProperty(XButton.prototype, "a", {
3614
- get: function () {
3615
- var a = new AnimationKeyFrameEffectTiming();
3616
- a.g = 300;
3617
- a.b = 0;
3618
- return a;
3619
- },
3620
- enumerable: false,
3621
- configurable: true
3622
- });
3623
- XButton.prototype.kd = function () {
3624
- this.view.ah();
3625
- };
3626
- XButton.prototype.onDetachedFromUI = function () {
3627
- this.view.am();
3628
- };
3629
- XButton.prototype.onAttachedToUI = function () {
3630
- this.view.aj();
3631
- };
3632
- XButton.prototype.appendButtonContent = function (a) {
3633
- this.view.af(a);
3634
- };
3635
- XButton.prototype.clearButtonContent = function () {
3636
- this.view.ag();
3637
- };
3638
- XButton.prototype.getButtonContent = function () {
3639
- return this.view.s();
3640
- };
3641
- XButton.prototype.a5 = function () {
3642
- return this.view.h();
3643
- };
3644
- XButton.prototype.ec = function () {
3645
- return this.b();
3646
- };
3647
- XButton.prototype.f5 = function () {
3648
- var a = this.b();
3649
- return a.serialize();
3650
- };
3651
- XButton.prototype.b = function () {
3652
- var a = this.view.r;
3653
- var b = this.view.t;
3654
- var c = new ButtonVisualModelExport();
3655
- var d = this.view.b();
3656
- c.s = d[0];
3657
- c.q = d[1];
3658
- var e = this.view.a();
3659
- c.t = e[0];
3660
- c.p = e[1];
3661
- c.h = this.o;
3662
- c.i = this.r;
3663
- c.c = AppearanceHelper.a(NativeUI.an(a));
3664
- c.g = AppearanceHelper.a(this.n5);
3665
- c.d = AppearanceHelper.a(this.n2);
3666
- c.a = AppearanceHelper.a(this.ns);
3667
- c.u = this.cy;
3668
- c.e = AppearanceHelper.a(this.n3);
3669
- c.ag = this.k4;
3670
- c.b = AppearanceHelper.a(NativeUI.am(a));
3671
- c.j = this.v;
3672
- c.f = AppearanceHelper.a(NativeUI.ao(b));
3673
- c.o = this.bk;
3674
- c.x = this.f1;
3675
- c.y = this.g5;
3676
- c.z = this.g7;
3677
- c.w = this.fc;
3678
- c.v = this.view.t.getNativeElement().innerText;
3679
- c.aa = this.h7;
3680
- c.m = this.focused;
3681
- c.k = this.at;
3682
- c.n = this.a4;
3683
- c.l = this.disabled;
3684
- if (this.ab != null) {
3685
- var f = this.ab;
3686
- if (this.view != null && f.q == null) {
3687
- var g = this.view.l;
3688
- var h = FontUtil.getFontInfoFromString(g, f.fontString);
3689
- f.q = h.q;
3690
- f.f = h.f;
3691
- f.r = h.r;
3692
- f.t = h.t;
3693
- f.u = h.u;
3694
- f.v = h.v;
3695
- }
3696
- if (f.q != null) {
3697
- c.ab = f.q;
3698
- }
3699
- if (!isNaN_(f.f)) {
3700
- c.r = f.f;
3701
- }
3702
- if (f.v != null) {
3703
- c.af = f.v;
3704
- }
3705
- if (f.t != null) {
3706
- c.ad = f.t;
3707
- }
3708
- if (f.r != null) {
3709
- c.ac = f.t;
3710
- }
3711
- }
3712
- return c;
3713
- };
3714
- XButton.prototype.provideContainer = function (a) {
3715
- this.view.al(a);
3716
- };
3717
- XButton.$t = markType(XButton, 'XButton', Base.$, [INotifyPropertyChanged_$type]);
3718
- XButton.n = 2;
3719
- XButton.ea = 0;
3720
- XButton.d9 = 0;
3721
- XButton.i = new Theme(1, ((function () {
3722
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3723
- $ret.addItem("UmbraShadowColor", BrushUtil.l(66, 0, 0, 0));
3724
- $ret.addItem("PenumbraShadowColor", BrushUtil.l(30, 0, 0, 0));
3725
- $ret.addItem("AmbientShadowColor", BrushUtil.l(20, 0, 0, 0));
3726
- $ret.addItem("ElevationMode", enumGetBox(ElevationMode_$type, 1));
3727
- return $ret;
3728
- })()), ((function () {
3729
- var $ret = new Dictionary$2(Base.$, Theme.$, 0);
3730
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 0), new Theme(0, ((function () {
3731
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3732
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
3733
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
3734
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3735
- $ret.addItem("DisabledElevation", 0);
3736
- $ret.addItem("RestingElevation", 2);
3737
- $ret.addItem("HoverElevation", 4);
3738
- $ret.addItem("FocusElevation", 8);
3739
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3740
- $ret.addItem("RippleColor", BrushUtil.l(138, 0, 0, 0));
3741
- $ret.addItem("CornerRadius", ((function () {
3742
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3743
- $ret.addItem(1, new CornerRadius(0, 4));
3744
- $ret.addItem(2, new CornerRadius(0, 4));
3745
- $ret.addItem(3, new CornerRadius(0, 4));
3746
- $ret.addItem(4, new CornerRadius(0, 4));
3747
- return $ret;
3748
- })()));
3749
- $ret.addItem("BorderWidth", NaN);
3750
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 228, 28, 119));
3751
- $ret.addItem("TextColor", BrushUtil.l(255, 0, 0, 0));
3752
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 0, 0, 0));
3753
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 220, 83, 145));
3754
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 220, 83, 145));
3755
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 0, 0, 0));
3756
- return $ret;
3757
- })())));
3758
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 1), new Theme(0, ((function () {
3759
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3760
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3761
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
3762
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3763
- $ret.addItem("DisabledElevation", 0);
3764
- $ret.addItem("RestingElevation", 0);
3765
- $ret.addItem("HoverElevation", 0);
3766
- $ret.addItem("FocusElevation", 0);
3767
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3768
- $ret.addItem("RippleColor", BrushUtil.l(138, 0, 0, 0));
3769
- $ret.addItem("CornerRadius", ((function () {
3770
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3771
- $ret.addItem(1, new CornerRadius(0, 4));
3772
- $ret.addItem(2, new CornerRadius(0, 4));
3773
- $ret.addItem(3, new CornerRadius(0, 4));
3774
- $ret.addItem(4, new CornerRadius(0, 4));
3775
- return $ret;
3776
- })()));
3777
- $ret.addItem("BorderWidth", NaN);
3778
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
3779
- $ret.addItem("TextColor", BrushUtil.l(255, 228, 28, 119));
3780
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 228, 28, 119));
3781
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(13, 228, 28, 119));
3782
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(30, 228, 28, 119));
3783
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 228, 28, 119));
3784
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(63, 228, 28, 119));
3785
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 228, 28, 119));
3786
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(38, 183, 22, 95));
3787
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 228, 28, 119));
3788
- return $ret;
3789
- })())));
3790
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 2), new Theme(0, ((function () {
3791
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3792
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3793
- $ret.addItem("DisabledBorderColor", BrushUtil.l(30, 0, 0, 0));
3794
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3795
- $ret.addItem("DisabledElevation", 0);
3796
- $ret.addItem("RestingElevation", 0);
3797
- $ret.addItem("HoverElevation", 0);
3798
- $ret.addItem("FocusElevation", 0);
3799
- $ret.addItem("BorderColor", BrushUtil.l(255, 228, 28, 119));
3800
- $ret.addItem("RippleColor", BrushUtil.l(138, 0, 0, 0));
3801
- $ret.addItem("CornerRadius", ((function () {
3802
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3803
- $ret.addItem(1, new CornerRadius(0, 4));
3804
- $ret.addItem(2, new CornerRadius(0, 4));
3805
- $ret.addItem(3, new CornerRadius(0, 4));
3806
- $ret.addItem(4, new CornerRadius(0, 4));
3807
- return $ret;
3808
- })()));
3809
- $ret.addItem("BorderWidth", 1);
3810
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
3811
- $ret.addItem("TextColor", BrushUtil.l(255, 228, 28, 119));
3812
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 228, 28, 119));
3813
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(13, 228, 28, 119));
3814
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(30, 228, 28, 119));
3815
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 228, 28, 119));
3816
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(63, 228, 28, 119));
3817
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 228, 28, 119));
3818
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(38, 183, 22, 95));
3819
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 228, 28, 119));
3820
- return $ret;
3821
- })())));
3822
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 4), new Theme(0, ((function () {
3823
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3824
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3825
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
3826
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3827
- $ret.addItem("DisabledElevation", 0);
3828
- $ret.addItem("RestingElevation", 0);
3829
- $ret.addItem("HoverElevation", 0);
3830
- $ret.addItem("FocusElevation", 0);
3831
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3832
- $ret.addItem("RippleColor", BrushUtil.l(138, 0, 0, 0));
3833
- $ret.addItem("CornerRadius", ((function () {
3834
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3835
- $ret.addItem(1, new CornerRadius(0, 28));
3836
- $ret.addItem(2, new CornerRadius(0, 28));
3837
- $ret.addItem(3, new CornerRadius(0, 28));
3838
- $ret.addItem(4, new CornerRadius(0, 28));
3839
- return $ret;
3840
- })()));
3841
- $ret.addItem("BorderWidth", NaN);
3842
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
3843
- $ret.addItem("TextColor", BrushUtil.l(255, 0, 0, 0));
3844
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 0, 0, 0));
3845
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(30, 0, 0, 0));
3846
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(66, 0, 0, 0));
3847
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 0, 0, 0));
3848
- return $ret;
3849
- })())));
3850
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 3), new Theme(0, ((function () {
3851
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3852
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
3853
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
3854
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3855
- $ret.addItem("DisabledElevation", 0);
3856
- $ret.addItem("RestingElevation", 6);
3857
- $ret.addItem("HoverElevation", 12);
3858
- $ret.addItem("FocusElevation", 12);
3859
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3860
- $ret.addItem("RippleColor", BrushUtil.l(138, 0, 0, 0));
3861
- $ret.addItem("CornerRadius", ((function () {
3862
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3863
- $ret.addItem(1, new CornerRadius(0, 28));
3864
- $ret.addItem(2, new CornerRadius(0, 28));
3865
- $ret.addItem(3, new CornerRadius(0, 28));
3866
- $ret.addItem(4, new CornerRadius(0, 28));
3867
- return $ret;
3868
- })()));
3869
- $ret.addItem("BorderWidth", NaN);
3870
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 228, 28, 119));
3871
- $ret.addItem("TextColor", BrushUtil.l(255, 0, 0, 0));
3872
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 0, 0, 0));
3873
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 220, 83, 145));
3874
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 220, 83, 145));
3875
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 0, 0, 0));
3876
- return $ret;
3877
- })())));
3878
- return $ret;
3879
- })()));
3880
- XButton.h = new Theme(1, ((function () {
3881
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3882
- $ret.addItem("UmbraShadowColor", BrushUtil.l(100, 33, 150, 243));
3883
- $ret.addItem("PenumbraShadowColor", BrushUtil.l(70, 33, 150, 243));
3884
- $ret.addItem("AmbientShadowColor", BrushUtil.l(40, 33, 150, 243));
3885
- $ret.addItem("ElevationMode", enumGetBox(ElevationMode_$type, 2));
3886
- return $ret;
3887
- })()), ((function () {
3888
- var $ret = new Dictionary$2(Base.$, Theme.$, 0);
3889
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 0), new Theme(0, ((function () {
3890
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3891
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
3892
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
3893
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3894
- $ret.addItem("DisabledElevation", 0);
3895
- $ret.addItem("RestingElevation", 0);
3896
- $ret.addItem("HoverElevation", 0);
3897
- $ret.addItem("FocusElevation", 2);
3898
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3899
- $ret.addItem("RippleColor", BrushUtil.l(255, 255, 255, 255));
3900
- $ret.addItem("CornerRadius", ((function () {
3901
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3902
- $ret.addItem(1, new CornerRadius(0, 3));
3903
- $ret.addItem(2, new CornerRadius(0, 3));
3904
- $ret.addItem(3, new CornerRadius(0, 3));
3905
- $ret.addItem(4, new CornerRadius(0, 3));
3906
- return $ret;
3907
- })()));
3908
- $ret.addItem("BorderWidth", NaN);
3909
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 33, 150, 243));
3910
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
3911
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
3912
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 27, 135, 220));
3913
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 21, 112, 184));
3914
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
3915
- return $ret;
3916
- })())));
3917
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 1), new Theme(0, ((function () {
3918
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3919
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3920
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
3921
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3922
- $ret.addItem("DisabledElevation", 0);
3923
- $ret.addItem("RestingElevation", 0);
3924
- $ret.addItem("HoverElevation", 0);
3925
- $ret.addItem("FocusElevation", 2);
3926
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3927
- $ret.addItem("RippleColor", BrushUtil.l(100, 33, 150, 243));
3928
- $ret.addItem("CornerRadius", ((function () {
3929
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3930
- $ret.addItem(1, new CornerRadius(0, 3));
3931
- $ret.addItem(2, new CornerRadius(0, 3));
3932
- $ret.addItem(3, new CornerRadius(0, 3));
3933
- $ret.addItem(4, new CornerRadius(0, 3));
3934
- return $ret;
3935
- })()));
3936
- $ret.addItem("BorderWidth", NaN);
3937
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
3938
- $ret.addItem("TextColor", BrushUtil.l(255, 119, 119, 119));
3939
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 119, 119, 119));
3940
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 33, 150, 243));
3941
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3942
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 33, 150, 243));
3943
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(26, 33, 150, 243));
3944
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 33, 150, 243));
3945
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(26, 33, 150, 243));
3946
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 33, 150, 243));
3947
- return $ret;
3948
- })())));
3949
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 2), new Theme(0, ((function () {
3950
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3951
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3952
- $ret.addItem("DisabledBorderColor", BrushUtil.l(30, 0, 0, 0));
3953
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3954
- $ret.addItem("DisabledElevation", 0);
3955
- $ret.addItem("RestingElevation", 0);
3956
- $ret.addItem("HoverElevation", 0);
3957
- $ret.addItem("FocusElevation", 2);
3958
- $ret.addItem("BorderColor", BrushUtil.l(255, 33, 150, 243));
3959
- $ret.addItem("RippleColor", BrushUtil.l(0, 0, 0, 0));
3960
- $ret.addItem("CornerRadius", ((function () {
3961
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3962
- $ret.addItem(1, new CornerRadius(0, 3));
3963
- $ret.addItem(2, new CornerRadius(0, 3));
3964
- $ret.addItem(3, new CornerRadius(0, 3));
3965
- $ret.addItem(4, new CornerRadius(0, 3));
3966
- return $ret;
3967
- })()));
3968
- $ret.addItem("BorderWidth", 1);
3969
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
3970
- $ret.addItem("TextColor", BrushUtil.l(255, 33, 150, 243));
3971
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 33, 150, 243));
3972
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 33, 150, 243));
3973
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 33, 150, 243));
3974
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
3975
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(255, 33, 150, 243));
3976
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 255, 255, 255));
3977
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(255, 33, 150, 243));
3978
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 255, 255, 255));
3979
- return $ret;
3980
- })())));
3981
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 4), new Theme(0, ((function () {
3982
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
3983
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
3984
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
3985
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
3986
- $ret.addItem("DisabledElevation", 0);
3987
- $ret.addItem("RestingElevation", 0);
3988
- $ret.addItem("HoverElevation", 0);
3989
- $ret.addItem("FocusElevation", 2);
3990
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
3991
- $ret.addItem("RippleColor", null);
3992
- $ret.addItem("CornerRadius", ((function () {
3993
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
3994
- $ret.addItem(1, new CornerRadius(0, 28));
3995
- $ret.addItem(2, new CornerRadius(0, 28));
3996
- $ret.addItem(3, new CornerRadius(0, 28));
3997
- $ret.addItem(4, new CornerRadius(0, 28));
3998
- return $ret;
3999
- })()));
4000
- $ret.addItem("BorderWidth", NaN);
4001
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4002
- $ret.addItem("TextColor", BrushUtil.l(255, 119, 119, 119));
4003
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 119, 119, 119));
4004
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(30, 0, 0, 0));
4005
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(66, 0, 0, 0));
4006
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 33, 150, 243));
4007
- return $ret;
4008
- })())));
4009
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 3), new Theme(0, ((function () {
4010
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4011
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
4012
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
4013
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4014
- $ret.addItem("DisabledElevation", 0);
4015
- $ret.addItem("RestingElevation", 0);
4016
- $ret.addItem("HoverElevation", 0);
4017
- $ret.addItem("FocusElevation", 2);
4018
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4019
- $ret.addItem("RippleColor", BrushUtil.l(255, 255, 255, 255));
4020
- $ret.addItem("CornerRadius", ((function () {
4021
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4022
- $ret.addItem(1, new CornerRadius(0, 28));
4023
- $ret.addItem(2, new CornerRadius(0, 28));
4024
- $ret.addItem(3, new CornerRadius(0, 28));
4025
- $ret.addItem(4, new CornerRadius(0, 28));
4026
- return $ret;
4027
- })()));
4028
- $ret.addItem("BorderWidth", NaN);
4029
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 33, 150, 243));
4030
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
4031
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
4032
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 27, 135, 220));
4033
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 21, 112, 184));
4034
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
4035
- return $ret;
4036
- })())));
4037
- return $ret;
4038
- })()));
4039
- XButton.k = new Theme(1, ((function () {
4040
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4041
- $ret.addItem("UmbraShadowColor", BrushUtil.l(0, 0, 0, 0));
4042
- $ret.addItem("PenumbraShadowColor", BrushUtil.l(0, 0, 0, 0));
4043
- $ret.addItem("AmbientShadowColor", BrushUtil.l(0, 0, 0, 0));
4044
- $ret.addItem("ElevationMode", enumGetBox(ElevationMode_$type, 2));
4045
- return $ret;
4046
- })()), ((function () {
4047
- var $ret = new Dictionary$2(Base.$, Theme.$, 0);
4048
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 0), new Theme(0, ((function () {
4049
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4050
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
4051
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
4052
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4053
- $ret.addItem("DisabledElevation", 0);
4054
- $ret.addItem("RestingElevation", 0);
4055
- $ret.addItem("HoverElevation", 0);
4056
- $ret.addItem("FocusElevation", 2);
4057
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4058
- $ret.addItem("RippleColor", BrushUtil.l(255, 255, 255, 255));
4059
- $ret.addItem("CornerRadius", ((function () {
4060
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4061
- $ret.addItem(1, new CornerRadius(0, 18));
4062
- $ret.addItem(2, new CornerRadius(0, 15));
4063
- $ret.addItem(3, new CornerRadius(0, 12));
4064
- $ret.addItem(4, new CornerRadius(0, 4));
4065
- return $ret;
4066
- })()));
4067
- $ret.addItem("BorderWidth", NaN);
4068
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 110, 137, 247));
4069
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
4070
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
4071
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 94, 117, 210));
4072
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 76, 95, 171));
4073
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
4074
- return $ret;
4075
- })())));
4076
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 1), new Theme(0, ((function () {
4077
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4078
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4079
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
4080
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4081
- $ret.addItem("DisabledElevation", 0);
4082
- $ret.addItem("RestingElevation", 0);
4083
- $ret.addItem("HoverElevation", 0);
4084
- $ret.addItem("FocusElevation", 2);
4085
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4086
- $ret.addItem("RippleColor", BrushUtil.l(100, 33, 150, 243));
4087
- $ret.addItem("CornerRadius", ((function () {
4088
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4089
- $ret.addItem(1, new CornerRadius(0, 18));
4090
- $ret.addItem(2, new CornerRadius(0, 15));
4091
- $ret.addItem(3, new CornerRadius(0, 12));
4092
- $ret.addItem(4, new CornerRadius(0, 4));
4093
- return $ret;
4094
- })()));
4095
- $ret.addItem("BorderWidth", NaN);
4096
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4097
- $ret.addItem("TextColor", BrushUtil.l(255, 119, 119, 119));
4098
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 119, 119, 119));
4099
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 33, 150, 243));
4100
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4101
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 33, 150, 243));
4102
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(76, 33, 150, 243));
4103
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 119, 119, 119));
4104
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(51, 33, 150, 243));
4105
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 119, 119, 119));
4106
- return $ret;
4107
- })())));
4108
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 2), new Theme(0, ((function () {
4109
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4110
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4111
- $ret.addItem("DisabledBorderColor", BrushUtil.l(30, 0, 0, 0));
4112
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4113
- $ret.addItem("DisabledElevation", 0);
4114
- $ret.addItem("RestingElevation", 0);
4115
- $ret.addItem("HoverElevation", 0);
4116
- $ret.addItem("FocusElevation", 2);
4117
- $ret.addItem("BorderColor", BrushUtil.l(255, 110, 137, 247));
4118
- $ret.addItem("RippleColor", BrushUtil.l(0, 0, 0, 0));
4119
- $ret.addItem("CornerRadius", ((function () {
4120
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4121
- $ret.addItem(1, new CornerRadius(0, 18));
4122
- $ret.addItem(2, new CornerRadius(0, 15));
4123
- $ret.addItem(3, new CornerRadius(0, 12));
4124
- $ret.addItem(4, new CornerRadius(0, 4));
4125
- return $ret;
4126
- })()));
4127
- $ret.addItem("BorderWidth", 1);
4128
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4129
- $ret.addItem("TextColor", BrushUtil.l(255, 110, 137, 247));
4130
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 94, 117, 210));
4131
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 76, 95, 171));
4132
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 110, 137, 247));
4133
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(50, 110, 137, 247));
4134
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(76, 110, 137, 247));
4135
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 110, 137, 247));
4136
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(51, 110, 137, 247));
4137
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 110, 137, 247));
4138
- return $ret;
4139
- })())));
4140
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 4), new Theme(0, ((function () {
4141
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4142
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4143
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
4144
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4145
- $ret.addItem("DisabledElevation", 0);
4146
- $ret.addItem("RestingElevation", 0);
4147
- $ret.addItem("HoverElevation", 0);
4148
- $ret.addItem("FocusElevation", 2);
4149
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4150
- $ret.addItem("RippleColor", null);
4151
- $ret.addItem("CornerRadius", ((function () {
4152
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4153
- $ret.addItem(1, new CornerRadius(0, 28));
4154
- $ret.addItem(2, new CornerRadius(0, 28));
4155
- $ret.addItem(3, new CornerRadius(0, 28));
4156
- $ret.addItem(4, new CornerRadius(0, 28));
4157
- return $ret;
4158
- })()));
4159
- $ret.addItem("BorderWidth", NaN);
4160
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4161
- $ret.addItem("TextColor", BrushUtil.l(255, 0, 0, 0));
4162
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 0, 0, 0));
4163
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(51, 178, 191, 220));
4164
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(51, 178, 191, 220));
4165
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 0, 0, 0));
4166
- return $ret;
4167
- })())));
4168
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 3), new Theme(0, ((function () {
4169
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4170
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
4171
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
4172
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4173
- $ret.addItem("DisabledElevation", 0);
4174
- $ret.addItem("RestingElevation", 0);
4175
- $ret.addItem("HoverElevation", 0);
4176
- $ret.addItem("FocusElevation", 2);
4177
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4178
- $ret.addItem("RippleColor", BrushUtil.l(255, 255, 255, 255));
4179
- $ret.addItem("CornerRadius", ((function () {
4180
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4181
- $ret.addItem(1, new CornerRadius(0, 28));
4182
- $ret.addItem(2, new CornerRadius(0, 28));
4183
- $ret.addItem(3, new CornerRadius(0, 28));
4184
- $ret.addItem(4, new CornerRadius(0, 28));
4185
- return $ret;
4186
- })()));
4187
- $ret.addItem("BorderWidth", NaN);
4188
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 110, 137, 247));
4189
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
4190
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
4191
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 94, 117, 210));
4192
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 76, 95, 171));
4193
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
4194
- return $ret;
4195
- })())));
4196
- return $ret;
4197
- })()));
4198
- XButton.j = new Theme(1, ((function () {
4199
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4200
- $ret.addItem("UmbraShadowColor", BrushUtil.l(0, 0, 0, 0));
4201
- $ret.addItem("PenumbraShadowColor", BrushUtil.l(0, 0, 0, 0));
4202
- $ret.addItem("AmbientShadowColor", BrushUtil.l(0, 0, 0, 0));
4203
- $ret.addItem("ElevationMode", enumGetBox(ElevationMode_$type, 2));
4204
- return $ret;
4205
- })()), ((function () {
4206
- var $ret = new Dictionary$2(Base.$, Theme.$, 0);
4207
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 0), new Theme(0, ((function () {
4208
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4209
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(90, 110, 137, 247));
4210
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
4211
- $ret.addItem("DisabledTextColor", BrushUtil.l(90, 255, 255, 255));
4212
- $ret.addItem("DisabledElevation", 0);
4213
- $ret.addItem("RestingElevation", 0);
4214
- $ret.addItem("HoverElevation", 0);
4215
- $ret.addItem("FocusElevation", 0);
4216
- $ret.addItem("BorderColor", BrushUtil.l(0, 0, 0, 0));
4217
- $ret.addItem("RippleColor", BrushUtil.l(0, 0, 0, 0));
4218
- $ret.addItem("CornerRadius", ((function () {
4219
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4220
- $ret.addItem(1, new CornerRadius(0, 18));
4221
- $ret.addItem(2, new CornerRadius(0, 15));
4222
- $ret.addItem(3, new CornerRadius(0, 12));
4223
- $ret.addItem(4, new CornerRadius(0, 4));
4224
- return $ret;
4225
- })()));
4226
- $ret.addItem("BorderWidth", NaN);
4227
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 110, 137, 247));
4228
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
4229
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
4230
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 94, 117, 210));
4231
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 83, 103, 186));
4232
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
4233
- return $ret;
4234
- })())));
4235
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 1), new Theme(0, ((function () {
4236
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4237
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4238
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
4239
- $ret.addItem("DisabledTextColor", BrushUtil.l(90, 255, 255, 255));
4240
- $ret.addItem("DisabledElevation", 0);
4241
- $ret.addItem("RestingElevation", 0);
4242
- $ret.addItem("HoverElevation", 0);
4243
- $ret.addItem("FocusElevation", 2);
4244
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4245
- $ret.addItem("RippleColor", BrushUtil.l(0, 0, 0, 0));
4246
- $ret.addItem("CornerRadius", ((function () {
4247
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4248
- $ret.addItem(1, new CornerRadius(0, 18));
4249
- $ret.addItem(2, new CornerRadius(0, 15));
4250
- $ret.addItem(3, new CornerRadius(0, 12));
4251
- $ret.addItem(4, new CornerRadius(0, 4));
4252
- return $ret;
4253
- })()));
4254
- $ret.addItem("BorderWidth", NaN);
4255
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4256
- $ret.addItem("TextColor", BrushUtil.l(255, 119, 119, 119));
4257
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 119, 119, 119));
4258
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 33, 150, 243));
4259
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4260
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 33, 150, 243));
4261
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(76, 110, 137, 247));
4262
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 119, 119, 119));
4263
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(51, 110, 137, 247));
4264
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 119, 119, 119));
4265
- return $ret;
4266
- })())));
4267
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 2), new Theme(0, ((function () {
4268
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4269
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4270
- $ret.addItem("DisabledBorderColor", BrushUtil.l(90, 110, 137, 247));
4271
- $ret.addItem("DisabledTextColor", BrushUtil.l(90, 255, 255, 255));
4272
- $ret.addItem("DisabledElevation", 0);
4273
- $ret.addItem("RestingElevation", 0);
4274
- $ret.addItem("HoverElevation", 0);
4275
- $ret.addItem("FocusElevation", 2);
4276
- $ret.addItem("BorderColor", BrushUtil.l(255, 110, 137, 247));
4277
- $ret.addItem("RippleColor", BrushUtil.l(0, 0, 0, 0));
4278
- $ret.addItem("CornerRadius", ((function () {
4279
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4280
- $ret.addItem(1, new CornerRadius(0, 18));
4281
- $ret.addItem(2, new CornerRadius(0, 15));
4282
- $ret.addItem(3, new CornerRadius(0, 12));
4283
- $ret.addItem(4, new CornerRadius(0, 4));
4284
- return $ret;
4285
- })()));
4286
- $ret.addItem("BorderWidth", 1);
4287
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4288
- $ret.addItem("TextColor", BrushUtil.l(255, 110, 137, 247));
4289
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 110, 137, 247));
4290
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(26, 110, 137, 247));
4291
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 33, 150, 243));
4292
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 110, 137, 247));
4293
- $ret.addItem("SelectedBackgroundColor", BrushUtil.l(76, 110, 137, 247));
4294
- $ret.addItem("SelectedTextColor", BrushUtil.l(255, 110, 137, 247));
4295
- $ret.addItem("HoverSelectedBackgroundColor", BrushUtil.l(51, 110, 137, 247));
4296
- $ret.addItem("HoverSelectedTextColor", BrushUtil.l(255, 110, 137, 247));
4297
- return $ret;
4298
- })())));
4299
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 4), new Theme(0, ((function () {
4300
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4301
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(0, 0, 0, 0));
4302
- $ret.addItem("DisabledBorderColor", BrushUtil.l(0, 0, 0, 0));
4303
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4304
- $ret.addItem("DisabledElevation", 0);
4305
- $ret.addItem("RestingElevation", 0);
4306
- $ret.addItem("HoverElevation", 0);
4307
- $ret.addItem("FocusElevation", 2);
4308
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4309
- $ret.addItem("RippleColor", null);
4310
- $ret.addItem("CornerRadius", ((function () {
4311
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4312
- $ret.addItem(1, new CornerRadius(0, 28));
4313
- $ret.addItem(2, new CornerRadius(0, 28));
4314
- $ret.addItem(3, new CornerRadius(0, 28));
4315
- $ret.addItem(4, new CornerRadius(0, 28));
4316
- return $ret;
4317
- })()));
4318
- $ret.addItem("BorderWidth", NaN);
4319
- $ret.addItem("BackgroundColor", BrushUtil.l(0, 0, 0, 0));
4320
- $ret.addItem("TextColor", BrushUtil.l(255, 0, 0, 0));
4321
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 0, 0, 0));
4322
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(51, 178, 191, 220));
4323
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(51, 178, 191, 220));
4324
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 0, 0, 0));
4325
- return $ret;
4326
- })())));
4327
- $ret.addItem(enumGetBox(ButtonDisplayStyle_$type, 3), new Theme(0, ((function () {
4328
- var $ret = new Dictionary$2(String_$type, Base.$, 0);
4329
- $ret.addItem("DisabledBackgroundColor", BrushUtil.l(10, 0, 0, 0));
4330
- $ret.addItem("DisabledBorderColor", BrushUtil.l(10, 0, 0, 0));
4331
- $ret.addItem("DisabledTextColor", BrushUtil.l(66, 0, 0, 0));
4332
- $ret.addItem("DisabledElevation", 0);
4333
- $ret.addItem("RestingElevation", 0);
4334
- $ret.addItem("HoverElevation", 0);
4335
- $ret.addItem("FocusElevation", 2);
4336
- $ret.addItem("BorderColor", BrushUtil.l(138, 0, 0, 0));
4337
- $ret.addItem("RippleColor", BrushUtil.l(255, 255, 255, 255));
4338
- $ret.addItem("CornerRadius", ((function () {
4339
- var $ret = new Dictionary$2(ControlDisplayDensity_$type, CornerRadius.$, 0);
4340
- $ret.addItem(1, new CornerRadius(0, 28));
4341
- $ret.addItem(2, new CornerRadius(0, 28));
4342
- $ret.addItem(3, new CornerRadius(0, 28));
4343
- $ret.addItem(4, new CornerRadius(0, 28));
4344
- return $ret;
4345
- })()));
4346
- $ret.addItem("BorderWidth", NaN);
4347
- $ret.addItem("BackgroundColor", BrushUtil.l(255, 33, 150, 243));
4348
- $ret.addItem("TextColor", BrushUtil.l(255, 255, 255, 255));
4349
- $ret.addItem("HoverTextColor", BrushUtil.l(255, 255, 255, 255));
4350
- $ret.addItem("HoverBackgroundColor", BrushUtil.l(255, 27, 135, 220));
4351
- $ret.addItem("FocusBackgroundColor", BrushUtil.l(255, 21, 112, 184));
4352
- $ret.addItem("FocusTextColor", BrushUtil.l(255, 255, 255, 255));
4353
- return $ret;
4354
- })())));
4355
- return $ret;
4356
- })()));
4357
- XButton.l = new ThemeResolver(1, ((function () {
4358
- var $ret = new Dictionary$2(BaseControlTheme_$type, Theme.$, 0);
4359
- $ret.addItem(2, XButton.i);
4360
- $ret.addItem(1, XButton.h);
4361
- $ret.addItem(3, XButton.k);
4362
- $ret.addItem(4, XButton.j);
4363
- $ret.addItem(5, XButton.k);
4364
- $ret.addItem(6, XButton.j);
4365
- return $ret;
4366
- })()), 2);
4367
- return XButton;
4368
- }(Base));