igniteui-angular-inputs 18.1.1 → 18.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-angular-inputs.umd.js +16857 -7563
- package/bundles/igniteui-angular-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonGroupView_combined.js +19 -19
- package/esm2015/lib/ButtonView_combined.js +820 -790
- package/esm2015/lib/CalendarView_combined.js +82 -82
- package/esm2015/lib/ColorEditor.js +7 -0
- package/esm2015/lib/ColorEditorBridge.js +7 -0
- package/esm2015/lib/ColorEditorGotFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorLostFocusEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanel.js +7 -0
- package/esm2015/lib/ColorEditorPanelClosedEventArgs.js +16 -0
- package/esm2015/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +33 -0
- package/esm2015/lib/ColorEditorPanelView.js +7 -0
- package/esm2015/lib/ColorEditorView.js +7 -0
- package/esm2015/lib/DatePickerView_combined.js +18 -18
- package/esm2015/lib/DefaultMultiSliderTrackBarVisual.js +113 -0
- package/esm2015/lib/DefaultMultiSliderTrackRangeVisual.js +208 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +170 -0
- package/esm2015/lib/DefaultMultiSliderTrackThumbVisual.js +193 -0
- package/esm2015/lib/DefaultMultiTrackShadeVisual.js +172 -0
- package/esm2015/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm2015/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm2015/lib/ISliderTrackOwner.js +11 -0
- package/esm2015/lib/IconClickedEventArgs.js +10 -0
- package/esm2015/lib/IconView_combined.js +345 -314
- package/esm2015/lib/InputGroupView_combined.js +456 -355
- package/esm2015/lib/MultiSlider.js +7 -0
- package/esm2015/lib/MultiSliderBridge.js +165 -0
- package/esm2015/lib/MultiSliderCursor.js +11 -0
- package/esm2015/lib/MultiSliderHitInfo.js +22 -0
- package/esm2015/lib/MultiSliderOrientation.js +17 -0
- package/esm2015/lib/MultiSliderResolvingToolTipValueEventArgs.js +33 -0
- package/esm2015/lib/MultiSliderThumb.js +7 -0
- package/esm2015/lib/MultiSliderThumbCollection.js +21 -0
- package/esm2015/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm2015/lib/MultiSliderThumbValueChangingEventArgs.js +21 -0
- package/esm2015/lib/MultiSliderThumb_combined.js +297 -0
- package/esm2015/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm2015/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm2015/lib/MultiSliderView.js +7 -0
- package/esm2015/lib/MultiSliderView_combined.js +1785 -0
- package/esm2015/lib/MultiSliderVisualArea.js +11 -0
- package/esm2015/lib/MultiSliderYValueChangingEventArgs.js +20 -0
- package/esm2015/lib/NativeUIXInputsFactory.js +1 -179
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +2113 -0
- package/esm2015/lib/XButtonBridge.js +25 -20
- package/esm2015/lib/XButtonGroupBridge.js +177 -0
- package/esm2015/lib/XComponentBridge.js +3 -0
- package/esm2015/lib/XIconBridge.js +20 -16
- package/esm2015/lib/XInputBridge.js +274 -26
- package/esm2015/lib/XPopupBridge.js +117 -98
- package/esm2015/lib/igx-color-editor-component.js +470 -0
- package/esm2015/lib/igx-color-editor-dynamic-module.js +45 -0
- package/esm2015/lib/igx-color-editor-got-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-lost-focus-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-module.js +39 -0
- package/esm2015/lib/igx-color-editor-panel-closed-event-args.js +27 -0
- package/esm2015/lib/igx-color-editor-panel-component.js +376 -0
- package/esm2015/lib/igx-color-editor-panel-dynamic-module.js +66 -0
- package/esm2015/lib/igx-color-editor-panel-module.js +60 -0
- package/esm2015/lib/igx-color-editor-panel-selected-value-changed-event-args.js +40 -0
- package/esm2015/lib/igx-multi-slider-component.js +642 -0
- package/esm2015/lib/igx-multi-slider-dynamic-module.js +38 -0
- package/esm2015/lib/igx-multi-slider-module.js +36 -0
- package/esm2015/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +39 -0
- package/esm2015/lib/igx-multi-slider-thumb-collection.js +53 -0
- package/esm2015/lib/igx-multi-slider-thumb-value-changing-event-args.js +56 -0
- package/esm2015/lib/igx-multi-slider-thumb.js +111 -0
- package/esm2015/lib/igx-multi-slider-track-thumb-range.js +119 -0
- package/esm2015/lib/igx-multi-slider-y-value-changing-event-args.js +33 -0
- package/esm2015/lib/igx-x-button-component.js +262 -262
- package/esm2015/lib/igx-x-icon-component.js +66 -55
- package/esm2015/lib/igx-x-input-group-component.js +48 -48
- package/esm2015/lib/igx-x-label-component.js +41 -40
- package/esm2015/public_api.js +55 -0
- package/esm5/lib/ButtonGroupView_combined.js +19 -19
- package/esm5/lib/ButtonView_combined.js +765 -735
- package/esm5/lib/CalendarView_combined.js +82 -82
- package/esm5/lib/ColorEditor.js +7 -0
- package/esm5/lib/ColorEditorBridge.js +7 -0
- package/esm5/lib/ColorEditorGotFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorLostFocusEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanel.js +7 -0
- package/esm5/lib/ColorEditorPanelClosedEventArgs.js +20 -0
- package/esm5/lib/ColorEditorPanelSelectedValueChangedEventArgs.js +43 -0
- package/esm5/lib/ColorEditorPanelView.js +7 -0
- package/esm5/lib/ColorEditorView.js +7 -0
- package/esm5/lib/DatePickerView_combined.js +18 -18
- package/esm5/lib/DefaultMultiSliderTrackBarVisual.js +139 -0
- package/esm5/lib/DefaultMultiSliderTrackRangeVisual.js +242 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbCalloutVisual.js +212 -0
- package/esm5/lib/DefaultMultiSliderTrackThumbVisual.js +227 -0
- package/esm5/lib/DefaultMultiTrackShadeVisual.js +206 -0
- package/esm5/lib/IMultiSliderTrackBarVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackRangeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackShadeVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbCalloutVisual.js +11 -0
- package/esm5/lib/IMultiSliderTrackThumbVisual.js +11 -0
- package/esm5/lib/ISliderTrackOwner.js +11 -0
- package/esm5/lib/IconClickedEventArgs.js +13 -1
- package/esm5/lib/IconView_combined.js +336 -301
- package/esm5/lib/InputGroupView_combined.js +444 -343
- package/esm5/lib/MultiSlider.js +7 -0
- package/esm5/lib/MultiSliderBridge.js +167 -0
- package/esm5/lib/MultiSliderCursor.js +11 -0
- package/esm5/lib/MultiSliderHitInfo.js +24 -0
- package/esm5/lib/MultiSliderOrientation.js +17 -0
- package/esm5/lib/MultiSliderResolvingToolTipValueEventArgs.js +43 -0
- package/esm5/lib/MultiSliderThumb.js +7 -0
- package/esm5/lib/MultiSliderThumbCollection.js +22 -0
- package/esm5/lib/MultiSliderThumbRangePosition.js +16 -0
- package/esm5/lib/MultiSliderThumbValueChangingEventArgs.js +23 -0
- package/esm5/lib/MultiSliderThumb_combined.js +352 -0
- package/esm5/lib/MultiSliderTrackShadeOrientation.js +11 -0
- package/esm5/lib/MultiSliderTrackThumbRange.js +7 -0
- package/esm5/lib/MultiSliderView.js +7 -0
- package/esm5/lib/MultiSliderView_combined.js +2006 -0
- package/esm5/lib/MultiSliderVisualArea.js +11 -0
- package/esm5/lib/MultiSliderYValueChangingEventArgs.js +22 -0
- package/esm5/lib/NativeUIXInputsFactory.js +1 -189
- package/esm5/lib/NativeUIXInputsFactory_combined.js +2298 -0
- package/esm5/lib/XButtonBridge.js +25 -20
- package/esm5/lib/XButtonGroupBridge.js +179 -0
- package/esm5/lib/XComponentBridge.js +3 -0
- package/esm5/lib/XIconBridge.js +20 -16
- package/esm5/lib/XInputBridge.js +274 -26
- package/esm5/lib/XPopupBridge.js +117 -98
- package/esm5/lib/igx-color-editor-component.js +555 -0
- package/esm5/lib/igx-color-editor-dynamic-module.js +44 -0
- package/esm5/lib/igx-color-editor-got-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-lost-focus-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-module.js +38 -0
- package/esm5/lib/igx-color-editor-panel-closed-event-args.js +33 -0
- package/esm5/lib/igx-color-editor-panel-component.js +435 -0
- package/esm5/lib/igx-color-editor-panel-dynamic-module.js +65 -0
- package/esm5/lib/igx-color-editor-panel-module.js +59 -0
- package/esm5/lib/igx-color-editor-panel-selected-value-changed-event-args.js +54 -0
- package/esm5/lib/igx-multi-slider-component.js +842 -0
- package/esm5/lib/igx-multi-slider-dynamic-module.js +37 -0
- package/esm5/lib/igx-multi-slider-module.js +35 -0
- package/esm5/lib/igx-multi-slider-resolving-tool-tip-value-event-args.js +53 -0
- package/esm5/lib/igx-multi-slider-thumb-collection.js +58 -0
- package/esm5/lib/igx-multi-slider-thumb-value-changing-event-args.js +70 -0
- package/esm5/lib/igx-multi-slider-thumb.js +134 -0
- package/esm5/lib/igx-multi-slider-track-thumb-range.js +149 -0
- package/esm5/lib/igx-multi-slider-y-value-changing-event-args.js +43 -0
- package/esm5/lib/igx-x-button-component.js +262 -262
- package/esm5/lib/igx-x-icon-component.js +70 -55
- package/esm5/lib/igx-x-input-group-component.js +48 -48
- package/esm5/lib/igx-x-label-component.js +41 -40
- package/esm5/public_api.js +55 -0
- package/fesm2015/igniteui-angular-inputs.js +15626 -7466
- package/fesm5/igniteui-angular-inputs.js +16802 -7565
- package/lib/ButtonView_combined.d.ts +243 -241
- package/lib/ColorEditor.d.ts +1 -0
- package/lib/ColorEditorBridge.d.ts +1 -0
- package/lib/ColorEditorGotFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorLostFocusEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanel.d.ts +1 -0
- package/lib/ColorEditorPanelClosedEventArgs.d.ts +7 -0
- package/lib/ColorEditorPanelSelectedValueChangedEventArgs.d.ts +14 -0
- package/lib/ColorEditorPanelView.d.ts +1 -0
- package/lib/ColorEditorView.d.ts +1 -0
- package/lib/DefaultMultiSliderTrackBarVisual.d.ts +34 -0
- package/lib/DefaultMultiSliderTrackRangeVisual.d.ts +43 -0
- package/lib/DefaultMultiSliderTrackThumbCalloutVisual.d.ts +49 -0
- package/lib/DefaultMultiSliderTrackThumbVisual.d.ts +45 -0
- package/lib/DefaultMultiTrackShadeVisual.d.ts +42 -0
- package/lib/IMultiSliderTrackBarVisual.d.ts +21 -0
- package/lib/IMultiSliderTrackRangeVisual.d.ts +25 -0
- package/lib/IMultiSliderTrackShadeVisual.d.ts +24 -0
- package/lib/IMultiSliderTrackThumbCalloutVisual.d.ts +27 -0
- package/lib/IMultiSliderTrackThumbVisual.d.ts +27 -0
- package/lib/ISliderTrackOwner.d.ts +15 -0
- package/lib/IconClickedEventArgs.d.ts +3 -0
- package/lib/IconView_combined.d.ts +88 -84
- package/lib/InputGroupView_combined.d.ts +120 -113
- package/lib/MultiSlider.d.ts +1 -0
- package/lib/MultiSliderBridge.d.ts +24 -0
- package/lib/MultiSliderCursor.d.ts +15 -0
- package/lib/MultiSliderHitInfo.d.ts +13 -0
- package/lib/MultiSliderOrientation.d.ts +10 -0
- package/lib/MultiSliderResolvingToolTipValueEventArgs.d.ts +13 -0
- package/lib/MultiSliderThumb.d.ts +1 -0
- package/lib/MultiSliderThumbCollection.d.ts +10 -0
- package/lib/MultiSliderThumbRangePosition.d.ts +9 -0
- package/lib/MultiSliderThumbValueChangingEventArgs.d.ts +10 -0
- package/lib/MultiSliderThumb_combined.d.ts +76 -0
- package/lib/MultiSliderTrackShadeOrientation.d.ts +14 -0
- package/lib/MultiSliderTrackThumbRange.d.ts +1 -0
- package/lib/MultiSliderView.d.ts +1 -0
- package/lib/MultiSliderView_combined.d.ts +298 -0
- package/lib/MultiSliderVisualArea.d.ts +14 -0
- package/lib/MultiSliderYValueChangingEventArgs.d.ts +8 -0
- package/lib/NativeUIXInputsFactory.d.ts +1 -24
- package/lib/NativeUIXInputsFactory_combined.d.ts +393 -0
- package/lib/XButtonGroupBridge.d.ts +29 -0
- package/lib/XInputBridge.d.ts +29 -5
- package/lib/XPopupBridge.d.ts +12 -9
- package/lib/igx-color-editor-component.d.ts +161 -0
- package/lib/igx-color-editor-dynamic-module.d.ts +10 -0
- package/lib/igx-color-editor-got-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-lost-focus-event-args.d.ts +12 -0
- package/lib/igx-color-editor-module.d.ts +10 -0
- package/lib/igx-color-editor-panel-closed-event-args.d.ts +12 -0
- package/lib/igx-color-editor-panel-component.d.ts +125 -0
- package/lib/igx-color-editor-panel-dynamic-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-module.d.ts +13 -0
- package/lib/igx-color-editor-panel-selected-value-changed-event-args.d.ts +16 -0
- package/lib/igx-multi-slider-component.d.ts +200 -0
- package/lib/igx-multi-slider-dynamic-module.d.ts +9 -0
- package/lib/igx-multi-slider-module.d.ts +9 -0
- package/lib/igx-multi-slider-resolving-tool-tip-value-event-args.d.ts +17 -0
- package/lib/igx-multi-slider-thumb-collection.d.ts +8 -0
- package/lib/igx-multi-slider-thumb-value-changing-event-args.d.ts +18 -0
- package/lib/igx-multi-slider-thumb.d.ts +33 -0
- package/lib/igx-multi-slider-track-thumb-range.d.ts +32 -0
- package/lib/igx-multi-slider-y-value-changing-event-args.d.ts +15 -0
- package/lib/igx-x-icon-component.d.ts +6 -1
- package/package.json +2 -2
- package/public_api.d.ts +55 -0
|
@@ -113,6 +113,7 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
113
113
|
if (this.w != null) {
|
|
114
114
|
this.w(this.ad, ((function () {
|
|
115
115
|
var $ret = new NativeUIFocusEventArgs();
|
|
116
|
+
$ret.b = b.b;
|
|
116
117
|
$ret.a = b.a;
|
|
117
118
|
return $ret;
|
|
118
119
|
})()));
|
|
@@ -142,12 +143,15 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
142
143
|
case 1:
|
|
143
144
|
d.r = 1;
|
|
144
145
|
break;
|
|
145
|
-
case
|
|
146
|
+
case 3:
|
|
146
147
|
d.r = 3;
|
|
147
148
|
break;
|
|
148
|
-
case
|
|
149
|
+
case 2:
|
|
149
150
|
d.r = 2;
|
|
150
151
|
break;
|
|
152
|
+
case 4:
|
|
153
|
+
d.r = 4;
|
|
154
|
+
break;
|
|
151
155
|
}
|
|
152
156
|
break;
|
|
153
157
|
case 18:
|
|
@@ -191,7 +195,7 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
191
195
|
d.az = !c;
|
|
192
196
|
break;
|
|
193
197
|
case 24:
|
|
194
|
-
d.
|
|
198
|
+
d.p9 = c;
|
|
195
199
|
break;
|
|
196
200
|
case 55:
|
|
197
201
|
d.bi = c.left;
|
|
@@ -209,12 +213,12 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
209
213
|
d.aq = c;
|
|
210
214
|
break;
|
|
211
215
|
case 17:
|
|
212
|
-
d.
|
|
216
|
+
d.ku = c;
|
|
213
217
|
break;
|
|
214
218
|
case 11:
|
|
215
219
|
d.aa = c;
|
|
216
220
|
break;
|
|
217
|
-
case
|
|
221
|
+
case 85:
|
|
218
222
|
d.bu = c;
|
|
219
223
|
break;
|
|
220
224
|
}
|
|
@@ -228,8 +232,9 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
228
232
|
switch (c.r) {
|
|
229
233
|
case 0: return enumGetBox(NativeUIDisplayDensity_$type, 0);
|
|
230
234
|
case 1: return enumGetBox(NativeUIDisplayDensity_$type, 1);
|
|
231
|
-
case 3: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
232
|
-
case 2: return enumGetBox(NativeUIDisplayDensity_$type,
|
|
235
|
+
case 3: return enumGetBox(NativeUIDisplayDensity_$type, 3);
|
|
236
|
+
case 2: return enumGetBox(NativeUIDisplayDensity_$type, 2);
|
|
237
|
+
case 4: return enumGetBox(NativeUIDisplayDensity_$type, 4);
|
|
233
238
|
}
|
|
234
239
|
break;
|
|
235
240
|
case 18: return enumGetBox(BaseControlTheme_$type, c.n);
|
|
@@ -246,34 +251,34 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
246
251
|
case 32: return c.disabled;
|
|
247
252
|
case 5: return c.ar;
|
|
248
253
|
case 6: return !c.az;
|
|
249
|
-
case 24: return c.
|
|
254
|
+
case 24: return c.p9;
|
|
250
255
|
case 55: return new Thickness(1, c.bi, c.bk, c.bj, c.bh);
|
|
251
256
|
case 57: return c.av;
|
|
252
257
|
case 56: return c.as;
|
|
253
258
|
case 58: return c.aq;
|
|
254
|
-
case 17: return c.
|
|
255
|
-
case
|
|
259
|
+
case 17: return c.ku;
|
|
260
|
+
case 85: return c.bu;
|
|
256
261
|
}
|
|
257
262
|
return null;
|
|
258
263
|
};
|
|
259
264
|
XButtonBridge.prototype.setHorizontalContentAlignment = function (a, b) {
|
|
260
265
|
switch (b) {
|
|
261
266
|
case 1:
|
|
262
|
-
this.t.
|
|
267
|
+
this.t.k7 = 1;
|
|
263
268
|
break;
|
|
264
269
|
case 0:
|
|
265
|
-
this.t.
|
|
270
|
+
this.t.k7 = 0;
|
|
266
271
|
break;
|
|
267
272
|
case 2:
|
|
268
|
-
this.t.
|
|
273
|
+
this.t.k7 = 2;
|
|
269
274
|
break;
|
|
270
275
|
case 3:
|
|
271
|
-
this.t.
|
|
276
|
+
this.t.k7 = 3;
|
|
272
277
|
break;
|
|
273
278
|
}
|
|
274
279
|
};
|
|
275
280
|
XButtonBridge.prototype.getHorizontalContentAlignment = function (a) {
|
|
276
|
-
switch (this.t.
|
|
281
|
+
switch (this.t.k7) {
|
|
277
282
|
case 1: return 1;
|
|
278
283
|
case 0: return 0;
|
|
279
284
|
case 2: return 2;
|
|
@@ -283,21 +288,21 @@ var XButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
283
288
|
XButtonBridge.prototype.setVerticalContentAlignment = function (a, b) {
|
|
284
289
|
switch (b) {
|
|
285
290
|
case 2:
|
|
286
|
-
this.t.
|
|
291
|
+
this.t.rb = 2;
|
|
287
292
|
break;
|
|
288
293
|
case 1:
|
|
289
|
-
this.t.
|
|
294
|
+
this.t.rb = 1;
|
|
290
295
|
break;
|
|
291
296
|
case 3:
|
|
292
|
-
this.t.
|
|
297
|
+
this.t.rb = 3;
|
|
293
298
|
break;
|
|
294
299
|
case 0:
|
|
295
|
-
this.t.
|
|
300
|
+
this.t.rb = 0;
|
|
296
301
|
break;
|
|
297
302
|
}
|
|
298
303
|
};
|
|
299
304
|
XButtonBridge.prototype.getVerticalContentAlignment = function (a) {
|
|
300
|
-
switch (this.t.
|
|
305
|
+
switch (this.t.rb) {
|
|
301
306
|
case 2: return 2;
|
|
302
307
|
case 1: return 1;
|
|
303
308
|
case 0: return 0;
|
|
@@ -0,0 +1,179 @@
|
|
|
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 { INativeUIButtonGroupBridge_$type } from "igniteui-angular-core";
|
|
10
|
+
import { runOn, delegateCombine, delegateRemove, enumGetBox, EnumUtil, markType } from "igniteui-angular-core";
|
|
11
|
+
import { List$1 } from "igniteui-angular-core";
|
|
12
|
+
import { NativeUIButton } from "igniteui-angular-core";
|
|
13
|
+
import { NativeUIButtonGroupSelectionChangedEventArgs } from "igniteui-angular-core";
|
|
14
|
+
import { NativeUIDisplayDensity_$type } from "igniteui-angular-core";
|
|
15
|
+
import { BaseControlTheme_$type } from "igniteui-angular-core";
|
|
16
|
+
import { NativeUIButtonGroupDisplayType_$type } from "igniteui-angular-core";
|
|
17
|
+
import { NativeUIButtonDisplayType_$type } from "igniteui-angular-core";
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
var XButtonGroupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
22
|
+
__extends(XButtonGroupBridge, _super);
|
|
23
|
+
function XButtonGroupBridge(a) {
|
|
24
|
+
var _this = _super.call(this, a) || this;
|
|
25
|
+
_this.u = null;
|
|
26
|
+
_this.w = null;
|
|
27
|
+
_this.v = new List$1(NativeUIButton.$, 0);
|
|
28
|
+
return _this;
|
|
29
|
+
}
|
|
30
|
+
XButtonGroupBridge.prototype.addHandler = function (a, b, c, d) {
|
|
31
|
+
var e = a;
|
|
32
|
+
switch (c) {
|
|
33
|
+
case 3:
|
|
34
|
+
e.selectionChanged = delegateCombine(e.selectionChanged, runOn(this, this.x));
|
|
35
|
+
this.u = d;
|
|
36
|
+
this.w = b;
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
XButtonGroupBridge.prototype.removeHandler = function (a, b, c, d) {
|
|
41
|
+
var e = a;
|
|
42
|
+
switch (c) {
|
|
43
|
+
case 3:
|
|
44
|
+
e.selectionChanged = delegateRemove(e.selectionChanged, runOn(this, this.x));
|
|
45
|
+
this.u = null;
|
|
46
|
+
this.w = null;
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
XButtonGroupBridge.prototype.x = function (a, b) {
|
|
51
|
+
if (this.u != null) {
|
|
52
|
+
var c = new NativeUIButtonGroupSelectionChangedEventArgs();
|
|
53
|
+
var d = a;
|
|
54
|
+
var e = d.d;
|
|
55
|
+
var f = null;
|
|
56
|
+
c.a = e;
|
|
57
|
+
this.u(this.w, c);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
XButtonGroupBridge.prototype.getValue = function (a, b) {
|
|
61
|
+
var c = a;
|
|
62
|
+
switch (b) {
|
|
63
|
+
case 1:
|
|
64
|
+
var d = c.t;
|
|
65
|
+
var e = 1;
|
|
66
|
+
switch (d) {
|
|
67
|
+
case 0:
|
|
68
|
+
e = 0;
|
|
69
|
+
break;
|
|
70
|
+
case 1:
|
|
71
|
+
e = 1;
|
|
72
|
+
break;
|
|
73
|
+
case 2:
|
|
74
|
+
e = 2;
|
|
75
|
+
break;
|
|
76
|
+
case 3:
|
|
77
|
+
e = 3;
|
|
78
|
+
break;
|
|
79
|
+
case 4:
|
|
80
|
+
e = 4;
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
return enumGetBox(NativeUIDisplayDensity_$type, e);
|
|
84
|
+
case 18: return enumGetBox(BaseControlTheme_$type, c.p);
|
|
85
|
+
case 84: return c.d;
|
|
86
|
+
case 0:
|
|
87
|
+
switch (c.i) {
|
|
88
|
+
case 0: return enumGetBox(NativeUIButtonGroupDisplayType_$type, 0);
|
|
89
|
+
case 1: return enumGetBox(NativeUIButtonGroupDisplayType_$type, 1);
|
|
90
|
+
}
|
|
91
|
+
return enumGetBox(NativeUIButtonDisplayType_$type, 0);
|
|
92
|
+
case 32: return c.disabled;
|
|
93
|
+
case 24: return c.hs;
|
|
94
|
+
case 17: return c.a1;
|
|
95
|
+
}
|
|
96
|
+
return null;
|
|
97
|
+
};
|
|
98
|
+
XButtonGroupBridge.prototype.setValue = function (a, b, c) {
|
|
99
|
+
var d = a;
|
|
100
|
+
switch (b) {
|
|
101
|
+
case 1:
|
|
102
|
+
var e = 0;
|
|
103
|
+
switch (EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, c)) {
|
|
104
|
+
case 0:
|
|
105
|
+
e = 0;
|
|
106
|
+
break;
|
|
107
|
+
case 1:
|
|
108
|
+
e = 1;
|
|
109
|
+
break;
|
|
110
|
+
case 3:
|
|
111
|
+
e = 3;
|
|
112
|
+
break;
|
|
113
|
+
case 4:
|
|
114
|
+
e = 4;
|
|
115
|
+
break;
|
|
116
|
+
case 2:
|
|
117
|
+
e = 2;
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
d.t = e;
|
|
121
|
+
break;
|
|
122
|
+
case 18:
|
|
123
|
+
d.p = EnumUtil.getEnumValue(BaseControlTheme_$type, c);
|
|
124
|
+
break;
|
|
125
|
+
case 84:
|
|
126
|
+
d.d = c;
|
|
127
|
+
break;
|
|
128
|
+
case 0:
|
|
129
|
+
switch (EnumUtil.getEnumValue(NativeUIButtonGroupDisplayType_$type, c)) {
|
|
130
|
+
case 0:
|
|
131
|
+
d.i = 0;
|
|
132
|
+
break;
|
|
133
|
+
case 1:
|
|
134
|
+
d.i = 1;
|
|
135
|
+
break;
|
|
136
|
+
}
|
|
137
|
+
break;
|
|
138
|
+
case 32:
|
|
139
|
+
d.disabled = c;
|
|
140
|
+
break;
|
|
141
|
+
case 24:
|
|
142
|
+
d.hs = c;
|
|
143
|
+
break;
|
|
144
|
+
case 17:
|
|
145
|
+
d.a1 = c.e;
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
XButtonGroupBridge.prototype.exportVisualData = function (a) {
|
|
150
|
+
return a.a5();
|
|
151
|
+
};
|
|
152
|
+
XButtonGroupBridge.prototype.addButton = function (a, b) {
|
|
153
|
+
this.v.add(b);
|
|
154
|
+
a.buttons.add(b.d.getMethodTarget(null));
|
|
155
|
+
a.appendContentChild(b.an);
|
|
156
|
+
};
|
|
157
|
+
XButtonGroupBridge.prototype.updateButton = function (a, b, c) {
|
|
158
|
+
this.v._inner[b] = c;
|
|
159
|
+
a.buttons._inner[b] = c.d.getMethodTarget(null);
|
|
160
|
+
};
|
|
161
|
+
XButtonGroupBridge.prototype.insertButton = function (a, b, c) {
|
|
162
|
+
this.v.insert(b, c);
|
|
163
|
+
a.buttons.insert(b, c.d.getMethodTarget(null));
|
|
164
|
+
a.appendContentChild(c.an);
|
|
165
|
+
};
|
|
166
|
+
XButtonGroupBridge.prototype.removeButton = function (a, b) {
|
|
167
|
+
this.v.removeAt(b);
|
|
168
|
+
a.buttons.removeAt(b);
|
|
169
|
+
};
|
|
170
|
+
XButtonGroupBridge.prototype.getButtonAt = function (a, b) {
|
|
171
|
+
return this.v._inner[b];
|
|
172
|
+
};
|
|
173
|
+
XButtonGroupBridge.prototype.clearSelection = function (a) {
|
|
174
|
+
a.d = new Array(0);
|
|
175
|
+
};
|
|
176
|
+
XButtonGroupBridge.$t = markType(XButtonGroupBridge, 'XButtonGroupBridge', XComponentBridge.$, [INativeUIButtonGroupBridge_$type]);
|
|
177
|
+
return XButtonGroupBridge;
|
|
178
|
+
}(XComponentBridge));
|
|
179
|
+
export { XButtonGroupBridge };
|
|
@@ -46,6 +46,9 @@ var XComponentBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
46
46
|
return this.s != null ? this.s : a;
|
|
47
47
|
};
|
|
48
48
|
XComponentBridge.prototype.getTargetForBuildInProperty = function (a, b) {
|
|
49
|
+
switch (b) {
|
|
50
|
+
case 105: return a;
|
|
51
|
+
}
|
|
49
52
|
return this.s != null ? this.s : a;
|
|
50
53
|
};
|
|
51
54
|
XComponentBridge.$t = markType(XComponentBridge, 'XComponentBridge', NativeUIElementBridge.$);
|
package/esm5/lib/XIconBridge.js
CHANGED
|
@@ -28,15 +28,15 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
28
28
|
case 16: return this.v;
|
|
29
29
|
case 15: return this.u;
|
|
30
30
|
case 18: return enumGetBox(BaseControlTheme_$type, c.k);
|
|
31
|
-
case 44: return c.
|
|
32
|
-
case 45: return c.
|
|
33
|
-
case 46: return c.
|
|
34
|
-
case 47: return c.
|
|
35
|
-
case 48: return c.
|
|
36
|
-
case 49: return c.
|
|
31
|
+
case 44: return c.ao;
|
|
32
|
+
case 45: return c.ap;
|
|
33
|
+
case 46: return c.aq;
|
|
34
|
+
case 47: return c.an;
|
|
35
|
+
case 48: return c.ar;
|
|
36
|
+
case 49: return c.aj;
|
|
37
37
|
case 62: return c.e;
|
|
38
38
|
case 63: return c.f;
|
|
39
|
-
case 64: return c.
|
|
39
|
+
case 64: return c.am;
|
|
40
40
|
}
|
|
41
41
|
return _super.prototype.getValue.call(this, a, b);
|
|
42
42
|
};
|
|
@@ -57,22 +57,22 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
57
57
|
}
|
|
58
58
|
break;
|
|
59
59
|
case 44:
|
|
60
|
-
d.
|
|
60
|
+
d.ao = c;
|
|
61
61
|
break;
|
|
62
62
|
case 45:
|
|
63
|
-
d.
|
|
63
|
+
d.ap = c;
|
|
64
64
|
break;
|
|
65
65
|
case 46:
|
|
66
|
-
d.
|
|
66
|
+
d.aq = c;
|
|
67
67
|
break;
|
|
68
68
|
case 47:
|
|
69
|
-
d.
|
|
69
|
+
d.an = c;
|
|
70
70
|
break;
|
|
71
71
|
case 48:
|
|
72
|
-
d.
|
|
72
|
+
d.ar = c;
|
|
73
73
|
break;
|
|
74
74
|
case 49:
|
|
75
|
-
d.
|
|
75
|
+
d.aj = c;
|
|
76
76
|
break;
|
|
77
77
|
case 62:
|
|
78
78
|
d.e = c;
|
|
@@ -81,7 +81,7 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
81
81
|
d.f = c;
|
|
82
82
|
break;
|
|
83
83
|
case 64:
|
|
84
|
-
d.
|
|
84
|
+
d.am = c;
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
@@ -112,12 +112,16 @@ var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
112
112
|
}
|
|
113
113
|
var d = SvgIconRegistry.instance.getDataURLString(this.u, this.v);
|
|
114
114
|
if (d != null) {
|
|
115
|
-
a.
|
|
115
|
+
a.ba = d;
|
|
116
116
|
return;
|
|
117
117
|
}
|
|
118
|
+
var e = SvgIconRegistry.instance.getIconSource(this.u, this.v);
|
|
119
|
+
if (e != null) {
|
|
120
|
+
a.ax = e;
|
|
121
|
+
}
|
|
118
122
|
};
|
|
119
123
|
XIconBridge.prototype.exportVisualData = function (a) {
|
|
120
|
-
return a.
|
|
124
|
+
return a.aw();
|
|
121
125
|
};
|
|
122
126
|
XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
|
|
123
127
|
return XIconBridge;
|