igniteui-webcomponents-inputs 4.2.4-alpha → 4.3.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-webcomponents-inputs.umd.js +10205 -7880
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +98 -98
- package/esm2015/lib/ButtonView_combined.js +2206 -1799
- package/esm2015/lib/CalendarView_combined.js +156 -156
- package/esm2015/lib/CheckboxView_combined.js +532 -458
- package/esm2015/lib/DatePickerView_combined.js +398 -364
- package/esm2015/lib/IconView_combined.js +553 -355
- package/esm2015/lib/InputGroupView_combined.js +2432 -2152
- package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/Theme.js +48 -0
- package/esm2015/lib/ThemeResolver.js +131 -7
- package/esm2015/lib/XButtonBridge.js +218 -22
- package/esm2015/lib/XCheckboxBridge.js +25 -16
- package/esm2015/lib/XComponentBridge.js +20 -6
- package/esm2015/lib/XIconBridge.js +93 -0
- package/esm2015/lib/XIconButtonBridge.js +45 -33
- package/esm2015/lib/XInputBridge.js +91 -38
- package/esm2015/lib/XPopupBridge.js +287 -0
- package/esm2015/lib/igc-date-picker-component.js +60 -58
- package/esm2015/lib/igc-x-button-component.js +694 -546
- package/esm2015/lib/igc-x-button-group-component.js +28 -28
- package/esm2015/lib/igc-x-calendar-component.js +16 -16
- package/esm2015/lib/igc-x-checkbox-component.js +77 -77
- package/esm2015/lib/igc-x-icon-component.js +239 -118
- package/esm2015/lib/igc-x-input-component.js +61 -43
- package/esm2015/lib/igc-x-input-group-component.js +576 -576
- package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
- package/esm2015/lib/igc-x-ripple-component.js +35 -35
- package/esm2015/public_api.js +3 -0
- package/esm5/lib/ButtonClickEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
- package/esm5/lib/ButtonGroupView_combined.js +176 -176
- package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
- package/esm5/lib/ButtonView_combined.js +2259 -1808
- package/esm5/lib/ButtonVisualModelExport.js +2 -2
- package/esm5/lib/CalendarView_combined.js +181 -181
- package/esm5/lib/CalendarVisualModelExport.js +2 -2
- package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
- package/esm5/lib/CheckboxView_combined.js +561 -483
- package/esm5/lib/CheckboxVisualModelExport.js +2 -2
- package/esm5/lib/DatePickerView_combined.js +421 -383
- package/esm5/lib/DatePickerVisualModelExport.js +2 -2
- package/esm5/lib/DateTimeValueFormatter.js +2 -2
- package/esm5/lib/DayInfo.js +2 -2
- package/esm5/lib/ElevationHelper.js +2 -2
- package/esm5/lib/GotFocusEventArgs.js +2 -2
- package/esm5/lib/IconClickedEventArgs.js +2 -2
- package/esm5/lib/IconView_combined.js +600 -362
- package/esm5/lib/IconVisualModelExport.js +3 -3
- package/esm5/lib/InputChangeEventArgs.js +4 -4
- package/esm5/lib/InputGroupView_combined.js +2534 -2246
- package/esm5/lib/InputGroupVisualModelExport.js +2 -2
- package/esm5/lib/InputVisualModelExport.js +2 -2
- package/esm5/lib/LabelVisualModelExport.js +2 -2
- package/esm5/lib/LostFocusEventArgs.js +2 -2
- package/esm5/lib/MaskOptions.js +2 -2
- package/esm5/lib/MaskParsingService.js +5 -5
- package/esm5/lib/NativeUIXInputsFactory.js +69 -27
- package/esm5/lib/PrefixVisualModelExport.js +2 -2
- package/esm5/lib/Replaced.js +2 -2
- package/esm5/lib/RippleView_combined.js +17 -17
- package/esm5/lib/RippleVisualModelExport.js +2 -2
- package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
- package/esm5/lib/SuffixVisualModelExport.js +2 -2
- package/esm5/lib/TextElementsVisualModelExport.js +2 -2
- package/esm5/lib/Theme.js +58 -0
- package/esm5/lib/ThemeResolver.js +137 -11
- package/esm5/lib/XButtonBridge.js +220 -24
- package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
- package/esm5/lib/XCheckboxBridge.js +27 -18
- package/esm5/lib/XComponentBridge.js +26 -8
- package/esm5/lib/XIconBridge.js +95 -0
- package/esm5/lib/XIconButtonBridge.js +47 -35
- package/esm5/lib/XInputBridge.js +93 -40
- package/esm5/lib/XPopupBridge.js +289 -0
- package/esm5/lib/igc-button-click-event-args.js +1 -1
- package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
- package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
- package/esm5/lib/igc-date-picker-component.js +80 -78
- package/esm5/lib/igc-got-focus-event-args.js +1 -1
- package/esm5/lib/igc-input-change-event-args.js +3 -3
- package/esm5/lib/igc-lost-focus-event-args.js +1 -1
- package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
- package/esm5/lib/igc-x-button-component.js +908 -710
- package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
- package/esm5/lib/igc-x-button-group-component.js +73 -73
- package/esm5/lib/igc-x-calendar-component.js +30 -30
- package/esm5/lib/igc-x-checkbox-component.js +117 -117
- package/esm5/lib/igc-x-icon-component.js +297 -136
- package/esm5/lib/igc-x-input-component.js +104 -78
- package/esm5/lib/igc-x-input-group-component.js +716 -716
- package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
- package/esm5/lib/igc-x-input-group-item-component.js +6 -6
- package/esm5/lib/igc-x-label-component.js +30 -30
- package/esm5/lib/igc-x-prefix-component.js +9 -9
- package/esm5/lib/igc-x-ripple-component.js +19 -19
- package/esm5/lib/igc-x-suffix-component.js +9 -9
- package/esm5/public_api.js +3 -0
- package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
- package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
- package/lib/ButtonGroupView_combined.d.ts +136 -70
- package/lib/ButtonView_combined.d.ts +609 -583
- package/lib/CalendarView_combined.d.ts +43 -22
- package/lib/CheckboxChangeEventArgs.d.ts +4 -2
- package/lib/CheckboxView_combined.d.ts +150 -117
- package/lib/DatePickerView_combined.d.ts +109 -81
- package/lib/IconView_combined.d.ts +164 -93
- package/lib/IconVisualModelExport.d.ts +2 -1
- package/lib/InputChangeEventArgs.d.ts +4 -2
- package/lib/InputGroupView_combined.d.ts +771 -771
- package/lib/NativeUIXInputsFactory.d.ts +6 -4
- package/lib/RippleView_combined.d.ts +19 -10
- package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
- package/lib/Theme.d.ts +15 -0
- package/lib/ThemeResolver.d.ts +44 -6
- package/lib/XButtonBridge.d.ts +23 -5
- package/lib/XCheckboxBridge.d.ts +3 -3
- package/lib/XComponentBridge.d.ts +2 -1
- package/lib/XIconBridge.d.ts +14 -0
- package/lib/XIconButtonBridge.d.ts +4 -4
- package/lib/XInputBridge.d.ts +11 -7
- package/lib/XPopupBridge.d.ts +52 -0
- package/lib/igc-button-click-event-args.d.ts +1 -1
- package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
- package/lib/igc-checkbox-change-event-args.d.ts +5 -3
- package/lib/igc-date-picker-component.d.ts +65 -34
- package/lib/igc-got-focus-event-args.d.ts +1 -1
- package/lib/igc-input-change-event-args.d.ts +5 -3
- package/lib/igc-lost-focus-event-args.d.ts +1 -1
- package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
- package/lib/igc-x-button-component.d.ts +399 -173
- package/lib/igc-x-button-group-component.d.ts +136 -70
- package/lib/igc-x-calendar-component.d.ts +53 -28
- package/lib/igc-x-checkbox-component.d.ts +71 -37
- package/lib/igc-x-icon-component.d.ts +140 -44
- package/lib/igc-x-input-component.d.ts +69 -32
- package/lib/igc-x-input-group-component.d.ts +325 -165
- package/lib/igc-x-input-group-item-component.d.ts +5 -4
- package/lib/igc-x-label-component.d.ts +52 -27
- package/lib/igc-x-prefix-component.d.ts +10 -6
- package/lib/igc-x-ripple-component.d.ts +31 -17
- package/lib/igc-x-suffix-component.d.ts +10 -6
- package/package.json +2 -2
- package/public_api.d.ts +3 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
|
|
3
|
+
https://www.infragistics.com/legal/license/igultimate-la
|
|
4
|
+
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
|
+
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
|
+
*/
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
|
+
import { XComponentBridge } from "./XComponentBridge";
|
|
9
|
+
import { enumGetBox, markType } from "igniteui-webcomponents-core";
|
|
10
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
11
|
+
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
12
|
+
import { stringStartsWith } from "igniteui-webcomponents-core";
|
|
13
|
+
import { trimStart } from "igniteui-webcomponents-core";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
18
|
+
__extends(XIconBridge, _super);
|
|
19
|
+
function XIconBridge(a) {
|
|
20
|
+
var _this = _super.call(this, a) || this;
|
|
21
|
+
_this.u = "default";
|
|
22
|
+
_this.v = null;
|
|
23
|
+
return _this;
|
|
24
|
+
}
|
|
25
|
+
XIconBridge.prototype.getValue = function (a, b) {
|
|
26
|
+
var c = a;
|
|
27
|
+
switch (b) {
|
|
28
|
+
case 16: return this.v;
|
|
29
|
+
case 15: return this.u;
|
|
30
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.i);
|
|
31
|
+
case 44: return c.al;
|
|
32
|
+
case 45: return c.am;
|
|
33
|
+
case 46: return c.an;
|
|
34
|
+
case 47: return c.ak;
|
|
35
|
+
case 48: return c.ao;
|
|
36
|
+
case 49: return c.ag;
|
|
37
|
+
}
|
|
38
|
+
return _super.prototype.getValue.call(this, a, b);
|
|
39
|
+
};
|
|
40
|
+
XIconBridge.prototype.setValue = function (a, b, c) {
|
|
41
|
+
_super.prototype.setValue.call(this, a, b, c);
|
|
42
|
+
var d = a;
|
|
43
|
+
switch (b) {
|
|
44
|
+
case 15:
|
|
45
|
+
{
|
|
46
|
+
this.u = c;
|
|
47
|
+
var e = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
48
|
+
if (e != null) {
|
|
49
|
+
if (stringStartsWith(trimStart(e, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
50
|
+
d.svg = e;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
d.svgPath = e;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
break;
|
|
58
|
+
case 16:
|
|
59
|
+
{
|
|
60
|
+
this.v = c;
|
|
61
|
+
var f = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
62
|
+
if (f != null) {
|
|
63
|
+
if (stringStartsWith(trimStart(f, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
64
|
+
d.svg = f;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
d.svgPath = f;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
break;
|
|
72
|
+
case 44:
|
|
73
|
+
d.al = c;
|
|
74
|
+
break;
|
|
75
|
+
case 45:
|
|
76
|
+
d.am = c;
|
|
77
|
+
break;
|
|
78
|
+
case 46:
|
|
79
|
+
d.an = c;
|
|
80
|
+
break;
|
|
81
|
+
case 47:
|
|
82
|
+
d.ak = c;
|
|
83
|
+
break;
|
|
84
|
+
case 48:
|
|
85
|
+
d.ao = c;
|
|
86
|
+
break;
|
|
87
|
+
case 49:
|
|
88
|
+
d.ag = c;
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
|
|
93
|
+
return XIconBridge;
|
|
94
|
+
}(XComponentBridge));
|
|
95
|
+
export { XIconBridge };
|
|
@@ -4,62 +4,74 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
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
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
8
|
import { XButtonBridge } from "./XButtonBridge";
|
|
9
9
|
import { enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
10
|
+
import { XIconBridge } from "./XIconBridge";
|
|
10
11
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
11
|
-
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
12
12
|
/**
|
|
13
13
|
* @hidden
|
|
14
14
|
*/
|
|
15
15
|
var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
16
|
-
|
|
16
|
+
__extends(XIconButtonBridge, _super);
|
|
17
17
|
function XIconButtonBridge(a, b) {
|
|
18
18
|
var _this = _super.call(this, a) || this;
|
|
19
|
-
_this.
|
|
20
|
-
_this.
|
|
21
|
-
_this.k = null;
|
|
22
|
-
_this.i = b;
|
|
19
|
+
_this.al = null;
|
|
20
|
+
_this.al = new XIconBridge(b);
|
|
23
21
|
return _this;
|
|
24
22
|
}
|
|
23
|
+
XIconButtonBridge.prototype.getTargetForBuildInProperty = function (a, b) {
|
|
24
|
+
switch (b) {
|
|
25
|
+
case 15:
|
|
26
|
+
case 16:
|
|
27
|
+
case 44:
|
|
28
|
+
case 45:
|
|
29
|
+
case 46:
|
|
30
|
+
case 47:
|
|
31
|
+
case 48:
|
|
32
|
+
case 49: return this.al.t;
|
|
33
|
+
}
|
|
34
|
+
return _super.prototype.getTargetForBuildInProperty.call(this, a, b);
|
|
35
|
+
};
|
|
36
|
+
XIconButtonBridge.prototype.getTargetForProperty = function (a, b) {
|
|
37
|
+
switch (a) {
|
|
38
|
+
case 16:
|
|
39
|
+
case 15:
|
|
40
|
+
case 17: return this.al.t.view.o;
|
|
41
|
+
}
|
|
42
|
+
return _super.prototype.getTargetForProperty.call(this, a, b);
|
|
43
|
+
};
|
|
25
44
|
XIconButtonBridge.prototype.getValue = function (a, b) {
|
|
26
|
-
var c = a;
|
|
27
45
|
switch (b) {
|
|
28
|
-
case
|
|
29
|
-
case
|
|
30
|
-
case
|
|
46
|
+
case 16:
|
|
47
|
+
case 15:
|
|
48
|
+
case 44:
|
|
49
|
+
case 45:
|
|
50
|
+
case 46:
|
|
51
|
+
case 47:
|
|
52
|
+
case 48:
|
|
53
|
+
case 49: return this.al.getValue(a, b);
|
|
54
|
+
case 18: return enumGetBox(BaseControlTheme_$type, a.n);
|
|
31
55
|
}
|
|
32
56
|
return _super.prototype.getValue.call(this, a, b);
|
|
33
57
|
};
|
|
34
58
|
XIconButtonBridge.prototype.setValue = function (a, b, c) {
|
|
35
|
-
|
|
59
|
+
_super.prototype.setValue.call(this, a, b, c);
|
|
36
60
|
switch (b) {
|
|
37
|
-
case 13:
|
|
38
|
-
{
|
|
39
|
-
this.j = c;
|
|
40
|
-
var e = a;
|
|
41
|
-
e.svgPath = SvgIconRegistry.instance.getSvgPathString(this.j, this.k);
|
|
42
|
-
}
|
|
43
|
-
return;
|
|
44
|
-
case 14:
|
|
45
|
-
{
|
|
46
|
-
this.k = c;
|
|
47
|
-
var f = a;
|
|
48
|
-
f.svgPath = SvgIconRegistry.instance.getSvgPathString(this.j, this.k);
|
|
49
|
-
}
|
|
50
|
-
return;
|
|
51
61
|
case 16:
|
|
52
|
-
|
|
62
|
+
case 15:
|
|
63
|
+
case 44:
|
|
64
|
+
case 45:
|
|
65
|
+
case 46:
|
|
66
|
+
case 47:
|
|
67
|
+
case 48:
|
|
68
|
+
case 49:
|
|
69
|
+
this.al.setValue(a, b, c);
|
|
70
|
+
break;
|
|
71
|
+
case 18:
|
|
72
|
+
a.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
53
73
|
break;
|
|
54
74
|
}
|
|
55
|
-
_super.prototype.setValue.call(this, a, b, c);
|
|
56
|
-
};
|
|
57
|
-
XIconButtonBridge.prototype.getTargetForBuildInProperty = function (a, b) {
|
|
58
|
-
switch (b) {
|
|
59
|
-
case 13:
|
|
60
|
-
case 14: return this.i;
|
|
61
|
-
}
|
|
62
|
-
return _super.prototype.getTargetForBuildInProperty.call(this, a, b);
|
|
63
75
|
};
|
|
64
76
|
XIconButtonBridge.$t = markType(XIconButtonBridge, 'XIconButtonBridge', XButtonBridge.$);
|
|
65
77
|
return XIconButtonBridge;
|
package/esm5/lib/XInputBridge.js
CHANGED
|
@@ -4,8 +4,9 @@ https://www.infragistics.com/legal/license/igultimate-la
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
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
6
|
*/
|
|
7
|
-
import
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
8
|
import { XComponentBridge } from "./XComponentBridge";
|
|
9
|
+
import { INativeUIInputBridge_$type } from "igniteui-webcomponents-core";
|
|
9
10
|
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
10
11
|
import { XInput } from "./XInput";
|
|
11
12
|
import { NativeUIInputChangingEventArgs } from "igniteui-webcomponents-core";
|
|
@@ -13,17 +14,18 @@ import { NativeUIDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
|
13
14
|
import { NativeUIInputDisplayType_$type } from "igniteui-webcomponents-core";
|
|
14
15
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
15
16
|
import { NativeUIInputType_$type } from "igniteui-webcomponents-core";
|
|
17
|
+
import { NativeUIComponentHorizontalAlignment_$type } from "igniteui-webcomponents-core";
|
|
16
18
|
/**
|
|
17
19
|
* @hidden
|
|
18
20
|
*/
|
|
19
21
|
var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
20
|
-
|
|
22
|
+
__extends(XInputBridge, _super);
|
|
21
23
|
function XInputBridge(a) {
|
|
22
24
|
var _this = _super.call(this, a) || this;
|
|
23
|
-
_this.
|
|
24
|
-
_this.
|
|
25
|
-
_this.
|
|
26
|
-
_this.
|
|
25
|
+
_this.v = null;
|
|
26
|
+
_this.u = null;
|
|
27
|
+
_this.x = null;
|
|
28
|
+
_this.w = null;
|
|
27
29
|
return _this;
|
|
28
30
|
}
|
|
29
31
|
XInputBridge.prototype.addHandler = function (a, b, c, d) {
|
|
@@ -31,14 +33,14 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
31
33
|
var f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
32
34
|
switch (c) {
|
|
33
35
|
case 0:
|
|
34
|
-
f.changing = delegateCombine(f.changing, runOn(this, this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
36
|
+
f.changing = delegateCombine(f.changing, runOn(this, this.z));
|
|
37
|
+
this.v = d;
|
|
38
|
+
this.x = b;
|
|
37
39
|
break;
|
|
38
40
|
case 2:
|
|
39
|
-
f.change = delegateCombine(f.change, runOn(this, this.
|
|
40
|
-
this.
|
|
41
|
-
this.
|
|
41
|
+
f.change = delegateCombine(f.change, runOn(this, this.y));
|
|
42
|
+
this.u = d;
|
|
43
|
+
this.w = b;
|
|
42
44
|
break;
|
|
43
45
|
}
|
|
44
46
|
};
|
|
@@ -47,36 +49,36 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
47
49
|
var f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
48
50
|
switch (c) {
|
|
49
51
|
case 0:
|
|
50
|
-
f.changing = delegateRemove(f.changing, runOn(this, this.
|
|
51
|
-
this.
|
|
52
|
-
this.
|
|
52
|
+
f.changing = delegateRemove(f.changing, runOn(this, this.z));
|
|
53
|
+
this.v = null;
|
|
54
|
+
this.x = null;
|
|
53
55
|
break;
|
|
54
56
|
case 2:
|
|
55
|
-
f.change = delegateRemove(f.change, runOn(this, this.
|
|
56
|
-
this.
|
|
57
|
-
this.
|
|
57
|
+
f.change = delegateRemove(f.change, runOn(this, this.y));
|
|
58
|
+
this.u = null;
|
|
59
|
+
this.w = null;
|
|
58
60
|
break;
|
|
59
61
|
}
|
|
60
62
|
};
|
|
61
|
-
XInputBridge.prototype.
|
|
62
|
-
if (this.
|
|
63
|
+
XInputBridge.prototype.z = function (a, b) {
|
|
64
|
+
if (this.v != null) {
|
|
63
65
|
var c = new NativeUIInputChangingEventArgs();
|
|
64
|
-
this.
|
|
66
|
+
this.v(this.x, c);
|
|
65
67
|
}
|
|
66
68
|
};
|
|
67
|
-
XInputBridge.prototype.
|
|
68
|
-
if (this.
|
|
69
|
+
XInputBridge.prototype.y = function (a, b) {
|
|
70
|
+
if (this.u != null) {
|
|
69
71
|
var c = new NativeUIInputChangingEventArgs();
|
|
70
|
-
this.
|
|
72
|
+
this.u(this.w, c);
|
|
71
73
|
}
|
|
72
74
|
};
|
|
73
75
|
XInputBridge.prototype.getValue = function (a, b) {
|
|
74
76
|
var c = a;
|
|
75
77
|
var d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
76
78
|
switch (b) {
|
|
77
|
-
case 2: return d.
|
|
79
|
+
case 2: return d.cq;
|
|
78
80
|
case 1:
|
|
79
|
-
switch (c.
|
|
81
|
+
switch (c.t) {
|
|
80
82
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
81
83
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
82
84
|
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
@@ -90,13 +92,24 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
90
92
|
case 0: return enumGetBox(NativeUIInputDisplayType_$type, 0);
|
|
91
93
|
}
|
|
92
94
|
break;
|
|
93
|
-
case
|
|
94
|
-
case
|
|
95
|
-
switch (d.
|
|
95
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.p);
|
|
96
|
+
case 19:
|
|
97
|
+
switch (d.b8) {
|
|
96
98
|
case "text": return enumGetBox(NativeUIInputType_$type, 0);
|
|
97
99
|
case "number": return enumGetBox(NativeUIInputType_$type, 1);
|
|
98
100
|
}
|
|
99
101
|
break;
|
|
102
|
+
case 20:
|
|
103
|
+
switch (d.dy) {
|
|
104
|
+
case 0: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 0);
|
|
105
|
+
case 2: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 2);
|
|
106
|
+
case 1: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 1);
|
|
107
|
+
case 3: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 3);
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
case 21: return d.a1;
|
|
111
|
+
case 32: return d.disabled;
|
|
112
|
+
case 33: return d.d8;
|
|
100
113
|
}
|
|
101
114
|
return null;
|
|
102
115
|
};
|
|
@@ -105,21 +118,21 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
105
118
|
var e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
106
119
|
switch (b) {
|
|
107
120
|
case 2:
|
|
108
|
-
e.
|
|
121
|
+
e.cq = c == null ? null : c.toString();
|
|
109
122
|
break;
|
|
110
123
|
case 1:
|
|
111
124
|
switch (EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, c)) {
|
|
112
125
|
case 0:
|
|
113
|
-
d.
|
|
126
|
+
d.t = 0;
|
|
114
127
|
break;
|
|
115
128
|
case 1:
|
|
116
|
-
d.
|
|
129
|
+
d.t = 1;
|
|
117
130
|
break;
|
|
118
131
|
case 2:
|
|
119
|
-
d.
|
|
132
|
+
d.t = 3;
|
|
120
133
|
break;
|
|
121
134
|
case 3:
|
|
122
|
-
d.
|
|
135
|
+
d.t = 2;
|
|
123
136
|
break;
|
|
124
137
|
}
|
|
125
138
|
break;
|
|
@@ -136,19 +149,44 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
136
149
|
break;
|
|
137
150
|
}
|
|
138
151
|
break;
|
|
139
|
-
case
|
|
140
|
-
d.
|
|
152
|
+
case 18:
|
|
153
|
+
d.p = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
141
154
|
break;
|
|
142
|
-
case
|
|
155
|
+
case 19:
|
|
143
156
|
switch (EnumUtil.getEnumValue(NativeUIInputType_$type, c)) {
|
|
144
157
|
case 0:
|
|
145
|
-
e.
|
|
158
|
+
e.b8 = "text";
|
|
146
159
|
break;
|
|
147
160
|
case 1:
|
|
148
|
-
e.
|
|
161
|
+
e.b8 = "number";
|
|
149
162
|
break;
|
|
150
163
|
}
|
|
151
164
|
break;
|
|
165
|
+
case 20:
|
|
166
|
+
switch (EnumUtil.getEnumValue(NativeUIComponentHorizontalAlignment_$type, c)) {
|
|
167
|
+
case 0:
|
|
168
|
+
e.dy = 0;
|
|
169
|
+
break;
|
|
170
|
+
case 2:
|
|
171
|
+
e.dy = 2;
|
|
172
|
+
break;
|
|
173
|
+
case 1:
|
|
174
|
+
e.dy = 1;
|
|
175
|
+
break;
|
|
176
|
+
case 3:
|
|
177
|
+
e.dy = 3;
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case 21:
|
|
182
|
+
e.a1 = c;
|
|
183
|
+
break;
|
|
184
|
+
case 32:
|
|
185
|
+
e.disabled = c;
|
|
186
|
+
break;
|
|
187
|
+
case 33:
|
|
188
|
+
e.d8 = c;
|
|
189
|
+
break;
|
|
152
190
|
}
|
|
153
191
|
};
|
|
154
192
|
XInputBridge.prototype.getTargetForProperty = function (a, b) {
|
|
@@ -158,7 +196,22 @@ var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
158
196
|
}
|
|
159
197
|
return _super.prototype.getTargetForProperty.call(this, a, b);
|
|
160
198
|
};
|
|
161
|
-
XInputBridge
|
|
199
|
+
XInputBridge.prototype.focus = function (a) {
|
|
200
|
+
var b = this.t;
|
|
201
|
+
var c = b.inputs._inner[0];
|
|
202
|
+
c.focus(true);
|
|
203
|
+
};
|
|
204
|
+
XInputBridge.prototype.select = function (a) {
|
|
205
|
+
var b = a;
|
|
206
|
+
var c = b.inputs._inner[0];
|
|
207
|
+
window.setTimeout(function () { return c.dp(); }, 0);
|
|
208
|
+
};
|
|
209
|
+
XInputBridge.prototype.setSelectionRange = function (a, b, c) {
|
|
210
|
+
var d = a;
|
|
211
|
+
var e = d.inputs._inner[0];
|
|
212
|
+
window.setTimeout(function () { return e.dr(b, c); }, 0);
|
|
213
|
+
};
|
|
214
|
+
XInputBridge.$t = markType(XInputBridge, 'XInputBridge', XComponentBridge.$, [INativeUIInputBridge_$type]);
|
|
162
215
|
return XInputBridge;
|
|
163
216
|
}(XComponentBridge));
|
|
164
217
|
export { XInputBridge };
|