igniteui-webcomponents-inputs 7.1.1-beta.1 → 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,2327 +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, markType, runOn, delegateCombine, delegateRemove, Delegate_$type, fromEnum, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox } from "igniteui-webcomponents-core";
9
- import { INativeUIElementFactory_$type } from "igniteui-webcomponents-core";
10
- import { NativeUIComponent } from "igniteui-webcomponents-core";
11
- import { XInputGroup } from "./XInputGroup";
12
- import { XInput } from "./XInput";
13
- import { XInputBridge } from "./XInputBridge";
14
- import { NativeUIInput } from "igniteui-webcomponents-core";
15
- import { List$1 } from "igniteui-webcomponents-core";
16
- import { XButton } from "./XButton";
17
- import { XButtonBridge } from "./XButtonBridge";
18
- import { NativeUIButton } from "igniteui-webcomponents-core";
19
- import { MultiSlider } from "./MultiSlider";
20
- import { MultiSliderThumb } from "./MultiSliderThumb";
21
- import { MultiSliderBridge } from "./MultiSliderBridge";
22
- import { NativeUISlider } from "igniteui-webcomponents-core";
23
- import { XButtonGroup } from "./XButtonGroup";
24
- import { XButtonGroupBridge } from "./XButtonGroupBridge";
25
- import { NativeUIButtonGroup } from "igniteui-webcomponents-core";
26
- import { NativeUIColorEditor } from "igniteui-webcomponents-core";
27
- import { XCheckbox } from "./XCheckbox";
28
- import { XCheckboxBridge } from "./XCheckboxBridge";
29
- import { NativeUICheckbox } from "igniteui-webcomponents-core";
30
- import { XIcon } from "./XIcon";
31
- import { XIconBridge } from "./XIconBridge";
32
- import { NativeUIIcon } from "igniteui-webcomponents-core";
33
- import { Popup } from "igniteui-webcomponents-core";
34
- import { XPopupBridge } from "./XPopupBridge";
35
- import { NativeUIPopup } from "igniteui-webcomponents-core";
36
- import { XComponentBridge } from "./XComponentBridge";
37
- import { ColorEditorPanelSelectedValueChangedEventArgs } from "./ColorEditorPanelSelectedValueChangedEventArgs";
38
- import { NativeUIColorEditorValueChangedEventArgs } from "igniteui-webcomponents-core";
39
- import { ColorEditorVisualModelExport } from "./ColorEditorVisualModelExport";
40
- import { Rect } from "igniteui-webcomponents-core";
41
- import { KeyFrameAnimationFactory } from "igniteui-webcomponents-core";
42
- import { Size } from "igniteui-webcomponents-core";
43
- import { NativeUIContent } from "igniteui-webcomponents-core";
44
- import { truncate, isNaN_, intDivide } from "igniteui-webcomponents-core";
45
- import { DOMExecutionContext } from "igniteui-webcomponents-core";
46
- import { SRProvider } from "igniteui-webcomponents-core";
47
- import { ControlDisplayDensity_$type } from "igniteui-webcomponents-core";
48
- import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
49
- import { BrushUtil } from "igniteui-webcomponents-core";
50
- import { NativeUIInputsFactory } from "igniteui-webcomponents-core";
51
- import { NativeUIWindow } from "igniteui-webcomponents-core";
52
- import { ColorEditorPanelClosedEventArgs } from "./ColorEditorPanelClosedEventArgs";
53
- import { ColorEditorGotFocusEventArgs } from "./ColorEditorGotFocusEventArgs";
54
- import { ColorEditorLostFocusEventArgs } from "./ColorEditorLostFocusEventArgs";
55
- import { AppearanceHelper } from "igniteui-webcomponents-core";
56
- import { Color } from "igniteui-webcomponents-core";
57
- import { ColorUtil } from "igniteui-webcomponents-core";
58
- import { Thickness } from "igniteui-webcomponents-core";
59
- /**
60
- * @hidden
61
- */
62
- export var NativeUIXInputsFactory = /** @class */ /*@__PURE__*/ (function (_super) {
63
- __extends(NativeUIXInputsFactory, _super);
64
- function NativeUIXInputsFactory() {
65
- var _this = _super !== null && _super.apply(this, arguments) || this;
66
- _this.c = 2;
67
- return _this;
68
- }
69
- Object.defineProperty(NativeUIXInputsFactory, "b", {
70
- get: function () {
71
- if (NativeUIXInputsFactory.a == null) {
72
- NativeUIXInputsFactory.a = new NativeUIXInputsFactory();
73
- }
74
- return NativeUIXInputsFactory.a;
75
- },
76
- enumerable: false,
77
- configurable: true
78
- });
79
- NativeUIXInputsFactory.m = function () {
80
- NativeUIComponent.at(NativeUIXInputsFactory.b);
81
- };
82
- Object.defineProperty(NativeUIXInputsFactory.prototype, "flavor", {
83
- get: function () {
84
- return this.c;
85
- },
86
- enumerable: false,
87
- configurable: true
88
- });
89
- NativeUIXInputsFactory.prototype.createComponent = function (a, b, c) {
90
- switch (b) {
91
- case 1:
92
- this.d(a, c);
93
- break;
94
- case 6:
95
- this.f(a, c);
96
- break;
97
- case 10:
98
- this.i(a, c);
99
- break;
100
- case 2:
101
- this.j(a, c);
102
- break;
103
- case 11:
104
- this.h(a, c);
105
- break;
106
- case 12:
107
- this.k(a, c);
108
- break;
109
- case 17:
110
- this.e(a, c);
111
- break;
112
- case 20:
113
- this.g(a, c);
114
- break;
115
- case 5:
116
- this.l(a, c);
117
- break;
118
- }
119
- };
120
- NativeUIXInputsFactory.prototype.createComponentSync = function (a, b, c) {
121
- this.createComponent(a, b, c);
122
- };
123
- NativeUIXInputsFactory.prototype.supportsComponent = function (a) {
124
- switch (a) {
125
- case 1: return true;
126
- case 6: return true;
127
- case 10: return true;
128
- case 2: return true;
129
- case 11: return true;
130
- case 12: return true;
131
- case 17: return true;
132
- case 20: return true;
133
- case 5: return true;
134
- }
135
- return false;
136
- };
137
- NativeUIXInputsFactory.prototype.j = function (a, b) {
138
- var c = a;
139
- var d = c.createElement("div");
140
- var e = c.getSubRenderer(d);
141
- var f = new XInputGroup();
142
- f.provideContainer(e);
143
- var g = e.getExternal(f, e.rootWrapper, null);
144
- var h = c.createElement("div");
145
- h.setRawStyleProperty("width", "100%");
146
- var i = c.getSubRenderer(h);
147
- var j = new XInput();
148
- j.provideContainer(i);
149
- var k = e.getExternal(j, i.rootWrapper, null);
150
- f.appendContentChild(h);
151
- f.inputs.add(j);
152
- var l = new XInputBridge(f);
153
- var m = new NativeUIInput();
154
- m.ao = d;
155
- m.d = l;
156
- b(m);
157
- };
158
- NativeUIXInputsFactory.prototype.d = function (a, b) {
159
- var c = a;
160
- var d = c.createElement("div");
161
- var e = c.getSubRenderer(d);
162
- var f = new XButton();
163
- f.provideContainer(e);
164
- f.fk = "none";
165
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
166
- var h = new XButtonBridge(f);
167
- var i = new NativeUIButton();
168
- i.ao = d;
169
- i.d = h;
170
- b(i);
171
- };
172
- NativeUIXInputsFactory.prototype.l = function (a, b) {
173
- var c = a;
174
- var d = c.createElement("div");
175
- var e = c.getSubRenderer(d);
176
- var f = new MultiSlider();
177
- var g = new MultiSliderThumb();
178
- f.provideContainer(e);
179
- f.thumbs.add(g);
180
- var h = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
181
- var i = new MultiSliderBridge(f);
182
- var j = new NativeUISlider();
183
- j.ao = d;
184
- j.d = i;
185
- b(j);
186
- };
187
- NativeUIXInputsFactory.prototype.e = function (a, b) {
188
- var c = a;
189
- var d = c.createElement("div");
190
- var e = c.getSubRenderer(d);
191
- var f = new XButtonGroup();
192
- f.provideContainer(e);
193
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
194
- var h = new XButtonGroupBridge(f);
195
- var i = new NativeUIButtonGroup();
196
- i.ao = d;
197
- i.d = h;
198
- b(i);
199
- };
200
- NativeUIXInputsFactory.prototype.g = function (a, b) {
201
- var c = a;
202
- var d = c.createElement("div");
203
- var e = c.getSubRenderer(d);
204
- var f = new ColorEditor();
205
- f.provideContainer(e);
206
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
207
- var h = new ColorEditorBridge(f);
208
- var i = new NativeUIColorEditor();
209
- i.ao = d;
210
- i.d = h;
211
- b(i);
212
- };
213
- NativeUIXInputsFactory.prototype.f = function (a, b) {
214
- var c = a;
215
- var d = c.createElement("div");
216
- var e = c.getSubRenderer(d);
217
- var f = new XCheckbox();
218
- f.provideContainer(e);
219
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
220
- var h = new XCheckboxBridge(f);
221
- var i = new NativeUICheckbox();
222
- i.ao = d;
223
- i.d = h;
224
- b(i);
225
- };
226
- NativeUIXInputsFactory.prototype.i = function (a, b) {
227
- var c = a;
228
- var d = c.createElement("div");
229
- var e = c.getSubRenderer(d);
230
- var f = new XIcon();
231
- f.provideContainer(e);
232
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
233
- var h = new XIconBridge(f);
234
- var i = new NativeUIIcon();
235
- i.ao = d;
236
- i.d = h;
237
- var j = c.createElement("div");
238
- var k = c.getSubRenderer(j);
239
- var l = new XButton();
240
- l.provideContainer(k);
241
- l.e = 4;
242
- l.fk = "none";
243
- var m = k.getExternal(l, k.rootWrapper, k.getExternal(l, null, null));
244
- var n = new XButtonBridge(l);
245
- var o = new NativeUIButton();
246
- o.ao = j;
247
- o.d = n;
248
- o.bp = i;
249
- b(o);
250
- };
251
- NativeUIXInputsFactory.prototype.h = function (a, b) {
252
- var c = a;
253
- var d = c.createElement("div");
254
- var e = c.getSubRenderer(d);
255
- var f = new XIcon();
256
- f.provideContainer(e);
257
- var g = e.getExternal(f, e.rootWrapper, e.getExternal(f, null, null));
258
- var h = new XIconBridge(f);
259
- var i = new NativeUIIcon();
260
- i.ao = d;
261
- i.d = h;
262
- b(i);
263
- };
264
- NativeUIXInputsFactory.prototype.k = function (a, b) {
265
- var c = a;
266
- var d = c.createElement("div");
267
- var e = c.getSubRenderer(d);
268
- var f = new Popup();
269
- f.provideRenderer(e);
270
- var g = new XPopupBridge(f);
271
- var h = new NativeUIPopup();
272
- h.ao = d;
273
- h.d = g;
274
- b(h);
275
- };
276
- NativeUIXInputsFactory.$t = markType(NativeUIXInputsFactory, 'NativeUIXInputsFactory', Base.$, [INativeUIElementFactory_$type]);
277
- NativeUIXInputsFactory.a = null;
278
- return NativeUIXInputsFactory;
279
- }(Base));
280
- /**
281
- * @hidden
282
- */
283
- export var ColorEditorBridge = /** @class */ /*@__PURE__*/ (function (_super) {
284
- __extends(ColorEditorBridge, _super);
285
- function ColorEditorBridge(a) {
286
- var _this = _super.call(this, a) || this;
287
- _this.u = null;
288
- _this.w = null;
289
- _this.v = null;
290
- _this.x = null;
291
- return _this;
292
- }
293
- ColorEditorBridge.prototype.addHandler = function (a, b, c, d) {
294
- switch (c) {
295
- case 0:
296
- var e = a;
297
- e.valueChanging = delegateCombine(e.valueChanging, runOn(this, this.z));
298
- this.v = d;
299
- this.x = b;
300
- break;
301
- case 4:
302
- var f = a;
303
- f.valueChanged = delegateCombine(f.valueChanged, runOn(this, this.y));
304
- this.u = d;
305
- this.w = b;
306
- break;
307
- }
308
- };
309
- ColorEditorBridge.prototype.y = function (a, b) {
310
- if (this.u != null) {
311
- var c = new NativeUIColorEditorValueChangedEventArgs();
312
- this.u(this.w, c);
313
- }
314
- };
315
- ColorEditorBridge.prototype.z = function (a, b) {
316
- if (this.v != null) {
317
- var c = new NativeUIColorEditorValueChangedEventArgs();
318
- this.v(this.x, c);
319
- }
320
- };
321
- ColorEditorBridge.prototype.getValue = function (a, b) {
322
- switch (b) {
323
- case 2: return a.value;
324
- }
325
- return null;
326
- };
327
- ColorEditorBridge.prototype.removeHandler = function (a, b, c, d) {
328
- switch (c) {
329
- case 0:
330
- var e = a;
331
- e.valueChanging = delegateRemove(e.valueChanging, runOn(this, this.z));
332
- this.v = null;
333
- this.x = null;
334
- break;
335
- case 4:
336
- var f = a;
337
- f.valueChanged = delegateRemove(f.valueChanged, runOn(this, this.y));
338
- this.u = null;
339
- this.w = null;
340
- break;
341
- }
342
- };
343
- ColorEditorBridge.prototype.setValue = function (a, b, c) {
344
- switch (b) {
345
- case 2:
346
- a.value = c;
347
- break;
348
- }
349
- };
350
- ColorEditorBridge.prototype.exportVisualData = function (a) {
351
- var b = a.as();
352
- var c = this.getBoundingRect(a);
353
- b.e = c.left;
354
- b.f = c.top;
355
- b.g = c.width;
356
- b.d = c.height;
357
- return b;
358
- };
359
- ColorEditorBridge.$t = markType(ColorEditorBridge, 'ColorEditorBridge', XComponentBridge.$);
360
- return ColorEditorBridge;
361
- }(XComponentBridge));
362
- /**
363
- * @hidden
364
- */
365
- export var ColorEditorPanelView = /** @class */ /*@__PURE__*/ (function (_super) {
366
- __extends(ColorEditorPanelView, _super);
367
- function ColorEditorPanelView() {
368
- var _this = _super.call(this) || this;
369
- _this.a = null;
370
- _this.aa = null;
371
- _this.c = null;
372
- _this.g = new List$1(Delegate_$type, 0);
373
- _this.d = true;
374
- _this.af = null;
375
- _this.o = NaN;
376
- _this.n = NaN;
377
- _this.ab = null;
378
- _this.b = null;
379
- _this.ac = null;
380
- _this.a1 = null;
381
- _this.ag = null;
382
- _this.ae = null;
383
- _this.m = -1;
384
- _this.l = -1;
385
- _this.au = -1;
386
- _this.at = -1;
387
- _this.a3 = null;
388
- _this.k = -1;
389
- _this.j = -1;
390
- _this.h = -1;
391
- _this.i = -1;
392
- _this.a2 = null;
393
- _this.t = -1;
394
- _this.p = -1;
395
- _this.aw = -1;
396
- _this.av = -1;
397
- _this.z = -1;
398
- _this.v = -1;
399
- _this.a0 = -1;
400
- _this.az = -1;
401
- _this.u = -1;
402
- _this.a6 = null;
403
- _this.ai = null;
404
- _this.w = -1;
405
- _this.s = -1;
406
- _this.r = -1;
407
- _this.ay = -1;
408
- _this.ax = -1;
409
- _this.a5 = null;
410
- _this.y = -1;
411
- _this.x = -1;
412
- _this.ad = null;
413
- _this.ak = null;
414
- _this.ao = null;
415
- _this.as = -1;
416
- _this.ar = -1;
417
- _this.aj = null;
418
- _this.an = null;
419
- _this.ah = null;
420
- _this.al = null;
421
- _this.ap = null;
422
- _this.am = null;
423
- _this.aq = null;
424
- _this.a4 = null;
425
- _this.q = -1;
426
- _this.e = false;
427
- return _this;
428
- }
429
- ColorEditorPanelView.prototype.bj = function () {
430
- };
431
- ColorEditorPanelView.prototype.f = function () {
432
- return true;
433
- };
434
- ColorEditorPanelView.prototype.bh = function (a) {
435
- var e_1, _a;
436
- if (a == null) {
437
- try {
438
- for (var _b = __values(fromEnum(this.g)), _c = _b.next(); !_c.done; _c = _b.next()) {
439
- var b = _c.value;
440
- b();
441
- }
442
- }
443
- catch (e_1_1) {
444
- e_1 = { error: e_1_1 };
445
- }
446
- finally {
447
- try {
448
- if (_c && !_c.done && (_a = _b.return))
449
- _a.call(_b);
450
- }
451
- finally {
452
- if (e_1)
453
- throw e_1.error;
454
- }
455
- }
456
- this.g.clear();
457
- return;
458
- }
459
- this.aa = a;
460
- if (isNaN_(this.a.ae)) {
461
- this.a.ab = window.devicePixelRatio;
462
- }
463
- this.a.a4();
464
- };
465
- ColorEditorPanelView.prototype.bd = function () {
466
- if (KeyFrameAnimationFactory.h == null) {
467
- KeyFrameAnimationFactory.h = this.aa;
468
- }
469
- };
470
- ColorEditorPanelView.prototype.bg = function () {
471
- this.d = true;
472
- };
473
- ColorEditorPanelView.prototype.bi = function () {
474
- this.d = false;
475
- };
476
- ColorEditorPanelView.prototype.a7 = function () {
477
- return this.aa;
478
- };
479
- ColorEditorPanelView.prototype.bf = function (a) {
480
- };
481
- ColorEditorPanelView.prototype.a8 = function (a) {
482
- this.aa.append(this.aa.getWrapper(a.ao));
483
- };
484
- ColorEditorPanelView.prototype.be = function (a, b, c, d, e, f, g) {
485
- var h = truncate(Math.round(f * this.a.ab));
486
- var i = truncate(Math.round(g * this.a.ab));
487
- if (f != b || g != c || h != d || i != e) {
488
- a.setProperty("width", h);
489
- a.setProperty("height", i);
490
- a.setStyleProperty("width", f + "px");
491
- a.setStyleProperty("height", g + "px");
492
- b = f;
493
- c = g;
494
- d = h;
495
- e = i;
496
- }
497
- return {
498
- p1: b,
499
- p2: c,
500
- p3: d,
501
- p4: e
502
- };
503
- };
504
- ColorEditorPanelView.prototype.ba = function (a) {
505
- if (this.ae == null || a.ap == null) {
506
- a.ap = "image";
507
- var b = this.aa.createElement("canvas");
508
- this.ae = b;
509
- var c = this.be(this.ae, this.m, this.l, this.au, this.at, 148, 148);
510
- this.m = c.p1;
511
- this.l = c.p2;
512
- this.au = c.p3;
513
- this.at = c.p4;
514
- this.ae.setStyleProperty("justify-self", "center");
515
- this.ae.setStyleProperty("align-self", "center");
516
- var d = a.ao;
517
- d.append(this.ae);
518
- this.bm(this.a.ad());
519
- }
520
- };
521
- ColorEditorPanelView.prototype.bm = function (a) {
522
- if (this.k == a && !this.e) {
523
- return;
524
- }
525
- if (this.ae != null) {
526
- this.k = a;
527
- var b = this.be(this.ae, this.m, this.l, this.au, this.at, 148, 148);
528
- this.m = b.p1;
529
- this.l = b.p2;
530
- this.au = b.p3;
531
- this.at = b.p4;
532
- var c = this.au;
533
- var d = this.at;
534
- var e = this.a3;
535
- if (this.ak == null) {
536
- var f = (this.ae.getNativeElement());
537
- var g = f.getContext("2d");
538
- this.ak = g;
539
- }
540
- if (e == null || e.length != (c * d) * 4) {
541
- this.ao = this.ak.getImageData(0, 0, c, d);
542
- e = this.ao.data;
543
- this.a3 = e;
544
- }
545
- this.a.a0(e, c, d);
546
- this.ak.putImageData(this.ao, 0, 0);
547
- }
548
- };
549
- ColorEditorPanelView.prototype.a9 = function (a) {
550
- if (this.ad == null || a.ap == null) {
551
- a.ap = "image";
552
- var b = this.aa.createElement("canvas");
553
- this.ad = b;
554
- var c = this.be(this.ad, this.j, this.h, this.as, this.ar, 248, 19);
555
- this.j = c.p1;
556
- this.h = c.p2;
557
- this.as = c.p3;
558
- this.ar = c.p4;
559
- this.ad.setStyleProperty("justify-self", "center");
560
- this.ad.setStyleProperty("align-self", "center");
561
- var d = a.ao;
562
- d.append(this.ad);
563
- this.bl(0);
564
- }
565
- };
566
- ColorEditorPanelView.prototype.bl = function (a) {
567
- if (a == this.i && !this.e) {
568
- return;
569
- }
570
- if (this.ad != null) {
571
- this.i = a;
572
- var b = this.be(this.ad, this.j, this.h, this.as, this.ar, 248, 19);
573
- this.j = b.p1;
574
- this.h = b.p2;
575
- this.as = b.p3;
576
- this.ar = b.p4;
577
- var c = this.as;
578
- var d = this.ar;
579
- var e = this.a2;
580
- if (this.aj == null) {
581
- var f = (this.ad.getNativeElement());
582
- var g = f.getContext("2d");
583
- this.aj = g;
584
- }
585
- if (e == null || e.length != (c * d) * 4) {
586
- this.an = this.aj.getImageData(0, 0, c, d);
587
- e = this.an.data;
588
- this.a2 = e;
589
- }
590
- this.a.az(e, c, d);
591
- this.aj.putImageData(this.an, 0, 0);
592
- }
593
- };
594
- ColorEditorPanelView.prototype.bb = function (a) {
595
- var b = a.ao;
596
- if (b.getChildCount() == 1) {
597
- a.ap = "image";
598
- var c = this.aa.createElement("canvas");
599
- this.ah = c;
600
- var d = this.be(this.ah, this.t, this.p, this.aw, this.av, 85, 148);
601
- this.t = d.p1;
602
- this.p = d.p2;
603
- this.aw = d.p3;
604
- this.av = d.p4;
605
- this.ah.setStyleProperty("margin-left", "5px");
606
- this.ah.setStyleProperty("margin-top", "16px");
607
- this.ah.setStyleProperty("margin-right", "0px");
608
- this.ah.setStyleProperty("margin-bottom", "11px");
609
- this.ah.setStyleProperty("grid-row-start", "1");
610
- this.ah.setStyleProperty("grid-row-end", "2");
611
- this.ah.setStyleProperty("grid-column-start", "1");
612
- this.ah.setStyleProperty("grid-column-end", "2");
613
- this.bn(0);
614
- var e = b.getChildAt(0);
615
- e.before(c);
616
- }
617
- };
618
- ColorEditorPanelView.prototype.bc = function (a) {
619
- if (this.ai == null || a.ap == null) {
620
- a.ap = "image";
621
- var b = this.aa.createElement("canvas");
622
- this.ai = b;
623
- var c = this.be(this.ai, this.z, this.v, this.aw, this.av, 25, 148);
624
- this.z = c.p1;
625
- this.v = c.p2;
626
- this.aw = c.p3;
627
- this.av = c.p4;
628
- this.ai.setStyleProperty("justify-self", "center");
629
- this.ai.setStyleProperty("align-self", "center");
630
- var d = a.ao;
631
- d.append(this.ai);
632
- this.bo(0, 1, 0.5);
633
- }
634
- };
635
- ColorEditorPanelView.prototype.bn = function (a) {
636
- if (this.q == a && !this.e) {
637
- return;
638
- }
639
- if (this.ah != null) {
640
- this.q = a;
641
- var b = this.be(this.ah, this.s, this.r, this.ay, this.ax, 85, 148);
642
- this.s = b.p1;
643
- this.r = b.p2;
644
- this.ay = b.p3;
645
- this.ax = b.p4;
646
- var c = this.ay;
647
- var d = this.ax;
648
- var e = this.a4;
649
- if (this.al == null) {
650
- var f = (this.ah.getNativeElement());
651
- var g = f.getContext("2d");
652
- this.al = g;
653
- }
654
- if (e == null || e.length != (c * d) * 4) {
655
- this.ap = this.al.getImageData(0, 0, c, d);
656
- e = this.ap.data;
657
- this.a4 = e;
658
- }
659
- this.a.a1(e, c, d);
660
- this.al.putImageData(this.ap, 0, 0);
661
- }
662
- };
663
- ColorEditorPanelView.prototype.bo = function (a, b, c) {
664
- if (this.w == a && this.y == b && this.x == c && !this.e) {
665
- return;
666
- }
667
- if (this.ai != null) {
668
- this.w = a;
669
- this.y = b;
670
- this.x = c;
671
- var d = this.be(this.ai, this.z, this.v, this.a0, this.az, 25, 148);
672
- this.z = d.p1;
673
- this.v = d.p2;
674
- this.a0 = d.p3;
675
- this.az = d.p4;
676
- var e = this.a0;
677
- var f = this.az;
678
- var g = this.a5;
679
- if (this.am == null) {
680
- var h = (this.ai.getNativeElement());
681
- var i = h.getContext("2d");
682
- this.am = i;
683
- }
684
- if (g == null || g.length != (e * f) * 4) {
685
- this.aq = this.am.getImageData(0, 0, e, f);
686
- g = this.aq.data;
687
- this.a5 = g;
688
- }
689
- this.a.a2(g, e, f);
690
- this.am.putImageData(this.aq, 0, 0);
691
- }
692
- };
693
- ColorEditorPanelView.prototype.bk = function () {
694
- this.e = true;
695
- this.bm(this.k);
696
- this.bl(this.i);
697
- this.bn(this.q);
698
- this.bo(this.u, this.y, this.x);
699
- this.e = false;
700
- };
701
- ColorEditorPanelView.$t = markType(ColorEditorPanelView, 'ColorEditorPanelView');
702
- return ColorEditorPanelView;
703
- }(Base));
704
- /**
705
- * @hidden
706
- */
707
- export var ColorEditorView = /** @class */ /*@__PURE__*/ (function (_super) {
708
- __extends(ColorEditorView, _super);
709
- function ColorEditorView() {
710
- var _this = _super.call(this) || this;
711
- _this.a = null;
712
- _this.h = null;
713
- _this.d = null;
714
- _this.g = new List$1(Delegate_$type, 0);
715
- _this.e = true;
716
- _this.b = null;
717
- return _this;
718
- }
719
- ColorEditorView.prototype.q = function () {
720
- };
721
- ColorEditorView.prototype.f = function () {
722
- return true;
723
- };
724
- ColorEditorView.prototype.o = function (a) {
725
- var e_2, _a;
726
- if (a == null) {
727
- try {
728
- for (var _b = __values(fromEnum(this.g)), _c = _b.next(); !_c.done; _c = _b.next()) {
729
- var b = _c.value;
730
- b();
731
- }
732
- }
733
- catch (e_2_1) {
734
- e_2 = { error: e_2_1 };
735
- }
736
- finally {
737
- try {
738
- if (_c && !_c.done && (_a = _b.return))
739
- _a.call(_b);
740
- }
741
- finally {
742
- if (e_2)
743
- throw e_2.error;
744
- }
745
- }
746
- this.g.clear();
747
- return;
748
- }
749
- if (this.a.a == null) {
750
- this.a.a = new DOMExecutionContext(a);
751
- }
752
- this.h = a;
753
- this.a.bj();
754
- };
755
- ColorEditorView.prototype.m = function () {
756
- if (KeyFrameAnimationFactory.h == null) {
757
- KeyFrameAnimationFactory.h = this.h;
758
- }
759
- };
760
- ColorEditorView.prototype.n = function () {
761
- this.e = true;
762
- };
763
- ColorEditorView.prototype.p = function () {
764
- this.e = false;
765
- };
766
- ColorEditorView.prototype.j = function () {
767
- return this.h;
768
- };
769
- ColorEditorView.prototype.i = function () {
770
- var a = new ColorEditorPanel();
771
- this.b = a;
772
- var b = this.h.createElement("div");
773
- var c = this.h.getSubRenderer(b);
774
- a.provideContainer(c);
775
- var d = this.h.getExternal(a, null, null);
776
- return b;
777
- };
778
- ColorEditorView.prototype.k = function (a, b) {
779
- var c = a.ao;
780
- c.append(this.h.getWrapper(b));
781
- };
782
- ColorEditorView.prototype.l = function (a) {
783
- this.h.append(this.h.getWrapper(a.ao));
784
- };
785
- ColorEditorView.prototype.c = function (a) {
786
- return this.b;
787
- };
788
- ColorEditorView.prototype.r = function (a) {
789
- if (this.h != null) {
790
- var b = this.h.rootWrapper.getNativeElement();
791
- var c = (b.getBoundingClientRect());
792
- if (a) {
793
- c = new Rect(0, c.left + window.pageXOffset, c.top + window.pageYOffset, c.width, c.height);
794
- }
795
- return c;
796
- }
797
- return null;
798
- };
799
- ColorEditorView.prototype.s = function () {
800
- return new Size(1, NaN, NaN);
801
- };
802
- ColorEditorView.$t = markType(ColorEditorView, 'ColorEditorView');
803
- return ColorEditorView;
804
- }(Base));
805
- /**
806
- * @hidden
807
- */
808
- export var ColorEditor = /** @class */ /*@__PURE__*/ (function (_super) {
809
- __extends(ColorEditor, _super);
810
- function ColorEditor() {
811
- var _this = _super.call(this) || this;
812
- _this._view = null;
813
- _this.s = null;
814
- _this.r = null;
815
- _this.e = null;
816
- _this.w = false;
817
- _this.ag = false;
818
- _this.ae = false;
819
- _this.cm = BrushUtil.l(0, 0, 0, 0);
820
- _this.x = false;
821
- _this.propertyChanged = null;
822
- _this.valueChanged = null;
823
- _this.valueChanging = null;
824
- _this.t = null;
825
- _this.a = null;
826
- _this.co = BrushUtil.l(255, 0, 0, 255);
827
- _this.at = "";
828
- _this.cl = BrushUtil.l(255, 24, 29, 31);
829
- _this.m = null;
830
- _this.k = 2;
831
- _this.i = 1;
832
- _this.n = null;
833
- _this.cn = BrushUtil.l(255, 24, 29, 31);
834
- _this.ck = BrushUtil.l(255, 163, 172, 184);
835
- _this.ad = true;
836
- _this.v = true;
837
- _this.ac = true;
838
- _this.y = false;
839
- _this.aq = 0;
840
- _this.z = false;
841
- _this.ab = false;
842
- _this.af = false;
843
- _this.aa = false;
844
- _this.gotFocus = null;
845
- _this.lostFocus = null;
846
- NativeUIInputsFactory.n();
847
- NativeUIXInputsFactory.m();
848
- var a = new ColorEditorView();
849
- a.a = _this;
850
- _this.view = a;
851
- _this.view.q();
852
- return _this;
853
- }
854
- Object.defineProperty(ColorEditor.prototype, "view", {
855
- get: function () {
856
- return this._view;
857
- },
858
- set: function (a) {
859
- this._view = a;
860
- },
861
- enumerable: false,
862
- configurable: true
863
- });
864
- ColorEditor.prototype.onAttachedToUI = function () {
865
- this.view.n();
866
- };
867
- ColorEditor.prototype.onDetachedFromUI = function () {
868
- this.view.p();
869
- };
870
- ColorEditor.prototype.b4 = function (a, b) {
871
- if (this.valueChanging != null) {
872
- this.valueChanging(this, ((function () {
873
- var $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
874
- $ret.oldValue = a;
875
- $ret.newValue = b;
876
- return $ret;
877
- })()));
878
- }
879
- if (this.x) {
880
- }
881
- };
882
- ColorEditor.prototype.notifySizeChanged = function () {
883
- };
884
- ColorEditor.prototype.destroy = function () {
885
- this.provideContainer(null);
886
- };
887
- ColorEditor.prototype.provideContainer = function (a) {
888
- this.view.o(a);
889
- };
890
- Object.defineProperty(ColorEditor.prototype, "u", {
891
- get: function () {
892
- if (this.t == null) {
893
- this.t = new SRProvider(this.view.h);
894
- this.t.cb("ColorEditor");
895
- }
896
- return this.t;
897
- },
898
- enumerable: false,
899
- configurable: true
900
- });
901
- Object.defineProperty(ColorEditor.prototype, "value", {
902
- get: function () {
903
- return this.co;
904
- },
905
- set: function (a) {
906
- var b = this.co;
907
- this.cm = b;
908
- this.co = a;
909
- if (b != this.co) {
910
- this.b3("Value", b, this.co);
911
- }
912
- },
913
- enumerable: false,
914
- configurable: true
915
- });
916
- Object.defineProperty(ColorEditor.prototype, "a2", {
917
- get: function () {
918
- return this.at;
919
- },
920
- set: function (a) {
921
- var b = this.at;
922
- this.at = a;
923
- if (b != this.at) {
924
- this.b3("Label", b, this.at);
925
- }
926
- },
927
- enumerable: false,
928
- configurable: true
929
- });
930
- Object.defineProperty(ColorEditor.prototype, "cq", {
931
- get: function () {
932
- return this.cl;
933
- },
934
- set: function (a) {
935
- var b = this.cl;
936
- this.cl = a;
937
- if (b != this.cl) {
938
- this.b3("LabelTextColor", b, a);
939
- }
940
- },
941
- enumerable: false,
942
- configurable: true
943
- });
944
- Object.defineProperty(ColorEditor.prototype, "p", {
945
- get: function () {
946
- return this.m;
947
- },
948
- set: function (a) {
949
- var b = this.m;
950
- this.m = a;
951
- if (b != this.m) {
952
- this.b3("LabelTextStyle", b, this.m);
953
- }
954
- },
955
- enumerable: false,
956
- configurable: true
957
- });
958
- Object.defineProperty(ColorEditor.prototype, "l", {
959
- get: function () {
960
- return this.k;
961
- },
962
- set: function (a) {
963
- var b = this.k;
964
- this.k = a;
965
- if (b != this.k) {
966
- this.b3("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.k));
967
- }
968
- },
969
- enumerable: false,
970
- configurable: true
971
- });
972
- Object.defineProperty(ColorEditor.prototype, "j", {
973
- get: function () {
974
- return this.i;
975
- },
976
- set: function (a) {
977
- var b = this.i;
978
- this.i = a;
979
- if (b != this.i) {
980
- this.b3("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.i));
981
- }
982
- },
983
- enumerable: false,
984
- configurable: true
985
- });
986
- Object.defineProperty(ColorEditor.prototype, "q", {
987
- get: function () {
988
- return this.n;
989
- },
990
- set: function (a) {
991
- var b = this.n;
992
- this.n = a;
993
- if (b != this.n) {
994
- this.b3("TextStyle", b, this.n);
995
- }
996
- },
997
- enumerable: false,
998
- configurable: true
999
- });
1000
- Object.defineProperty(ColorEditor.prototype, "cr", {
1001
- get: function () {
1002
- return this.cn;
1003
- },
1004
- set: function (a) {
1005
- var b = this.cn;
1006
- this.cn = a;
1007
- if (b != this.cn) {
1008
- this.b3("TextColor", b, this.cn);
1009
- }
1010
- },
1011
- enumerable: false,
1012
- configurable: true
1013
- });
1014
- Object.defineProperty(ColorEditor.prototype, "cp", {
1015
- get: function () {
1016
- return this.ck;
1017
- },
1018
- set: function (a) {
1019
- var b = this.ck;
1020
- this.ck = a;
1021
- if (b != this.ck) {
1022
- this.b3("IconColor", b, this.ck);
1023
- }
1024
- },
1025
- enumerable: false,
1026
- configurable: true
1027
- });
1028
- Object.defineProperty(ColorEditor.prototype, "an", {
1029
- get: function () {
1030
- return this.ad;
1031
- },
1032
- set: function (a) {
1033
- var b = this.ad;
1034
- this.ad = a;
1035
- if (b != this.ad) {
1036
- this.b3("ShowClearButton", b, this.ad);
1037
- }
1038
- },
1039
- enumerable: false,
1040
- configurable: true
1041
- });
1042
- Object.defineProperty(ColorEditor.prototype, "ah", {
1043
- get: function () {
1044
- return this.v;
1045
- },
1046
- set: function (a) {
1047
- var b = this.v;
1048
- this.v = a;
1049
- if (b != this.v) {
1050
- this.b3("AllowTextInput", b, this.v);
1051
- }
1052
- },
1053
- enumerable: false,
1054
- configurable: true
1055
- });
1056
- Object.defineProperty(ColorEditor.prototype, "al", {
1057
- get: function () {
1058
- return this.ac;
1059
- },
1060
- set: function (a) {
1061
- var b = this.ac;
1062
- this.ac = a;
1063
- if (b != this.ac) {
1064
- this.b3("OpenOnFocus", b, this.ac);
1065
- }
1066
- },
1067
- enumerable: false,
1068
- configurable: true
1069
- });
1070
- Object.defineProperty(ColorEditor.prototype, "ai", {
1071
- get: function () {
1072
- return this.y;
1073
- },
1074
- set: function (a) {
1075
- var b = this.y;
1076
- this.y = a;
1077
- if (b != this.y) {
1078
- this.b3("IsDisabled", b, this.y);
1079
- }
1080
- },
1081
- enumerable: false,
1082
- configurable: true
1083
- });
1084
- Object.defineProperty(ColorEditor.prototype, "ar", {
1085
- get: function () {
1086
- return this.aq;
1087
- },
1088
- set: function (a) {
1089
- var b = this.aq;
1090
- this.aq = a;
1091
- if (b != this.aq) {
1092
- this.b3("TabIndex", b, this.aq);
1093
- }
1094
- },
1095
- enumerable: false,
1096
- configurable: true
1097
- });
1098
- Object.defineProperty(ColorEditor.prototype, "aj", {
1099
- get: function () {
1100
- return this.z;
1101
- },
1102
- set: function (a) {
1103
- var b = this.z;
1104
- this.z = a;
1105
- if (b != this.z) {
1106
- this.b3("IsFixed", b, this.z);
1107
- }
1108
- },
1109
- enumerable: false,
1110
- configurable: true
1111
- });
1112
- Object.defineProperty(ColorEditor.prototype, "ak", {
1113
- get: function () {
1114
- return this.ab;
1115
- },
1116
- set: function (a) {
1117
- var b = this.ab;
1118
- this.ab = a;
1119
- if (b != this.ab) {
1120
- this.b3("OpenAsChild", b, this.ab);
1121
- }
1122
- },
1123
- enumerable: false,
1124
- configurable: true
1125
- });
1126
- Object.defineProperty(ColorEditor.prototype, "ao", {
1127
- get: function () {
1128
- return this.af;
1129
- },
1130
- set: function (a) {
1131
- var b = this.af;
1132
- this.af = a;
1133
- if (b != this.af) {
1134
- this.b3("UseTopLayer", b, this.af);
1135
- }
1136
- },
1137
- enumerable: false,
1138
- configurable: true
1139
- });
1140
- ColorEditor.prototype.b3 = function (a, b, c) {
1141
- if (this.propertyChanged != null) {
1142
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
1143
- }
1144
- this.b9(a, b, c);
1145
- };
1146
- ColorEditor.prototype.b9 = function (a, b, c) {
1147
- switch (a) {
1148
- case "Density":
1149
- this.cc();
1150
- break;
1151
- case "BaseTheme":
1152
- this.cd();
1153
- break;
1154
- case "Value":
1155
- this.b4(this.cm, this.value);
1156
- this.cm = this.value;
1157
- if (this.e != null && !this.x) {
1158
- this.e.value = this.value;
1159
- }
1160
- break;
1161
- case "Label":
1162
- if (this.r != null) {
1163
- this.r.b6 = this.a2;
1164
- }
1165
- break;
1166
- case "TextStyle":
1167
- this.ci();
1168
- break;
1169
- case "ShowClearButton":
1170
- if (this.r != null) {
1171
- if (this.r.b8 != "") {
1172
- }
1173
- }
1174
- break;
1175
- case "LabelTextColor":
1176
- case "LabelTextStyle":
1177
- case "TextColor":
1178
- case "IconColor":
1179
- this.cj();
1180
- break;
1181
- case "AllowTextInput":
1182
- if (this.r != null) {
1183
- this.r.b1 = this.am();
1184
- }
1185
- break;
1186
- case "OpenOnFocus": break;
1187
- case "IsDisabled":
1188
- {
1189
- if (this.r != null) {
1190
- this.r.b1 = this.am();
1191
- }
1192
- }
1193
- break;
1194
- }
1195
- };
1196
- ColorEditor.prototype.am = function () {
1197
- return this.ai || !this.ah;
1198
- };
1199
- ColorEditor.prototype.cj = function () {
1200
- if (this.r != null) {
1201
- this.r.cf = this.cr;
1202
- }
1203
- };
1204
- ColorEditor.prototype.ch = function () {
1205
- if (this.r != null) {
1206
- }
1207
- };
1208
- ColorEditor.prototype.ci = function () {
1209
- if (this.n != null) {
1210
- this.r.bl = this.n;
1211
- }
1212
- };
1213
- ColorEditor.prototype.bh = function () {
1214
- if (this.ai == true) {
1215
- return;
1216
- }
1217
- if (this.r != null) {
1218
- this.r.b8 = "";
1219
- }
1220
- this.value = BrushUtil.l(0, 0, 0, 0);
1221
- this.e.ax();
1222
- this.aa = false;
1223
- };
1224
- ColorEditor.prototype.b1 = function () {
1225
- this.aa = true;
1226
- };
1227
- ColorEditor.prototype.b2 = function () {
1228
- this.aa = false;
1229
- };
1230
- ColorEditor.prototype.br = function () {
1231
- NativeUIWindow.h(15, runOn(this, this.b7), this.view.h);
1232
- NativeUIWindow.h(9, runOn(this, this.b6), this.view.h);
1233
- };
1234
- ColorEditor.prototype.bv = function () {
1235
- NativeUIWindow.i(15, runOn(this, this.b7));
1236
- NativeUIWindow.i(9, runOn(this, this.b6));
1237
- };
1238
- ColorEditor.prototype.b6 = function (a) {
1239
- var b = a;
1240
- if (this.r != null) {
1241
- if (this.s.b7 && !this.s.t(b.b) && !this.r.t(b.b)) {
1242
- this.bi();
1243
- }
1244
- }
1245
- };
1246
- ColorEditor.prototype.b7 = function (a) {
1247
- if (this.r != null) {
1248
- var b = this.r.bf();
1249
- this.s.cf(b);
1250
- }
1251
- };
1252
- ColorEditor.prototype.bj = function () {
1253
- var _this = this;
1254
- NativeUIComponent.aw(this.view.j(), [12, 2, 7, 0], [2, 2, 2, 2], function (a) {
1255
- var b = a[0];
1256
- var c = a[1];
1257
- var d = a[2];
1258
- var e = a[3];
1259
- var f = _this.view.i();
1260
- _this.view.k(e, f);
1261
- b.bo(d);
1262
- d.bo(e);
1263
- _this.view.l(c);
1264
- b.ci = BrushUtil.l(255, 255, 255, 255);
1265
- b.cb = 150;
1266
- b.b9 = 8;
1267
- b.cc = 4;
1268
- b.b2 = true;
1269
- _this.r = c;
1270
- _this.r.c = _this.j;
1271
- _this.r.bq = _this.l;
1272
- _this.r.b7 = ColorEditor.a8;
1273
- _this.r.cd = BrushUtil.l(255, 255, 255, 255);
1274
- _this.r.ce = BrushUtil.l(255, 0, 0, 0);
1275
- _this.r.bo = runOn(_this, _this.cf);
1276
- _this.r.n = runOn(_this, _this.by);
1277
- _this.r.o = runOn(_this, _this.b0);
1278
- _this.r.cc = BrushUtil.l(255, 0, 0, 255);
1279
- _this.s = b;
1280
- _this.e = _this.view.c(f);
1281
- _this.e.value = _this.value;
1282
- var g = _this.e;
1283
- g.closed = delegateCombine(g.closed, runOn(_this, _this.bf));
1284
- var h = _this.e;
1285
- h.valueChanged = delegateCombine(h.valueChanged, runOn(_this, _this.bg));
1286
- d.o = runOn(_this, _this.b0);
1287
- var i = _this.e;
1288
- i.valueChanged = delegateCombine(i.valueChanged, runOn(_this, _this.bm));
1289
- });
1290
- };
1291
- ColorEditor.prototype.bg = function (a, b) {
1292
- if (this.valueChanged != null) {
1293
- this.valueChanged(this, b);
1294
- }
1295
- };
1296
- ColorEditor.prototype.bf = function (a, b) {
1297
- this.bl(a);
1298
- };
1299
- ColorEditor.prototype.b0 = function (a, b) {
1300
- if (!this.s.t(b.b) && !this.r.t(b.b) && !(this.r.ao == b.b)) {
1301
- this.bp();
1302
- }
1303
- };
1304
- ColorEditor.prototype.by = function (a, b) {
1305
- this.focus();
1306
- };
1307
- ColorEditor.prototype.cf = function (a, b) {
1308
- this.cg();
1309
- };
1310
- ColorEditor.prototype.bm = function (a, b) {
1311
- this.x = true;
1312
- this.value = b.newValue;
1313
- this.x = false;
1314
- this.b5(b.oldValue, b.newValue);
1315
- };
1316
- ColorEditor.prototype.b5 = function (a, b) {
1317
- if (this.r != null) {
1318
- this.r.cc = b;
1319
- }
1320
- };
1321
- ColorEditor.prototype.bl = function (a) {
1322
- if (this.s.b7) {
1323
- this.w = true;
1324
- this.bi();
1325
- }
1326
- };
1327
- ColorEditor.prototype.cg = function () {
1328
- if (this.w == false) {
1329
- if (this.s.b7) {
1330
- this.bi();
1331
- }
1332
- else {
1333
- this.b8();
1334
- }
1335
- }
1336
- else {
1337
- this.w = false;
1338
- }
1339
- };
1340
- ColorEditor.prototype.b8 = function () {
1341
- if (this.ai) {
1342
- return;
1343
- }
1344
- if (this.s != null) {
1345
- var a = this.view.r(false);
1346
- var b = this.view.s();
1347
- var c = b.height;
1348
- var d = 240;
1349
- var e = a.bottom + d;
1350
- if (!isNaN_(c) && c < e) {
1351
- var f = a.top - d;
1352
- if (f < 0) {
1353
- this.ce(1, 0);
1354
- }
1355
- else {
1356
- this.ce(2, 0);
1357
- }
1358
- }
1359
- else {
1360
- this.ce(1, 0);
1361
- }
1362
- }
1363
- };
1364
- ColorEditor.prototype.ce = function (a, b) {
1365
- {
1366
- var c = this.view.r(true);
1367
- this.s.cg(c, a, b);
1368
- }
1369
- };
1370
- ColorEditor.prototype.bi = function () {
1371
- var _this = this;
1372
- if (this.s != null) {
1373
- this.a.executeDelayed(function () { return _this.s.cd(); }, 0);
1374
- }
1375
- if (this.e != null) {
1376
- this.e.bg();
1377
- }
1378
- this.w = false;
1379
- };
1380
- ColorEditor.prototype.focus = function (a) {
1381
- var _this = this;
1382
- if (a === void 0) {
1383
- a = false;
1384
- }
1385
- if (this.r != null) {
1386
- this.r.a1();
1387
- }
1388
- if (!this.s.b7 && this.al == true) {
1389
- if (this.w == false) {
1390
- if (this.aa) {
1391
- return;
1392
- }
1393
- if (this.ah == false) {
1394
- this.b8();
1395
- this.w = true;
1396
- this.a.executeDelayed(function () { return _this.bo(); }, 0);
1397
- }
1398
- else {
1399
- if (this.al == true && this.ae == false) {
1400
- this.b8();
1401
- this.w = true;
1402
- this.a.executeDelayed(function () { return _this.bo(); }, 0);
1403
- }
1404
- }
1405
- }
1406
- else {
1407
- this.w = false;
1408
- }
1409
- }
1410
- };
1411
- ColorEditor.prototype.bp = function () {
1412
- this.w = false;
1413
- };
1414
- ColorEditor.prototype.cb = function () {
1415
- if (this.r != null) {
1416
- this.r.ca();
1417
- }
1418
- };
1419
- ColorEditor.prototype.bo = function () {
1420
- this.e.a3();
1421
- };
1422
- ColorEditor.prototype.bt = function () {
1423
- var a = new ColorEditorGotFocusEventArgs();
1424
- this.bx(a);
1425
- };
1426
- ColorEditor.prototype.bu = function () {
1427
- var a = new ColorEditorLostFocusEventArgs();
1428
- this.bz(a);
1429
- };
1430
- ColorEditor.prototype.cd = function () {
1431
- };
1432
- ColorEditor.prototype.cc = function () {
1433
- };
1434
- ColorEditor.prototype.as = function () {
1435
- return this.b();
1436
- };
1437
- ColorEditor.prototype.ay = function () {
1438
- var a = this.b();
1439
- return a.h();
1440
- };
1441
- ColorEditor.prototype.b = function () {
1442
- var a = new ColorEditorVisualModelExport();
1443
- a.b = this.j;
1444
- a.a = AppearanceHelper.a(this.value);
1445
- a.c = this.ai;
1446
- return a;
1447
- };
1448
- ColorEditor.prototype.bx = function (a) {
1449
- if (null != this.gotFocus) {
1450
- this.gotFocus(this, a);
1451
- }
1452
- };
1453
- ColorEditor.prototype.bz = function (a) {
1454
- if (null != this.lostFocus) {
1455
- this.lostFocus(this, a);
1456
- }
1457
- };
1458
- ColorEditor.$t = markType(ColorEditor, 'ColorEditor', Base.$, [INotifyPropertyChanged_$type]);
1459
- ColorEditor.a8 = "M13.093 6.743a1.074 1.074 0 011.306.251l.237.237-6.4 6.4-.242-.231a1.074 1.074 0 01-.251-1.306c.446-.693 1.553-2.516.515-3.554-1.584-1.585-2.225-.94-3.809-2.528S2.714 3 3.354 2.354s2.073-.489 3.658 1.095.943 2.225 2.527 3.809c1.038 1.042 2.861-.069 3.554-.515zm6.93 5.874L15.31 7.9 8.9 14.31l4.433 4.433c-.039.159-.084.327-.137.508 0 0-.8 2.749.8 2.749s.8-2.749.8-2.749a10.75 10.75 0 01-.272-1.14L16.2 16.44a8.944 8.944 0 00-2.072-3.314s.555-.545 3.323 2.063l.811-.811-1.54-2.5 2.5 1.539z";
1460
- ColorEditor.o = null;
1461
- return ColorEditor;
1462
- }(Base));
1463
- /**
1464
- * @hidden
1465
- */
1466
- export var ColorEditorPanel = /** @class */ /*@__PURE__*/ (function (_super) {
1467
- __extends(ColorEditorPanel, _super);
1468
- function ColorEditorPanel() {
1469
- var _this = _super.call(this) || this;
1470
- _this.d = null;
1471
- _this.bv = BrushUtil.l(0, 0, 0, 0);
1472
- _this.bo = null;
1473
- _this.bs = BrushUtil.l(0, 0, 0, 0);
1474
- _this.propertyChanged = null;
1475
- _this.closed = null;
1476
- _this.valueChanged = null;
1477
- _this.valueChanging = null;
1478
- _this.v = null;
1479
- _this.bx = BrushUtil.l(255, 0, 0, 255);
1480
- _this.g = 3;
1481
- _this.e = 1;
1482
- _this.bp = BrushUtil.l(0, 255, 255, 255);
1483
- _this.bt = BrushUtil.l(255, 33, 150, 243);
1484
- _this.bu = BrushUtil.l(255, 21, 112, 184);
1485
- _this.bq = BrushUtil.l(76, 33, 150, 243);
1486
- _this.br = BrushUtil.l(50, 186, 191, 199);
1487
- _this.bw = BrushUtil.l(255, 24, 29, 31);
1488
- _this.i = null;
1489
- _this.n = null;
1490
- _this.s = null;
1491
- _this.u = null;
1492
- _this.m = null;
1493
- _this.t = null;
1494
- _this.o = null;
1495
- _this.r = null;
1496
- _this.q = null;
1497
- _this.l = null;
1498
- _this.k = null;
1499
- _this.p = null;
1500
- _this.aa = NaN;
1501
- _this.z = 1;
1502
- _this.y = false;
1503
- _this.x = false;
1504
- NativeUIInputsFactory.n();
1505
- NativeUIXInputsFactory.m();
1506
- _this.bo = BrushUtil.l(0, 0, 0, 0);
1507
- var a = new ColorEditorPanelView();
1508
- a.a = _this;
1509
- _this.d = a;
1510
- _this.d.bj();
1511
- return _this;
1512
- }
1513
- ColorEditorPanel.prototype.a8 = function () {
1514
- if (this.closed != null) {
1515
- this.closed(this, new ColorEditorPanelClosedEventArgs());
1516
- }
1517
- };
1518
- ColorEditorPanel.prototype.bc = function (a) {
1519
- var b = this.bx;
1520
- this.bx = a;
1521
- if (this.valueChanged != null) {
1522
- this.valueChanged(this, ((function () {
1523
- var $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
1524
- $ret.oldValue = b;
1525
- $ret.newValue = a;
1526
- return $ret;
1527
- })()));
1528
- }
1529
- this.bv = this.value;
1530
- };
1531
- ColorEditorPanel.prototype.notifySizeChanged = function (a) {
1532
- this.d.bf(a);
1533
- };
1534
- ColorEditorPanel.prototype.destroy = function () {
1535
- this.provideContainer(null);
1536
- };
1537
- ColorEditorPanel.prototype.provideContainer = function (a) {
1538
- this.d.bh(a);
1539
- };
1540
- Object.defineProperty(ColorEditorPanel.prototype, "w", {
1541
- get: function () {
1542
- if (this.v == null) {
1543
- this.v = new SRProvider(this.d.aa);
1544
- this.v.cb("ColorEditorPanel");
1545
- }
1546
- return this.v;
1547
- },
1548
- enumerable: false,
1549
- configurable: true
1550
- });
1551
- Object.defineProperty(ColorEditorPanel.prototype, "value", {
1552
- get: function () {
1553
- return this.bx;
1554
- },
1555
- set: function (a) {
1556
- var b = this.bx;
1557
- this.bs = b;
1558
- this.bx = a;
1559
- if (b != this.bx) {
1560
- this.bb("Value", b, this.bx);
1561
- }
1562
- },
1563
- enumerable: false,
1564
- configurable: true
1565
- });
1566
- Object.defineProperty(ColorEditorPanel.prototype, "h", {
1567
- get: function () {
1568
- return this.g;
1569
- },
1570
- set: function (a) {
1571
- var b = this.g;
1572
- this.g = a;
1573
- if (b != this.g) {
1574
- this.bb("Density", enumGetBox(ControlDisplayDensity_$type, b), enumGetBox(ControlDisplayDensity_$type, this.g));
1575
- }
1576
- },
1577
- enumerable: false,
1578
- configurable: true
1579
- });
1580
- Object.defineProperty(ColorEditorPanel.prototype, "f", {
1581
- get: function () {
1582
- return this.e;
1583
- },
1584
- set: function (a) {
1585
- var b = this.e;
1586
- this.e = a;
1587
- if (b != this.e) {
1588
- this.bb("BaseTheme", enumGetBox(BaseControlTheme_$type, b), enumGetBox(BaseControlTheme_$type, this.e));
1589
- }
1590
- },
1591
- enumerable: false,
1592
- configurable: true
1593
- });
1594
- Object.defineProperty(ColorEditorPanel.prototype, "by", {
1595
- get: function () {
1596
- return this.bp;
1597
- },
1598
- set: function (a) {
1599
- var b = this.bp;
1600
- this.bp = a;
1601
- if (b != this.bp) {
1602
- this.bb("BackgroundColor", b, this.bp);
1603
- }
1604
- },
1605
- enumerable: false,
1606
- configurable: true
1607
- });
1608
- Object.defineProperty(ColorEditorPanel.prototype, "b1", {
1609
- get: function () {
1610
- return this.bt;
1611
- },
1612
- set: function (a) {
1613
- var b = this.bt;
1614
- this.bt = a;
1615
- if (b != this.bt) {
1616
- this.bb("SelectedColorBorderColor", b, this.bt);
1617
- }
1618
- },
1619
- enumerable: false,
1620
- configurable: true
1621
- });
1622
- Object.defineProperty(ColorEditorPanel.prototype, "b2", {
1623
- get: function () {
1624
- return this.bu;
1625
- },
1626
- set: function (a) {
1627
- var b = this.bu;
1628
- this.bu = a;
1629
- if (b != this.bu) {
1630
- this.bb("SelectedFocusColorBorderColor", b, this.bu);
1631
- }
1632
- },
1633
- enumerable: false,
1634
- configurable: true
1635
- });
1636
- Object.defineProperty(ColorEditorPanel.prototype, "bz", {
1637
- get: function () {
1638
- return this.bq;
1639
- },
1640
- set: function (a) {
1641
- var b = this.bq;
1642
- this.bq = a;
1643
- if (b != this.bq) {
1644
- this.bb("FocusColorBorderColor", b, this.bq);
1645
- }
1646
- },
1647
- enumerable: false,
1648
- configurable: true
1649
- });
1650
- Object.defineProperty(ColorEditorPanel.prototype, "b0", {
1651
- get: function () {
1652
- return this.br;
1653
- },
1654
- set: function (a) {
1655
- var b = this.br;
1656
- this.br = a;
1657
- if (b != this.br) {
1658
- this.bb("HoverBackgroundColor", b, this.br);
1659
- }
1660
- },
1661
- enumerable: false,
1662
- configurable: true
1663
- });
1664
- Object.defineProperty(ColorEditorPanel.prototype, "b3", {
1665
- get: function () {
1666
- return this.bw;
1667
- },
1668
- set: function (a) {
1669
- var b = this.bw;
1670
- this.bw = a;
1671
- if (b != this.bw) {
1672
- this.bb("TextColor", b, this.bw);
1673
- }
1674
- },
1675
- enumerable: false,
1676
- configurable: true
1677
- });
1678
- Object.defineProperty(ColorEditorPanel.prototype, "j", {
1679
- get: function () {
1680
- return this.i;
1681
- },
1682
- set: function (a) {
1683
- var b = this.i;
1684
- this.i = a;
1685
- if (b != this.i) {
1686
- this.bb("TextStyle", b, this.i);
1687
- }
1688
- },
1689
- enumerable: false,
1690
- configurable: true
1691
- });
1692
- Object.defineProperty(ColorEditorPanel.prototype, "ae", {
1693
- get: function () {
1694
- return this.aa;
1695
- },
1696
- set: function (a) {
1697
- var b = this.aa;
1698
- this.aa = a;
1699
- if (b != this.aa) {
1700
- this.bb("PixelScalingRatio", b, a);
1701
- }
1702
- },
1703
- enumerable: false,
1704
- configurable: true
1705
- });
1706
- Object.defineProperty(ColorEditorPanel.prototype, "ab", {
1707
- get: function () {
1708
- return this.z;
1709
- },
1710
- set: function (a) {
1711
- var b = this.z;
1712
- this.z = a;
1713
- if (b != this.z) {
1714
- this.bb("ActualPixelScalingRatio", b, a);
1715
- }
1716
- },
1717
- enumerable: false,
1718
- configurable: true
1719
- });
1720
- ColorEditorPanel.prototype.bb = function (a, b, c) {
1721
- if (this.propertyChanged != null) {
1722
- this.propertyChanged(this, new PropertyChangedEventArgs(a));
1723
- }
1724
- this.bd(a, b, c);
1725
- };
1726
- ColorEditorPanel.prototype.bd = function (a, b, c) {
1727
- switch (a) {
1728
- case "Density":
1729
- this.bi();
1730
- break;
1731
- case "BaseTheme":
1732
- this.bj();
1733
- break;
1734
- case "Value":
1735
- this.bs = this.value;
1736
- this.bv = this.value;
1737
- if (b != null && c != null) {
1738
- if (BrushUtil.d(b, c)) {
1739
- break;
1740
- }
1741
- }
1742
- this.bf();
1743
- this.bc(this.value);
1744
- break;
1745
- case "TextColor":
1746
- case "BackgroundColor":
1747
- case "FocusColorBorderColor":
1748
- case "SelectedFocusColorBorderColor":
1749
- case "SelectedColorBorderColor":
1750
- case "HoverBackgroundColor":
1751
- this.bk();
1752
- break;
1753
- case "TextStyle":
1754
- this.bl();
1755
- break;
1756
- case "PixelScalingRatio":
1757
- if (!isNaN_(c)) {
1758
- this.ab = c;
1759
- }
1760
- break;
1761
- case "ActualPixelScalingRatio":
1762
- if (this.d != null) {
1763
- this.d.bk();
1764
- }
1765
- break;
1766
- }
1767
- };
1768
- ColorEditorPanel.prototype.a4 = function () {
1769
- var _this = this;
1770
- NativeUIContent.aw(this.d.a7(), [7, 7, 0, 5, 0, 5, 0, 5, 2, 7, 1, 1, 7, 2, 7], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], function (a) {
1771
- var b = a[0];
1772
- var c = a[1];
1773
- var d = a[2];
1774
- var e = a[3];
1775
- var f = a[4];
1776
- var g = a[5];
1777
- var h = a[6];
1778
- var i = a[7];
1779
- var j = a[8];
1780
- var k = a[9];
1781
- var l = a[10];
1782
- var m = a[11];
1783
- var n = a[12];
1784
- var o = a[13];
1785
- var p = a[14];
1786
- e.bl = 2;
1787
- i.bl = 0;
1788
- g.bl = 1;
1789
- e.bx = BrushUtil.l(0, 0, 0, 0);
1790
- i.bx = BrushUtil.l(0, 0, 0, 0);
1791
- g.bx = BrushUtil.l(0, 0, 0, 0);
1792
- g.bi = new Thickness(1, 0, 5, 5, 0);
1793
- f.bi = new Thickness(1, 0, 5, 5, 0);
1794
- l.b0 = "Ok";
1795
- l.c = _this.f;
1796
- m.b0 = "Cancel";
1797
- m.c = _this.f;
1798
- i.bi = new Thickness(1, 5, 0, 5, 2);
1799
- h.bi = new Thickness(1, 5, 0, 5, 2);
1800
- e.bi = new Thickness(1, 5, 5, 5, 0);
1801
- d.bi = new Thickness(1, 5, 5, 5, 0);
1802
- p.bi = new Thickness(1, 5, 16, 0, 11);
1803
- p.a9 = BrushUtil.l(255, 255, 0, 0);
1804
- c.cf(p, 0);
1805
- c.cd(p, 0);
1806
- c.bo(p);
1807
- n.b5(0, 2, 1);
1808
- n.b5(1, 2, 1);
1809
- n.bi = new Thickness(1, 5, 2, 5, 2);
1810
- n.cd(j, 0);
1811
- j.bi = new Thickness(1, 0, 0, 2, 0);
1812
- j.bv = 1;
1813
- j.bq = _this.h;
1814
- j.c = _this.f;
1815
- j.b6 = "rgba";
1816
- o.bi = new Thickness(1, 0, 0, 2, 0);
1817
- o.bv = 1;
1818
- o.bq = _this.h;
1819
- o.c = _this.f;
1820
- o.b6 = "hex";
1821
- n.cd(o, 1);
1822
- n.bo(j);
1823
- n.bo(o);
1824
- l.bi = new Thickness(1, 5, 2, 5, 2);
1825
- m.bi = new Thickness(1, 5, 2, 5, 2);
1826
- l.bq = _this.h;
1827
- m.bq = _this.h;
1828
- l.bn = runOn(_this, _this.a6);
1829
- m.bn = runOn(_this, _this.bh);
1830
- b.b7(0, 1, 175);
1831
- b.b7(1, 0, 0);
1832
- b.b7(2, 0, 0);
1833
- b.b7(3, 0, 0);
1834
- b.b5(0, 1, 90);
1835
- b.b5(1, 1, 175);
1836
- b.b5(2, 1, 25);
1837
- b.cf(c, 0);
1838
- b.cd(c, 0);
1839
- b.cf(d, 0);
1840
- b.cd(d, 1);
1841
- b.cf(e, 0);
1842
- b.cd(e, 1);
1843
- b.cf(f, 0);
1844
- b.cd(f, 3);
1845
- b.cf(g, 0);
1846
- b.cd(g, 3);
1847
- b.cf(h, 1);
1848
- b.cd(h, 0);
1849
- b.ce(h, 3);
1850
- b.cf(i, 1);
1851
- b.cd(i, 0);
1852
- b.ce(i, 3);
1853
- b.cf(n, 2);
1854
- b.cd(n, 0);
1855
- b.ce(n, 3);
1856
- b.cf(k, 3);
1857
- b.cd(k, 0);
1858
- b.ce(k, 3);
1859
- k.b5(0, 2, 1);
1860
- k.b5(1, 2, 1);
1861
- k.cd(l, 0);
1862
- k.cd(m, 1);
1863
- k.bo(l);
1864
- k.bo(m);
1865
- b.bo(c);
1866
- b.bo(d);
1867
- b.bo(e);
1868
- b.bo(f);
1869
- b.bo(g);
1870
- b.bo(h);
1871
- b.bo(i);
1872
- b.bo(n);
1873
- b.bo(k);
1874
- _this.d.a8(b);
1875
- _this.n = b;
1876
- _this.n.by = true;
1877
- _this.s = i;
1878
- _this.u = g;
1879
- _this.m = f;
1880
- _this.t = e;
1881
- _this.o = p;
1882
- _this.r = j;
1883
- _this.q = o;
1884
- _this.s.br = 0;
1885
- _this.s.bq = 360;
1886
- _this.s.bz = BrushUtil.l(255, 255, 255, 255);
1887
- _this.s.b0 = BrushUtil.l(255, 255, 255, 255);
1888
- _this.u.br = 0;
1889
- _this.u.bq = 1;
1890
- _this.t.bz = BrushUtil.l(255, 155, 155, 155);
1891
- _this.t.b0 = BrushUtil.l(255, 255, 255, 255);
1892
- _this.t.br = 0;
1893
- _this.t.bq = 1;
1894
- _this.t.bv = 0;
1895
- _this.t.bu = 1;
1896
- _this.s.bp = runOn(_this, _this.au);
1897
- _this.s.bo = runOn(_this, _this.au);
1898
- _this.u.bp = runOn(_this, _this.aw);
1899
- _this.u.bo = runOn(_this, _this.aw);
1900
- _this.t.bp = runOn(_this, _this.av);
1901
- _this.t.bo = runOn(_this, _this.av);
1902
- _this.l = d;
1903
- _this.k = h;
1904
- _this.p = c;
1905
- _this.ba();
1906
- });
1907
- };
1908
- ColorEditorPanel.prototype.bh = function (a, b) {
1909
- this.value = this.bs;
1910
- this.a8();
1911
- };
1912
- ColorEditorPanel.prototype.a6 = function (a, b) {
1913
- var _this = this;
1914
- this.bs = this.value;
1915
- if (this.valueChanged != null) {
1916
- this.valueChanged(this, ((function () {
1917
- var $ret = new ColorEditorPanelSelectedValueChangedEventArgs();
1918
- $ret.oldValue = _this.bs;
1919
- $ret.newValue = _this.value;
1920
- return $ret;
1921
- })()));
1922
- }
1923
- this.a8();
1924
- };
1925
- ColorEditorPanel.prototype.av = function (a, b) {
1926
- this.bn();
1927
- };
1928
- ColorEditorPanel.prototype.aw = function (a, b) {
1929
- this.bn();
1930
- };
1931
- ColorEditorPanel.prototype.bn = function () {
1932
- if (this.y) {
1933
- return;
1934
- }
1935
- var a = Color.u(0, 0, 0, 0);
1936
- var b = Color.u(255, 255, 0, 0);
1937
- if (this.s != null) {
1938
- var c = this.s.bt;
1939
- var d = this.t.bt;
1940
- var e = 1 - this.t.bw;
1941
- var f = 1 - this.u.bt;
1942
- b = ColorUtil.r(1, c, 1, 0.5);
1943
- a = ColorUtil.r(f, c, d, e);
1944
- this.s.by = BrushUtil.l(b.l, b.o, b.n, b.m);
1945
- this.t.by = BrushUtil.l(a.l, a.o, a.n, a.m);
1946
- this.o.a9 = BrushUtil.l(a.l, a.o, a.n, a.m);
1947
- this.d.bm(this.s.bt);
1948
- this.d.bn(0);
1949
- this.d.bo(this.s.bt, this.t.bt, 1 - this.t.bw);
1950
- }
1951
- if (this.r != null) {
1952
- var g = a.o + ", " + a.n + ", " + a.m + ", " + Math.round((a.l / 255) * 1000) / 1000;
1953
- this.r.b8 = g;
1954
- }
1955
- if (this.q != null) {
1956
- var h = ColorUtil.k(a, false);
1957
- this.q.b8 = h;
1958
- }
1959
- this.bx = BrushUtil.l(a.l, a.o, a.n, a.m);
1960
- this.bc(this.value);
1961
- };
1962
- ColorEditorPanel.prototype.au = function (a, b) {
1963
- this.bn();
1964
- };
1965
- ColorEditorPanel.prototype.bk = function () {
1966
- };
1967
- ColorEditorPanel.prototype.bl = function () {
1968
- };
1969
- ColorEditorPanel.prototype.a3 = function () {
1970
- this.n.a0();
1971
- };
1972
- ColorEditorPanel.prototype.onAttachedToUI = function () {
1973
- this.d.bg();
1974
- };
1975
- ColorEditorPanel.prototype.onDetachedFromUI = function () {
1976
- this.d.bi();
1977
- };
1978
- ColorEditorPanel.prototype.bj = function () {
1979
- };
1980
- ColorEditorPanel.prototype.bi = function () {
1981
- };
1982
- ColorEditorPanel.prototype.ax = function () {
1983
- this.value = BrushUtil.l(0, 0, 0, 0);
1984
- };
1985
- Object.defineProperty(ColorEditorPanel.prototype, "b5", {
1986
- get: function () {
1987
- var a = ColorUtil.p(this.value);
1988
- if (a.c) {
1989
- return a.d;
1990
- }
1991
- return Color.u(255, 0, 0, 255);
1992
- },
1993
- enumerable: false,
1994
- configurable: true
1995
- });
1996
- ColorEditorPanel.prototype.bf = function () {
1997
- var a = this.b5;
1998
- var b = ColorUtil.a(a);
1999
- this.y = true;
2000
- this.s.bt = b[1] == -1 ? 0 : b[1];
2001
- this.u.bt = 1 - b[0];
2002
- this.t.bt = b[2];
2003
- this.t.bw = 1 - b[3];
2004
- this.y = false;
2005
- if (this.x) {
2006
- this.bn();
2007
- }
2008
- };
2009
- ColorEditorPanel.prototype.bm = function () {
2010
- };
2011
- ColorEditorPanel.prototype.bg = function () {
2012
- };
2013
- ColorEditorPanel.prototype.ba = function () {
2014
- this.x = true;
2015
- this.d.ba(this.l);
2016
- this.d.a9(this.k);
2017
- this.d.bb(this.p);
2018
- this.d.bc(this.m);
2019
- this.bf();
2020
- this.bn();
2021
- };
2022
- ColorEditorPanel.prototype.a0 = function (a, b, c) {
2023
- var d = this.s.bt;
2024
- var e = 1;
2025
- var f = 255;
2026
- for (var g = 0; g < c; g++) {
2027
- var h = g / c;
2028
- for (var i = 0; i < b; i++) {
2029
- var j = i / b;
2030
- var k = j;
2031
- var l = 1 - h;
2032
- var m = void 0;
2033
- var n = void 0;
2034
- var o = void 0;
2035
- if (k == 0) {
2036
- m = l;
2037
- n = l;
2038
- o = l;
2039
- }
2040
- else {
2041
- var p = l < 0.5 ? l * (1 + k) : l + k - (l * k);
2042
- var q = 2 * l - p;
2043
- var r = d / 360;
2044
- var s = r + 1 / 3;
2045
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2046
- if (s < 1 / 6) {
2047
- m = q + ((p - q) * 6 * s);
2048
- }
2049
- else if (s < 1 / 2) {
2050
- m = p;
2051
- }
2052
- else if (s < 2 / 3) {
2053
- m = q + ((p - q) * 6 * (2 / 3 - s));
2054
- }
2055
- else {
2056
- m = q;
2057
- }
2058
- s = r;
2059
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2060
- if (s < 1 / 6) {
2061
- n = q + ((p - q) * 6 * s);
2062
- }
2063
- else if (s < 1 / 2) {
2064
- n = p;
2065
- }
2066
- else if (s < 2 / 3) {
2067
- n = q + ((p - q) * 6 * (2 / 3 - s));
2068
- }
2069
- else {
2070
- n = q;
2071
- }
2072
- s = r - 1 / 3;
2073
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2074
- if (s < 1 / 6) {
2075
- o = q + ((p - q) * 6 * s);
2076
- }
2077
- else if (s < 1 / 2) {
2078
- o = p;
2079
- }
2080
- else if (s < 2 / 3) {
2081
- o = q + ((p - q) * 6 * (2 / 3 - s));
2082
- }
2083
- else {
2084
- o = q;
2085
- }
2086
- }
2087
- m = m * 255;
2088
- n = n * 255;
2089
- o = o * 255;
2090
- var t = truncate((m * e));
2091
- var u = truncate((n * e));
2092
- var v = truncate((o * e));
2093
- var w = ((g * b) + i) * 4;
2094
- a[w + 0] = t;
2095
- a[w + 1] = u;
2096
- a[w + 2] = v;
2097
- a[w + 3] = f;
2098
- }
2099
- }
2100
- };
2101
- ColorEditorPanel.prototype.az = function (a, b, c) {
2102
- var d = 1;
2103
- var e = 255;
2104
- for (var f = 0; f < c; f++) {
2105
- var g = f / c;
2106
- for (var h = 0; h < b; h++) {
2107
- var i = h / b;
2108
- var j = 1;
2109
- var k = 0.5;
2110
- var l = 360 * i;
2111
- var m = void 0;
2112
- var n = void 0;
2113
- var o = void 0;
2114
- if (j == 0) {
2115
- m = k;
2116
- n = k;
2117
- o = k;
2118
- }
2119
- else {
2120
- var p = k < 0.5 ? k * (1 + j) : k + j - (k * j);
2121
- var q = 2 * k - p;
2122
- var r = l / 360;
2123
- var s = r + 1 / 3;
2124
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2125
- if (s < 1 / 6) {
2126
- m = q + ((p - q) * 6 * s);
2127
- }
2128
- else if (s < 1 / 2) {
2129
- m = p;
2130
- }
2131
- else if (s < 2 / 3) {
2132
- m = q + ((p - q) * 6 * (2 / 3 - s));
2133
- }
2134
- else {
2135
- m = q;
2136
- }
2137
- s = r;
2138
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2139
- if (s < 1 / 6) {
2140
- n = q + ((p - q) * 6 * s);
2141
- }
2142
- else if (s < 1 / 2) {
2143
- n = p;
2144
- }
2145
- else if (s < 2 / 3) {
2146
- n = q + ((p - q) * 6 * (2 / 3 - s));
2147
- }
2148
- else {
2149
- n = q;
2150
- }
2151
- s = r - 1 / 3;
2152
- s = s < 0 ? s + 1 : s > 1 ? s - 1 : s;
2153
- if (s < 1 / 6) {
2154
- o = q + ((p - q) * 6 * s);
2155
- }
2156
- else if (s < 1 / 2) {
2157
- o = p;
2158
- }
2159
- else if (s < 2 / 3) {
2160
- o = q + ((p - q) * 6 * (2 / 3 - s));
2161
- }
2162
- else {
2163
- o = q;
2164
- }
2165
- }
2166
- m = m * 255;
2167
- n = n * 255;
2168
- o = o * 255;
2169
- var t = truncate((m * d));
2170
- var u = truncate((n * d));
2171
- var v = truncate((o * d));
2172
- var w = ((f * b) + h) * 4;
2173
- a[w + 0] = t;
2174
- a[w + 1] = u;
2175
- a[w + 2] = v;
2176
- a[w + 3] = e;
2177
- }
2178
- }
2179
- };
2180
- ColorEditorPanel.prototype.ad = function () {
2181
- if (this.s != null) {
2182
- return this.s.bt;
2183
- }
2184
- return 0;
2185
- };
2186
- ColorEditorPanel.prototype.a1 = function (a, b, c) {
2187
- var d = this.s.bt;
2188
- var e = 1;
2189
- var f = 255;
2190
- for (var g = 0; g < c; g++) {
2191
- var h = g / c;
2192
- for (var i = 0; i < b; i++) {
2193
- var j = i / b;
2194
- var k = ((intDivide(i, 10)) + (intDivide(g, 10))) % 2 == 0;
2195
- var l = 100;
2196
- var m = 100;
2197
- var n = 100;
2198
- if (!k) {
2199
- l = 255;
2200
- m = 255;
2201
- n = 255;
2202
- }
2203
- var o = truncate((l));
2204
- var p = truncate((m));
2205
- var q = truncate((n));
2206
- if (o > 255) {
2207
- o = 255;
2208
- }
2209
- if (p > 255) {
2210
- p = 255;
2211
- }
2212
- if (q > 255) {
2213
- q = 255;
2214
- }
2215
- var r = ((g * b) + i) * 4;
2216
- a[r + 0] = o;
2217
- a[r + 1] = p;
2218
- a[r + 2] = q;
2219
- a[r + 3] = f;
2220
- }
2221
- }
2222
- };
2223
- ColorEditorPanel.prototype.a2 = function (a, b, c) {
2224
- var d = this.s.bt;
2225
- var e = 1;
2226
- var f = 255;
2227
- var g = 1 - this.t.bw;
2228
- var h = this.t.bt;
2229
- for (var i = 0; i < c; i++) {
2230
- var j = i / c;
2231
- for (var k = 0; k < b; k++) {
2232
- var l = k / b;
2233
- var m = h;
2234
- var n = g;
2235
- var o = void 0;
2236
- var p = void 0;
2237
- var q = void 0;
2238
- if (m == 0) {
2239
- o = n;
2240
- p = n;
2241
- q = n;
2242
- }
2243
- else {
2244
- var r = n < 0.5 ? n * (1 + m) : n + m - (n * m);
2245
- var s = 2 * n - r;
2246
- var t = d / 360;
2247
- var u = t + 1 / 3;
2248
- u = u < 0 ? u + 1 : u > 1 ? u - 1 : u;
2249
- if (u < 1 / 6) {
2250
- o = s + ((r - s) * 6 * u);
2251
- }
2252
- else if (u < 1 / 2) {
2253
- o = r;
2254
- }
2255
- else if (u < 2 / 3) {
2256
- o = s + ((r - s) * 6 * (2 / 3 - u));
2257
- }
2258
- else {
2259
- o = s;
2260
- }
2261
- u = t;
2262
- u = u < 0 ? u + 1 : u > 1 ? u - 1 : u;
2263
- if (u < 1 / 6) {
2264
- p = s + ((r - s) * 6 * u);
2265
- }
2266
- else if (u < 1 / 2) {
2267
- p = r;
2268
- }
2269
- else if (u < 2 / 3) {
2270
- p = s + ((r - s) * 6 * (2 / 3 - u));
2271
- }
2272
- else {
2273
- p = s;
2274
- }
2275
- u = t - 1 / 3;
2276
- u = u < 0 ? u + 1 : u > 1 ? u - 1 : u;
2277
- if (u < 1 / 6) {
2278
- q = s + ((r - s) * 6 * u);
2279
- }
2280
- else if (u < 1 / 2) {
2281
- q = r;
2282
- }
2283
- else if (u < 2 / 3) {
2284
- q = s + ((r - s) * 6 * (2 / 3 - u));
2285
- }
2286
- else {
2287
- q = s;
2288
- }
2289
- }
2290
- o = o * 255;
2291
- p = p * 255;
2292
- q = q * 255;
2293
- var v = e * (1 - j);
2294
- var w = ((intDivide(k, 10)) + (intDivide(i, 10))) % 2 == 0;
2295
- var x = 100;
2296
- var y = 100;
2297
- var z = 100;
2298
- if (!w) {
2299
- x = 255;
2300
- y = 255;
2301
- z = 255;
2302
- }
2303
- var aa = truncate((o * v + x * (1 - v)));
2304
- var ab = truncate((p * v + x * (1 - v)));
2305
- var ac = truncate((q * v + x * (1 - v)));
2306
- if (aa > 255) {
2307
- aa = 255;
2308
- }
2309
- if (ab > 255) {
2310
- ab = 255;
2311
- }
2312
- if (ac > 255) {
2313
- ac = 255;
2314
- }
2315
- var ad = ((i * b) + k) * 4;
2316
- a[ad + 0] = aa;
2317
- a[ad + 1] = ab;
2318
- a[ad + 2] = ac;
2319
- a[ad + 3] = f;
2320
- }
2321
- }
2322
- };
2323
- ColorEditorPanel.$t = markType(ColorEditorPanel, 'ColorEditorPanel', Base.$, [INotifyPropertyChanged_$type]);
2324
- ColorEditorPanel.ag = "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z";
2325
- ColorEditorPanel.ah = "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z";
2326
- return ColorEditorPanel;
2327
- }(Base));