igniteui-webcomponents-inputs 4.2.5 → 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.
Files changed (146) hide show
  1. package/bundles/igniteui-webcomponents-inputs.umd.js +10205 -7880
  2. package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
  3. package/esm2015/lib/ButtonGroupView_combined.js +98 -98
  4. package/esm2015/lib/ButtonView_combined.js +2206 -1799
  5. package/esm2015/lib/CalendarView_combined.js +156 -156
  6. package/esm2015/lib/CheckboxView_combined.js +532 -458
  7. package/esm2015/lib/DatePickerView_combined.js +398 -364
  8. package/esm2015/lib/IconView_combined.js +553 -355
  9. package/esm2015/lib/InputGroupView_combined.js +2432 -2152
  10. package/esm2015/lib/NativeUIXInputsFactory.js +65 -23
  11. package/esm2015/lib/RippleView_combined.js +1 -1
  12. package/esm2015/lib/Theme.js +48 -0
  13. package/esm2015/lib/ThemeResolver.js +131 -7
  14. package/esm2015/lib/XButtonBridge.js +218 -22
  15. package/esm2015/lib/XCheckboxBridge.js +25 -16
  16. package/esm2015/lib/XComponentBridge.js +20 -6
  17. package/esm2015/lib/XIconBridge.js +93 -0
  18. package/esm2015/lib/XIconButtonBridge.js +45 -33
  19. package/esm2015/lib/XInputBridge.js +91 -38
  20. package/esm2015/lib/XPopupBridge.js +287 -0
  21. package/esm2015/lib/igc-date-picker-component.js +60 -58
  22. package/esm2015/lib/igc-x-button-component.js +694 -546
  23. package/esm2015/lib/igc-x-button-group-component.js +28 -28
  24. package/esm2015/lib/igc-x-calendar-component.js +16 -16
  25. package/esm2015/lib/igc-x-checkbox-component.js +77 -77
  26. package/esm2015/lib/igc-x-icon-component.js +239 -118
  27. package/esm2015/lib/igc-x-input-component.js +61 -43
  28. package/esm2015/lib/igc-x-input-group-component.js +576 -576
  29. package/esm2015/lib/igc-x-input-group-item-component.js +18 -18
  30. package/esm2015/lib/igc-x-ripple-component.js +35 -35
  31. package/esm2015/public_api.js +3 -0
  32. package/esm5/lib/ButtonClickEventArgs.js +2 -2
  33. package/esm5/lib/ButtonGroupSelectionChangedEventArgs.js +2 -2
  34. package/esm5/lib/ButtonGroupView_combined.js +176 -176
  35. package/esm5/lib/ButtonGroupVisualModelExport.js +2 -2
  36. package/esm5/lib/ButtonView_combined.js +2259 -1808
  37. package/esm5/lib/ButtonVisualModelExport.js +2 -2
  38. package/esm5/lib/CalendarView_combined.js +181 -181
  39. package/esm5/lib/CalendarVisualModelExport.js +2 -2
  40. package/esm5/lib/CheckboxChangeEventArgs.js +4 -4
  41. package/esm5/lib/CheckboxView_combined.js +561 -483
  42. package/esm5/lib/CheckboxVisualModelExport.js +2 -2
  43. package/esm5/lib/DatePickerView_combined.js +421 -383
  44. package/esm5/lib/DatePickerVisualModelExport.js +2 -2
  45. package/esm5/lib/DateTimeValueFormatter.js +2 -2
  46. package/esm5/lib/DayInfo.js +2 -2
  47. package/esm5/lib/ElevationHelper.js +2 -2
  48. package/esm5/lib/GotFocusEventArgs.js +2 -2
  49. package/esm5/lib/IconClickedEventArgs.js +2 -2
  50. package/esm5/lib/IconView_combined.js +600 -362
  51. package/esm5/lib/IconVisualModelExport.js +3 -3
  52. package/esm5/lib/InputChangeEventArgs.js +4 -4
  53. package/esm5/lib/InputGroupView_combined.js +2534 -2246
  54. package/esm5/lib/InputGroupVisualModelExport.js +2 -2
  55. package/esm5/lib/InputVisualModelExport.js +2 -2
  56. package/esm5/lib/LabelVisualModelExport.js +2 -2
  57. package/esm5/lib/LostFocusEventArgs.js +2 -2
  58. package/esm5/lib/MaskOptions.js +2 -2
  59. package/esm5/lib/MaskParsingService.js +5 -5
  60. package/esm5/lib/NativeUIXInputsFactory.js +69 -27
  61. package/esm5/lib/PrefixVisualModelExport.js +2 -2
  62. package/esm5/lib/Replaced.js +2 -2
  63. package/esm5/lib/RippleView_combined.js +17 -17
  64. package/esm5/lib/RippleVisualModelExport.js +2 -2
  65. package/esm5/lib/SelectedValueChangedEventArgs.js +4 -4
  66. package/esm5/lib/SuffixVisualModelExport.js +2 -2
  67. package/esm5/lib/TextElementsVisualModelExport.js +2 -2
  68. package/esm5/lib/Theme.js +58 -0
  69. package/esm5/lib/ThemeResolver.js +137 -11
  70. package/esm5/lib/XButtonBridge.js +220 -24
  71. package/esm5/lib/XButtonGroupButtonCollection.js +2 -2
  72. package/esm5/lib/XCheckboxBridge.js +27 -18
  73. package/esm5/lib/XComponentBridge.js +26 -8
  74. package/esm5/lib/XIconBridge.js +95 -0
  75. package/esm5/lib/XIconButtonBridge.js +47 -35
  76. package/esm5/lib/XInputBridge.js +93 -40
  77. package/esm5/lib/XPopupBridge.js +289 -0
  78. package/esm5/lib/igc-button-click-event-args.js +1 -1
  79. package/esm5/lib/igc-button-group-selection-changed-event-args.js +1 -1
  80. package/esm5/lib/igc-checkbox-change-event-args.js +3 -3
  81. package/esm5/lib/igc-date-picker-component.js +80 -78
  82. package/esm5/lib/igc-got-focus-event-args.js +1 -1
  83. package/esm5/lib/igc-input-change-event-args.js +3 -3
  84. package/esm5/lib/igc-lost-focus-event-args.js +1 -1
  85. package/esm5/lib/igc-selected-value-changed-event-args.js +3 -3
  86. package/esm5/lib/igc-x-button-component.js +908 -710
  87. package/esm5/lib/igc-x-button-group-button-collection.js +2 -2
  88. package/esm5/lib/igc-x-button-group-component.js +73 -73
  89. package/esm5/lib/igc-x-calendar-component.js +30 -30
  90. package/esm5/lib/igc-x-checkbox-component.js +117 -117
  91. package/esm5/lib/igc-x-icon-component.js +297 -136
  92. package/esm5/lib/igc-x-input-component.js +104 -78
  93. package/esm5/lib/igc-x-input-group-component.js +716 -716
  94. package/esm5/lib/igc-x-input-group-input-collection.js +2 -2
  95. package/esm5/lib/igc-x-input-group-item-component.js +6 -6
  96. package/esm5/lib/igc-x-label-component.js +30 -30
  97. package/esm5/lib/igc-x-prefix-component.js +9 -9
  98. package/esm5/lib/igc-x-ripple-component.js +19 -19
  99. package/esm5/lib/igc-x-suffix-component.js +9 -9
  100. package/esm5/public_api.js +3 -0
  101. package/fesm2015/igniteui-webcomponents-inputs.js +9194 -7084
  102. package/fesm5/igniteui-webcomponents-inputs.js +10090 -7768
  103. package/lib/ButtonGroupView_combined.d.ts +136 -70
  104. package/lib/ButtonView_combined.d.ts +609 -583
  105. package/lib/CalendarView_combined.d.ts +43 -22
  106. package/lib/CheckboxChangeEventArgs.d.ts +4 -2
  107. package/lib/CheckboxView_combined.d.ts +150 -117
  108. package/lib/DatePickerView_combined.d.ts +109 -81
  109. package/lib/IconView_combined.d.ts +164 -93
  110. package/lib/IconVisualModelExport.d.ts +2 -1
  111. package/lib/InputChangeEventArgs.d.ts +4 -2
  112. package/lib/InputGroupView_combined.d.ts +771 -771
  113. package/lib/NativeUIXInputsFactory.d.ts +6 -4
  114. package/lib/RippleView_combined.d.ts +19 -10
  115. package/lib/SelectedValueChangedEventArgs.d.ts +4 -2
  116. package/lib/Theme.d.ts +15 -0
  117. package/lib/ThemeResolver.d.ts +44 -6
  118. package/lib/XButtonBridge.d.ts +23 -5
  119. package/lib/XCheckboxBridge.d.ts +3 -3
  120. package/lib/XComponentBridge.d.ts +2 -1
  121. package/lib/XIconBridge.d.ts +14 -0
  122. package/lib/XIconButtonBridge.d.ts +4 -4
  123. package/lib/XInputBridge.d.ts +11 -7
  124. package/lib/XPopupBridge.d.ts +52 -0
  125. package/lib/igc-button-click-event-args.d.ts +1 -1
  126. package/lib/igc-button-group-selection-changed-event-args.d.ts +1 -1
  127. package/lib/igc-checkbox-change-event-args.d.ts +5 -3
  128. package/lib/igc-date-picker-component.d.ts +65 -34
  129. package/lib/igc-got-focus-event-args.d.ts +1 -1
  130. package/lib/igc-input-change-event-args.d.ts +5 -3
  131. package/lib/igc-lost-focus-event-args.d.ts +1 -1
  132. package/lib/igc-selected-value-changed-event-args.d.ts +5 -3
  133. package/lib/igc-x-button-component.d.ts +399 -173
  134. package/lib/igc-x-button-group-component.d.ts +136 -70
  135. package/lib/igc-x-calendar-component.d.ts +53 -28
  136. package/lib/igc-x-checkbox-component.d.ts +71 -37
  137. package/lib/igc-x-icon-component.d.ts +140 -44
  138. package/lib/igc-x-input-component.d.ts +69 -32
  139. package/lib/igc-x-input-group-component.d.ts +325 -165
  140. package/lib/igc-x-input-group-item-component.d.ts +5 -4
  141. package/lib/igc-x-label-component.d.ts +52 -27
  142. package/lib/igc-x-prefix-component.d.ts +10 -6
  143. package/lib/igc-x-ripple-component.d.ts +31 -17
  144. package/lib/igc-x-suffix-component.d.ts +10 -6
  145. package/package.json +2 -2
  146. package/public_api.d.ts +3 -0
@@ -0,0 +1,289 @@
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 { INativeUIPopupBridge_$type } from "igniteui-webcomponents-core";
10
+ import { List$1 } from "igniteui-webcomponents-core";
11
+ import { NativeUIComponent } from "igniteui-webcomponents-core";
12
+ import { runOn, delegateCombine, delegateRemove, enumGetBox, typeGetValue, EnumUtil, markType } from "igniteui-webcomponents-core";
13
+ import { NativeUIPopupOpenedEventArgs } from "igniteui-webcomponents-core";
14
+ import { NativeUIPopupClosedEventArgs } from "igniteui-webcomponents-core";
15
+ import { NativeUIMouseEventArgs } from "igniteui-webcomponents-core";
16
+ import { NativeUIFocusEventArgs } from "igniteui-webcomponents-core";
17
+ import { NativeUIPopupAnimationType_$type } from "igniteui-webcomponents-core";
18
+ import { NativeUIPopupPointerPosition_$type } from "igniteui-webcomponents-core";
19
+ /**
20
+ * @hidden
21
+ */
22
+ var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
23
+ __extends(XPopupBridge, _super);
24
+ function XPopupBridge(a) {
25
+ var _this = _super.call(this, a) || this;
26
+ _this.ai = null;
27
+ _this.ad = null;
28
+ _this.ag = null;
29
+ _this.ah = null;
30
+ _this.ae = null;
31
+ _this.af = null;
32
+ _this.ab = null;
33
+ _this.aa = null;
34
+ _this.y = null;
35
+ _this.z = null;
36
+ _this.w = null;
37
+ _this.x = null;
38
+ _this.ac = null;
39
+ _this.ac = new List$1(NativeUIComponent.$, 0);
40
+ return _this;
41
+ }
42
+ XPopupBridge.prototype.contains = function (a, b) {
43
+ var c = this.t;
44
+ return c.contains(b);
45
+ };
46
+ XPopupBridge.prototype.addHandler = function (a, b, c, d) {
47
+ var e = a;
48
+ switch (c) {
49
+ case 5:
50
+ e.onPopup = delegateCombine(e.onPopup, runOn(this, this.ao));
51
+ this.ab = d;
52
+ this.ai = b;
53
+ break;
54
+ case 6:
55
+ e.onClosed = delegateCombine(e.onClosed, runOn(this, this.aj));
56
+ this.aa = d;
57
+ this.ad = b;
58
+ break;
59
+ case 7:
60
+ e.popupMouseEnter = delegateCombine(e.popupMouseEnter, runOn(this, this.am));
61
+ this.y = d;
62
+ this.ag = b;
63
+ break;
64
+ case 8:
65
+ e.popupMouseLeave = delegateCombine(e.popupMouseLeave, runOn(this, this.an));
66
+ this.z = d;
67
+ this.ah = b;
68
+ break;
69
+ case 12:
70
+ e.popupGotFocus = delegateCombine(e.popupGotFocus, runOn(this, this.ak));
71
+ this.w = d;
72
+ this.ae = b;
73
+ break;
74
+ case 13:
75
+ e.popupLostFocus = delegateCombine(e.popupLostFocus, runOn(this, this.al));
76
+ this.x = d;
77
+ this.af = b;
78
+ break;
79
+ }
80
+ };
81
+ XPopupBridge.prototype.removeHandler = function (a, b, c, d) {
82
+ var e = a;
83
+ switch (c) {
84
+ case 5:
85
+ e.onPopup = delegateRemove(e.onPopup, runOn(this, this.ao));
86
+ this.ab = null;
87
+ this.ai = null;
88
+ break;
89
+ case 6:
90
+ e.onClosed = delegateRemove(e.onClosed, runOn(this, this.aj));
91
+ this.aa = null;
92
+ this.ad = null;
93
+ break;
94
+ case 7:
95
+ e.popupMouseEnter = delegateRemove(e.popupMouseEnter, runOn(this, this.am));
96
+ this.y = null;
97
+ this.ag = null;
98
+ break;
99
+ case 8:
100
+ e.popupMouseLeave = delegateRemove(e.popupMouseLeave, runOn(this, this.an));
101
+ this.z = null;
102
+ this.ah = null;
103
+ break;
104
+ case 12:
105
+ e.popupGotFocus = delegateRemove(e.popupGotFocus, runOn(this, this.ak));
106
+ this.w = null;
107
+ this.ae = null;
108
+ break;
109
+ case 13:
110
+ e.popupLostFocus = delegateRemove(e.popupLostFocus, runOn(this, this.al));
111
+ this.x = null;
112
+ this.af = null;
113
+ break;
114
+ }
115
+ };
116
+ XPopupBridge.prototype.ao = function (a, b) {
117
+ if (this.ab != null) {
118
+ this.ab(this.ai, new NativeUIPopupOpenedEventArgs());
119
+ }
120
+ };
121
+ XPopupBridge.prototype.aj = function (a, b) {
122
+ if (this.aa != null) {
123
+ this.aa(this.ad, new NativeUIPopupClosedEventArgs());
124
+ }
125
+ };
126
+ XPopupBridge.prototype.am = function (a, b) {
127
+ if (this.y != null) {
128
+ this.y(this.ag, new NativeUIMouseEventArgs());
129
+ }
130
+ };
131
+ XPopupBridge.prototype.an = function (a, b) {
132
+ if (this.z != null) {
133
+ this.z(this.ah, new NativeUIMouseEventArgs());
134
+ }
135
+ };
136
+ XPopupBridge.prototype.ak = function (a, b) {
137
+ if (this.w != null) {
138
+ this.w(this.ae, new NativeUIFocusEventArgs());
139
+ }
140
+ };
141
+ XPopupBridge.prototype.al = function (a, b) {
142
+ if (this.x != null) {
143
+ this.x(this.af, ((function () {
144
+ var $ret = new NativeUIFocusEventArgs();
145
+ $ret.a = b.a;
146
+ return $ret;
147
+ })()));
148
+ }
149
+ };
150
+ XPopupBridge.prototype.getValue = function (a, b) {
151
+ var c = a;
152
+ switch (b) {
153
+ case 22: return c.ao;
154
+ case 25: return c.ag;
155
+ case 26: return c.av;
156
+ case 17: return c.aq;
157
+ case 23: return c.b9;
158
+ case 35: switch (c.n) {
159
+ case 1: return enumGetBox(NativeUIPopupAnimationType_$type, 1);
160
+ default: return enumGetBox(NativeUIPopupAnimationType_$type, 0);
161
+ }
162
+ case 36: return c.al;
163
+ case 37: return c.ak;
164
+ case 40: return c.ax;
165
+ case 41: return c.am;
166
+ case 43: switch (c.q) {
167
+ case 0: return enumGetBox(NativeUIPopupPointerPosition_$type, 0);
168
+ default: return enumGetBox(NativeUIPopupPointerPosition_$type, 1);
169
+ }
170
+ case 42: return c.cd;
171
+ case 39: return c.ai;
172
+ }
173
+ return _super.prototype.getValue.call(this, a, b);
174
+ };
175
+ XPopupBridge.prototype.setValue = function (a, b, c) {
176
+ var d = a;
177
+ switch (b) {
178
+ case 25:
179
+ d.ag = c;
180
+ break;
181
+ case 26:
182
+ d.av = typeGetValue(c);
183
+ break;
184
+ case 17:
185
+ d.aq = c;
186
+ break;
187
+ case 23:
188
+ d.b9 = c;
189
+ break;
190
+ case 35:
191
+ switch (EnumUtil.getEnumValue(NativeUIPopupAnimationType_$type, c)) {
192
+ case 1:
193
+ d.n = 1;
194
+ break;
195
+ default:
196
+ d.n = 0;
197
+ break;
198
+ }
199
+ break;
200
+ case 36:
201
+ d.al = c;
202
+ break;
203
+ case 37:
204
+ d.ak = c;
205
+ break;
206
+ case 40:
207
+ d.ax = typeGetValue(c);
208
+ break;
209
+ case 41:
210
+ d.am = c;
211
+ break;
212
+ case 42:
213
+ d.cd = c;
214
+ break;
215
+ case 43:
216
+ switch (EnumUtil.getEnumValue(NativeUIPopupPointerPosition_$type, c)) {
217
+ case 0:
218
+ d.q = 0;
219
+ break;
220
+ case 1:
221
+ d.q = 1;
222
+ break;
223
+ }
224
+ break;
225
+ case 39:
226
+ d.ai = c;
227
+ break;
228
+ }
229
+ _super.prototype.setValue.call(this, a, b, c);
230
+ };
231
+ XPopupBridge.prototype.showRelativeToExclusionRect = function (a, b, c, d) {
232
+ a.showRelativeToExclusionRect(b, this.v(c), this.u(d));
233
+ };
234
+ XPopupBridge.prototype.close = function (a) {
235
+ a.bj();
236
+ };
237
+ XPopupBridge.prototype.notifyContentSizeChanged = function (a) {
238
+ a.bm();
239
+ };
240
+ XPopupBridge.prototype.notifyExclusionRectChanged = function (a, b) {
241
+ a.bn(b);
242
+ };
243
+ XPopupBridge.prototype.v = function (a) {
244
+ switch (a) {
245
+ case 0: return 0;
246
+ case 1: return 1;
247
+ case 2: return 2;
248
+ default: return 0;
249
+ }
250
+ };
251
+ XPopupBridge.prototype.u = function (a) {
252
+ switch (a) {
253
+ case 0: return 0;
254
+ case 2: return 2;
255
+ case 1: return 1;
256
+ case 3: return 3;
257
+ default: return 0;
258
+ }
259
+ };
260
+ XPopupBridge.prototype.addChild = function (a, b) {
261
+ this.ac.add(b);
262
+ var c = a;
263
+ c.appendPopupContent(b.al);
264
+ };
265
+ XPopupBridge.prototype.insertChild = function (a, b, c) {
266
+ this.ac.add(c);
267
+ var d = a;
268
+ d.appendPopupContent(c.al);
269
+ };
270
+ XPopupBridge.prototype.getChildAt = function (a, b) {
271
+ return this.ac._inner[b];
272
+ };
273
+ XPopupBridge.prototype.getChildrenCount = function (a) {
274
+ return this.ac.count;
275
+ };
276
+ XPopupBridge.prototype.removeChild = function (a, b) {
277
+ var c = a;
278
+ c.removePopupContent(b.al);
279
+ this.ac.remove(b);
280
+ };
281
+ XPopupBridge.prototype.removeChildAt = function (a, b) {
282
+ var c = a;
283
+ c.removePopupContent(this.ac._inner[b].al);
284
+ this.ac.removeAt(b);
285
+ };
286
+ XPopupBridge.$t = markType(XPopupBridge, 'XPopupBridge', XComponentBridge.$, [INativeUIPopupBridge_$type]);
287
+ return XPopupBridge;
288
+ }(XComponentBridge));
289
+ export { XPopupBridge };
@@ -15,7 +15,7 @@ var IgcButtonClickEventArgs = /** @class */ /*@__PURE__*/ (function () {
15
15
  get: function () {
16
16
  return this._implementation;
17
17
  },
18
- enumerable: true,
18
+ enumerable: false,
19
19
  configurable: true
20
20
  });
21
21
  IgcButtonClickEventArgs.prototype.onImplementationCreated = function () {
@@ -15,7 +15,7 @@ var IgcButtonGroupSelectionChangedEventArgs = /** @class */ /*@__PURE__*/ (funct
15
15
  get: function () {
16
16
  return this._implementation;
17
17
  },
18
- enumerable: true,
18
+ enumerable: false,
19
19
  configurable: true
20
20
  });
21
21
  IgcButtonGroupSelectionChangedEventArgs.prototype.onImplementationCreated = function () {
@@ -16,7 +16,7 @@ var IgcCheckboxChangeEventArgs = /** @class */ /*@__PURE__*/ (function () {
16
16
  get: function () {
17
17
  return this._implementation;
18
18
  },
19
- enumerable: true,
19
+ enumerable: false,
20
20
  configurable: true
21
21
  });
22
22
  IgcCheckboxChangeEventArgs.prototype.onImplementationCreated = function () {
@@ -33,7 +33,7 @@ var IgcCheckboxChangeEventArgs = /** @class */ /*@__PURE__*/ (function () {
33
33
  set: function (v) {
34
34
  this.i.isChecked = ensureBool(v);
35
35
  },
36
- enumerable: true,
36
+ enumerable: false,
37
37
  configurable: true
38
38
  });
39
39
  Object.defineProperty(IgcCheckboxChangeEventArgs.prototype, "isIndeterminate", {
@@ -43,7 +43,7 @@ var IgcCheckboxChangeEventArgs = /** @class */ /*@__PURE__*/ (function () {
43
43
  set: function (v) {
44
44
  this.i.isIndeterminate = ensureBool(v);
45
45
  },
46
- enumerable: true,
46
+ enumerable: false,
47
47
  configurable: true
48
48
  });
49
49
  return IgcCheckboxChangeEventArgs;