igniteui-angular-inputs 18.1.1 → 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.
- package/bundles/igniteui-angular-inputs.umd.js +16857 -7563
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +19 -19
- package/esm2015/lib/ButtonView_combined.js +820 -790
- package/esm2015/lib/CalendarView_combined.js +82 -82
- package/esm2015/lib/ColorEditor.js +7 -0
- package/esm2015/lib/ColorEditorBridge.js +7 -0
- package/esm2015/lib/ColorEditorGotFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorLostFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanel.js +7 -0
- package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +33 -0
- package/esm2015/lib/ColorEditorPanelView.js +7 -0
- package/esm2015/lib/ColorEditorView.js +7 -0
- package/esm2015/lib/DatePickerView_combined.js +18 -18
- package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +113 -0
- package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +208 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +170 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +193 -0
- package/esm2015/lib/DefaultMultiTrackShadeVisual.js +172 -0
- package/esm2015/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm2015/lib/ISliderTrackOwner.js +11 -0
- package/esm2015/lib/IconClickedEventArgs.js +10 -0
- package/esm2015/lib/IconView_combined.js +345 -314
- package/esm2015/lib/InputGroupView_combined.js +456 -355
- package/esm2015/lib/MultiSlider.js +7 -0
- package/esm2015/lib/MultiSliderBridge.js +165 -0
- package/esm2015/lib/MultiSliderCursor.js +11 -0
- package/esm2015/lib/MultiSliderHitInfo.js +22 -0
- package/esm2015/lib/MultiSliderOrientation.js +17 -0
- package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +33 -0
- package/esm2015/lib/MultiSliderThumb.js +7 -0
- package/esm2015/lib/MultiSliderThumbCollection.js +21 -0
- package/esm2015/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +21 -0
- package/esm2015/lib/MultiSliderThumb_combined.js +297 -0
- package/esm2015/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm2015/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm2015/lib/MultiSliderView.js +7 -0
- package/esm2015/lib/MultiSliderView_combined.js +1785 -0
- package/esm2015/lib/MultiSliderVisualArea.js +11 -0
- package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +20 -0
- package/esm2015/lib/NativeUIXInputsFactory.js +1 -179
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +2113 -0
- package/esm2015/lib/XButtonBridge.js +25 -20
- package/esm2015/lib/XButtonGroupBridge.js +177 -0
- package/esm2015/lib/XComponentBridge.js +3 -0
- package/esm2015/lib/XIconBridge.js +20 -16
- package/esm2015/lib/XInputBridge.js +274 -26
- package/esm2015/lib/XPopupBridge.js +117 -98
- package/esm2015/lib/igx-color-editor-component.js +470 -0
- package/esm2015/lib/igx-color-editor-dynamic-module.js +45 -0
- package/esm2015/lib/igx-color-editor-got-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-lost-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-module.js +39 -0
- package/esm2015/lib/igx-color-editor-panel-closed-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-panel-component.js +376 -0
- package/esm2015/lib/igx-color-editor-panel-dynamic-module.js +66 -0
- package/esm2015/lib/igx-color-editor-panel-module.js +60 -0
- package/esm2015/lib/igx-color-editor-panel-selected-value-changed-event-args.js +40 -0
- package/esm2015/lib/igx-multi-slider-component.js +642 -0
- package/esm2015/lib/igx-multi-slider-dynamic-module.js +38 -0
- package/esm2015/lib/igx-multi-slider-module.js +36 -0
- package/esm2015/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +39 -0
- package/esm2015/lib/igx-multi-slider-thumb-collection.js +53 -0
- package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +56 -0
- package/esm2015/lib/igx-multi-slider-thumb.js +111 -0
- package/esm2015/lib/igx-multi-slider-track-thumb-range.js +119 -0
- package/esm2015/lib/igx-multi-slider-y-value-changing-event-args.js +33 -0
- package/esm2015/lib/igx-x-button-component.js +262 -262
- package/esm2015/lib/igx-x-icon-component.js +66 -55
- package/esm2015/lib/igx-x-input-group-component.js +48 -48
- package/esm2015/lib/igx-x-label-component.js +41 -40
- package/esm2015/public_api.js +55 -0
- package/esm5/lib/ButtonGroupView_combined.js +19 -19
- package/esm5/lib/ButtonView_combined.js +765 -735
- package/esm5/lib/CalendarView_combined.js +82 -82
- package/esm5/lib/ColorEditor.js +7 -0
- package/esm5/lib/ColorEditorBridge.js +7 -0
- package/esm5/lib/ColorEditorGotFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorLostFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanel.js +7 -0
- package/esm5/lib/ColorEditorPanelClosedEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +43 -0
- package/esm5/lib/ColorEditorPanelView.js +7 -0
- package/esm5/lib/ColorEditorView.js +7 -0
- package/esm5/lib/DatePickerView_combined.js +18 -18
- package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +139 -0
- package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +242 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +212 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +227 -0
- package/esm5/lib/DefaultMultiTrackShadeVisual.js +206 -0
- package/esm5/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm5/lib/ISliderTrackOwner.js +11 -0
- package/esm5/lib/IconClickedEventArgs.js +13 -1
- package/esm5/lib/IconView_combined.js +336 -301
- package/esm5/lib/InputGroupView_combined.js +444 -343
- package/esm5/lib/MultiSlider.js +7 -0
- package/esm5/lib/MultiSliderBridge.js +167 -0
- package/esm5/lib/MultiSliderCursor.js +11 -0
- package/esm5/lib/MultiSliderHitInfo.js +24 -0
- package/esm5/lib/MultiSliderOrientation.js +17 -0
- package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +43 -0
- package/esm5/lib/MultiSliderThumb.js +7 -0
- package/esm5/lib/MultiSliderThumbCollection.js +22 -0
- package/esm5/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +23 -0
- package/esm5/lib/MultiSliderThumb_combined.js +352 -0
- package/esm5/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm5/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm5/lib/MultiSliderView.js +7 -0
- package/esm5/lib/MultiSliderView_combined.js +2006 -0
- package/esm5/lib/MultiSliderVisualArea.js +11 -0
- package/esm5/lib/MultiSliderYValueChangingEventArgs.js +22 -0
- package/esm5/lib/NativeUIXInputsFactory.js +1 -189
- package/esm5/lib/NativeUIXInputsFactory_combined.js +2298 -0
- package/esm5/lib/XButtonBridge.js +25 -20
- package/esm5/lib/XButtonGroupBridge.js +179 -0
- package/esm5/lib/XComponentBridge.js +3 -0
- package/esm5/lib/XIconBridge.js +20 -16
- package/esm5/lib/XInputBridge.js +274 -26
- package/esm5/lib/XPopupBridge.js +117 -98
- package/esm5/lib/igx-color-editor-component.js +555 -0
- package/esm5/lib/igx-color-editor-dynamic-module.js +44 -0
- package/esm5/lib/igx-color-editor-got-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-lost-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-module.js +38 -0
- package/esm5/lib/igx-color-editor-panel-closed-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-panel-component.js +435 -0
- package/esm5/lib/igx-color-editor-panel-dynamic-module.js +65 -0
- package/esm5/lib/igx-color-editor-panel-module.js +59 -0
- package/esm5/lib/igx-color-editor-panel-selected-value-changed-event-args.js +54 -0
- package/esm5/lib/igx-multi-slider-component.js +842 -0
- package/esm5/lib/igx-multi-slider-dynamic-module.js +37 -0
- package/esm5/lib/igx-multi-slider-module.js +35 -0
- package/esm5/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +53 -0
- package/esm5/lib/igx-multi-slider-thumb-collection.js +58 -0
- package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +70 -0
- package/esm5/lib/igx-multi-slider-thumb.js +134 -0
- package/esm5/lib/igx-multi-slider-track-thumb-range.js +149 -0
- package/esm5/lib/igx-multi-slider-y-value-changing-event-args.js +43 -0
- package/esm5/lib/igx-x-button-component.js +262 -262
- package/esm5/lib/igx-x-icon-component.js +70 -55
- package/esm5/lib/igx-x-input-group-component.js +48 -48
- package/esm5/lib/igx-x-label-component.js +41 -40
- package/esm5/public_api.js +55 -0
- package/fesm2015/igniteui-angular-inputs.js +15626 -7466
- package/fesm5/igniteui-angular-inputs.js +16802 -7565
- package/lib/ButtonView_combined.d.ts +243 -241
- package/lib/ColorEditor.d.ts +1 -0
- package/lib/ColorEditorBridge.d.ts +1 -0
- package/lib/ColorEditorGotFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorLostFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanel.d.ts +1 -0
- package/lib/ColorEditorPanelClosedEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +14 -0
- package/lib/ColorEditorPanelView.d.ts +1 -0
- package/lib/ColorEditorView.d.ts +1 -0
- package/lib/DefaultMultiSliderTrackBarVisual.d.ts +34 -0
- package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +43 -0
- package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +49 -0
- package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +45 -0
- package/lib/DefaultMultiTrackShadeVisual.d.ts +42 -0
- package/lib/IMultiSliderTrackBarVisual.d.ts +21 -0
- package/lib/IMultiSliderTrackRangeVisual.d.ts +25 -0
- package/lib/IMultiSliderTrackShadeVisual.d.ts +24 -0
- package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +27 -0
- package/lib/IMultiSliderTrackThumbVisual.d.ts +27 -0
- package/lib/ISliderTrackOwner.d.ts +15 -0
- package/lib/IconClickedEventArgs.d.ts +3 -0
- package/lib/IconView_combined.d.ts +88 -84
- package/lib/InputGroupView_combined.d.ts +120 -113
- package/lib/MultiSlider.d.ts +1 -0
- package/lib/MultiSliderBridge.d.ts +24 -0
- package/lib/MultiSliderCursor.d.ts +15 -0
- package/lib/MultiSliderHitInfo.d.ts +13 -0
- package/lib/MultiSliderOrientation.d.ts +10 -0
- package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +13 -0
- package/lib/MultiSliderThumb.d.ts +1 -0
- package/lib/MultiSliderThumbCollection.d.ts +10 -0
- package/lib/MultiSliderThumbRangePosition.d.ts +9 -0
- package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +10 -0
- package/lib/MultiSliderThumb_combined.d.ts +76 -0
- package/lib/MultiSliderTrackShadeOrientation.d.ts +14 -0
- package/lib/MultiSliderTrackThumbRange.d.ts +1 -0
- package/lib/MultiSliderView.d.ts +1 -0
- package/lib/MultiSliderView_combined.d.ts +298 -0
- package/lib/MultiSliderVisualArea.d.ts +14 -0
- package/lib/MultiSliderYValueChangingEventArgs.d.ts +8 -0
- package/lib/NativeUIXInputsFactory.d.ts +1 -24
- package/lib/NativeUIXInputsFactory_combined.d.ts +393 -0
- package/lib/XButtonGroupBridge.d.ts +29 -0
- package/lib/XInputBridge.d.ts +29 -5
- package/lib/XPopupBridge.d.ts +12 -9
- package/lib/igx-color-editor-component.d.ts +161 -0
- package/lib/igx-color-editor-dynamic-module.d.ts +10 -0
- package/lib/igx-color-editor-got-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-lost-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-module.d.ts +10 -0
- package/lib/igx-color-editor-panel-closed-event-args.d.ts +12 -0
- package/lib/igx-color-editor-panel-component.d.ts +125 -0
- package/lib/igx-color-editor-panel-dynamic-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-selected-value-changed-event-args.d.ts +16 -0
- package/lib/igx-multi-slider-component.d.ts +200 -0
- package/lib/igx-multi-slider-dynamic-module.d.ts +9 -0
- package/lib/igx-multi-slider-module.d.ts +9 -0
- package/lib/igx-multi-slider-resolving-tool-tip-value-event-args.d.ts +17 -0
- package/lib/igx-multi-slider-thumb-collection.d.ts +8 -0
- package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +18 -0
- package/lib/igx-multi-slider-thumb.d.ts +33 -0
- package/lib/igx-multi-slider-track-thumb-range.d.ts +32 -0
- package/lib/igx-multi-slider-y-value-changing-event-args.d.ts +15 -0
- package/lib/igx-x-icon-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +55 -0
|
@@ -6,9 +6,16 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { XComponentBridge } from "./XComponentBridge";
|
|
8
8
|
import { INativeUIInputBridge_$type } from "igniteui-angular-core";
|
|
9
|
-
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-angular-core";
|
|
9
|
+
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, typeGetValue, markType } from "igniteui-angular-core";
|
|
10
10
|
import { XInput } from "./XInput";
|
|
11
|
+
import { XSuffix } from "./XSuffix";
|
|
11
12
|
import { NativeUIInputChangingEventArgs } from "igniteui-angular-core";
|
|
13
|
+
import { NativeUIKeyEventArgs } from "igniteui-angular-core";
|
|
14
|
+
import { NativeUIMouseEventArgs } from "igniteui-angular-core";
|
|
15
|
+
import { XIcon } from "./XIcon";
|
|
16
|
+
import { NativeUIClickedEventArgs } from "igniteui-angular-core";
|
|
17
|
+
import { NativeUIFocusEventArgs } from "igniteui-angular-core";
|
|
18
|
+
import { XLabel } from "./XLabel";
|
|
12
19
|
import { NativeUIDisplayDensity_$type } from "igniteui-angular-core";
|
|
13
20
|
import { NativeUIInputDisplayType_$type } from "igniteui-angular-core";
|
|
14
21
|
import { BaseControlTheme_$type } from "igniteui-angular-core";
|
|
@@ -21,25 +28,121 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
21
28
|
class XInputBridge extends XComponentBridge {
|
|
22
29
|
constructor(a) {
|
|
23
30
|
super(a);
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
31
|
+
this.ab = null;
|
|
32
|
+
this.aa = null;
|
|
33
|
+
this.ag = null;
|
|
34
|
+
this.af = null;
|
|
26
35
|
this.x = null;
|
|
27
|
-
this.
|
|
36
|
+
this.am = null;
|
|
37
|
+
this.y = null;
|
|
38
|
+
this.z = null;
|
|
39
|
+
this.ai = null;
|
|
40
|
+
this.ak = null;
|
|
41
|
+
this.ac = null;
|
|
42
|
+
this.ah = null;
|
|
43
|
+
this.ad = null;
|
|
44
|
+
this.aj = null;
|
|
45
|
+
this.ae = null;
|
|
46
|
+
this.al = null;
|
|
47
|
+
this.u = null;
|
|
28
48
|
}
|
|
29
49
|
addHandler(a, b, c, d) {
|
|
30
50
|
let e = a;
|
|
31
51
|
let f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
32
52
|
switch (c) {
|
|
33
53
|
case 0:
|
|
34
|
-
f.changing = delegateCombine(f.changing, runOn(this, this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
54
|
+
f.changing = delegateCombine(f.changing, runOn(this, this.av));
|
|
55
|
+
this.ab = d;
|
|
56
|
+
this.ag = b;
|
|
57
|
+
break;
|
|
58
|
+
case 26:
|
|
59
|
+
f.compositionEnd = delegateCombine(f.compositionEnd, runOn(this, this.ap));
|
|
60
|
+
this.ac = d;
|
|
61
|
+
this.ah = b;
|
|
62
|
+
break;
|
|
63
|
+
case 27:
|
|
64
|
+
f.keyDown = delegateCombine(f.keyDown, runOn(this, this.ar));
|
|
65
|
+
this.ad = d;
|
|
66
|
+
this.aj = b;
|
|
67
|
+
break;
|
|
68
|
+
case 9:
|
|
69
|
+
f.mouseDown = delegateCombine(f.mouseDown, runOn(this, this.at));
|
|
70
|
+
this.ae = d;
|
|
71
|
+
this.al = b;
|
|
37
72
|
break;
|
|
38
73
|
case 2:
|
|
39
|
-
f.change = delegateCombine(f.change, runOn(this, this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
74
|
+
f.change = delegateCombine(f.change, runOn(this, this.au));
|
|
75
|
+
this.aa = d;
|
|
76
|
+
this.af = b;
|
|
42
77
|
break;
|
|
78
|
+
case 24:
|
|
79
|
+
this.ao(a);
|
|
80
|
+
let g = this.w(a);
|
|
81
|
+
let h = this.u;
|
|
82
|
+
h.clicked = delegateCombine(h.clicked, runOn(this, this.aw));
|
|
83
|
+
this.x = d;
|
|
84
|
+
this.am = b;
|
|
85
|
+
break;
|
|
86
|
+
case 13:
|
|
87
|
+
{
|
|
88
|
+
f.gotFocus = delegateCombine(f.gotFocus, runOn(this, this.aq));
|
|
89
|
+
this.y = d;
|
|
90
|
+
this.ai = b;
|
|
91
|
+
}
|
|
92
|
+
break;
|
|
93
|
+
case 14:
|
|
94
|
+
{
|
|
95
|
+
f.lostFocus = delegateCombine(f.lostFocus, runOn(this, this.as));
|
|
96
|
+
this.z = d;
|
|
97
|
+
this.ak = b;
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
at(a, b) {
|
|
103
|
+
if (this.ae != null) {
|
|
104
|
+
let c = new NativeUIMouseEventArgs();
|
|
105
|
+
c.b = b.originalSource;
|
|
106
|
+
this.ae(this.al, c);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
ar(a, b) {
|
|
110
|
+
if (this.ad != null) {
|
|
111
|
+
let c = new NativeUIKeyEventArgs();
|
|
112
|
+
c.g = b.keyCode;
|
|
113
|
+
c.b = b.ctrl;
|
|
114
|
+
c.e = b.shift;
|
|
115
|
+
c.a = b.alt;
|
|
116
|
+
c.h = b.originalEvent;
|
|
117
|
+
this.ad(this.aj, c);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
ap(a, b) {
|
|
121
|
+
if (this.ac != null) {
|
|
122
|
+
let c = new NativeUIInputChangingEventArgs();
|
|
123
|
+
c.b = b.value;
|
|
124
|
+
this.ac(this.ah, c);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
as(a, b) {
|
|
128
|
+
if (this.z != null) {
|
|
129
|
+
let c = new NativeUIFocusEventArgs();
|
|
130
|
+
this.z(this.ak, c);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
aq(a, b) {
|
|
134
|
+
if (this.y != null) {
|
|
135
|
+
let c = new NativeUIFocusEventArgs();
|
|
136
|
+
this.y(this.ai, c);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
aw(a, b) {
|
|
140
|
+
if (this.x != null) {
|
|
141
|
+
let c = new NativeUIClickedEventArgs();
|
|
142
|
+
this.x(this.am, c);
|
|
143
|
+
if (c.a) {
|
|
144
|
+
b.handled = true;
|
|
145
|
+
}
|
|
43
146
|
}
|
|
44
147
|
}
|
|
45
148
|
removeHandler(a, b, c, d) {
|
|
@@ -47,40 +150,143 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
47
150
|
let f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
48
151
|
switch (c) {
|
|
49
152
|
case 0:
|
|
50
|
-
f.changing = delegateRemove(f.changing, runOn(this, this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
153
|
+
f.changing = delegateRemove(f.changing, runOn(this, this.av));
|
|
154
|
+
this.ab = null;
|
|
155
|
+
this.ag = null;
|
|
156
|
+
break;
|
|
157
|
+
case 26:
|
|
158
|
+
f.compositionEnd = delegateRemove(f.compositionEnd, runOn(this, this.ap));
|
|
159
|
+
this.ac = null;
|
|
160
|
+
this.ah = null;
|
|
161
|
+
break;
|
|
162
|
+
case 27:
|
|
163
|
+
f.keyDown = delegateRemove(f.keyDown, runOn(this, this.ar));
|
|
164
|
+
this.ad = null;
|
|
165
|
+
this.aj = null;
|
|
166
|
+
break;
|
|
167
|
+
case 9:
|
|
168
|
+
f.mouseDown = delegateRemove(f.mouseDown, runOn(this, this.at));
|
|
169
|
+
this.ae = null;
|
|
170
|
+
this.al = null;
|
|
53
171
|
break;
|
|
54
172
|
case 2:
|
|
55
|
-
f.change = delegateRemove(f.change, runOn(this, this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
173
|
+
f.change = delegateRemove(f.change, runOn(this, this.au));
|
|
174
|
+
this.aa = null;
|
|
175
|
+
this.af = null;
|
|
176
|
+
break;
|
|
177
|
+
case 24:
|
|
178
|
+
this.ao(a);
|
|
179
|
+
let g = this.w(a);
|
|
180
|
+
let h = this.u;
|
|
181
|
+
h.clicked = delegateRemove(h.clicked, runOn(this, this.aw));
|
|
182
|
+
this.x = null;
|
|
183
|
+
this.am = null;
|
|
184
|
+
break;
|
|
185
|
+
case 13:
|
|
186
|
+
{
|
|
187
|
+
f.gotFocus = delegateRemove(f.gotFocus, runOn(this, this.aq));
|
|
188
|
+
this.y = null;
|
|
189
|
+
this.ai = null;
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
case 14:
|
|
193
|
+
{
|
|
194
|
+
f.lostFocus = delegateRemove(f.lostFocus, runOn(this, this.as));
|
|
195
|
+
this.z = null;
|
|
196
|
+
this.ak = null;
|
|
197
|
+
}
|
|
58
198
|
break;
|
|
59
199
|
}
|
|
60
200
|
}
|
|
61
|
-
|
|
62
|
-
if (this.
|
|
201
|
+
av(a, b) {
|
|
202
|
+
if (this.ab != null) {
|
|
63
203
|
let c = new NativeUIInputChangingEventArgs();
|
|
64
|
-
|
|
204
|
+
c.a = b.isCompositionInProgress;
|
|
205
|
+
c.b = b.value;
|
|
206
|
+
this.ab(this.ag, c);
|
|
65
207
|
}
|
|
66
208
|
}
|
|
67
|
-
|
|
68
|
-
if (this.
|
|
209
|
+
au(a, b) {
|
|
210
|
+
if (this.aa != null) {
|
|
69
211
|
let c = new NativeUIInputChangingEventArgs();
|
|
70
|
-
|
|
212
|
+
c.a = b.isCompositionInProgress;
|
|
213
|
+
c.b = b.value;
|
|
214
|
+
this.aa(this.af, c);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
v(a) {
|
|
218
|
+
for (let b = 0; b < a.inputs.count; b++) {
|
|
219
|
+
let c = a.inputs._inner[b];
|
|
220
|
+
if (typeCast(XLabel.$, c) !== null) {
|
|
221
|
+
return c;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
return null;
|
|
225
|
+
}
|
|
226
|
+
an(a) {
|
|
227
|
+
let b = this.v(a);
|
|
228
|
+
if (b == null) {
|
|
229
|
+
b = new XLabel();
|
|
230
|
+
let c = a.view.l;
|
|
231
|
+
let d = c.createElement("div");
|
|
232
|
+
let e = c.getSubRenderer(d);
|
|
233
|
+
b.provideContainer(e);
|
|
234
|
+
a.inputs.add(b);
|
|
235
|
+
a.appendContentChild(d);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
w(a) {
|
|
239
|
+
for (let b = 0; b < a.inputs.count; b++) {
|
|
240
|
+
let c = a.inputs._inner[b];
|
|
241
|
+
if (typeCast(XSuffix.$, c) !== null) {
|
|
242
|
+
return c;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
return null;
|
|
246
|
+
}
|
|
247
|
+
ao(a) {
|
|
248
|
+
let b = this.w(a);
|
|
249
|
+
if (b == null) {
|
|
250
|
+
let c = a.view.l;
|
|
251
|
+
let d = new XSuffix();
|
|
252
|
+
let e = c.createElement("div");
|
|
253
|
+
let f = c.getSubRenderer(e);
|
|
254
|
+
d.provideContainer(f);
|
|
255
|
+
this.u = new XIcon();
|
|
256
|
+
let g = c.createElement("div");
|
|
257
|
+
let h = c.getSubRenderer(g);
|
|
258
|
+
this.u.provideContainer(h);
|
|
259
|
+
d.appendContentChild(g);
|
|
260
|
+
a.inputs.add(d);
|
|
261
|
+
a.appendContentChild(e);
|
|
71
262
|
}
|
|
72
263
|
}
|
|
73
264
|
getValue(a, b) {
|
|
74
265
|
let c = a;
|
|
75
266
|
let d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
76
267
|
switch (b) {
|
|
268
|
+
case 100: return a.mc;
|
|
269
|
+
case 3:
|
|
270
|
+
this.an(a);
|
|
271
|
+
let e = this.v(a);
|
|
272
|
+
return e.text;
|
|
273
|
+
case 97:
|
|
274
|
+
this.ao(a);
|
|
275
|
+
return this.u.svgPath;
|
|
276
|
+
case 98:
|
|
277
|
+
this.ao(a);
|
|
278
|
+
return this.u.fill;
|
|
279
|
+
case 99:
|
|
280
|
+
this.ao(a);
|
|
281
|
+
return this.u.df;
|
|
77
282
|
case 2: return d.cq;
|
|
78
283
|
case 1:
|
|
79
284
|
switch (c.t) {
|
|
80
285
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
81
286
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
82
|
-
case 3: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
83
|
-
case 2: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
287
|
+
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 3);
|
|
288
|
+
case 2: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
289
|
+
case 4: return enumGetBox(NativeUIDisplayDensity_$type, 4);
|
|
84
290
|
}
|
|
85
291
|
break;
|
|
86
292
|
case 0:
|
|
@@ -108,6 +314,9 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
108
314
|
case 21: return d.a1;
|
|
109
315
|
case 32: return d.disabled;
|
|
110
316
|
case 33: return d.d8;
|
|
317
|
+
case 102: return d.selectionStart;
|
|
318
|
+
case 103: return d.selectionEnd;
|
|
319
|
+
case 104: return c.an;
|
|
111
320
|
}
|
|
112
321
|
return null;
|
|
113
322
|
}
|
|
@@ -115,6 +324,26 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
115
324
|
let d = a;
|
|
116
325
|
let e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
117
326
|
switch (b) {
|
|
327
|
+
case 100:
|
|
328
|
+
a.mc = c;
|
|
329
|
+
break;
|
|
330
|
+
case 3:
|
|
331
|
+
this.an(a);
|
|
332
|
+
let f = this.v(a);
|
|
333
|
+
f.text = c;
|
|
334
|
+
break;
|
|
335
|
+
case 97:
|
|
336
|
+
this.ao(a);
|
|
337
|
+
this.u.svgPath = c;
|
|
338
|
+
break;
|
|
339
|
+
case 98:
|
|
340
|
+
this.ao(a);
|
|
341
|
+
this.u.fill = c;
|
|
342
|
+
break;
|
|
343
|
+
case 99:
|
|
344
|
+
this.ao(a);
|
|
345
|
+
this.u.df = c;
|
|
346
|
+
break;
|
|
118
347
|
case 2:
|
|
119
348
|
e.cq = c == null ? null : c.toString();
|
|
120
349
|
break;
|
|
@@ -126,12 +355,15 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
126
355
|
case 1:
|
|
127
356
|
d.t = 1;
|
|
128
357
|
break;
|
|
129
|
-
case
|
|
358
|
+
case 3:
|
|
130
359
|
d.t = 3;
|
|
131
360
|
break;
|
|
132
|
-
case
|
|
361
|
+
case 2:
|
|
133
362
|
d.t = 2;
|
|
134
363
|
break;
|
|
364
|
+
case 4:
|
|
365
|
+
d.t = 4;
|
|
366
|
+
break;
|
|
135
367
|
}
|
|
136
368
|
break;
|
|
137
369
|
case 0:
|
|
@@ -185,12 +417,24 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
185
417
|
case 33:
|
|
186
418
|
e.d8 = c;
|
|
187
419
|
break;
|
|
420
|
+
case 102:
|
|
421
|
+
e.selectionStart = typeGetValue(c);
|
|
422
|
+
break;
|
|
423
|
+
case 103:
|
|
424
|
+
e.selectionEnd = typeGetValue(c);
|
|
425
|
+
break;
|
|
426
|
+
case 104:
|
|
427
|
+
d.an = c;
|
|
428
|
+
break;
|
|
188
429
|
}
|
|
189
430
|
}
|
|
190
431
|
getTargetForProperty(a, b) {
|
|
191
432
|
switch (a) {
|
|
192
433
|
case 9:
|
|
193
434
|
case 10: return b;
|
|
435
|
+
case 2: return b;
|
|
436
|
+
case 3: return b;
|
|
437
|
+
case 4: return b;
|
|
194
438
|
}
|
|
195
439
|
return super.getTargetForProperty(a, b);
|
|
196
440
|
}
|
|
@@ -204,6 +448,10 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
204
448
|
let c = b.inputs._inner[0];
|
|
205
449
|
window.setTimeout(() => c.dp(), 0);
|
|
206
450
|
}
|
|
451
|
+
resetIsExpanded(a) {
|
|
452
|
+
let b = a;
|
|
453
|
+
b.j8();
|
|
454
|
+
}
|
|
207
455
|
setSelectionRange(a, b, c) {
|
|
208
456
|
let d = a;
|
|
209
457
|
let e = d.inputs._inner[0];
|