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
|
@@ -4,52 +4,178 @@ 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
|
|
8
|
-
import { Base, markType } from "igniteui-webcomponents-core";
|
|
7
|
+
import { __extends } from "tslib";
|
|
8
|
+
import { Base, typeGetValue, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { ElevationMode_$type } from "igniteui-webcomponents-core";
|
|
10
|
+
import { Theme } from "./Theme";
|
|
9
11
|
/**
|
|
10
12
|
* @hidden
|
|
11
13
|
*/
|
|
12
14
|
var ThemeResolver = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
13
|
-
|
|
14
|
-
function ThemeResolver() {
|
|
15
|
-
|
|
15
|
+
__extends(ThemeResolver, _super);
|
|
16
|
+
function ThemeResolver(a) {
|
|
17
|
+
var _rest = [];
|
|
18
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
19
|
+
_rest[_i - 1] = arguments[_i];
|
|
20
|
+
}
|
|
21
|
+
var _this = _super.call(this) || this;
|
|
22
|
+
_this.b = 0;
|
|
23
|
+
_this.h = null;
|
|
24
|
+
a = (a == void 0) ? 0 : a;
|
|
25
|
+
switch (a) {
|
|
26
|
+
case 0: break;
|
|
27
|
+
case 1:
|
|
28
|
+
{
|
|
29
|
+
var c = _rest[0];
|
|
30
|
+
var d = _rest[1];
|
|
31
|
+
_this.h = c;
|
|
32
|
+
_this.b = d;
|
|
33
|
+
}
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
return _this;
|
|
16
37
|
}
|
|
17
|
-
ThemeResolver.
|
|
38
|
+
ThemeResolver.ah = function (a, b, c) {
|
|
18
39
|
if (a == 1) {
|
|
19
40
|
return c;
|
|
20
41
|
}
|
|
21
42
|
return b;
|
|
22
43
|
};
|
|
23
|
-
ThemeResolver.
|
|
44
|
+
ThemeResolver.r = function (a, b, c) {
|
|
24
45
|
if (a == 1) {
|
|
25
46
|
return c;
|
|
26
47
|
}
|
|
27
48
|
return b;
|
|
28
49
|
};
|
|
29
|
-
ThemeResolver.
|
|
50
|
+
ThemeResolver.m = function (a, b, c) {
|
|
30
51
|
if (a == 1) {
|
|
31
52
|
return c;
|
|
32
53
|
}
|
|
33
54
|
return b;
|
|
34
55
|
};
|
|
35
|
-
ThemeResolver.
|
|
56
|
+
ThemeResolver.ac = function (a, b, c) {
|
|
36
57
|
if (a == 1) {
|
|
37
58
|
return c;
|
|
38
59
|
}
|
|
39
60
|
return b;
|
|
40
61
|
};
|
|
41
|
-
ThemeResolver.
|
|
62
|
+
ThemeResolver.am = function (a, b, c) {
|
|
42
63
|
if (a == 1) {
|
|
43
64
|
return c;
|
|
44
65
|
}
|
|
45
66
|
return b;
|
|
46
67
|
};
|
|
47
|
-
ThemeResolver.
|
|
68
|
+
ThemeResolver.g = function (a, b, c) {
|
|
48
69
|
if (a == 1) {
|
|
49
70
|
return c;
|
|
50
71
|
}
|
|
51
72
|
return b;
|
|
52
73
|
};
|
|
74
|
+
ThemeResolver.a = function (a) {
|
|
75
|
+
return new Theme(0, a);
|
|
76
|
+
};
|
|
77
|
+
ThemeResolver.ag = function (a, b, c) {
|
|
78
|
+
return b.ae(a, c);
|
|
79
|
+
};
|
|
80
|
+
ThemeResolver.af = function (a, b, c, d) {
|
|
81
|
+
return b.ad(a, c, d);
|
|
82
|
+
};
|
|
83
|
+
ThemeResolver.q = function (a, b, c) {
|
|
84
|
+
return b.o(a, c);
|
|
85
|
+
};
|
|
86
|
+
ThemeResolver.p = function (a, b, c, d) {
|
|
87
|
+
return b.n(a, c, d);
|
|
88
|
+
};
|
|
89
|
+
ThemeResolver.l = function (a, b, c) {
|
|
90
|
+
return b.j(a, c);
|
|
91
|
+
};
|
|
92
|
+
ThemeResolver.k = function (a, b, c, d) {
|
|
93
|
+
return b.i(a, c, d);
|
|
94
|
+
};
|
|
95
|
+
ThemeResolver.x = function (a, b, c) {
|
|
96
|
+
return b.v(a, c);
|
|
97
|
+
};
|
|
98
|
+
ThemeResolver.w = function (a, b, c, d) {
|
|
99
|
+
return b.u(a, c, d);
|
|
100
|
+
};
|
|
101
|
+
ThemeResolver.f = function (a, b, c) {
|
|
102
|
+
return b.d(a, c);
|
|
103
|
+
};
|
|
104
|
+
ThemeResolver.e = function (a, b, c, d) {
|
|
105
|
+
return b.c(a, c, d);
|
|
106
|
+
};
|
|
107
|
+
ThemeResolver.ab = function (a, b, c) {
|
|
108
|
+
return b.z(a, c);
|
|
109
|
+
};
|
|
110
|
+
ThemeResolver.aa = function (a, b, c, d) {
|
|
111
|
+
return b.y(a, c, d);
|
|
112
|
+
};
|
|
113
|
+
ThemeResolver.al = function (a, b, c) {
|
|
114
|
+
return b.aj(a, c);
|
|
115
|
+
};
|
|
116
|
+
ThemeResolver.ak = function (a, b, c, d) {
|
|
117
|
+
return b.ai(a, c, d);
|
|
118
|
+
};
|
|
119
|
+
ThemeResolver.prototype.t = function (a, b) {
|
|
120
|
+
if (this.h.containsKey(a)) {
|
|
121
|
+
return this.h.item(a).item(b);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
return this.h.item(this.b).item(b);
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
ThemeResolver.prototype.s = function (a, b, c) {
|
|
128
|
+
if (this.h.containsKey(a)) {
|
|
129
|
+
var d = this.h.item(a).c;
|
|
130
|
+
return d.item(b).item(c);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
var e = this.h.item(this.b).c;
|
|
134
|
+
return e.item(b).item(c);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
ThemeResolver.prototype.ae = function (a, b) {
|
|
138
|
+
return this.t(a, b);
|
|
139
|
+
};
|
|
140
|
+
ThemeResolver.prototype.ad = function (a, b, c) {
|
|
141
|
+
return this.s(a, b, c);
|
|
142
|
+
};
|
|
143
|
+
ThemeResolver.prototype.o = function (a, b) {
|
|
144
|
+
return typeGetValue(this.t(a, b));
|
|
145
|
+
};
|
|
146
|
+
ThemeResolver.prototype.n = function (a, b, c) {
|
|
147
|
+
return typeGetValue(this.s(a, b, c));
|
|
148
|
+
};
|
|
149
|
+
ThemeResolver.prototype.j = function (a, b) {
|
|
150
|
+
return this.t(a, b);
|
|
151
|
+
};
|
|
152
|
+
ThemeResolver.prototype.i = function (a, b, c) {
|
|
153
|
+
return this.s(a, b, c);
|
|
154
|
+
};
|
|
155
|
+
ThemeResolver.prototype.v = function (a, b) {
|
|
156
|
+
return this.t(a, b);
|
|
157
|
+
};
|
|
158
|
+
ThemeResolver.prototype.u = function (a, b, c) {
|
|
159
|
+
return this.s(a, b, c);
|
|
160
|
+
};
|
|
161
|
+
ThemeResolver.prototype.d = function (a, b) {
|
|
162
|
+
return EnumUtil.getEnumValue(ElevationMode_$type, this.t(a, b));
|
|
163
|
+
};
|
|
164
|
+
ThemeResolver.prototype.c = function (a, b, c) {
|
|
165
|
+
return EnumUtil.getEnumValue(ElevationMode_$type, this.s(a, b, c));
|
|
166
|
+
};
|
|
167
|
+
ThemeResolver.prototype.z = function (a, b) {
|
|
168
|
+
return this.t(a, b);
|
|
169
|
+
};
|
|
170
|
+
ThemeResolver.prototype.y = function (a, b, c) {
|
|
171
|
+
return this.s(a, b, c);
|
|
172
|
+
};
|
|
173
|
+
ThemeResolver.prototype.aj = function (a, b) {
|
|
174
|
+
return this.t(a, b);
|
|
175
|
+
};
|
|
176
|
+
ThemeResolver.prototype.ai = function (a, b, c) {
|
|
177
|
+
return this.s(a, b, c);
|
|
178
|
+
};
|
|
53
179
|
ThemeResolver.$t = markType(ThemeResolver, 'ThemeResolver');
|
|
54
180
|
return ThemeResolver;
|
|
55
181
|
}(Base));
|
|
@@ -4,32 +4,65 @@ 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
9
|
import { runOn, delegateCombine, delegateRemove, typeCast, EnumUtil, enumGetBox, markType } from "igniteui-webcomponents-core";
|
|
10
10
|
import { NativeUIComponent } from "igniteui-webcomponents-core";
|
|
11
11
|
import { NativeUIButtonClickedEventArgs } from "igniteui-webcomponents-core";
|
|
12
|
+
import { NativeUIMouseEventArgs } from "igniteui-webcomponents-core";
|
|
13
|
+
import { NativeUIFocusEventArgs } from "igniteui-webcomponents-core";
|
|
12
14
|
import { NativeUIDisplayDensity_$type } from "igniteui-webcomponents-core";
|
|
15
|
+
import { NativeUIButtonDisplayType_$type } from "igniteui-webcomponents-core";
|
|
16
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
17
|
+
import { Thickness } from "igniteui-webcomponents-core";
|
|
13
18
|
/**
|
|
14
19
|
* @hidden
|
|
15
20
|
*/
|
|
16
21
|
var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
17
|
-
|
|
22
|
+
__extends(XButtonBridge, _super);
|
|
18
23
|
function XButtonBridge(a) {
|
|
19
24
|
var _this = _super.call(this, a) || this;
|
|
20
|
-
_this.
|
|
21
|
-
_this.
|
|
22
|
-
_this.
|
|
23
|
-
_this.
|
|
25
|
+
_this.ac = null;
|
|
26
|
+
_this.aa = null;
|
|
27
|
+
_this.u = null;
|
|
28
|
+
_this.z = null;
|
|
29
|
+
_this.x = null;
|
|
30
|
+
_this.ae = null;
|
|
31
|
+
_this.y = null;
|
|
32
|
+
_this.af = null;
|
|
33
|
+
_this.v = null;
|
|
34
|
+
_this.ab = null;
|
|
35
|
+
_this.w = null;
|
|
36
|
+
_this.ad = null;
|
|
24
37
|
return _this;
|
|
25
38
|
}
|
|
26
39
|
XButtonBridge.prototype.addHandler = function (a, b, c, d) {
|
|
27
40
|
var e = a;
|
|
28
41
|
switch (c) {
|
|
29
42
|
case 1:
|
|
30
|
-
e.clicked = delegateCombine(e.clicked, runOn(this, this.
|
|
31
|
-
this.
|
|
32
|
-
this.
|
|
43
|
+
e.clicked = delegateCombine(e.clicked, runOn(this, this.ag));
|
|
44
|
+
this.u = d;
|
|
45
|
+
this.z = b;
|
|
46
|
+
break;
|
|
47
|
+
case 7:
|
|
48
|
+
e.mouseEnter = delegateCombine(e.mouseEnter, runOn(this, this.aj));
|
|
49
|
+
this.x = d;
|
|
50
|
+
this.ae = b;
|
|
51
|
+
break;
|
|
52
|
+
case 8:
|
|
53
|
+
e.mouseLeave = delegateCombine(e.mouseLeave, runOn(this, this.ak));
|
|
54
|
+
this.y = d;
|
|
55
|
+
this.af = b;
|
|
56
|
+
break;
|
|
57
|
+
case 12:
|
|
58
|
+
e.gotFocus = delegateCombine(e.gotFocus, runOn(this, this.ah));
|
|
59
|
+
this.v = d;
|
|
60
|
+
this.ab = b;
|
|
61
|
+
break;
|
|
62
|
+
case 13:
|
|
63
|
+
e.lostFocus = delegateCombine(e.lostFocus, runOn(this, this.ai));
|
|
64
|
+
this.w = d;
|
|
65
|
+
this.ad = b;
|
|
33
66
|
break;
|
|
34
67
|
}
|
|
35
68
|
};
|
|
@@ -37,16 +70,52 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
37
70
|
var e = a;
|
|
38
71
|
switch (c) {
|
|
39
72
|
case 1:
|
|
40
|
-
e.clicked = delegateRemove(e.clicked, runOn(this, this.
|
|
41
|
-
this.
|
|
42
|
-
this.
|
|
73
|
+
e.clicked = delegateRemove(e.clicked, runOn(this, this.ag));
|
|
74
|
+
this.u = null;
|
|
75
|
+
this.z = null;
|
|
76
|
+
break;
|
|
77
|
+
case 7:
|
|
78
|
+
e.mouseEnter = delegateRemove(e.mouseEnter, runOn(this, this.aj));
|
|
79
|
+
this.x = null;
|
|
80
|
+
this.ae = null;
|
|
81
|
+
break;
|
|
82
|
+
case 8:
|
|
83
|
+
e.mouseLeave = delegateRemove(e.mouseLeave, runOn(this, this.ak));
|
|
84
|
+
this.y = null;
|
|
85
|
+
this.af = null;
|
|
43
86
|
break;
|
|
44
87
|
}
|
|
45
88
|
};
|
|
46
|
-
XButtonBridge.prototype.
|
|
47
|
-
if (this.
|
|
89
|
+
XButtonBridge.prototype.ag = function (a, b) {
|
|
90
|
+
if (this.u != null) {
|
|
48
91
|
var c = new NativeUIButtonClickedEventArgs();
|
|
49
|
-
this.
|
|
92
|
+
this.u(this.z, c);
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
XButtonBridge.prototype.aj = function (a, b) {
|
|
96
|
+
if (this.x != null) {
|
|
97
|
+
var c = new NativeUIMouseEventArgs();
|
|
98
|
+
this.x(this.ae, c);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
XButtonBridge.prototype.ak = function (a, b) {
|
|
102
|
+
if (this.y != null) {
|
|
103
|
+
var c = new NativeUIMouseEventArgs();
|
|
104
|
+
this.y(this.af, c);
|
|
105
|
+
}
|
|
106
|
+
};
|
|
107
|
+
XButtonBridge.prototype.ah = function (a, b) {
|
|
108
|
+
if (this.v != null) {
|
|
109
|
+
this.v(this.ab, new NativeUIFocusEventArgs());
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
XButtonBridge.prototype.ai = function (a, b) {
|
|
113
|
+
if (this.w != null) {
|
|
114
|
+
this.w(this.ad, ((function () {
|
|
115
|
+
var $ret = new NativeUIFocusEventArgs();
|
|
116
|
+
$ret.a = b.a;
|
|
117
|
+
return $ret;
|
|
118
|
+
})()));
|
|
50
119
|
}
|
|
51
120
|
};
|
|
52
121
|
XButtonBridge.prototype.setValue = function (a, b, c) {
|
|
@@ -55,48 +124,175 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
55
124
|
case 3:
|
|
56
125
|
d.clearButtonContent();
|
|
57
126
|
if (typeCast(NativeUIComponent.$, c) !== null) {
|
|
58
|
-
this.
|
|
59
|
-
d.appendButtonContent(this.
|
|
127
|
+
this.ac = c;
|
|
128
|
+
d.appendButtonContent(this.ac.al);
|
|
60
129
|
}
|
|
61
130
|
else {
|
|
131
|
+
this.ac = c;
|
|
62
132
|
var e = d.view.k.createElement("span");
|
|
63
|
-
e.setText(
|
|
133
|
+
e.setText(this.ac == null ? null : this.ac.toString());
|
|
64
134
|
d.appendButtonContent(e);
|
|
65
135
|
}
|
|
66
136
|
break;
|
|
67
137
|
case 1:
|
|
68
138
|
switch (EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, c)) {
|
|
69
139
|
case 0:
|
|
70
|
-
d.
|
|
140
|
+
d.r = 0;
|
|
71
141
|
break;
|
|
72
142
|
case 1:
|
|
73
|
-
d.
|
|
143
|
+
d.r = 1;
|
|
74
144
|
break;
|
|
75
145
|
case 2:
|
|
76
|
-
d.
|
|
146
|
+
d.r = 3;
|
|
77
147
|
break;
|
|
78
148
|
case 3:
|
|
79
|
-
d.
|
|
149
|
+
d.r = 2;
|
|
80
150
|
break;
|
|
81
151
|
}
|
|
82
152
|
break;
|
|
153
|
+
case 18:
|
|
154
|
+
d.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
155
|
+
break;
|
|
156
|
+
case 54:
|
|
157
|
+
if (typeCast(NativeUIComponent.$, c) !== null) {
|
|
158
|
+
this.aa = c;
|
|
159
|
+
d.appendButtonContent(this.aa.al);
|
|
160
|
+
}
|
|
161
|
+
break;
|
|
162
|
+
case 0:
|
|
163
|
+
switch (EnumUtil.getEnumValue(NativeUIButtonDisplayType_$type, c)) {
|
|
164
|
+
case 3:
|
|
165
|
+
d.e = 3;
|
|
166
|
+
break;
|
|
167
|
+
case 1:
|
|
168
|
+
d.e = 1;
|
|
169
|
+
break;
|
|
170
|
+
case 4:
|
|
171
|
+
d.e = 4;
|
|
172
|
+
break;
|
|
173
|
+
case 2:
|
|
174
|
+
d.e = 2;
|
|
175
|
+
break;
|
|
176
|
+
case 0:
|
|
177
|
+
d.e = 0;
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case 4:
|
|
182
|
+
d.at = c;
|
|
183
|
+
break;
|
|
184
|
+
case 32:
|
|
185
|
+
d.disabled = c;
|
|
186
|
+
break;
|
|
187
|
+
case 5:
|
|
188
|
+
d.ar = c;
|
|
189
|
+
break;
|
|
190
|
+
case 6:
|
|
191
|
+
d.az = !c;
|
|
192
|
+
break;
|
|
193
|
+
case 24:
|
|
194
|
+
d.p7 = c;
|
|
195
|
+
break;
|
|
196
|
+
case 55:
|
|
197
|
+
d.bi = c.left;
|
|
198
|
+
d.bk = c.top;
|
|
199
|
+
d.bj = c.right;
|
|
200
|
+
d.bh = c.bottom;
|
|
201
|
+
break;
|
|
202
|
+
case 57:
|
|
203
|
+
d.av = c;
|
|
204
|
+
break;
|
|
205
|
+
case 56:
|
|
206
|
+
d.as = c;
|
|
207
|
+
break;
|
|
208
|
+
case 58:
|
|
209
|
+
d.aq = c;
|
|
210
|
+
break;
|
|
83
211
|
}
|
|
84
212
|
};
|
|
85
213
|
XButtonBridge.prototype.getValue = function (a, b) {
|
|
86
214
|
var c = a;
|
|
87
215
|
switch (b) {
|
|
88
|
-
case 3:
|
|
216
|
+
case 3: return this.ac;
|
|
217
|
+
case 54: return this.aa;
|
|
89
218
|
case 1:
|
|
90
|
-
switch (c.
|
|
219
|
+
switch (c.r) {
|
|
91
220
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
92
221
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
93
222
|
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
94
223
|
case 2: return enumGetBox(NativeUIDisplayDensity_$type, 3);
|
|
95
224
|
}
|
|
96
225
|
break;
|
|
226
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.n);
|
|
227
|
+
case 0:
|
|
228
|
+
switch (c.e) {
|
|
229
|
+
case 3: return enumGetBox(NativeUIButtonDisplayType_$type, 3);
|
|
230
|
+
case 1: return enumGetBox(NativeUIButtonDisplayType_$type, 1);
|
|
231
|
+
case 4: return enumGetBox(NativeUIButtonDisplayType_$type, 4);
|
|
232
|
+
case 2: return enumGetBox(NativeUIButtonDisplayType_$type, 2);
|
|
233
|
+
case 0: return enumGetBox(NativeUIButtonDisplayType_$type, 0);
|
|
234
|
+
}
|
|
235
|
+
return enumGetBox(NativeUIButtonDisplayType_$type, 0);
|
|
236
|
+
case 4: return c.at;
|
|
237
|
+
case 32: return c.disabled;
|
|
238
|
+
case 5: return c.ar;
|
|
239
|
+
case 6: return !c.az;
|
|
240
|
+
case 24: return c.p7;
|
|
241
|
+
case 55: return new Thickness(1, c.bi, c.bk, c.bj, c.bh);
|
|
242
|
+
case 57: return c.av;
|
|
243
|
+
case 56: return c.as;
|
|
244
|
+
case 58: return c.aq;
|
|
97
245
|
}
|
|
98
246
|
return null;
|
|
99
247
|
};
|
|
248
|
+
XButtonBridge.prototype.setHorizontalContentAlignment = function (a, b) {
|
|
249
|
+
switch (b) {
|
|
250
|
+
case 1:
|
|
251
|
+
this.t.k5 = 1;
|
|
252
|
+
break;
|
|
253
|
+
case 0:
|
|
254
|
+
this.t.k5 = 0;
|
|
255
|
+
break;
|
|
256
|
+
case 2:
|
|
257
|
+
this.t.k5 = 2;
|
|
258
|
+
break;
|
|
259
|
+
case 3:
|
|
260
|
+
this.t.k5 = 3;
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
XButtonBridge.prototype.getHorizontalContentAlignment = function (a) {
|
|
265
|
+
switch (this.t.k5) {
|
|
266
|
+
case 1: return 1;
|
|
267
|
+
case 0: return 0;
|
|
268
|
+
case 2: return 2;
|
|
269
|
+
default: return 3;
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
XButtonBridge.prototype.setVerticalContentAlignment = function (a, b) {
|
|
273
|
+
switch (b) {
|
|
274
|
+
case 2:
|
|
275
|
+
this.t.q9 = 2;
|
|
276
|
+
break;
|
|
277
|
+
case 1:
|
|
278
|
+
this.t.q9 = 1;
|
|
279
|
+
break;
|
|
280
|
+
case 3:
|
|
281
|
+
this.t.q9 = 3;
|
|
282
|
+
break;
|
|
283
|
+
case 0:
|
|
284
|
+
this.t.q9 = 0;
|
|
285
|
+
break;
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
XButtonBridge.prototype.getVerticalContentAlignment = function (a) {
|
|
289
|
+
switch (this.t.q9) {
|
|
290
|
+
case 2: return 2;
|
|
291
|
+
case 1: return 1;
|
|
292
|
+
case 0: return 0;
|
|
293
|
+
default: return 3;
|
|
294
|
+
}
|
|
295
|
+
};
|
|
100
296
|
XButtonBridge.$t = markType(XButtonBridge, 'XButtonBridge', XComponentBridge.$);
|
|
101
297
|
return XButtonBridge;
|
|
102
298
|
}(XComponentBridge));
|
|
@@ -4,7 +4,7 @@ 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 { ObservableCollection$1 } from "igniteui-webcomponents-core";
|
|
9
9
|
import { XButton } from "./XButton";
|
|
10
10
|
import { markType } from "igniteui-webcomponents-core";
|
|
@@ -12,7 +12,7 @@ import { markType } from "igniteui-webcomponents-core";
|
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
14
|
var XButtonGroupButtonCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
15
|
-
|
|
15
|
+
__extends(XButtonGroupButtonCollection, _super);
|
|
16
16
|
function XButtonGroupButtonCollection() {
|
|
17
17
|
var _this = _super.call(this, XButton.$, 0) || this;
|
|
18
18
|
_this.collectionResetting = null;
|
|
@@ -4,19 +4,20 @@ 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 { runOn, delegateCombine, delegateRemove, markType } from "igniteui-webcomponents-core";
|
|
9
|
+
import { runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-webcomponents-core";
|
|
10
10
|
import { NativeUICheckboxChangeEventArgs } from "igniteui-webcomponents-core";
|
|
11
|
+
import { BaseControlTheme_$type } from "igniteui-webcomponents-core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
14
15
|
var XCheckboxBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
15
|
-
|
|
16
|
+
__extends(XCheckboxBridge, _super);
|
|
16
17
|
function XCheckboxBridge(a) {
|
|
17
18
|
var _this = _super.call(this, a) || this;
|
|
18
|
-
_this.
|
|
19
|
-
_this.
|
|
19
|
+
_this.u = null;
|
|
20
|
+
_this.v = null;
|
|
20
21
|
return _this;
|
|
21
22
|
}
|
|
22
23
|
XCheckboxBridge.prototype.addHandler = function (a, b, c, d) {
|
|
@@ -24,9 +25,9 @@ var XCheckboxBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24
25
|
switch (c) {
|
|
25
26
|
case 2:
|
|
26
27
|
var f = a;
|
|
27
|
-
e.change = delegateCombine(e.change, runOn(this, this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
28
|
+
e.change = delegateCombine(e.change, runOn(this, this.w));
|
|
29
|
+
this.u = d;
|
|
30
|
+
this.v = b;
|
|
30
31
|
break;
|
|
31
32
|
}
|
|
32
33
|
};
|
|
@@ -34,23 +35,25 @@ var XCheckboxBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
34
35
|
var e = a;
|
|
35
36
|
switch (c) {
|
|
36
37
|
case 2:
|
|
37
|
-
e.change = delegateRemove(e.change, runOn(this, this.
|
|
38
|
-
this.
|
|
39
|
-
this.
|
|
38
|
+
e.change = delegateRemove(e.change, runOn(this, this.w));
|
|
39
|
+
this.u = null;
|
|
40
|
+
this.v = null;
|
|
40
41
|
break;
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
|
-
XCheckboxBridge.prototype.
|
|
44
|
-
if (this.
|
|
44
|
+
XCheckboxBridge.prototype.w = function (a, b) {
|
|
45
|
+
if (this.u != null) {
|
|
45
46
|
var c = new NativeUICheckboxChangeEventArgs();
|
|
46
|
-
this.
|
|
47
|
+
this.u(this.v, c);
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
XCheckboxBridge.prototype.getValue = function (a, b) {
|
|
50
51
|
var c = a;
|
|
51
52
|
switch (b) {
|
|
52
|
-
case 4: return c.
|
|
53
|
-
case
|
|
53
|
+
case 4: return c.y;
|
|
54
|
+
case 7: return c.checked;
|
|
55
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.n);
|
|
56
|
+
case 17: return c.ar;
|
|
54
57
|
}
|
|
55
58
|
return null;
|
|
56
59
|
};
|
|
@@ -58,11 +61,17 @@ var XCheckboxBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
58
61
|
var d = a;
|
|
59
62
|
switch (b) {
|
|
60
63
|
case 4:
|
|
61
|
-
d.
|
|
64
|
+
d.y = c;
|
|
62
65
|
return;
|
|
63
|
-
case
|
|
66
|
+
case 7:
|
|
64
67
|
d.checked = c;
|
|
65
68
|
return;
|
|
69
|
+
case 18:
|
|
70
|
+
d.n = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
71
|
+
break;
|
|
72
|
+
case 17:
|
|
73
|
+
d.ar = c;
|
|
74
|
+
break;
|
|
66
75
|
}
|
|
67
76
|
};
|
|
68
77
|
XCheckboxBridge.$t = markType(XCheckboxBridge, 'XCheckboxBridge', XComponentBridge.$);
|
|
@@ -4,31 +4,49 @@ 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 { NativeUIElementBridge } from "igniteui-webcomponents-core";
|
|
9
9
|
import { markType } from "igniteui-webcomponents-core";
|
|
10
10
|
/**
|
|
11
11
|
* @hidden
|
|
12
12
|
*/
|
|
13
13
|
var XComponentBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
14
|
-
|
|
14
|
+
__extends(XComponentBridge, _super);
|
|
15
15
|
function XComponentBridge(a) {
|
|
16
16
|
var _this = _super.call(this) || this;
|
|
17
|
-
_this.
|
|
18
|
-
_this.
|
|
17
|
+
_this.s = null;
|
|
18
|
+
_this.s = a;
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
|
+
Object.defineProperty(XComponentBridge.prototype, "t", {
|
|
22
|
+
get: function () {
|
|
23
|
+
return this.s;
|
|
24
|
+
},
|
|
25
|
+
enumerable: false,
|
|
26
|
+
configurable: true
|
|
27
|
+
});
|
|
21
28
|
XComponentBridge.prototype.getTargetForProperty = function (a, b) {
|
|
22
|
-
|
|
29
|
+
switch (a) {
|
|
30
|
+
case 14:
|
|
31
|
+
case 9:
|
|
32
|
+
case 10:
|
|
33
|
+
case 13:
|
|
34
|
+
case 16:
|
|
35
|
+
case 15:
|
|
36
|
+
case 17:
|
|
37
|
+
case 7:
|
|
38
|
+
case 21: return b;
|
|
39
|
+
}
|
|
40
|
+
return this.s != null ? this.s : b;
|
|
23
41
|
};
|
|
24
42
|
XComponentBridge.prototype.getMethodTarget = function (a) {
|
|
25
|
-
return this.
|
|
43
|
+
return this.s != null ? this.s : a;
|
|
26
44
|
};
|
|
27
45
|
XComponentBridge.prototype.getTargetForBuildInEvent = function (a, b) {
|
|
28
|
-
return this.
|
|
46
|
+
return this.s != null ? this.s : a;
|
|
29
47
|
};
|
|
30
48
|
XComponentBridge.prototype.getTargetForBuildInProperty = function (a, b) {
|
|
31
|
-
return this.
|
|
49
|
+
return this.s != null ? this.s : a;
|
|
32
50
|
};
|
|
33
51
|
XComponentBridge.$t = markType(XComponentBridge, 'XComponentBridge', NativeUIElementBridge.$);
|
|
34
52
|
return XComponentBridge;
|