igniteui-angular-inputs 18.1.1 → 18.2.0-beta.1
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
package/esm5/lib/XInputBridge.js
CHANGED
|
@@ -7,9 +7,16 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
7
7
|
import { __extends } from "tslib";
|
|
8
8
|
import { XComponentBridge } from "./XComponentBridge";
|
|
9
9
|
import { INativeUIInputBridge_$type } from "igniteui-angular-core";
|
|
10
|
-
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-angular-core";
|
|
10
|
+
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, typeGetValue, markType } from "igniteui-angular-core";
|
|
11
11
|
import { XInput } from "./XInput";
|
|
12
|
+
import { XSuffix } from "./XSuffix";
|
|
12
13
|
import { NativeUIInputChangingEventArgs } from "igniteui-angular-core";
|
|
14
|
+
import { NativeUIKeyEventArgs } from "igniteui-angular-core";
|
|
15
|
+
import { NativeUIMouseEventArgs } from "igniteui-angular-core";
|
|
16
|
+
import { XIcon } from "./XIcon";
|
|
17
|
+
import { NativeUIClickedEventArgs } from "igniteui-angular-core";
|
|
18
|
+
import { NativeUIFocusEventArgs } from "igniteui-angular-core";
|
|
19
|
+
import { XLabel } from "./XLabel";
|
|
13
20
|
import { NativeUIDisplayDensity_$type } from "igniteui-angular-core";
|
|
14
21
|
import { NativeUIInputDisplayType_$type } from "igniteui-angular-core";
|
|
15
22
|
import { BaseControlTheme_$type } from "igniteui-angular-core";
|
|
@@ -22,10 +29,23 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
22
29
|
__extends(XInputBridge, _super);
|
|
23
30
|
function XInputBridge(a) {
|
|
24
31
|
var _this = _super.call(this, a) || this;
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
32
|
+
_this.ab = null;
|
|
33
|
+
_this.aa = null;
|
|
34
|
+
_this.ag = null;
|
|
35
|
+
_this.af = null;
|
|
27
36
|
_this.x = null;
|
|
28
|
-
_this.
|
|
37
|
+
_this.am = null;
|
|
38
|
+
_this.y = null;
|
|
39
|
+
_this.z = null;
|
|
40
|
+
_this.ai = null;
|
|
41
|
+
_this.ak = null;
|
|
42
|
+
_this.ac = null;
|
|
43
|
+
_this.ah = null;
|
|
44
|
+
_this.ad = null;
|
|
45
|
+
_this.aj = null;
|
|
46
|
+
_this.ae = null;
|
|
47
|
+
_this.al = null;
|
|
48
|
+
_this.u = null;
|
|
29
49
|
return _this;
|
|
30
50
|
}
|
|
31
51
|
XInputBridge.prototype.addHandler = function (a, b, c, d) {
|
|
@@ -33,15 +53,98 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
33
53
|
var f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
34
54
|
switch (c) {
|
|
35
55
|
case 0:
|
|
36
|
-
f.changing = delegateCombine(f.changing, runOn(this, this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
56
|
+
f.changing = delegateCombine(f.changing, runOn(this, this.av));
|
|
57
|
+
this.ab = d;
|
|
58
|
+
this.ag = b;
|
|
59
|
+
break;
|
|
60
|
+
case 26:
|
|
61
|
+
f.compositionEnd = delegateCombine(f.compositionEnd, runOn(this, this.ap));
|
|
62
|
+
this.ac = d;
|
|
63
|
+
this.ah = b;
|
|
64
|
+
break;
|
|
65
|
+
case 27:
|
|
66
|
+
f.keyDown = delegateCombine(f.keyDown, runOn(this, this.ar));
|
|
67
|
+
this.ad = d;
|
|
68
|
+
this.aj = b;
|
|
69
|
+
break;
|
|
70
|
+
case 9:
|
|
71
|
+
f.mouseDown = delegateCombine(f.mouseDown, runOn(this, this.at));
|
|
72
|
+
this.ae = d;
|
|
73
|
+
this.al = b;
|
|
39
74
|
break;
|
|
40
75
|
case 2:
|
|
41
|
-
f.change = delegateCombine(f.change, runOn(this, this.
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
76
|
+
f.change = delegateCombine(f.change, runOn(this, this.au));
|
|
77
|
+
this.aa = d;
|
|
78
|
+
this.af = b;
|
|
44
79
|
break;
|
|
80
|
+
case 24:
|
|
81
|
+
this.ao(a);
|
|
82
|
+
var g = this.w(a);
|
|
83
|
+
var h = this.u;
|
|
84
|
+
h.clicked = delegateCombine(h.clicked, runOn(this, this.aw));
|
|
85
|
+
this.x = d;
|
|
86
|
+
this.am = b;
|
|
87
|
+
break;
|
|
88
|
+
case 13:
|
|
89
|
+
{
|
|
90
|
+
f.gotFocus = delegateCombine(f.gotFocus, runOn(this, this.aq));
|
|
91
|
+
this.y = d;
|
|
92
|
+
this.ai = b;
|
|
93
|
+
}
|
|
94
|
+
break;
|
|
95
|
+
case 14:
|
|
96
|
+
{
|
|
97
|
+
f.lostFocus = delegateCombine(f.lostFocus, runOn(this, this.as));
|
|
98
|
+
this.z = d;
|
|
99
|
+
this.ak = b;
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
XInputBridge.prototype.at = function (a, b) {
|
|
105
|
+
if (this.ae != null) {
|
|
106
|
+
var c = new NativeUIMouseEventArgs();
|
|
107
|
+
c.b = b.originalSource;
|
|
108
|
+
this.ae(this.al, c);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
XInputBridge.prototype.ar = function (a, b) {
|
|
112
|
+
if (this.ad != null) {
|
|
113
|
+
var c = new NativeUIKeyEventArgs();
|
|
114
|
+
c.g = b.keyCode;
|
|
115
|
+
c.b = b.ctrl;
|
|
116
|
+
c.e = b.shift;
|
|
117
|
+
c.a = b.alt;
|
|
118
|
+
c.h = b.originalEvent;
|
|
119
|
+
this.ad(this.aj, c);
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
XInputBridge.prototype.ap = function (a, b) {
|
|
123
|
+
if (this.ac != null) {
|
|
124
|
+
var c = new NativeUIInputChangingEventArgs();
|
|
125
|
+
c.b = b.value;
|
|
126
|
+
this.ac(this.ah, c);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
XInputBridge.prototype.as = function (a, b) {
|
|
130
|
+
if (this.z != null) {
|
|
131
|
+
var c = new NativeUIFocusEventArgs();
|
|
132
|
+
this.z(this.ak, c);
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
XInputBridge.prototype.aq = function (a, b) {
|
|
136
|
+
if (this.y != null) {
|
|
137
|
+
var c = new NativeUIFocusEventArgs();
|
|
138
|
+
this.y(this.ai, c);
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
XInputBridge.prototype.aw = function (a, b) {
|
|
142
|
+
if (this.x != null) {
|
|
143
|
+
var c = new NativeUIClickedEventArgs();
|
|
144
|
+
this.x(this.am, c);
|
|
145
|
+
if (c.a) {
|
|
146
|
+
b.handled = true;
|
|
147
|
+
}
|
|
45
148
|
}
|
|
46
149
|
};
|
|
47
150
|
XInputBridge.prototype.removeHandler = function (a, b, c, d) {
|
|
@@ -49,40 +152,143 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
49
152
|
var f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
50
153
|
switch (c) {
|
|
51
154
|
case 0:
|
|
52
|
-
f.changing = delegateRemove(f.changing, runOn(this, this.
|
|
53
|
-
this.
|
|
54
|
-
this.
|
|
155
|
+
f.changing = delegateRemove(f.changing, runOn(this, this.av));
|
|
156
|
+
this.ab = null;
|
|
157
|
+
this.ag = null;
|
|
158
|
+
break;
|
|
159
|
+
case 26:
|
|
160
|
+
f.compositionEnd = delegateRemove(f.compositionEnd, runOn(this, this.ap));
|
|
161
|
+
this.ac = null;
|
|
162
|
+
this.ah = null;
|
|
163
|
+
break;
|
|
164
|
+
case 27:
|
|
165
|
+
f.keyDown = delegateRemove(f.keyDown, runOn(this, this.ar));
|
|
166
|
+
this.ad = null;
|
|
167
|
+
this.aj = null;
|
|
168
|
+
break;
|
|
169
|
+
case 9:
|
|
170
|
+
f.mouseDown = delegateRemove(f.mouseDown, runOn(this, this.at));
|
|
171
|
+
this.ae = null;
|
|
172
|
+
this.al = null;
|
|
55
173
|
break;
|
|
56
174
|
case 2:
|
|
57
|
-
f.change = delegateRemove(f.change, runOn(this, this.
|
|
58
|
-
this.
|
|
59
|
-
this.
|
|
175
|
+
f.change = delegateRemove(f.change, runOn(this, this.au));
|
|
176
|
+
this.aa = null;
|
|
177
|
+
this.af = null;
|
|
178
|
+
break;
|
|
179
|
+
case 24:
|
|
180
|
+
this.ao(a);
|
|
181
|
+
var g = this.w(a);
|
|
182
|
+
var h = this.u;
|
|
183
|
+
h.clicked = delegateRemove(h.clicked, runOn(this, this.aw));
|
|
184
|
+
this.x = null;
|
|
185
|
+
this.am = null;
|
|
186
|
+
break;
|
|
187
|
+
case 13:
|
|
188
|
+
{
|
|
189
|
+
f.gotFocus = delegateRemove(f.gotFocus, runOn(this, this.aq));
|
|
190
|
+
this.y = null;
|
|
191
|
+
this.ai = null;
|
|
192
|
+
}
|
|
193
|
+
break;
|
|
194
|
+
case 14:
|
|
195
|
+
{
|
|
196
|
+
f.lostFocus = delegateRemove(f.lostFocus, runOn(this, this.as));
|
|
197
|
+
this.z = null;
|
|
198
|
+
this.ak = null;
|
|
199
|
+
}
|
|
60
200
|
break;
|
|
61
201
|
}
|
|
62
202
|
};
|
|
63
|
-
XInputBridge.prototype.
|
|
64
|
-
if (this.
|
|
203
|
+
XInputBridge.prototype.av = function (a, b) {
|
|
204
|
+
if (this.ab != null) {
|
|
65
205
|
var c = new NativeUIInputChangingEventArgs();
|
|
66
|
-
|
|
206
|
+
c.a = b.isCompositionInProgress;
|
|
207
|
+
c.b = b.value;
|
|
208
|
+
this.ab(this.ag, c);
|
|
67
209
|
}
|
|
68
210
|
};
|
|
69
|
-
XInputBridge.prototype.
|
|
70
|
-
if (this.
|
|
211
|
+
XInputBridge.prototype.au = function (a, b) {
|
|
212
|
+
if (this.aa != null) {
|
|
71
213
|
var c = new NativeUIInputChangingEventArgs();
|
|
72
|
-
|
|
214
|
+
c.a = b.isCompositionInProgress;
|
|
215
|
+
c.b = b.value;
|
|
216
|
+
this.aa(this.af, c);
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
XInputBridge.prototype.v = function (a) {
|
|
220
|
+
for (var b = 0; b < a.inputs.count; b++) {
|
|
221
|
+
var c = a.inputs._inner[b];
|
|
222
|
+
if (typeCast(XLabel.$, c) !== null) {
|
|
223
|
+
return c;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return null;
|
|
227
|
+
};
|
|
228
|
+
XInputBridge.prototype.an = function (a) {
|
|
229
|
+
var b = this.v(a);
|
|
230
|
+
if (b == null) {
|
|
231
|
+
b = new XLabel();
|
|
232
|
+
var c = a.view.l;
|
|
233
|
+
var d = c.createElement("div");
|
|
234
|
+
var e = c.getSubRenderer(d);
|
|
235
|
+
b.provideContainer(e);
|
|
236
|
+
a.inputs.add(b);
|
|
237
|
+
a.appendContentChild(d);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
XInputBridge.prototype.w = function (a) {
|
|
241
|
+
for (var b = 0; b < a.inputs.count; b++) {
|
|
242
|
+
var c = a.inputs._inner[b];
|
|
243
|
+
if (typeCast(XSuffix.$, c) !== null) {
|
|
244
|
+
return c;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return null;
|
|
248
|
+
};
|
|
249
|
+
XInputBridge.prototype.ao = function (a) {
|
|
250
|
+
var b = this.w(a);
|
|
251
|
+
if (b == null) {
|
|
252
|
+
var c = a.view.l;
|
|
253
|
+
var d = new XSuffix();
|
|
254
|
+
var e = c.createElement("div");
|
|
255
|
+
var f = c.getSubRenderer(e);
|
|
256
|
+
d.provideContainer(f);
|
|
257
|
+
this.u = new XIcon();
|
|
258
|
+
var g = c.createElement("div");
|
|
259
|
+
var h = c.getSubRenderer(g);
|
|
260
|
+
this.u.provideContainer(h);
|
|
261
|
+
d.appendContentChild(g);
|
|
262
|
+
a.inputs.add(d);
|
|
263
|
+
a.appendContentChild(e);
|
|
73
264
|
}
|
|
74
265
|
};
|
|
75
266
|
XInputBridge.prototype.getValue = function (a, b) {
|
|
76
267
|
var c = a;
|
|
77
268
|
var d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
78
269
|
switch (b) {
|
|
270
|
+
case 100: return a.mc;
|
|
271
|
+
case 3:
|
|
272
|
+
this.an(a);
|
|
273
|
+
var e = this.v(a);
|
|
274
|
+
return e.text;
|
|
275
|
+
case 97:
|
|
276
|
+
this.ao(a);
|
|
277
|
+
return this.u.svgPath;
|
|
278
|
+
case 98:
|
|
279
|
+
this.ao(a);
|
|
280
|
+
return this.u.fill;
|
|
281
|
+
case 99:
|
|
282
|
+
this.ao(a);
|
|
283
|
+
return this.u.df;
|
|
79
284
|
case 2: return d.cq;
|
|
80
285
|
case 1:
|
|
81
286
|
switch (c.t) {
|
|
82
287
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
83
288
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
84
|
-
case 3: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
85
|
-
case 2: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
289
|
+
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 3);
|
|
290
|
+
case 2: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
291
|
+
case 4: return enumGetBox(NativeUIDisplayDensity_$type, 4);
|
|
86
292
|
}
|
|
87
293
|
break;
|
|
88
294
|
case 0:
|
|
@@ -110,6 +316,9 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
110
316
|
case 21: return d.a1;
|
|
111
317
|
case 32: return d.disabled;
|
|
112
318
|
case 33: return d.d8;
|
|
319
|
+
case 102: return d.selectionStart;
|
|
320
|
+
case 103: return d.selectionEnd;
|
|
321
|
+
case 104: return c.an;
|
|
113
322
|
}
|
|
114
323
|
return null;
|
|
115
324
|
};
|
|
@@ -117,6 +326,26 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
117
326
|
var d = a;
|
|
118
327
|
var e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
119
328
|
switch (b) {
|
|
329
|
+
case 100:
|
|
330
|
+
a.mc = c;
|
|
331
|
+
break;
|
|
332
|
+
case 3:
|
|
333
|
+
this.an(a);
|
|
334
|
+
var f = this.v(a);
|
|
335
|
+
f.text = c;
|
|
336
|
+
break;
|
|
337
|
+
case 97:
|
|
338
|
+
this.ao(a);
|
|
339
|
+
this.u.svgPath = c;
|
|
340
|
+
break;
|
|
341
|
+
case 98:
|
|
342
|
+
this.ao(a);
|
|
343
|
+
this.u.fill = c;
|
|
344
|
+
break;
|
|
345
|
+
case 99:
|
|
346
|
+
this.ao(a);
|
|
347
|
+
this.u.df = c;
|
|
348
|
+
break;
|
|
120
349
|
case 2:
|
|
121
350
|
e.cq = c == null ? null : c.toString();
|
|
122
351
|
break;
|
|
@@ -128,12 +357,15 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
128
357
|
case 1:
|
|
129
358
|
d.t = 1;
|
|
130
359
|
break;
|
|
131
|
-
case
|
|
360
|
+
case 3:
|
|
132
361
|
d.t = 3;
|
|
133
362
|
break;
|
|
134
|
-
case
|
|
363
|
+
case 2:
|
|
135
364
|
d.t = 2;
|
|
136
365
|
break;
|
|
366
|
+
case 4:
|
|
367
|
+
d.t = 4;
|
|
368
|
+
break;
|
|
137
369
|
}
|
|
138
370
|
break;
|
|
139
371
|
case 0:
|
|
@@ -187,12 +419,24 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
187
419
|
case 33:
|
|
188
420
|
e.d8 = c;
|
|
189
421
|
break;
|
|
422
|
+
case 102:
|
|
423
|
+
e.selectionStart = typeGetValue(c);
|
|
424
|
+
break;
|
|
425
|
+
case 103:
|
|
426
|
+
e.selectionEnd = typeGetValue(c);
|
|
427
|
+
break;
|
|
428
|
+
case 104:
|
|
429
|
+
d.an = c;
|
|
430
|
+
break;
|
|
190
431
|
}
|
|
191
432
|
};
|
|
192
433
|
XInputBridge.prototype.getTargetForProperty = function (a, b) {
|
|
193
434
|
switch (a) {
|
|
194
435
|
case 9:
|
|
195
436
|
case 10: return b;
|
|
437
|
+
case 2: return b;
|
|
438
|
+
case 3: return b;
|
|
439
|
+
case 4: return b;
|
|
196
440
|
}
|
|
197
441
|
return _super.prototype.getTargetForProperty.call(this, a, b);
|
|
198
442
|
};
|
|
@@ -206,6 +450,10 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
206
450
|
var c = b.inputs._inner[0];
|
|
207
451
|
window.setTimeout(function () { return c.dp(); }, 0);
|
|
208
452
|
};
|
|
453
|
+
XInputBridge.prototype.resetIsExpanded = function (a) {
|
|
454
|
+
var b = a;
|
|
455
|
+
b.j8();
|
|
456
|
+
};
|
|
209
457
|
XInputBridge.prototype.setSelectionRange = function (a, b, c) {
|
|
210
458
|
var d = a;
|
|
211
459
|
var e = d.inputs._inner[0];
|