igniteui-angular-inputs 18.1.0 → 18.2.0-beta.0

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 (224) hide show
  1. package/bundles/igniteui-angular-inputs.umd.js +16858 -7564
  2. package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +19 -19
  4. package/esm2015/lib/ButtonView_combined.js +820 -790
  5. package/esm2015/lib/CalendarView_combined.js +83 -83
  6. package/esm2015/lib/ColorEditor.js +7 -0
  7. package/esm2015/lib/ColorEditorBridge.js +7 -0
  8. package/esm2015/lib/ColorEditorGotFocusEventArgs.js +16 -0
  9. package/esm2015/lib/ColorEditorLostFocusEventArgs.js +16 -0
  10. package/esm2015/lib/ColorEditorPanel.js +7 -0
  11. package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +16 -0
  12. package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +33 -0
  13. package/esm2015/lib/ColorEditorPanelView.js +7 -0
  14. package/esm2015/lib/ColorEditorView.js +7 -0
  15. package/esm2015/lib/DatePickerView_combined.js +18 -18
  16. package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +113 -0
  17. package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +208 -0
  18. package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +170 -0
  19. package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +193 -0
  20. package/esm2015/lib/DefaultMultiTrackShadeVisual.js +172 -0
  21. package/esm2015/lib/IMultiSliderTrackBarVisual.js +11 -0
  22. package/esm2015/lib/IMultiSliderTrackRangeVisual.js +11 -0
  23. package/esm2015/lib/IMultiSliderTrackShadeVisual.js +11 -0
  24. package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
  25. package/esm2015/lib/IMultiSliderTrackThumbVisual.js +11 -0
  26. package/esm2015/lib/ISliderTrackOwner.js +11 -0
  27. package/esm2015/lib/IconClickedEventArgs.js +10 -0
  28. package/esm2015/lib/IconView_combined.js +345 -314
  29. package/esm2015/lib/InputGroupView_combined.js +456 -355
  30. package/esm2015/lib/MultiSlider.js +7 -0
  31. package/esm2015/lib/MultiSliderBridge.js +165 -0
  32. package/esm2015/lib/MultiSliderCursor.js +11 -0
  33. package/esm2015/lib/MultiSliderHitInfo.js +22 -0
  34. package/esm2015/lib/MultiSliderOrientation.js +17 -0
  35. package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +33 -0
  36. package/esm2015/lib/MultiSliderThumb.js +7 -0
  37. package/esm2015/lib/MultiSliderThumbCollection.js +21 -0
  38. package/esm2015/lib/MultiSliderThumbRangePosition.js +16 -0
  39. package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +21 -0
  40. package/esm2015/lib/MultiSliderThumb_combined.js +297 -0
  41. package/esm2015/lib/MultiSliderTrackShadeOrientation.js +11 -0
  42. package/esm2015/lib/MultiSliderTrackThumbRange.js +7 -0
  43. package/esm2015/lib/MultiSliderView.js +7 -0
  44. package/esm2015/lib/MultiSliderView_combined.js +1785 -0
  45. package/esm2015/lib/MultiSliderVisualArea.js +11 -0
  46. package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +20 -0
  47. package/esm2015/lib/NativeUIXInputsFactory.js +1 -179
  48. package/esm2015/lib/NativeUIXInputsFactory_combined.js +2113 -0
  49. package/esm2015/lib/XButtonBridge.js +25 -20
  50. package/esm2015/lib/XButtonGroupBridge.js +177 -0
  51. package/esm2015/lib/XComponentBridge.js +3 -0
  52. package/esm2015/lib/XIconBridge.js +20 -16
  53. package/esm2015/lib/XInputBridge.js +274 -26
  54. package/esm2015/lib/XPopupBridge.js +117 -98
  55. package/esm2015/lib/igx-color-editor-component.js +470 -0
  56. package/esm2015/lib/igx-color-editor-dynamic-module.js +45 -0
  57. package/esm2015/lib/igx-color-editor-got-focus-event-args.js +27 -0
  58. package/esm2015/lib/igx-color-editor-lost-focus-event-args.js +27 -0
  59. package/esm2015/lib/igx-color-editor-module.js +39 -0
  60. package/esm2015/lib/igx-color-editor-panel-closed-event-args.js +27 -0
  61. package/esm2015/lib/igx-color-editor-panel-component.js +376 -0
  62. package/esm2015/lib/igx-color-editor-panel-dynamic-module.js +66 -0
  63. package/esm2015/lib/igx-color-editor-panel-module.js +60 -0
  64. package/esm2015/lib/igx-color-editor-panel-selected-value-changed-event-args.js +40 -0
  65. package/esm2015/lib/igx-multi-slider-component.js +642 -0
  66. package/esm2015/lib/igx-multi-slider-dynamic-module.js +38 -0
  67. package/esm2015/lib/igx-multi-slider-module.js +36 -0
  68. package/esm2015/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +39 -0
  69. package/esm2015/lib/igx-multi-slider-thumb-collection.js +53 -0
  70. package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +56 -0
  71. package/esm2015/lib/igx-multi-slider-thumb.js +111 -0
  72. package/esm2015/lib/igx-multi-slider-track-thumb-range.js +119 -0
  73. package/esm2015/lib/igx-multi-slider-y-value-changing-event-args.js +33 -0
  74. package/esm2015/lib/igx-x-button-component.js +262 -262
  75. package/esm2015/lib/igx-x-icon-component.js +66 -55
  76. package/esm2015/lib/igx-x-input-group-component.js +48 -48
  77. package/esm2015/lib/igx-x-label-component.js +41 -40
  78. package/esm2015/public_api.js +55 -0
  79. package/esm5/lib/ButtonGroupView_combined.js +19 -19
  80. package/esm5/lib/ButtonView_combined.js +765 -735
  81. package/esm5/lib/CalendarView_combined.js +83 -83
  82. package/esm5/lib/ColorEditor.js +7 -0
  83. package/esm5/lib/ColorEditorBridge.js +7 -0
  84. package/esm5/lib/ColorEditorGotFocusEventArgs.js +20 -0
  85. package/esm5/lib/ColorEditorLostFocusEventArgs.js +20 -0
  86. package/esm5/lib/ColorEditorPanel.js +7 -0
  87. package/esm5/lib/ColorEditorPanelClosedEventArgs.js +20 -0
  88. package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +43 -0
  89. package/esm5/lib/ColorEditorPanelView.js +7 -0
  90. package/esm5/lib/ColorEditorView.js +7 -0
  91. package/esm5/lib/DatePickerView_combined.js +18 -18
  92. package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +139 -0
  93. package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +242 -0
  94. package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +212 -0
  95. package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +227 -0
  96. package/esm5/lib/DefaultMultiTrackShadeVisual.js +206 -0
  97. package/esm5/lib/IMultiSliderTrackBarVisual.js +11 -0
  98. package/esm5/lib/IMultiSliderTrackRangeVisual.js +11 -0
  99. package/esm5/lib/IMultiSliderTrackShadeVisual.js +11 -0
  100. package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
  101. package/esm5/lib/IMultiSliderTrackThumbVisual.js +11 -0
  102. package/esm5/lib/ISliderTrackOwner.js +11 -0
  103. package/esm5/lib/IconClickedEventArgs.js +13 -1
  104. package/esm5/lib/IconView_combined.js +336 -301
  105. package/esm5/lib/InputGroupView_combined.js +444 -343
  106. package/esm5/lib/MultiSlider.js +7 -0
  107. package/esm5/lib/MultiSliderBridge.js +167 -0
  108. package/esm5/lib/MultiSliderCursor.js +11 -0
  109. package/esm5/lib/MultiSliderHitInfo.js +24 -0
  110. package/esm5/lib/MultiSliderOrientation.js +17 -0
  111. package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +43 -0
  112. package/esm5/lib/MultiSliderThumb.js +7 -0
  113. package/esm5/lib/MultiSliderThumbCollection.js +22 -0
  114. package/esm5/lib/MultiSliderThumbRangePosition.js +16 -0
  115. package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +23 -0
  116. package/esm5/lib/MultiSliderThumb_combined.js +352 -0
  117. package/esm5/lib/MultiSliderTrackShadeOrientation.js +11 -0
  118. package/esm5/lib/MultiSliderTrackThumbRange.js +7 -0
  119. package/esm5/lib/MultiSliderView.js +7 -0
  120. package/esm5/lib/MultiSliderView_combined.js +2006 -0
  121. package/esm5/lib/MultiSliderVisualArea.js +11 -0
  122. package/esm5/lib/MultiSliderYValueChangingEventArgs.js +22 -0
  123. package/esm5/lib/NativeUIXInputsFactory.js +1 -189
  124. package/esm5/lib/NativeUIXInputsFactory_combined.js +2298 -0
  125. package/esm5/lib/XButtonBridge.js +25 -20
  126. package/esm5/lib/XButtonGroupBridge.js +179 -0
  127. package/esm5/lib/XComponentBridge.js +3 -0
  128. package/esm5/lib/XIconBridge.js +20 -16
  129. package/esm5/lib/XInputBridge.js +274 -26
  130. package/esm5/lib/XPopupBridge.js +117 -98
  131. package/esm5/lib/igx-color-editor-component.js +555 -0
  132. package/esm5/lib/igx-color-editor-dynamic-module.js +44 -0
  133. package/esm5/lib/igx-color-editor-got-focus-event-args.js +33 -0
  134. package/esm5/lib/igx-color-editor-lost-focus-event-args.js +33 -0
  135. package/esm5/lib/igx-color-editor-module.js +38 -0
  136. package/esm5/lib/igx-color-editor-panel-closed-event-args.js +33 -0
  137. package/esm5/lib/igx-color-editor-panel-component.js +435 -0
  138. package/esm5/lib/igx-color-editor-panel-dynamic-module.js +65 -0
  139. package/esm5/lib/igx-color-editor-panel-module.js +59 -0
  140. package/esm5/lib/igx-color-editor-panel-selected-value-changed-event-args.js +54 -0
  141. package/esm5/lib/igx-multi-slider-component.js +842 -0
  142. package/esm5/lib/igx-multi-slider-dynamic-module.js +37 -0
  143. package/esm5/lib/igx-multi-slider-module.js +35 -0
  144. package/esm5/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +53 -0
  145. package/esm5/lib/igx-multi-slider-thumb-collection.js +58 -0
  146. package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +70 -0
  147. package/esm5/lib/igx-multi-slider-thumb.js +134 -0
  148. package/esm5/lib/igx-multi-slider-track-thumb-range.js +149 -0
  149. package/esm5/lib/igx-multi-slider-y-value-changing-event-args.js +43 -0
  150. package/esm5/lib/igx-x-button-component.js +262 -262
  151. package/esm5/lib/igx-x-icon-component.js +70 -55
  152. package/esm5/lib/igx-x-input-group-component.js +48 -48
  153. package/esm5/lib/igx-x-label-component.js +41 -40
  154. package/esm5/public_api.js +55 -0
  155. package/fesm2015/igniteui-angular-inputs.js +15649 -7489
  156. package/fesm5/igniteui-angular-inputs.js +16803 -7566
  157. package/lib/ButtonView_combined.d.ts +243 -241
  158. package/lib/ColorEditor.d.ts +1 -0
  159. package/lib/ColorEditorBridge.d.ts +1 -0
  160. package/lib/ColorEditorGotFocusEventArgs.d.ts +7 -0
  161. package/lib/ColorEditorLostFocusEventArgs.d.ts +7 -0
  162. package/lib/ColorEditorPanel.d.ts +1 -0
  163. package/lib/ColorEditorPanelClosedEventArgs.d.ts +7 -0
  164. package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +14 -0
  165. package/lib/ColorEditorPanelView.d.ts +1 -0
  166. package/lib/ColorEditorView.d.ts +1 -0
  167. package/lib/DefaultMultiSliderTrackBarVisual.d.ts +34 -0
  168. package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +43 -0
  169. package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +49 -0
  170. package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +45 -0
  171. package/lib/DefaultMultiTrackShadeVisual.d.ts +42 -0
  172. package/lib/IMultiSliderTrackBarVisual.d.ts +21 -0
  173. package/lib/IMultiSliderTrackRangeVisual.d.ts +25 -0
  174. package/lib/IMultiSliderTrackShadeVisual.d.ts +24 -0
  175. package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +27 -0
  176. package/lib/IMultiSliderTrackThumbVisual.d.ts +27 -0
  177. package/lib/ISliderTrackOwner.d.ts +15 -0
  178. package/lib/IconClickedEventArgs.d.ts +3 -0
  179. package/lib/IconView_combined.d.ts +88 -84
  180. package/lib/InputGroupView_combined.d.ts +120 -113
  181. package/lib/MultiSlider.d.ts +1 -0
  182. package/lib/MultiSliderBridge.d.ts +24 -0
  183. package/lib/MultiSliderCursor.d.ts +15 -0
  184. package/lib/MultiSliderHitInfo.d.ts +13 -0
  185. package/lib/MultiSliderOrientation.d.ts +10 -0
  186. package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +13 -0
  187. package/lib/MultiSliderThumb.d.ts +1 -0
  188. package/lib/MultiSliderThumbCollection.d.ts +10 -0
  189. package/lib/MultiSliderThumbRangePosition.d.ts +9 -0
  190. package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +10 -0
  191. package/lib/MultiSliderThumb_combined.d.ts +76 -0
  192. package/lib/MultiSliderTrackShadeOrientation.d.ts +14 -0
  193. package/lib/MultiSliderTrackThumbRange.d.ts +1 -0
  194. package/lib/MultiSliderView.d.ts +1 -0
  195. package/lib/MultiSliderView_combined.d.ts +298 -0
  196. package/lib/MultiSliderVisualArea.d.ts +14 -0
  197. package/lib/MultiSliderYValueChangingEventArgs.d.ts +8 -0
  198. package/lib/NativeUIXInputsFactory.d.ts +1 -24
  199. package/lib/NativeUIXInputsFactory_combined.d.ts +393 -0
  200. package/lib/XButtonGroupBridge.d.ts +29 -0
  201. package/lib/XInputBridge.d.ts +29 -5
  202. package/lib/XPopupBridge.d.ts +12 -9
  203. package/lib/igx-color-editor-component.d.ts +161 -0
  204. package/lib/igx-color-editor-dynamic-module.d.ts +10 -0
  205. package/lib/igx-color-editor-got-focus-event-args.d.ts +12 -0
  206. package/lib/igx-color-editor-lost-focus-event-args.d.ts +12 -0
  207. package/lib/igx-color-editor-module.d.ts +10 -0
  208. package/lib/igx-color-editor-panel-closed-event-args.d.ts +12 -0
  209. package/lib/igx-color-editor-panel-component.d.ts +125 -0
  210. package/lib/igx-color-editor-panel-dynamic-module.d.ts +13 -0
  211. package/lib/igx-color-editor-panel-module.d.ts +13 -0
  212. package/lib/igx-color-editor-panel-selected-value-changed-event-args.d.ts +16 -0
  213. package/lib/igx-multi-slider-component.d.ts +200 -0
  214. package/lib/igx-multi-slider-dynamic-module.d.ts +9 -0
  215. package/lib/igx-multi-slider-module.d.ts +9 -0
  216. package/lib/igx-multi-slider-resolving-tool-tip-value-event-args.d.ts +17 -0
  217. package/lib/igx-multi-slider-thumb-collection.d.ts +8 -0
  218. package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +18 -0
  219. package/lib/igx-multi-slider-thumb.d.ts +33 -0
  220. package/lib/igx-multi-slider-track-thumb-range.d.ts +32 -0
  221. package/lib/igx-multi-slider-y-value-changing-event-args.d.ts +15 -0
  222. package/lib/igx-x-icon-component.d.ts +6 -1
  223. package/package.json +2 -2
  224. package/public_api.d.ts +55 -0
@@ -0,0 +1,1785 @@
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, runOn, delegateCombine, delegateRemove, markType, INotifyPropertyChanged_$type, PropertyChangedEventArgs, enumGetBox, fromEn } from "igniteui-angular-core";
8
+ import { List$1 } from "igniteui-angular-core";
9
+ import { IMultiSliderTrackThumbVisual_$type } from "./IMultiSliderTrackThumbVisual";
10
+ import { IMultiSliderTrackRangeVisual_$type } from "./IMultiSliderTrackRangeVisual";
11
+ import { IMultiSliderTrackThumbCalloutVisual_$type } from "./IMultiSliderTrackThumbCalloutVisual";
12
+ import { RenderingContext } from "igniteui-angular-core";
13
+ import { DefaultMultiSliderTrackBarVisual } from "./DefaultMultiSliderTrackBarVisual";
14
+ import { FontInfo } from "igniteui-angular-core";
15
+ import { Rect } from "igniteui-angular-core";
16
+ import { TranslateTransform } from "igniteui-angular-core";
17
+ import { CanvasViewRenderer } from "igniteui-angular-core";
18
+ import { CanvasGestureDOMEventProxy } from "igniteui-angular-core";
19
+ import { FontUtil } from "igniteui-angular-core";
20
+ import { Size } from "igniteui-angular-core";
21
+ import { DefaultMultiSliderTrackThumbVisual } from "./DefaultMultiSliderTrackThumbVisual";
22
+ import { MultiSliderTrackThumbRange } from "./MultiSliderTrackThumbRange";
23
+ import { NotImplementedException } from "igniteui-angular-core";
24
+ import { DefaultMultiSliderTrackThumbCalloutVisual } from "./DefaultMultiSliderTrackThumbCalloutVisual";
25
+ import { truncate, isNaN_ } from "igniteui-angular-core";
26
+ import { ISliderTrackOwner_$type } from "./ISliderTrackOwner";
27
+ import { MultiSliderThumbCollection } from "./MultiSliderThumbCollection";
28
+ import { MultiSliderHitInfo } from "./MultiSliderHitInfo";
29
+ import { MultiSliderOrientation_$type } from "./MultiSliderOrientation";
30
+ import { MultiSliderResolvingToolTipValueEventArgs } from "./MultiSliderResolvingToolTipValueEventArgs";
31
+ import { MultiSliderThumbValueChangingEventArgs } from "./MultiSliderThumbValueChangingEventArgs";
32
+ import { MultiSliderYValueChangingEventArgs } from "./MultiSliderYValueChangingEventArgs";
33
+ import { Thickness } from "igniteui-angular-core";
34
+ /**
35
+ * @hidden
36
+ */
37
+ export let MultiSliderView = /*@__PURE__*/ (() => {
38
+ class MultiSliderView extends Base {
39
+ constructor(a) {
40
+ super();
41
+ this.n = false;
42
+ this.r = null;
43
+ this.q = null;
44
+ this.b = null;
45
+ this.p = null;
46
+ this.g = null;
47
+ this.u = null;
48
+ this.v = null;
49
+ this.l = null;
50
+ this.t = 0;
51
+ this.o = false;
52
+ this.x = 0;
53
+ this.w = 0;
54
+ this.j = null;
55
+ this.a = null;
56
+ this.i = null;
57
+ this.y = -1;
58
+ this.s = 10;
59
+ this.h = 0;
60
+ this.z = -1;
61
+ this.m = true;
62
+ this.g = a;
63
+ this.r = new List$1(IMultiSliderTrackThumbVisual_$type, 0);
64
+ this.q = new List$1(IMultiSliderTrackRangeVisual_$type, 0);
65
+ this.b = new DefaultMultiSliderTrackBarVisual();
66
+ this.p = new List$1(IMultiSliderTrackThumbCalloutVisual_$type, 0);
67
+ this.j = this.k();
68
+ this.ap();
69
+ }
70
+ at() {
71
+ this.m = true;
72
+ this.ap();
73
+ if (this.a != null) {
74
+ this.a.at(this.u.rootWrapper, "");
75
+ }
76
+ if (this.z == -1) {
77
+ this.z = this.u.setTimeout(runOn(this, this.an), 200);
78
+ }
79
+ }
80
+ au() {
81
+ this.m = false;
82
+ if (this.a != null && this.u != null) {
83
+ this.a.bh(this.u.rootWrapper, "");
84
+ }
85
+ if (this.z != -1) {
86
+ window.clearTimeout(this.z);
87
+ this.z = -1;
88
+ }
89
+ }
90
+ aq() {
91
+ if (!this.n) {
92
+ if (this.u != null) {
93
+ this.n = true;
94
+ this.u.setTimeout(runOn(this, this.a6), 0);
95
+ }
96
+ }
97
+ }
98
+ ak() {
99
+ this.a6();
100
+ }
101
+ a6() {
102
+ if (!this.n) {
103
+ return;
104
+ }
105
+ this.n = false;
106
+ this.g.d8();
107
+ this.a0();
108
+ }
109
+ a0() {
110
+ if (this.l == null) {
111
+ return;
112
+ }
113
+ let a = this.g.e0.width;
114
+ let b = this.g.e0.height;
115
+ let c = Math.round(a * this.t);
116
+ let d = Math.round(b * this.t);
117
+ if (this.x != c || this.w != d) {
118
+ this.v.setAttribute("width", c.toString());
119
+ this.v.setAttribute("height", d.toString());
120
+ this.v.setStyleProperty("width", a.toString() + "px");
121
+ this.v.setStyleProperty("height", b.toString() + "px");
122
+ this.x = truncate(Math.round(c));
123
+ this.w = truncate(Math.round(d));
124
+ }
125
+ if (this.l.d && this.t != 1) {
126
+ this.l.aa();
127
+ this.l.ab(this.t, this.t);
128
+ }
129
+ this.l.l(this.g.e0.left, this.g.e0.top, this.g.e0.width, this.g.e0.height);
130
+ for (let e = 0; e < this.r.count; e++) {
131
+ this.a4(this.r._inner[e].allPaths, this.r._inner[e].translateX, this.r._inner[e].translateY);
132
+ }
133
+ for (let f = 0; f < this.q.count; f++) {
134
+ this.a4(this.q._inner[f].allPaths, this.q._inner[f].translateX, this.q._inner[f].translateY);
135
+ }
136
+ this.a4(this.b.allPaths, this.b.translateX, this.b.translateY);
137
+ for (let g = 0; g < this.p.count; g++) {
138
+ this.a4(this.p._inner[g].allPaths, this.p._inner[g].translateX, this.p._inner[g].translateY);
139
+ this.a5(this.p._inner[g].calloutText, this.p._inner[g].textTranslateX, this.p._inner[g].textTranslateY);
140
+ }
141
+ this.a1(this.b.allPaths);
142
+ for (let h = 0; h < this.q.count; h++) {
143
+ this.a1(this.q._inner[h].allPaths);
144
+ }
145
+ for (let i = 0; i < this.r.count; i++) {
146
+ this.a1(this.r._inner[i].allPaths);
147
+ }
148
+ if (this.l.d && this.t != 1) {
149
+ this.l.z();
150
+ }
151
+ }
152
+ a2(a) {
153
+ if (a.j != null) {
154
+ this.l.aa();
155
+ }
156
+ this.l.k(a.j);
157
+ this.l.x(a);
158
+ if (a.j != null) {
159
+ this.l.z();
160
+ }
161
+ }
162
+ a1(a) {
163
+ for (let b = 0; b < a.count; b++) {
164
+ let c = a.item(b);
165
+ if (c.j != null) {
166
+ this.l.aa();
167
+ }
168
+ this.l.k(c.j);
169
+ this.l.t(c);
170
+ if (c.j != null) {
171
+ this.l.z();
172
+ }
173
+ }
174
+ }
175
+ a5(a, b, c) {
176
+ if (a.j == null) {
177
+ a.j = new TranslateTransform();
178
+ }
179
+ let d = a.j;
180
+ d.j = b;
181
+ d.k = c;
182
+ }
183
+ a4(a, b, c) {
184
+ for (let d = 0; d < a.count; d++) {
185
+ let e = a.item(d);
186
+ if (e.j == null) {
187
+ e.j = new TranslateTransform();
188
+ }
189
+ let f = e.j;
190
+ f.j = b;
191
+ f.k = c;
192
+ }
193
+ }
194
+ ap() {
195
+ let a = this.g.bh;
196
+ let b = this.g.a9;
197
+ if (!isNaN_(a) && a != 0) {
198
+ return;
199
+ }
200
+ if (window.devicePixelRatio != undefined && window.devicePixelRatio != b) {
201
+ this.g.a9 = window.devicePixelRatio;
202
+ }
203
+ }
204
+ ax(a) {
205
+ if (a == null) {
206
+ let b = this.u;
207
+ this.v = null;
208
+ this.u = null;
209
+ this.l = null;
210
+ this.ab();
211
+ if (this.z != -1) {
212
+ if (b != null) {
213
+ b.clearTimeout(this.z);
214
+ }
215
+ else {
216
+ window.clearTimeout(this.z);
217
+ }
218
+ this.z = -1;
219
+ }
220
+ return;
221
+ }
222
+ this.t = (isNaN_(this.g.bh) ? this.g.a9 : this.g.bh);
223
+ let c = a;
224
+ this.u = c;
225
+ this.u.rootWrapper.setStyleProperty("min-height", (this.g.bm + 5) + "px");
226
+ this.u.rootWrapper.setStyleProperty("min-width", (this.g.bo + 5) + "px");
227
+ this.u.rootWrapper.addClass("ui-MultiSlider-container");
228
+ let d = this.t;
229
+ let e = Math.round(c.rootWrapper.width());
230
+ let f = Math.round(c.rootWrapper.height());
231
+ let g = e * d;
232
+ let h = f * d;
233
+ this.u.rootWrapper.setStyleProperty("position", "relative");
234
+ let i = this.u.createElement("canvas");
235
+ i.setStyleProperty("position", "absolute");
236
+ this.u.append(i);
237
+ this.x = truncate(Math.round(g));
238
+ this.w = truncate(Math.round(h));
239
+ i.setAttribute("width", g.toString());
240
+ i.setAttribute("height", h.toString());
241
+ i.setStyleProperty("width", e.toString() + "px");
242
+ i.setStyleProperty("height", f.toString() + "px");
243
+ this.v = i;
244
+ let j = this.u.get2DCanvasContext(this.v);
245
+ this.l = new RenderingContext(new CanvasViewRenderer(), j);
246
+ this.l.ad(this.j);
247
+ this.ab();
248
+ this.a = new CanvasGestureDOMEventProxy(this.u.rootWrapper, this.u, false);
249
+ this.a.bl = this.g.e0;
250
+ let k = this.a;
251
+ k.onContactStarted = delegateCombine(k.onContactStarted, runOn(this, this.aj));
252
+ let l = this.a;
253
+ l.onContactMoved = delegateCombine(l.onContactMoved, runOn(this, this.ai));
254
+ let m = this.a;
255
+ m.onContactCompleted = delegateCombine(m.onContactCompleted, runOn(this, this.ah));
256
+ this.a.ao = (n) => this.g.ey.containsPoint(n);
257
+ this.g.ds(0, 0, e, f);
258
+ this.s = FontUtil.getCurrentFontHeight(this.u, this.j);
259
+ this.g.trackDirty();
260
+ this.z = this.u.setTimeout(runOn(this, this.an), 200);
261
+ }
262
+ ah(a, b) {
263
+ this.g.dh(a, b);
264
+ }
265
+ ai(a, b) {
266
+ this.g.di(a);
267
+ }
268
+ aj(a, b) {
269
+ this.g.af(a, b);
270
+ }
271
+ ab() {
272
+ if (this.a != null) {
273
+ let a = this.a;
274
+ a.onContactStarted = delegateRemove(a.onContactStarted, runOn(this, this.aj));
275
+ let b = this.a;
276
+ b.onContactMoved = delegateRemove(b.onContactMoved, runOn(this, this.ai));
277
+ let c = this.a;
278
+ c.onContactCompleted = delegateRemove(c.onContactCompleted, runOn(this, this.ah));
279
+ this.a.ao = null;
280
+ this.a.av();
281
+ }
282
+ }
283
+ ay() {
284
+ }
285
+ ar() {
286
+ this.as(true);
287
+ }
288
+ as(a) {
289
+ if (this.u == null || this.u.rootWrapper == null) {
290
+ return;
291
+ }
292
+ this.ap();
293
+ let b = Math.round(this.u.rootWrapper.width());
294
+ let c = Math.round(this.u.rootWrapper.height());
295
+ let d = b != this.g.e0.width || c != this.g.e0.height;
296
+ if (a || d) {
297
+ this.g.ds(0, 0, b, c);
298
+ if (this.a != null) {
299
+ this.a.bl = this.g.e0;
300
+ }
301
+ }
302
+ }
303
+ am() {
304
+ }
305
+ k() {
306
+ return ((() => {
307
+ let $ret = new FontInfo();
308
+ $ret.q = "Verdana";
309
+ $ret.f = 10;
310
+ return $ret;
311
+ })());
312
+ }
313
+ a7(a, b, c) {
314
+ if (a.al != b) {
315
+ a.al = b;
316
+ }
317
+ if (this.i != c) {
318
+ this.i = c;
319
+ this.j = this.i;
320
+ this.s = FontUtil.getCurrentFontHeight(this.u, this.j);
321
+ this.l.ad(this.i);
322
+ this.g.trackDirty();
323
+ }
324
+ }
325
+ ae() {
326
+ if (this.h != 4) {
327
+ this.h = 4;
328
+ this.u.rootWrapper.setStyleProperty("cursor", "move");
329
+ }
330
+ }
331
+ ag() {
332
+ if (this.h != 3) {
333
+ this.h = 3;
334
+ this.u.rootWrapper.setStyleProperty("cursor", "ns-resize");
335
+ }
336
+ }
337
+ ad() {
338
+ if (this.h != 0) {
339
+ this.h = 0;
340
+ this.u.rootWrapper.setStyleProperty("cursor", "inherit");
341
+ }
342
+ }
343
+ af() {
344
+ if (this.h != 1) {
345
+ this.h = 1;
346
+ this.u.rootWrapper.setStyleProperty("cursor", "ew-resize");
347
+ }
348
+ }
349
+ ac() {
350
+ if (this.h != 2) {
351
+ this.h = 2;
352
+ this.u.rootWrapper.setStyleProperty("cursor", "move");
353
+ }
354
+ }
355
+ a8(a) {
356
+ let b = this.s;
357
+ let c = this.l.g(a.al);
358
+ return new Size(1, c, b);
359
+ }
360
+ aw() {
361
+ this.t = this.g.a9;
362
+ this.aq();
363
+ }
364
+ a3() {
365
+ if (this.u == null || this.u.rootWrapper == null) {
366
+ return;
367
+ }
368
+ this.u.rootWrapper.show();
369
+ }
370
+ ao() {
371
+ if (this.u == null || this.u.rootWrapper == null) {
372
+ return;
373
+ }
374
+ this.u.rootWrapper.hide();
375
+ }
376
+ an() {
377
+ this.z = -1;
378
+ if (this.u == null) {
379
+ return;
380
+ }
381
+ if (!this.m) {
382
+ return;
383
+ }
384
+ this.as(false);
385
+ this.z = this.u.setTimeout(runOn(this, this.an), 200);
386
+ }
387
+ av() {
388
+ }
389
+ f(a) {
390
+ return a.c;
391
+ }
392
+ az(a) {
393
+ if (a.c != null) {
394
+ this.r.remove(a.c);
395
+ a.c = null;
396
+ }
397
+ if (a.b != null) {
398
+ this.p.remove(a.b);
399
+ a.b = null;
400
+ }
401
+ }
402
+ e(a, b) {
403
+ let c = new DefaultMultiSliderTrackThumbVisual();
404
+ this.r.insert(b, c);
405
+ return c;
406
+ }
407
+ c(a) {
408
+ throw new NotImplementedException(0);
409
+ }
410
+ d(a) {
411
+ if (a.b == null) {
412
+ a.b = new DefaultMultiSliderTrackThumbCalloutVisual();
413
+ this.p.add(a.b);
414
+ return a.b;
415
+ }
416
+ return a.b;
417
+ }
418
+ al(a) {
419
+ for (let b = 0; b < this.p.count; b++) {
420
+ a(this.p._inner[b]);
421
+ }
422
+ }
423
+ }
424
+ MultiSliderView.$t = markType(MultiSliderView, 'MultiSliderView');
425
+ return MultiSliderView;
426
+ })();
427
+ /**
428
+ * @hidden
429
+ */
430
+ export let MultiSlider = /*@__PURE__*/ (() => {
431
+ class MultiSlider extends Base {
432
+ constructor() {
433
+ super();
434
+ this.g = new MultiSliderThumbCollection();
435
+ this.ag = new List$1(MultiSliderTrackThumbRange.$, 0);
436
+ this.k = null;
437
+ this.propertyChanged = null;
438
+ this.b1 = 500;
439
+ this.as = 0;
440
+ this.ar = 100;
441
+ this.aw = NaN;
442
+ this.a2 = 100;
443
+ this.a3 = 0;
444
+ this.a5 = NaN;
445
+ this.at = NaN;
446
+ this.ai = 1;
447
+ this.resolvingToolTipValue = null;
448
+ this.ex = new Rect(0, 0, 0, 1, 1);
449
+ this.x = false;
450
+ this.a8 = 0;
451
+ this.a4 = 0;
452
+ this.aj = 0;
453
+ this.b = null;
454
+ this.a = null;
455
+ this.ew = null;
456
+ this.ev = null;
457
+ this.e2 = new Thickness(1, 5, 5, 5, 5);
458
+ this.e0 = null;
459
+ this.ey = null;
460
+ this.ez = null;
461
+ this.av = 0;
462
+ this.ap = 0;
463
+ this.a1 = 15;
464
+ this.a0 = 15;
465
+ this.a7 = 15;
466
+ this.a6 = 15;
467
+ this.ak = 10;
468
+ this.d = 0;
469
+ this.eh = null;
470
+ this.ay = 1;
471
+ this.ei = null;
472
+ this.az = 22;
473
+ this.ax = 22;
474
+ this.d9 = null;
475
+ this.ea = null;
476
+ this.al = 0;
477
+ this.ee = null;
478
+ this.ef = null;
479
+ this.au = 1;
480
+ this.eg = null;
481
+ this.ej = null;
482
+ this.eb = null;
483
+ this.ed = null;
484
+ this.ec = null;
485
+ this.am = 1;
486
+ this.t = false;
487
+ this.n = null;
488
+ this.p = null;
489
+ this.q = false;
490
+ this.r = false;
491
+ this.ao = 0;
492
+ this.an = 0;
493
+ this.aq = 0;
494
+ this.s = false;
495
+ this.thumbValueChanging = null;
496
+ this.thumbValueChanged = null;
497
+ this.yValueChanging = null;
498
+ this.yValueChanged = null;
499
+ let a = this.thumbs;
500
+ a.collectionChanged = delegateCombine(a.collectionChanged, runOn(this, this.dz));
501
+ this.a = ((() => {
502
+ let $ret = new MultiSliderHitInfo();
503
+ $ret.c = 3;
504
+ return $ret;
505
+ })());
506
+ this.e0 = Rect.empty;
507
+ this.ey = Rect.empty;
508
+ this.ez = Rect.empty;
509
+ this.k = new MultiSliderView(this);
510
+ this.n = this.k.k();
511
+ }
512
+ get thumbs() {
513
+ return this.g;
514
+ }
515
+ get ah() {
516
+ return this.ag;
517
+ }
518
+ onDetachedFromUI() {
519
+ this.k.au();
520
+ }
521
+ onAttachedToUI() {
522
+ this.k.at();
523
+ }
524
+ get bg() {
525
+ return this.as;
526
+ }
527
+ set bg(a) {
528
+ let b = this.as;
529
+ this.as = a;
530
+ if (b != this.as) {
531
+ this.dl("Min", b, this.as);
532
+ }
533
+ }
534
+ get bf() {
535
+ return this.ar;
536
+ }
537
+ set bf(a) {
538
+ let b = this.ar;
539
+ this.ar = a;
540
+ if (b != this.ar) {
541
+ this.dl("Max", b, this.ar);
542
+ }
543
+ }
544
+ get bl() {
545
+ return this.aw;
546
+ }
547
+ set bl(a) {
548
+ let b = this.aw;
549
+ this.aw = a;
550
+ if (b != this.aw) {
551
+ this.dl("Step", b, this.aw);
552
+ }
553
+ }
554
+ get bu() {
555
+ return this.a2;
556
+ }
557
+ set bu(a) {
558
+ let b = this.a2;
559
+ this.a2 = a;
560
+ if (b != this.a2) {
561
+ this.dl("YMax", b, this.a2);
562
+ }
563
+ }
564
+ get bv() {
565
+ return this.a3;
566
+ }
567
+ set bv(a) {
568
+ let b = this.a3;
569
+ this.a3 = a;
570
+ if (b != this.a3) {
571
+ this.dl("YMin", b, this.a3);
572
+ }
573
+ }
574
+ get bx() {
575
+ return this.a5;
576
+ }
577
+ set bx(a) {
578
+ let b = this.a5;
579
+ this.a5 = a;
580
+ if (b != this.a5) {
581
+ this.dl("YStep", b, this.a5);
582
+ }
583
+ }
584
+ get bh() {
585
+ return this.at;
586
+ }
587
+ set bh(a) {
588
+ let b = this.at;
589
+ this.at = a;
590
+ if (b != this.at) {
591
+ this.dl("PixelScalingRatio", b, this.at);
592
+ }
593
+ }
594
+ get a9() {
595
+ return this.ai;
596
+ }
597
+ set a9(a) {
598
+ let b = this.ai;
599
+ this.ai = a;
600
+ if (b != this.ai) {
601
+ this.dl("ActualPixelScalingRatio", b, this.ai);
602
+ }
603
+ }
604
+ ds(a, b, c, d) {
605
+ this.e0 = new Rect(0, a, b, c, d);
606
+ if (this.e == 0) {
607
+ let e = Math.max(0, this.e0.width - (this.bk + this.be));
608
+ this.ey = new Rect(0, this.e0.left + this.bk, this.e0.top, e, this.e0.height);
609
+ let f = Math.max(0, this.ey.width - (this.bq + this.bp));
610
+ this.ez = new Rect(0, this.ey.left + this.bq, this.ey.top, f, this.ey.height);
611
+ }
612
+ else if (this.e == 2) {
613
+ let g = Math.max(0, this.e0.width - (this.bk + this.be));
614
+ this.ey = new Rect(0, this.e0.left + this.bk, this.e0.top, g, this.e0.height);
615
+ let h = Math.max(0, this.ey.width - (this.bq + this.bp));
616
+ let i = Math.max(0, this.ey.height - (this.bz + this.by));
617
+ this.ez = new Rect(0, this.ey.left + this.bq, this.ey.top + this.bz, h, i);
618
+ }
619
+ else {
620
+ this.ey = new Rect(0, this.e0.left, this.e0.top + this.bk, this.e0.width, this.e0.height - (this.bk + this.be));
621
+ this.ez = new Rect(0, this.ey.left, this.ey.top + this.bq, this.ey.width, this.ey.height - (this.bq + this.bp));
622
+ }
623
+ this.trackDirty();
624
+ }
625
+ d8() {
626
+ if (!this.s) {
627
+ return;
628
+ }
629
+ this.s = false;
630
+ let a = this.k.b;
631
+ for (let b = 0; b < this.thumbs.count; b++) {
632
+ this.d5(this.k.f(this.thumbs._inner[b]), this.thumbs._inner[b]);
633
+ }
634
+ for (let c = 0; c < this.ah.count; c++) {
635
+ this.d3(this.k.c(this.ah._inner[c]), this.ah._inner[c]);
636
+ }
637
+ this.d0(a);
638
+ }
639
+ get e1() {
640
+ return this.ex;
641
+ }
642
+ set e1(a) {
643
+ let b = this.ex;
644
+ this.ex = a;
645
+ if (Rect.l_op_Inequality(b, this.ex)) {
646
+ this.dl("WindowRect", b, this.ex);
647
+ }
648
+ }
649
+ get b0() {
650
+ return this.a8;
651
+ }
652
+ set b0(a) {
653
+ let b = this.a8;
654
+ this.a8 = a;
655
+ if (b != this.a8) {
656
+ this.dl("YValue", b, this.a8);
657
+ }
658
+ }
659
+ get bw() {
660
+ return this.a4;
661
+ }
662
+ set bw(a) {
663
+ let b = this.a4;
664
+ this.a4 = a;
665
+ if (b != this.a4) {
666
+ this.dl("YPosition", b, this.a4);
667
+ }
668
+ }
669
+ get ba() {
670
+ return this.aj;
671
+ }
672
+ set ba(a) {
673
+ let b = this.aj;
674
+ this.aj = a;
675
+ if (b != this.aj) {
676
+ this.dl("ActualYPosition", b, this.aj);
677
+ }
678
+ }
679
+ dh(a, b) {
680
+ let c = null;
681
+ if (this.a != null && this.a.c != 3) {
682
+ if (this.a.c == 0) {
683
+ c = this.a.a;
684
+ }
685
+ this.k.ay();
686
+ }
687
+ if (c != null) {
688
+ if (this.thumbValueChanging != null) {
689
+ this.thumbValueChanging(this, ((() => {
690
+ let $ret = new MultiSliderThumbValueChangingEventArgs();
691
+ $ret.b = c.s;
692
+ $ret.a = c;
693
+ return $ret;
694
+ })()));
695
+ }
696
+ if (this.thumbValueChanged != null) {
697
+ this.thumbValueChanged(this, ((() => {
698
+ let $ret = new MultiSliderThumbValueChangingEventArgs();
699
+ $ret.b = c.s;
700
+ $ret.a = c;
701
+ return $ret;
702
+ })()));
703
+ }
704
+ if (this.e == 2) {
705
+ if (this.yValueChanging != null) {
706
+ this.yValueChanging(this, ((() => {
707
+ let $ret = new MultiSliderYValueChangingEventArgs();
708
+ $ret.a = c.s;
709
+ return $ret;
710
+ })()));
711
+ }
712
+ if (this.yValueChanged != null) {
713
+ this.yValueChanged(this, ((() => {
714
+ let $ret = new MultiSliderYValueChangingEventArgs();
715
+ $ret.a = c.s;
716
+ return $ret;
717
+ })()));
718
+ }
719
+ }
720
+ }
721
+ this.b = this.c(a, b);
722
+ this.a = ((() => {
723
+ let $ret = new MultiSliderHitInfo();
724
+ $ret.c = 3;
725
+ return $ret;
726
+ })());
727
+ this.c5();
728
+ }
729
+ c5() {
730
+ this.k.al((a) => a.isVisible = false);
731
+ this.k.aq();
732
+ }
733
+ dj(a, b) {
734
+ this.b = this.c(a, false);
735
+ }
736
+ af(a, b) {
737
+ this.b = this.c(a, b);
738
+ if (this.b == null || this.b.c == 3) {
739
+ return false;
740
+ }
741
+ if (this.ad(this.b)) {
742
+ this.dy(a, this.b);
743
+ this.k.am();
744
+ return true;
745
+ }
746
+ if (this.y(this.b)) {
747
+ return this.ae(a, this.b);
748
+ }
749
+ return false;
750
+ }
751
+ ae(a, b) {
752
+ if (b == null) {
753
+ return false;
754
+ }
755
+ switch (b.c) {
756
+ case 2: return false;
757
+ }
758
+ return false;
759
+ }
760
+ dy(a, b) {
761
+ this.a = b;
762
+ this.ew = a;
763
+ this.ev = a;
764
+ }
765
+ ad(a) {
766
+ if (a == null) {
767
+ return false;
768
+ }
769
+ switch (a.c) {
770
+ case 0:
771
+ case 1: return true;
772
+ }
773
+ return false;
774
+ }
775
+ y(a) {
776
+ if (a == null) {
777
+ return false;
778
+ }
779
+ switch (a.c) {
780
+ case 2: return false;
781
+ }
782
+ return false;
783
+ }
784
+ di(a) {
785
+ this.b = this.c(a, false);
786
+ if (this.a != null && this.a.c != 3) {
787
+ if (this.e == 0) {
788
+ this.dd(a);
789
+ }
790
+ else if (this.e == 2) {
791
+ this.dq(a);
792
+ }
793
+ else {
794
+ this.dr(a);
795
+ }
796
+ }
797
+ else {
798
+ this.c6();
799
+ }
800
+ }
801
+ dq(a) {
802
+ let b = a.x - this.ev.x;
803
+ let c = a.y - this.ev.y;
804
+ this.ev = a;
805
+ b = b / this.ez.width;
806
+ c = c / this.ez.height;
807
+ if (this.a == null) {
808
+ return;
809
+ }
810
+ switch (this.a.c) {
811
+ case 0:
812
+ this.a.a.r(b);
813
+ this.bi(c);
814
+ this.d6(this.a.a);
815
+ this.c7();
816
+ break;
817
+ case 1:
818
+ this.a.b.o(b);
819
+ this.bi(c);
820
+ this.d6(this.a.b.f);
821
+ this.d6(this.a.b.e);
822
+ this.c7();
823
+ break;
824
+ }
825
+ }
826
+ bi(a) {
827
+ if (this.bw + a > 1) {
828
+ a = 1 - this.bw;
829
+ }
830
+ if (this.bw + a < 0) {
831
+ a = -this.bw;
832
+ }
833
+ this.bw += a;
834
+ return a;
835
+ }
836
+ c6() {
837
+ if (this.b != null && this.b.c == 1) {
838
+ this.k.ae();
839
+ }
840
+ else if (this.b != null && this.b.c == 0) {
841
+ if (this.e == 1) {
842
+ this.k.ag();
843
+ }
844
+ else if (this.e == 2) {
845
+ this.k.ac();
846
+ }
847
+ else {
848
+ this.k.af();
849
+ }
850
+ }
851
+ else {
852
+ this.k.ad();
853
+ }
854
+ }
855
+ dr(a) {
856
+ let b = a.y - this.ev.y;
857
+ b = b / this.ez.height;
858
+ this.ev = a;
859
+ if (this.a == null) {
860
+ return;
861
+ }
862
+ switch (this.a.c) {
863
+ case 0:
864
+ this.a.a.r(b);
865
+ this.d6(this.a.a);
866
+ this.c7();
867
+ break;
868
+ case 1:
869
+ this.a.b.o(b);
870
+ this.d6(this.a.b.f);
871
+ this.d6(this.a.b.e);
872
+ this.c7();
873
+ break;
874
+ }
875
+ }
876
+ d6(a) {
877
+ let b;
878
+ let c;
879
+ if (this.e == 0 || this.e == 2) {
880
+ b = a.p;
881
+ c = a.p * this.ez.width + this.ez.left;
882
+ if (this.t) {
883
+ let d = b;
884
+ if (this.resolvingToolTipValue != null) {
885
+ let e = ((() => {
886
+ let $ret = new MultiSliderResolvingToolTipValueEventArgs();
887
+ $ret.position = b;
888
+ $ret.value = d;
889
+ return $ret;
890
+ })());
891
+ this.resolvingToolTipValue(this, e);
892
+ d = e.value;
893
+ }
894
+ this.dx(a, c, d);
895
+ }
896
+ }
897
+ else {
898
+ b = a.p;
899
+ c = a.p * this.ez.height + this.ez.top;
900
+ if (this.t) {
901
+ let f = b;
902
+ if (this.resolvingToolTipValue != null) {
903
+ let g = ((() => {
904
+ let $ret = new MultiSliderResolvingToolTipValueEventArgs();
905
+ $ret.position = b;
906
+ $ret.value = f;
907
+ return $ret;
908
+ })());
909
+ this.resolvingToolTipValue(this, g);
910
+ f = g.value;
911
+ }
912
+ this.dx(a, c, f);
913
+ }
914
+ }
915
+ }
916
+ dx(a, b, c) {
917
+ let d = this.k.d(a);
918
+ d.isVisible = true;
919
+ let e = "";
920
+ if (c != null) {
921
+ e = c.toString();
922
+ }
923
+ this.k.a7(d.calloutText, e, this.o());
924
+ let f = this.k.a8(d.calloutText);
925
+ let g = this.e3();
926
+ f = new Size(1, f.width + g.left + g.right, f.height + g.top + g.bottom);
927
+ let h = a.p * this.ez.width + this.ez.left;
928
+ let i = a.p * this.ez.width + this.ez.left;
929
+ let j = 0;
930
+ let k = 0;
931
+ if ((this.e0.right - h) <= f.width) {
932
+ j = h - f.width;
933
+ }
934
+ else {
935
+ j = h;
936
+ }
937
+ if (j < i) {
938
+ k = this.ez.top;
939
+ }
940
+ else {
941
+ k = this.ez.bottom - f.height;
942
+ }
943
+ d.width = f.width;
944
+ d.height = f.height;
945
+ d.translateX = j;
946
+ d.translateY = k;
947
+ d.textTranslateX = j + g.left;
948
+ d.textTranslateY = k + g.top;
949
+ }
950
+ e3() {
951
+ return this.e2;
952
+ }
953
+ o() {
954
+ if (this.p != null) {
955
+ return this.p;
956
+ }
957
+ return this.n;
958
+ }
959
+ dd(a) {
960
+ let b = a.x - this.ev.x;
961
+ this.ev = a;
962
+ b = b / this.ez.width;
963
+ if (this.a == null) {
964
+ return;
965
+ }
966
+ switch (this.a.c) {
967
+ case 0:
968
+ this.a.a.r(b);
969
+ this.d6(this.a.a);
970
+ this.c7();
971
+ break;
972
+ case 1:
973
+ this.a.b.o(b);
974
+ this.d6(this.a.b.f);
975
+ this.d6(this.a.b.e);
976
+ this.c7();
977
+ break;
978
+ }
979
+ }
980
+ df(a) {
981
+ this.b = this.c(a, false);
982
+ }
983
+ dg(a) {
984
+ this.b = this.c(a, false);
985
+ }
986
+ c(a, b) {
987
+ for (let c = 0; c < this.thumbs.count; c++) {
988
+ let d = this.thumbs._inner[c];
989
+ if (this.w(a, d, this.k.f(d), b)) {
990
+ return ((() => {
991
+ let $ret = new MultiSliderHitInfo();
992
+ $ret.a = d;
993
+ $ret.c = 0;
994
+ return $ret;
995
+ })());
996
+ }
997
+ }
998
+ for (let e = 0; e < this.ah.count; e++) {
999
+ let f = this.ah._inner[e];
1000
+ if (this.v(a, f, this.k.c(f))) {
1001
+ return ((() => {
1002
+ let $ret = new MultiSliderHitInfo();
1003
+ $ret.b = f;
1004
+ $ret.c = 1;
1005
+ return $ret;
1006
+ })());
1007
+ }
1008
+ }
1009
+ if (this.u(a)) {
1010
+ return ((() => {
1011
+ let $ret = new MultiSliderHitInfo();
1012
+ $ret.c = 2;
1013
+ return $ret;
1014
+ })());
1015
+ }
1016
+ return ((() => {
1017
+ let $ret = new MultiSliderHitInfo();
1018
+ $ret.c = 3;
1019
+ return $ret;
1020
+ })());
1021
+ }
1022
+ u(a) {
1023
+ if (this.e == 0) {
1024
+ if (a.y > this.ez.bottom && a.x >= this.ez.left && a.x <= this.ez.right && a.y <= this.ey.bottom) {
1025
+ return true;
1026
+ }
1027
+ }
1028
+ else if (this.e == 2) {
1029
+ if (a.y > this.ez.bottom && a.x >= this.ez.left && a.x <= this.ez.right && a.y <= this.ey.bottom) {
1030
+ return true;
1031
+ }
1032
+ }
1033
+ else {
1034
+ if (a.x > this.ez.right && a.y >= this.ez.top && a.y <= this.ez.bottom && a.x <= this.ey.right) {
1035
+ return true;
1036
+ }
1037
+ }
1038
+ return false;
1039
+ }
1040
+ v(a, b, c) {
1041
+ if (this.e == 0) {
1042
+ let d = (b.n) * this.ez.width + this.ez.left;
1043
+ let e = d - c.width / 2;
1044
+ let f = d + c.width / 2;
1045
+ if (a.y >= this.ey.top && a.y <= this.ey.bottom && a.x >= e && a.x <= f) {
1046
+ return true;
1047
+ }
1048
+ }
1049
+ else {
1050
+ let g = (b.n) * this.ez.height + this.ez.top;
1051
+ let h = g - c.height / 2;
1052
+ let i = g + c.height / 2;
1053
+ if (a.x >= this.ey.left && a.x <= this.ey.right && a.y >= h && a.y <= i) {
1054
+ return true;
1055
+ }
1056
+ }
1057
+ return false;
1058
+ }
1059
+ w(a, b, c, d) {
1060
+ let e = 40;
1061
+ if (this.e == 0) {
1062
+ let f = b.p * this.ez.width + this.ez.left;
1063
+ let g = this.ez.top + this.ez.height / 2;
1064
+ let h = new Rect(0, f - c.width / 2, g - c.height / 2, c.width, c.height);
1065
+ if (d) {
1066
+ if (h.width < e) {
1067
+ h.inflate((e - h.width) / 2, 0);
1068
+ }
1069
+ if (h.height < e) {
1070
+ h.inflate(0, (e - h.height) / 2);
1071
+ }
1072
+ }
1073
+ if (h.containsPoint(a)) {
1074
+ return true;
1075
+ }
1076
+ }
1077
+ else if (this.e == 2) {
1078
+ let i = b.p * this.ez.width + this.ez.left;
1079
+ let j = this.ez.top + (this.ba * this.ez.height);
1080
+ let k = new Rect(0, i - c.width / 2, j - c.height / 2, c.width, c.height);
1081
+ if (d) {
1082
+ if (k.width < e) {
1083
+ k.inflate((e - k.width) / 2, 0);
1084
+ }
1085
+ if (k.height < e) {
1086
+ k.inflate(0, (e - k.height) / 2);
1087
+ }
1088
+ }
1089
+ if (k.containsPoint(a)) {
1090
+ return true;
1091
+ }
1092
+ }
1093
+ else {
1094
+ let l = b.p * this.ez.height + this.ez.top;
1095
+ let m = this.ez.left + this.ez.width / 2;
1096
+ let n = new Rect(0, m - c.width / 2, l - c.height / 2, c.width, c.height);
1097
+ if (d) {
1098
+ if (n.width < e) {
1099
+ n.inflate((e - n.width) / 2, 0);
1100
+ }
1101
+ if (n.height < e) {
1102
+ n.inflate(0, (e - n.height) / 2);
1103
+ }
1104
+ }
1105
+ if (n.containsPoint(a)) {
1106
+ return true;
1107
+ }
1108
+ }
1109
+ return false;
1110
+ }
1111
+ d3(a, b) {
1112
+ if (this.e == 0) {
1113
+ a.orientation = this.e;
1114
+ a.width = Math.max(15, this.ez.width * b.r);
1115
+ a.height = this.bb;
1116
+ a.translateX = (this.ez.left + this.ez.width * b.n);
1117
+ a.translateY = this.ez.bottom + this.bb / 2;
1118
+ }
1119
+ else if (this.e == 2) {
1120
+ a.orientation = this.e;
1121
+ a.width = Math.max(15, this.ez.width * b.r);
1122
+ a.height = this.bb;
1123
+ a.translateX = (this.ez.left + this.ez.width * b.n);
1124
+ a.translateY = this.ez.bottom + this.bb / 2;
1125
+ }
1126
+ else {
1127
+ a.orientation = this.e;
1128
+ a.height = Math.max(15, this.ez.height * b.r);
1129
+ a.width = this.bb;
1130
+ a.translateY = (this.ez.top + this.ez.height * b.n);
1131
+ a.translateX = this.ez.right + this.bb / 2;
1132
+ }
1133
+ }
1134
+ d0(a) {
1135
+ if (this.e == 0) {
1136
+ a.height = this.bb;
1137
+ a.width = this.ez.width;
1138
+ a.translateX = this.ez.left + this.ez.width / 2;
1139
+ a.translateY = ((this.ey.top + this.ey.bottom) / 2);
1140
+ }
1141
+ else if (this.e == 2) {
1142
+ a.height = this.bb;
1143
+ a.width = this.ez.width;
1144
+ a.translateX = this.ez.left + this.ez.width / 2;
1145
+ a.translateY = this.ez.top + (this.ba * this.ez.height);
1146
+ }
1147
+ else {
1148
+ a.width = this.bb;
1149
+ a.height = this.ez.height;
1150
+ a.translateY = this.ez.top + this.ez.height / 2;
1151
+ a.translateX = ((this.ey.left + this.ey.right) / 2);
1152
+ }
1153
+ }
1154
+ d5(a, b) {
1155
+ if (this.e == 0) {
1156
+ a.orientation = this.e;
1157
+ a.translateX = this.ez.left + this.ez.width * b.p;
1158
+ a.translateY = this.ez.top + this.ez.height / 2;
1159
+ }
1160
+ else if (this.e == 2) {
1161
+ a.orientation = this.e;
1162
+ a.translateX = this.ez.left + this.ez.width * b.p;
1163
+ a.translateY = this.ez.top + this.ez.height * this.ba;
1164
+ }
1165
+ else {
1166
+ a.orientation = this.e;
1167
+ a.translateY = this.ez.top + this.ez.height * b.p;
1168
+ a.translateX = this.ez.left + this.ez.width / 2;
1169
+ }
1170
+ }
1171
+ get bk() {
1172
+ return this.av;
1173
+ }
1174
+ set bk(a) {
1175
+ let b = this.av;
1176
+ this.av = a;
1177
+ if (b != this.av) {
1178
+ this.dl("StartInset", b, this.av);
1179
+ }
1180
+ }
1181
+ get be() {
1182
+ return this.ap;
1183
+ }
1184
+ set be(a) {
1185
+ let b = this.ap;
1186
+ this.ap = a;
1187
+ if (b != this.ap) {
1188
+ this.dl("EndInset", b, this.ap);
1189
+ }
1190
+ }
1191
+ get bq() {
1192
+ return this.a1;
1193
+ }
1194
+ set bq(a) {
1195
+ let b = this.a1;
1196
+ this.a1 = a;
1197
+ if (b != this.a1) {
1198
+ this.dl("TrackStartInset", b, this.a1);
1199
+ }
1200
+ }
1201
+ get bp() {
1202
+ return this.a0;
1203
+ }
1204
+ set bp(a) {
1205
+ let b = this.a0;
1206
+ this.a0 = a;
1207
+ if (b != this.a0) {
1208
+ this.dl("TrackEndInset", b, this.a0);
1209
+ }
1210
+ }
1211
+ get bz() {
1212
+ return this.a7;
1213
+ }
1214
+ set bz(a) {
1215
+ let b = this.a7;
1216
+ this.a7 = a;
1217
+ if (b != this.a7) {
1218
+ this.dl("YTrackStartInset", b, this.a7);
1219
+ }
1220
+ }
1221
+ get by() {
1222
+ return this.a6;
1223
+ }
1224
+ set by(a) {
1225
+ let b = this.a6;
1226
+ this.a6 = a;
1227
+ if (b != this.a6) {
1228
+ this.dl("YTrackEndInset", b, this.a6);
1229
+ }
1230
+ }
1231
+ get bb() {
1232
+ return this.ak;
1233
+ }
1234
+ set bb(a) {
1235
+ let b = this.ak;
1236
+ this.ak = a;
1237
+ if (b != this.ak) {
1238
+ this.dl("BarExtent", b, this.ak);
1239
+ }
1240
+ }
1241
+ get e() {
1242
+ return this.d;
1243
+ }
1244
+ set e(a) {
1245
+ let b = this.d;
1246
+ this.d = a;
1247
+ if (b != this.d) {
1248
+ this.dl("Orientation", enumGetBox(MultiSliderOrientation_$type, b), enumGetBox(MultiSliderOrientation_$type, this.d));
1249
+ }
1250
+ }
1251
+ get es() {
1252
+ return this.eh;
1253
+ }
1254
+ set es(a) {
1255
+ let b = this.eh;
1256
+ this.eh = a;
1257
+ if (b != this.eh) {
1258
+ this.dl("ThumbBrush", b, this.eh);
1259
+ }
1260
+ }
1261
+ get bn() {
1262
+ return this.ay;
1263
+ }
1264
+ set bn(a) {
1265
+ let b = this.ay;
1266
+ this.ay = a;
1267
+ if (b != this.ay) {
1268
+ this.dl("ThumbStrokeThickness", b, this.ay);
1269
+ }
1270
+ }
1271
+ get et() {
1272
+ return this.ei;
1273
+ }
1274
+ set et(a) {
1275
+ let b = this.ei;
1276
+ this.ei = a;
1277
+ if (b != this.ei) {
1278
+ this.dl("ThumbOutline", b, this.ei);
1279
+ }
1280
+ }
1281
+ get bo() {
1282
+ return this.az;
1283
+ }
1284
+ set bo(a) {
1285
+ let b = this.az;
1286
+ this.az = a;
1287
+ if (b != this.az) {
1288
+ this.dl("ThumbWidth", b, this.az);
1289
+ }
1290
+ }
1291
+ get bm() {
1292
+ return this.ax;
1293
+ }
1294
+ set bm(a) {
1295
+ let b = this.ax;
1296
+ this.ax = a;
1297
+ if (b != this.ax) {
1298
+ this.dl("ThumbHeight", b, this.ax);
1299
+ }
1300
+ }
1301
+ destroy() {
1302
+ this.provideContainer(null);
1303
+ }
1304
+ get ek() {
1305
+ return this.d9;
1306
+ }
1307
+ set ek(a) {
1308
+ let b = this.d9;
1309
+ this.d9 = a;
1310
+ if (b != this.d9) {
1311
+ this.dl("BarBrush", b, this.d9);
1312
+ }
1313
+ }
1314
+ get el() {
1315
+ return this.ea;
1316
+ }
1317
+ set el(a) {
1318
+ let b = this.ea;
1319
+ this.ea = a;
1320
+ if (b != this.ea) {
1321
+ this.dl("BarOutline", b, this.ea);
1322
+ }
1323
+ }
1324
+ get bc() {
1325
+ return this.al;
1326
+ }
1327
+ set bc(a) {
1328
+ let b = this.al;
1329
+ this.al = a;
1330
+ if (b != this.al) {
1331
+ this.dl("BarStrokeThickness", b, this.al);
1332
+ }
1333
+ }
1334
+ get ep() {
1335
+ return this.ee;
1336
+ }
1337
+ set ep(a) {
1338
+ let b = this.ee;
1339
+ this.ee = a;
1340
+ if (b != this.ee) {
1341
+ this.dl("RangeThumbBrush", b, this.ee);
1342
+ }
1343
+ }
1344
+ get eq() {
1345
+ return this.ef;
1346
+ }
1347
+ set eq(a) {
1348
+ let b = this.ef;
1349
+ this.ef = a;
1350
+ if (b != this.ef) {
1351
+ this.dl("RangeThumbOutline", b, this.ef);
1352
+ }
1353
+ }
1354
+ get bj() {
1355
+ return this.au;
1356
+ }
1357
+ set bj(a) {
1358
+ let b = this.au;
1359
+ this.au = a;
1360
+ if (b != this.au) {
1361
+ this.dl("RangeThumbStrokeThickness", b, this.au);
1362
+ }
1363
+ }
1364
+ get er() {
1365
+ return this.eg;
1366
+ }
1367
+ set er(a) {
1368
+ let b = this.eg;
1369
+ this.eg = a;
1370
+ if (b != this.eg) {
1371
+ this.dl("RangeThumbRidgesBrush", b, this.eg);
1372
+ }
1373
+ }
1374
+ get eu() {
1375
+ return this.ej;
1376
+ }
1377
+ set eu(a) {
1378
+ let b = this.ej;
1379
+ this.ej = a;
1380
+ if (b != this.ej) {
1381
+ this.dl("ThumbRidgesBrush", b, this.ej);
1382
+ }
1383
+ }
1384
+ get em() {
1385
+ return this.eb;
1386
+ }
1387
+ set em(a) {
1388
+ let b = this.eb;
1389
+ this.eb = a;
1390
+ if (b != this.eb) {
1391
+ this.dl("CalloutBrush", b, this.eb);
1392
+ }
1393
+ }
1394
+ get eo() {
1395
+ return this.ed;
1396
+ }
1397
+ set eo(a) {
1398
+ let b = this.ed;
1399
+ this.ed = a;
1400
+ if (b != this.ed) {
1401
+ this.dl("CalloutTextColor", b, this.ed);
1402
+ }
1403
+ }
1404
+ get en() {
1405
+ return this.ec;
1406
+ }
1407
+ set en(a) {
1408
+ let b = this.ec;
1409
+ this.ec = a;
1410
+ if (b != this.ec) {
1411
+ this.dl("CalloutOutline", b, this.ec);
1412
+ }
1413
+ }
1414
+ get bd() {
1415
+ return this.am;
1416
+ }
1417
+ set bd(a) {
1418
+ let b = this.am;
1419
+ this.am = a;
1420
+ if (b != this.am) {
1421
+ this.dl("CalloutStrokeThickness", b, this.am);
1422
+ }
1423
+ }
1424
+ get ac() {
1425
+ return false;
1426
+ }
1427
+ get aa() {
1428
+ return false;
1429
+ }
1430
+ get z() {
1431
+ return false;
1432
+ }
1433
+ get ab() {
1434
+ return false;
1435
+ }
1436
+ dl(a, b, c) {
1437
+ this.du(a, b, c);
1438
+ if (this.propertyChanged != null) {
1439
+ this.propertyChanged(this, new PropertyChangedEventArgs(a));
1440
+ }
1441
+ }
1442
+ du(a, b, c) {
1443
+ switch (a) {
1444
+ case "PixelScalingRatio":
1445
+ this.a9 = this.bh;
1446
+ break;
1447
+ case "ActualPixelScalingRatio":
1448
+ if (this.k != null) {
1449
+ this.k.aw();
1450
+ }
1451
+ break;
1452
+ case "YPosition":
1453
+ {
1454
+ this.q = true;
1455
+ this.ba = this.br(b, c);
1456
+ this.trackDirty();
1457
+ if (!this.r) {
1458
+ this.b0 = this.bt(this.ba);
1459
+ }
1460
+ this.q = false;
1461
+ }
1462
+ break;
1463
+ case "YValue":
1464
+ {
1465
+ this.r = true;
1466
+ if (!this.q) {
1467
+ this.bw = this.bs(this.b0);
1468
+ this.ba = this.br(this.bw, this.bw);
1469
+ this.trackDirty();
1470
+ }
1471
+ this.dt(this, b, c);
1472
+ this.r = false;
1473
+ }
1474
+ break;
1475
+ case "Orientation":
1476
+ this.dk();
1477
+ this.trackDirty();
1478
+ break;
1479
+ case "TrackStartInset":
1480
+ case "TrackEndInset":
1481
+ case "StartInset":
1482
+ case "EndInset":
1483
+ this.de();
1484
+ this.trackDirty();
1485
+ break;
1486
+ case "Min":
1487
+ case "Max":
1488
+ this.dm();
1489
+ this.trackDirty();
1490
+ break;
1491
+ case "ThumbBrush":
1492
+ case "ThumbOutline":
1493
+ case "ThumbRidgesBrush":
1494
+ case "ThumbStrokeThickness":
1495
+ this.d7();
1496
+ this.k.aq();
1497
+ break;
1498
+ case "ThumbWidth":
1499
+ case "ThumbHeight":
1500
+ for (let d = 0; d < this.thumbs.count; d++) {
1501
+ let e = this.thumbs._inner[d];
1502
+ let f = this.k.f(e);
1503
+ f.width = this.bo;
1504
+ f.height = this.bm;
1505
+ }
1506
+ this.trackDirty();
1507
+ break;
1508
+ case "RangeThumbBrush":
1509
+ case "RangeThumbOutline":
1510
+ case "RangeThumbRidgesBrush":
1511
+ case "RangeThumbStrokeThickness":
1512
+ this.d4();
1513
+ this.k.aq();
1514
+ break;
1515
+ case "BarBrush":
1516
+ case "BarOutline":
1517
+ case "BarStrokeThickness":
1518
+ this.d1();
1519
+ this.k.aq();
1520
+ break;
1521
+ case "CalloutBrush":
1522
+ case "CalloutOutline":
1523
+ case "CalloutTextColor":
1524
+ case "CalloutStrokeThickness":
1525
+ this.d2();
1526
+ this.k.aq();
1527
+ break;
1528
+ }
1529
+ }
1530
+ d1() {
1531
+ let a = this.k.b;
1532
+ if (this.ek == null) {
1533
+ a.barBox._fill = a.getBarBoxDefaultBrush();
1534
+ }
1535
+ else {
1536
+ a.barBox._fill = this.ek;
1537
+ }
1538
+ if (this.el == null) {
1539
+ a.barBox._stroke = a.getBarBoxDefaultOutline();
1540
+ }
1541
+ else {
1542
+ a.barBox._stroke = this.el;
1543
+ }
1544
+ if (isNaN_(this.bc)) {
1545
+ a.barBox.ad = a.getBarBoxDefaultStrokeThickness();
1546
+ }
1547
+ else {
1548
+ a.barBox.ad = this.bc;
1549
+ }
1550
+ }
1551
+ d2() {
1552
+ for (let a = 0; a < this.thumbs.count; a++) {
1553
+ let b = this.k.d(this.thumbs._inner[a]);
1554
+ if (this.em == null) {
1555
+ b.calloutBox._fill = b.getCalloutBoxDefaultBrush();
1556
+ }
1557
+ else {
1558
+ b.calloutBox._fill = this.em;
1559
+ }
1560
+ if (this.en == null) {
1561
+ b.calloutBox._stroke = b.getCalloutBoxDefaultStroke();
1562
+ }
1563
+ else {
1564
+ b.calloutBox._stroke = this.en;
1565
+ }
1566
+ if (this.eo == null) {
1567
+ b.calloutText.ao = b.getCalloutTextDefaultBrush();
1568
+ }
1569
+ else {
1570
+ b.calloutText.ao = this.eo;
1571
+ }
1572
+ if (isNaN_(this.bd)) {
1573
+ b.calloutBox.ad = b.getCalloutBoxDefaultStrokeThickness();
1574
+ }
1575
+ else {
1576
+ b.calloutBox.ad = this.bd;
1577
+ }
1578
+ }
1579
+ }
1580
+ d7() {
1581
+ for (let a = 0; a < this.thumbs.count; a++) {
1582
+ let b = this.k.f(this.thumbs._inner[a]);
1583
+ if (this.es == null) {
1584
+ b.thumbBox._fill = b.getThumbBoxDefaultBrush();
1585
+ }
1586
+ else {
1587
+ b.thumbBox._fill = this.es;
1588
+ }
1589
+ if (this.et == null) {
1590
+ b.thumbBox._stroke = b.getThumbBoxDefaultStroke();
1591
+ }
1592
+ else {
1593
+ b.thumbBox._stroke = this.et;
1594
+ }
1595
+ if (this.eu == null) {
1596
+ b.thumbRidges._stroke = b.getThumbRidgesDefaultStroke();
1597
+ }
1598
+ else {
1599
+ b.thumbRidges._stroke = this.eu;
1600
+ }
1601
+ if (isNaN_(this.bn)) {
1602
+ b.thumbBox.ad = b.getThumbBoxDefaultStrokeThickness();
1603
+ }
1604
+ else {
1605
+ b.thumbBox.ad = this.bn;
1606
+ }
1607
+ }
1608
+ }
1609
+ d4() {
1610
+ for (let a = 0; a < this.ah.count; a++) {
1611
+ let b = this.k.c(this.ah._inner[a]);
1612
+ if (this.ep == null) {
1613
+ b.thumbBox._fill = b.getThumbBoxDefaultBrush();
1614
+ }
1615
+ else {
1616
+ b.thumbBox._fill = this.ep;
1617
+ }
1618
+ if (this.eq == null) {
1619
+ b.thumbBox._stroke = b.getThumbBoxDefaultStroke();
1620
+ }
1621
+ else {
1622
+ b.thumbBox._stroke = this.eq;
1623
+ }
1624
+ if (this.er == null) {
1625
+ b.thumbRidges._stroke = b.getThumbRidgesDefaultStroke();
1626
+ }
1627
+ else {
1628
+ b.thumbRidges._stroke = this.er;
1629
+ }
1630
+ if (isNaN_(this.bj)) {
1631
+ b.thumbBox.ad = b.getThumbBoxDefaultStrokeThickness();
1632
+ }
1633
+ else {
1634
+ b.thumbBox.ad = this.bj;
1635
+ }
1636
+ }
1637
+ }
1638
+ dm() {
1639
+ }
1640
+ de() {
1641
+ if (this.e0.isEmpty) {
1642
+ return;
1643
+ }
1644
+ this.ds(this.e0.left, this.e0.top, this.e0.width, this.e0.height);
1645
+ }
1646
+ dk() {
1647
+ if (this.e == 0) {
1648
+ for (let a = 0; a < this.thumbs.count; a++) {
1649
+ let b = this.k.f(this.thumbs._inner[a]);
1650
+ b.width = this.bo;
1651
+ b.height = this.bm;
1652
+ }
1653
+ }
1654
+ else if (this.e == 2) {
1655
+ for (let c = 0; c < this.thumbs.count; c++) {
1656
+ let d = this.k.f(this.thumbs._inner[c]);
1657
+ d.width = this.bo;
1658
+ d.height = this.bm;
1659
+ }
1660
+ }
1661
+ else {
1662
+ for (let e = 0; e < this.thumbs.count; e++) {
1663
+ let f = this.k.f(this.thumbs._inner[e]);
1664
+ f.width = this.bo;
1665
+ f.height = this.bm;
1666
+ }
1667
+ }
1668
+ if (this.e0.isEmpty) {
1669
+ return;
1670
+ }
1671
+ this.ds(this.e0.left, this.e0.top, this.e0.width, this.e0.height);
1672
+ }
1673
+ provideContainer(a) {
1674
+ this.k.ax(a);
1675
+ }
1676
+ notifySizeChanged() {
1677
+ this.k.ar();
1678
+ }
1679
+ dz(a, b) {
1680
+ if (b.oldItems != null) {
1681
+ for (let c of fromEn(b.oldItems)) {
1682
+ if (c != null) {
1683
+ c.propertyUpdated = delegateRemove(c.propertyUpdated, runOn(this, this.c9));
1684
+ }
1685
+ this.dp(c);
1686
+ }
1687
+ }
1688
+ if (b.newItems != null) {
1689
+ for (let d of fromEn(b.newItems)) {
1690
+ if (d != null) {
1691
+ d.propertyUpdated = delegateCombine(d.propertyUpdated, runOn(this, this.c9));
1692
+ }
1693
+ this.dn(d);
1694
+ }
1695
+ }
1696
+ this.trackDirty();
1697
+ }
1698
+ dn(a) {
1699
+ a.e = this;
1700
+ a.c = this.k.e(a, this.thumbs.indexOf(a));
1701
+ }
1702
+ dp(a) {
1703
+ a.e = null;
1704
+ this.k.az(a);
1705
+ }
1706
+ c9(a, b) {
1707
+ this.trackDirty();
1708
+ }
1709
+ c7() {
1710
+ this.k.ak();
1711
+ }
1712
+ trackDirty() {
1713
+ this.s = true;
1714
+ if (this.k == null) {
1715
+ return;
1716
+ }
1717
+ this.k.aq();
1718
+ }
1719
+ updateActualPosition(a, b) {
1720
+ if (isNaN_(this.bl)) {
1721
+ return b;
1722
+ }
1723
+ let c = this.bg + b * (this.bf - this.bg);
1724
+ let d = c / this.bl;
1725
+ d = Math.round(d);
1726
+ let e = d * this.bl;
1727
+ let f = (e - this.bg) / (this.bf - this.bg);
1728
+ return f;
1729
+ }
1730
+ updateThumbValue(a) {
1731
+ return this.bg + a * (this.bf - this.bg);
1732
+ }
1733
+ updateThumbPosition(a) {
1734
+ return (a - this.bg) / (this.bf - this.bg);
1735
+ }
1736
+ br(a, b) {
1737
+ if (isNaN_(this.bl)) {
1738
+ return b;
1739
+ }
1740
+ let c = this.bv + b * (this.bu - this.bv);
1741
+ let d = c / this.bl;
1742
+ d = Math.round(d);
1743
+ let e = d * this.bl;
1744
+ let f = (e - this.bv) / (this.bu - this.bv);
1745
+ return f;
1746
+ }
1747
+ bt(a) {
1748
+ return this.bv + a * (this.bu - this.bv);
1749
+ }
1750
+ bs(a) {
1751
+ return (a - this.bv) / (this.bu - this.bv);
1752
+ }
1753
+ onThumbValueUpdated(a, b, c) {
1754
+ if (this.thumbValueChanging != null) {
1755
+ this.thumbValueChanging(this, ((() => {
1756
+ let $ret = new MultiSliderThumbValueChangingEventArgs();
1757
+ $ret.b = c;
1758
+ $ret.a = a;
1759
+ return $ret;
1760
+ })()));
1761
+ }
1762
+ }
1763
+ dt(a, b, c) {
1764
+ if (this.yValueChanging != null) {
1765
+ this.yValueChanging(this, ((() => {
1766
+ let $ret = new MultiSliderYValueChangingEventArgs();
1767
+ $ret.a = c;
1768
+ return $ret;
1769
+ })()));
1770
+ }
1771
+ }
1772
+ dw() {
1773
+ if (this.k != null) {
1774
+ this.k.a3();
1775
+ }
1776
+ }
1777
+ c8() {
1778
+ if (this.k != null) {
1779
+ this.k.ao();
1780
+ }
1781
+ }
1782
+ }
1783
+ MultiSlider.$t = markType(MultiSlider, 'MultiSlider', Base.$, [ISliderTrackOwner_$type, INotifyPropertyChanged_$type]);
1784
+ return MultiSlider;
1785
+ })();