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

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