igniteui-webcomponents-inputs 4.2.5 → 4.3.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-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
|
@@ -5,8 +5,9 @@ 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
7
|
import { XComponentBridge } from "./XComponentBridge";
|
|
8
|
-
import { runOn, delegateCombine, delegateRemove, markType } from "igniteui-webcomponents-core";
|
|
8
|
+
import { runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
9
9
|
import { NativeUICheckboxChangeEventArgs } from "igniteui-webcomponents-core";
|
|
10
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
12
13
|
*/
|
|
@@ -14,17 +15,17 @@ export let XCheckboxBridge = /*@__PURE__*/ (() => {
|
|
|
14
15
|
class XCheckboxBridge extends XComponentBridge {
|
|
15
16
|
constructor(a) {
|
|
16
17
|
super(a);
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
18
|
+
this.u = null;
|
|
19
|
+
this.v = null;
|
|
19
20
|
}
|
|
20
21
|
addHandler(a, b, c, d) {
|
|
21
22
|
let e = a;
|
|
22
23
|
switch (c) {
|
|
23
24
|
case 2:
|
|
24
25
|
let f = a;
|
|
25
|
-
e.change = delegateCombine(e.change, runOn(this, this.
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
26
|
+
e.change = delegateCombine(e.change, runOn(this, this.w));
|
|
27
|
+
this.u = d;
|
|
28
|
+
this.v = b;
|
|
28
29
|
break;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
@@ -32,23 +33,25 @@ export let XCheckboxBridge = /*@__PURE__*/ (() => {
|
|
|
32
33
|
let e = a;
|
|
33
34
|
switch (c) {
|
|
34
35
|
case 2:
|
|
35
|
-
e.change = delegateRemove(e.change, runOn(this, this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
36
|
+
e.change = delegateRemove(e.change, runOn(this, this.w));
|
|
37
|
+
this.u = null;
|
|
38
|
+
this.v = null;
|
|
38
39
|
break;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
|
|
42
|
-
if (this.
|
|
42
|
+
w(a, b) {
|
|
43
|
+
if (this.u != null) {
|
|
43
44
|
let c = new NativeUICheckboxChangeEventArgs();
|
|
44
|
-
this.
|
|
45
|
+
this.u(this.v, c);
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
getValue(a, b) {
|
|
48
49
|
let c = a;
|
|
49
50
|
switch (b) {
|
|
50
|
-
case 4: return c.
|
|
51
|
-
case
|
|
51
|
+
case 4: return c.y;
|
|
52
|
+
case 7: return c.checked;
|
|
53
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.n);
|
|
54
|
+
case 17: return c.ar;
|
|
52
55
|
}
|
|
53
56
|
return null;
|
|
54
57
|
}
|
|
@@ -56,11 +59,17 @@ export let XCheckboxBridge = /*@__PURE__*/ (() => {
|
|
|
56
59
|
let d = a;
|
|
57
60
|
switch (b) {
|
|
58
61
|
case 4:
|
|
59
|
-
d.
|
|
62
|
+
d.y = c;
|
|
60
63
|
return;
|
|
61
|
-
case
|
|
64
|
+
case 7:
|
|
62
65
|
d.checked = c;
|
|
63
66
|
return;
|
|
67
|
+
case 18:
|
|
68
|
+
d.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
69
|
+
break;
|
|
70
|
+
case 17:
|
|
71
|
+
d.ar = c;
|
|
72
|
+
break;
|
|
64
73
|
}
|
|
65
74
|
}
|
|
66
75
|
}
|
|
@@ -11,22 +11,36 @@ import { markType } from "igniteui-webcomponents-core";
|
|
|
11
11
|
*/
|
|
12
12
|
export let XComponentBridge = /*@__PURE__*/ (() => {
|
|
13
13
|
class XComponentBridge extends NativeUIElementBridge {
|
|
14
|
+
get t() {
|
|
15
|
+
return this.s;
|
|
16
|
+
}
|
|
14
17
|
constructor(a) {
|
|
15
18
|
super();
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
19
|
+
this.s = null;
|
|
20
|
+
this.s = a;
|
|
18
21
|
}
|
|
19
22
|
getTargetForProperty(a, b) {
|
|
20
|
-
|
|
23
|
+
switch (a) {
|
|
24
|
+
case 14:
|
|
25
|
+
case 9:
|
|
26
|
+
case 10:
|
|
27
|
+
case 13:
|
|
28
|
+
case 16:
|
|
29
|
+
case 15:
|
|
30
|
+
case 17:
|
|
31
|
+
case 7:
|
|
32
|
+
case 21: return b;
|
|
33
|
+
}
|
|
34
|
+
return this.s != null ? this.s : b;
|
|
21
35
|
}
|
|
22
36
|
getMethodTarget(a) {
|
|
23
|
-
return this.
|
|
37
|
+
return this.s != null ? this.s : a;
|
|
24
38
|
}
|
|
25
39
|
getTargetForBuildInEvent(a, b) {
|
|
26
|
-
return this.
|
|
40
|
+
return this.s != null ? this.s : a;
|
|
27
41
|
}
|
|
28
42
|
getTargetForBuildInProperty(a, b) {
|
|
29
|
-
return this.
|
|
43
|
+
return this.s != null ? this.s : a;
|
|
30
44
|
}
|
|
31
45
|
}
|
|
32
46
|
XComponentBridge.$t = /*@__PURE__*/ markType(XComponentBridge, 'XComponentBridge', NativeUIElementBridge.$);
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { XComponentBridge } from "./XComponentBridge";
|
|
8
|
+
import { enumGetBox, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
10
|
+
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
11
|
+
import { stringStartsWith } from "igniteui-webcomponents-core";
|
|
12
|
+
import { trimStart } from "igniteui-webcomponents-core";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export let XIconBridge = /*@__PURE__*/ (() => {
|
|
17
|
+
class XIconBridge extends XComponentBridge {
|
|
18
|
+
constructor(a) {
|
|
19
|
+
super(a);
|
|
20
|
+
this.u = "default";
|
|
21
|
+
this.v = null;
|
|
22
|
+
}
|
|
23
|
+
getValue(a, b) {
|
|
24
|
+
let c = a;
|
|
25
|
+
switch (b) {
|
|
26
|
+
case 16: return this.v;
|
|
27
|
+
case 15: return this.u;
|
|
28
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.i);
|
|
29
|
+
case 44: return c.al;
|
|
30
|
+
case 45: return c.am;
|
|
31
|
+
case 46: return c.an;
|
|
32
|
+
case 47: return c.ak;
|
|
33
|
+
case 48: return c.ao;
|
|
34
|
+
case 49: return c.ag;
|
|
35
|
+
}
|
|
36
|
+
return super.getValue(a, b);
|
|
37
|
+
}
|
|
38
|
+
setValue(a, b, c) {
|
|
39
|
+
super.setValue(a, b, c);
|
|
40
|
+
let d = a;
|
|
41
|
+
switch (b) {
|
|
42
|
+
case 15:
|
|
43
|
+
{
|
|
44
|
+
this.u = c;
|
|
45
|
+
let e = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
46
|
+
if (e != null) {
|
|
47
|
+
if (stringStartsWith(trimStart(e, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
48
|
+
d.svg = e;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
d.svgPath = e;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
break;
|
|
56
|
+
case 16:
|
|
57
|
+
{
|
|
58
|
+
this.v = c;
|
|
59
|
+
let f = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
60
|
+
if (f != null) {
|
|
61
|
+
if (stringStartsWith(trimStart(f, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
62
|
+
d.svg = f;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
d.svgPath = f;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
case 44:
|
|
71
|
+
d.al = c;
|
|
72
|
+
break;
|
|
73
|
+
case 45:
|
|
74
|
+
d.am = c;
|
|
75
|
+
break;
|
|
76
|
+
case 46:
|
|
77
|
+
d.an = c;
|
|
78
|
+
break;
|
|
79
|
+
case 47:
|
|
80
|
+
d.ak = c;
|
|
81
|
+
break;
|
|
82
|
+
case 48:
|
|
83
|
+
d.ao = c;
|
|
84
|
+
break;
|
|
85
|
+
case 49:
|
|
86
|
+
d.ag = c;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
XIconBridge.$t = /*@__PURE__*/ markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
|
|
92
|
+
return XIconBridge;
|
|
93
|
+
})();
|
|
@@ -6,8 +6,8 @@ GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOA
|
|
|
6
6
|
*/
|
|
7
7
|
import { XButtonBridge } from "./XButtonBridge";
|
|
8
8
|
import { enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { XIconBridge } from "./XIconBridge";
|
|
9
10
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
10
|
-
import { SvgIconRegistry } from "igniteui-webcomponents-core";
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
@@ -15,49 +15,61 @@ export let XIconButtonBridge = /*@__PURE__*/ (() => {
|
|
|
15
15
|
class XIconButtonBridge extends XButtonBridge {
|
|
16
16
|
constructor(a, b) {
|
|
17
17
|
super(a);
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
this.al = null;
|
|
19
|
+
this.al = new XIconBridge(b);
|
|
20
|
+
}
|
|
21
|
+
getTargetForBuildInProperty(a, b) {
|
|
22
|
+
switch (b) {
|
|
23
|
+
case 15:
|
|
24
|
+
case 16:
|
|
25
|
+
case 44:
|
|
26
|
+
case 45:
|
|
27
|
+
case 46:
|
|
28
|
+
case 47:
|
|
29
|
+
case 48:
|
|
30
|
+
case 49: return this.al.t;
|
|
31
|
+
}
|
|
32
|
+
return super.getTargetForBuildInProperty(a, b);
|
|
33
|
+
}
|
|
34
|
+
getTargetForProperty(a, b) {
|
|
35
|
+
switch (a) {
|
|
36
|
+
case 16:
|
|
37
|
+
case 15:
|
|
38
|
+
case 17: return this.al.t.view.o;
|
|
39
|
+
}
|
|
40
|
+
return super.getTargetForProperty(a, b);
|
|
22
41
|
}
|
|
23
42
|
getValue(a, b) {
|
|
24
|
-
let c = a;
|
|
25
43
|
switch (b) {
|
|
26
|
-
case
|
|
27
|
-
case
|
|
28
|
-
case
|
|
44
|
+
case 16:
|
|
45
|
+
case 15:
|
|
46
|
+
case 44:
|
|
47
|
+
case 45:
|
|
48
|
+
case 46:
|
|
49
|
+
case 47:
|
|
50
|
+
case 48:
|
|
51
|
+
case 49: return this.al.getValue(a, b);
|
|
52
|
+
case 18: return enumGetBox(BaseControlTheme_$type, a.n);
|
|
29
53
|
}
|
|
30
54
|
return super.getValue(a, b);
|
|
31
55
|
}
|
|
32
56
|
setValue(a, b, c) {
|
|
33
|
-
|
|
57
|
+
super.setValue(a, b, c);
|
|
34
58
|
switch (b) {
|
|
35
|
-
case 13:
|
|
36
|
-
{
|
|
37
|
-
this.j = c;
|
|
38
|
-
let e = a;
|
|
39
|
-
e.svgPath = SvgIconRegistry.instance.getSvgPathString(this.j, this.k);
|
|
40
|
-
}
|
|
41
|
-
return;
|
|
42
|
-
case 14:
|
|
43
|
-
{
|
|
44
|
-
this.k = c;
|
|
45
|
-
let f = a;
|
|
46
|
-
f.svgPath = SvgIconRegistry.instance.getSvgPathString(this.j, this.k);
|
|
47
|
-
}
|
|
48
|
-
return;
|
|
49
59
|
case 16:
|
|
50
|
-
|
|
60
|
+
case 15:
|
|
61
|
+
case 44:
|
|
62
|
+
case 45:
|
|
63
|
+
case 46:
|
|
64
|
+
case 47:
|
|
65
|
+
case 48:
|
|
66
|
+
case 49:
|
|
67
|
+
this.al.setValue(a, b, c);
|
|
68
|
+
break;
|
|
69
|
+
case 18:
|
|
70
|
+
a.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
51
71
|
break;
|
|
52
72
|
}
|
|
53
|
-
super.setValue(a, b, c);
|
|
54
|
-
}
|
|
55
|
-
getTargetForBuildInProperty(a, b) {
|
|
56
|
-
switch (b) {
|
|
57
|
-
case 13:
|
|
58
|
-
case 14: return this.i;
|
|
59
|
-
}
|
|
60
|
-
return super.getTargetForBuildInProperty(a, b);
|
|
61
73
|
}
|
|
62
74
|
}
|
|
63
75
|
XIconButtonBridge.$t = /*@__PURE__*/ markType(XIconButtonBridge, 'XIconButtonBridge', XButtonBridge.$);
|
|
@@ -5,6 +5,7 @@ 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
7
|
import { XComponentBridge } from "./XComponentBridge";
|
|
8
|
+
import { INativeUIInputBridge_$type } from "igniteui-webcomponents-core";
|
|
8
9
|
import { typeCast, runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
9
10
|
import { XInput } from "./XInput";
|
|
10
11
|
import { NativeUIInputChangingEventArgs } from "igniteui-webcomponents-core";
|
|
@@ -12,6 +13,7 @@ import { NativeUIDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
|
12
13
|
import { NativeUIInputDisplayType_$type } from "igniteui-webcomponents-core";
|
|
13
14
|
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
14
15
|
import { NativeUIInputType_$type } from "igniteui-webcomponents-core";
|
|
16
|
+
import { NativeUIComponentHorizontalAlignment_$type } from "igniteui-webcomponents-core";
|
|
15
17
|
/**
|
|
16
18
|
* @hidden
|
|
17
19
|
*/
|
|
@@ -19,24 +21,24 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
19
21
|
class XInputBridge extends XComponentBridge {
|
|
20
22
|
constructor(a) {
|
|
21
23
|
super(a);
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
24
|
-
this.
|
|
25
|
-
this.
|
|
24
|
+
this.v = null;
|
|
25
|
+
this.u = null;
|
|
26
|
+
this.x = null;
|
|
27
|
+
this.w = null;
|
|
26
28
|
}
|
|
27
29
|
addHandler(a, b, c, d) {
|
|
28
30
|
let e = a;
|
|
29
31
|
let f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
30
32
|
switch (c) {
|
|
31
33
|
case 0:
|
|
32
|
-
f.changing = delegateCombine(f.changing, runOn(this, this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
34
|
+
f.changing = delegateCombine(f.changing, runOn(this, this.z));
|
|
35
|
+
this.v = d;
|
|
36
|
+
this.x = b;
|
|
35
37
|
break;
|
|
36
38
|
case 2:
|
|
37
|
-
f.change = delegateCombine(f.change, runOn(this, this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
39
|
+
f.change = delegateCombine(f.change, runOn(this, this.y));
|
|
40
|
+
this.u = d;
|
|
41
|
+
this.w = b;
|
|
40
42
|
break;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
@@ -45,36 +47,36 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
45
47
|
let f = typeCast(XInput.$, e.inputs._inner[0]);
|
|
46
48
|
switch (c) {
|
|
47
49
|
case 0:
|
|
48
|
-
f.changing = delegateRemove(f.changing, runOn(this, this.
|
|
49
|
-
this.
|
|
50
|
-
this.
|
|
50
|
+
f.changing = delegateRemove(f.changing, runOn(this, this.z));
|
|
51
|
+
this.v = null;
|
|
52
|
+
this.x = null;
|
|
51
53
|
break;
|
|
52
54
|
case 2:
|
|
53
|
-
f.change = delegateRemove(f.change, runOn(this, this.
|
|
54
|
-
this.
|
|
55
|
-
this.
|
|
55
|
+
f.change = delegateRemove(f.change, runOn(this, this.y));
|
|
56
|
+
this.u = null;
|
|
57
|
+
this.w = null;
|
|
56
58
|
break;
|
|
57
59
|
}
|
|
58
60
|
}
|
|
59
|
-
|
|
60
|
-
if (this.
|
|
61
|
+
z(a, b) {
|
|
62
|
+
if (this.v != null) {
|
|
61
63
|
let c = new NativeUIInputChangingEventArgs();
|
|
62
|
-
this.
|
|
64
|
+
this.v(this.x, c);
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
|
-
|
|
66
|
-
if (this.
|
|
67
|
+
y(a, b) {
|
|
68
|
+
if (this.u != null) {
|
|
67
69
|
let c = new NativeUIInputChangingEventArgs();
|
|
68
|
-
this.
|
|
70
|
+
this.u(this.w, c);
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
getValue(a, b) {
|
|
72
74
|
let c = a;
|
|
73
75
|
let d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
74
76
|
switch (b) {
|
|
75
|
-
case 2: return d.
|
|
77
|
+
case 2: return d.cq;
|
|
76
78
|
case 1:
|
|
77
|
-
switch (c.
|
|
79
|
+
switch (c.t) {
|
|
78
80
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
79
81
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
80
82
|
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
@@ -88,13 +90,24 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
88
90
|
case 0: return enumGetBox(NativeUIInputDisplayType_$type, 0);
|
|
89
91
|
}
|
|
90
92
|
break;
|
|
91
|
-
case
|
|
92
|
-
case
|
|
93
|
-
switch (d.
|
|
93
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.p);
|
|
94
|
+
case 19:
|
|
95
|
+
switch (d.b8) {
|
|
94
96
|
case "text": return enumGetBox(NativeUIInputType_$type, 0);
|
|
95
97
|
case "number": return enumGetBox(NativeUIInputType_$type, 1);
|
|
96
98
|
}
|
|
97
99
|
break;
|
|
100
|
+
case 20:
|
|
101
|
+
switch (d.dy) {
|
|
102
|
+
case 0: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 0);
|
|
103
|
+
case 2: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 2);
|
|
104
|
+
case 1: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 1);
|
|
105
|
+
case 3: return enumGetBox(NativeUIComponentHorizontalAlignment_$type, 3);
|
|
106
|
+
}
|
|
107
|
+
break;
|
|
108
|
+
case 21: return d.a1;
|
|
109
|
+
case 32: return d.disabled;
|
|
110
|
+
case 33: return d.d8;
|
|
98
111
|
}
|
|
99
112
|
return null;
|
|
100
113
|
}
|
|
@@ -103,21 +116,21 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
103
116
|
let e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
104
117
|
switch (b) {
|
|
105
118
|
case 2:
|
|
106
|
-
e.
|
|
119
|
+
e.cq = c == null ? null : c.toString();
|
|
107
120
|
break;
|
|
108
121
|
case 1:
|
|
109
122
|
switch (EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, c)) {
|
|
110
123
|
case 0:
|
|
111
|
-
d.
|
|
124
|
+
d.t = 0;
|
|
112
125
|
break;
|
|
113
126
|
case 1:
|
|
114
|
-
d.
|
|
127
|
+
d.t = 1;
|
|
115
128
|
break;
|
|
116
129
|
case 2:
|
|
117
|
-
d.
|
|
130
|
+
d.t = 3;
|
|
118
131
|
break;
|
|
119
132
|
case 3:
|
|
120
|
-
d.
|
|
133
|
+
d.t = 2;
|
|
121
134
|
break;
|
|
122
135
|
}
|
|
123
136
|
break;
|
|
@@ -134,19 +147,44 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
134
147
|
break;
|
|
135
148
|
}
|
|
136
149
|
break;
|
|
137
|
-
case
|
|
138
|
-
d.
|
|
150
|
+
case 18:
|
|
151
|
+
d.p = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
139
152
|
break;
|
|
140
|
-
case
|
|
153
|
+
case 19:
|
|
141
154
|
switch (EnumUtil.getEnumValue(NativeUIInputType_$type, c)) {
|
|
142
155
|
case 0:
|
|
143
|
-
e.
|
|
156
|
+
e.b8 = "text";
|
|
144
157
|
break;
|
|
145
158
|
case 1:
|
|
146
|
-
e.
|
|
159
|
+
e.b8 = "number";
|
|
147
160
|
break;
|
|
148
161
|
}
|
|
149
162
|
break;
|
|
163
|
+
case 20:
|
|
164
|
+
switch (EnumUtil.getEnumValue(NativeUIComponentHorizontalAlignment_$type, c)) {
|
|
165
|
+
case 0:
|
|
166
|
+
e.dy = 0;
|
|
167
|
+
break;
|
|
168
|
+
case 2:
|
|
169
|
+
e.dy = 2;
|
|
170
|
+
break;
|
|
171
|
+
case 1:
|
|
172
|
+
e.dy = 1;
|
|
173
|
+
break;
|
|
174
|
+
case 3:
|
|
175
|
+
e.dy = 3;
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
break;
|
|
179
|
+
case 21:
|
|
180
|
+
e.a1 = c;
|
|
181
|
+
break;
|
|
182
|
+
case 32:
|
|
183
|
+
e.disabled = c;
|
|
184
|
+
break;
|
|
185
|
+
case 33:
|
|
186
|
+
e.d8 = c;
|
|
187
|
+
break;
|
|
150
188
|
}
|
|
151
189
|
}
|
|
152
190
|
getTargetForProperty(a, b) {
|
|
@@ -156,7 +194,22 @@ export let XInputBridge = /*@__PURE__*/ (() => {
|
|
|
156
194
|
}
|
|
157
195
|
return super.getTargetForProperty(a, b);
|
|
158
196
|
}
|
|
197
|
+
focus(a) {
|
|
198
|
+
let b = this.t;
|
|
199
|
+
let c = b.inputs._inner[0];
|
|
200
|
+
c.focus(true);
|
|
201
|
+
}
|
|
202
|
+
select(a) {
|
|
203
|
+
let b = a;
|
|
204
|
+
let c = b.inputs._inner[0];
|
|
205
|
+
window.setTimeout(() => c.dp(), 0);
|
|
206
|
+
}
|
|
207
|
+
setSelectionRange(a, b, c) {
|
|
208
|
+
let d = a;
|
|
209
|
+
let e = d.inputs._inner[0];
|
|
210
|
+
window.setTimeout(() => e.dr(b, c), 0);
|
|
211
|
+
}
|
|
159
212
|
}
|
|
160
|
-
XInputBridge.$t = /*@__PURE__*/ markType(XInputBridge, 'XInputBridge', XComponentBridge
|
|
213
|
+
XInputBridge.$t = /*@__PURE__*/ markType(XInputBridge, 'XInputBridge', XComponentBridge.$, [INativeUIInputBridge_$type]);
|
|
161
214
|
return XInputBridge;
|
|
162
215
|
})();
|