igniteui-webcomponents-inputs 7.1.0-alpha.1 → 7.1.0-alpha.2
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 +636 -467
- package/bundles/igniteui-webcomponents-inputs.umd.min.js +1 -1
- package/esm2015/lib/ButtonView_combined.js +21 -21
- package/esm2015/lib/CalendarView_combined.js +3 -3
- package/esm2015/lib/CheckboxView_combined.js +23 -23
- package/esm2015/lib/IconView_combined.js +163 -163
- package/esm2015/lib/InputGroupView_combined.js +31 -31
- package/esm2015/lib/MultiSliderBridge.js +14 -14
- package/esm2015/lib/MultiSliderView_combined.js +10 -10
- package/esm2015/lib/NativeUIXInputsFactory_combined.js +38 -38
- package/esm2015/lib/RippleView_combined.js +1 -1
- package/esm2015/lib/XButtonBridge.js +18 -18
- package/esm2015/lib/XButtonGroupBridge.js +6 -6
- package/esm2015/lib/XCheckboxBridge.js +8 -8
- package/esm2015/lib/XComponentBridge.js +4 -3
- package/esm2015/lib/XIconBridge.js +23 -23
- package/esm2015/lib/XIconButtonBridge.js +5 -5
- package/esm2015/lib/XInputBridge.js +18 -18
- package/esm2015/lib/XPopupBridge.js +23 -23
- package/esm2015/lib/igc-multi-slider-thumb-collection.js +7 -7
- package/esm2015/lib/igc-multi-slider-thumb-component.js +271 -0
- package/esm2015/lib/igc-multi-slider-thumb-module.js +16 -0
- package/esm2015/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm2015/lib/igc-multi-slider-track-thumb-range.js +5 -15
- package/esm2015/lib/igc-x-icon-component.js +10 -10
- package/esm2015/public_api.js +2 -1
- package/esm5/lib/ButtonView_combined.js +21 -21
- package/esm5/lib/CalendarView_combined.js +3 -3
- package/esm5/lib/CheckboxView_combined.js +23 -23
- package/esm5/lib/IconView_combined.js +158 -158
- package/esm5/lib/InputGroupView_combined.js +31 -31
- package/esm5/lib/MultiSliderBridge.js +14 -14
- package/esm5/lib/MultiSliderView_combined.js +10 -10
- package/esm5/lib/NativeUIXInputsFactory_combined.js +38 -38
- package/esm5/lib/RippleView_combined.js +1 -1
- package/esm5/lib/XButtonBridge.js +18 -18
- package/esm5/lib/XButtonGroupBridge.js +6 -6
- package/esm5/lib/XCheckboxBridge.js +8 -8
- package/esm5/lib/XComponentBridge.js +4 -3
- package/esm5/lib/XIconBridge.js +23 -23
- package/esm5/lib/XIconButtonBridge.js +5 -5
- package/esm5/lib/XInputBridge.js +18 -18
- package/esm5/lib/XPopupBridge.js +23 -23
- package/esm5/lib/igc-multi-slider-thumb-collection.js +7 -7
- package/esm5/lib/igc-multi-slider-thumb-component.js +300 -0
- package/esm5/lib/igc-multi-slider-thumb-module.js +20 -0
- package/esm5/lib/igc-multi-slider-thumb-value-changing-event-args.js +3 -8
- package/esm5/lib/igc-multi-slider-track-thumb-range.js +5 -15
- package/esm5/lib/igc-x-icon-component.js +10 -10
- package/esm5/public_api.js +2 -1
- package/fesm2015/igniteui-webcomponents-inputs.js +692 -534
- package/fesm5/igniteui-webcomponents-inputs.js +635 -467
- package/lib/IconView_combined.d.ts +33 -34
- package/lib/MultiSliderView_combined.d.ts +1 -1
- package/lib/igc-multi-slider-thumb-collection.d.ts +4 -4
- package/lib/igc-multi-slider-thumb-component.d.ts +53 -0
- package/lib/igc-multi-slider-thumb-module.d.ts +3 -0
- package/lib/igc-multi-slider-thumb-value-changing-event-args.d.ts +3 -3
- package/lib/igc-multi-slider-track-thumb-range.d.ts +5 -5
- package/package.json +2 -2
- package/public_api.d.ts +2 -1
- package/esm2015/lib/igc-multi-slider-thumb.js +0 -109
- package/esm5/lib/igc-multi-slider-thumb.js +0 -132
- package/lib/igc-multi-slider-thumb.d.ts +0 -27
package/esm5/lib/XIconBridge.js
CHANGED
|
@@ -28,15 +28,15 @@ export 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.m);
|
|
31
|
-
case
|
|
32
|
-
case
|
|
33
|
-
case
|
|
34
|
-
case
|
|
35
|
-
case
|
|
36
|
-
case
|
|
37
|
-
case
|
|
38
|
-
case
|
|
39
|
-
case
|
|
31
|
+
case 45: return c.a6;
|
|
32
|
+
case 46: return c.a7;
|
|
33
|
+
case 47: return c.a8;
|
|
34
|
+
case 48: return c.a5;
|
|
35
|
+
case 49: return c.a9;
|
|
36
|
+
case 50: return c.a1;
|
|
37
|
+
case 64: return c.e;
|
|
38
|
+
case 65: return c.f;
|
|
39
|
+
case 66: return c.a4;
|
|
40
40
|
}
|
|
41
41
|
return _super.prototype.getValue.call(this, a, b);
|
|
42
42
|
};
|
|
@@ -56,31 +56,31 @@ export var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
56
56
|
this.w(d);
|
|
57
57
|
}
|
|
58
58
|
break;
|
|
59
|
-
case
|
|
59
|
+
case 45:
|
|
60
60
|
d.a6 = c;
|
|
61
61
|
break;
|
|
62
|
-
case
|
|
62
|
+
case 46:
|
|
63
63
|
d.a7 = c;
|
|
64
64
|
break;
|
|
65
|
-
case
|
|
65
|
+
case 47:
|
|
66
66
|
d.a8 = c;
|
|
67
67
|
break;
|
|
68
|
-
case
|
|
68
|
+
case 48:
|
|
69
69
|
d.a5 = c;
|
|
70
70
|
break;
|
|
71
|
-
case
|
|
71
|
+
case 49:
|
|
72
72
|
d.a9 = c;
|
|
73
73
|
break;
|
|
74
|
-
case
|
|
74
|
+
case 50:
|
|
75
75
|
d.a1 = c;
|
|
76
76
|
break;
|
|
77
|
-
case
|
|
77
|
+
case 64:
|
|
78
78
|
d.e = c;
|
|
79
79
|
break;
|
|
80
|
-
case
|
|
80
|
+
case 65:
|
|
81
81
|
d.f = c;
|
|
82
82
|
break;
|
|
83
|
-
case
|
|
83
|
+
case 66:
|
|
84
84
|
d.a4 = c;
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
@@ -95,8 +95,8 @@ export var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
95
95
|
a.svg = null;
|
|
96
96
|
a.svgPath = null;
|
|
97
97
|
a.b = null;
|
|
98
|
-
a.
|
|
99
|
-
a.
|
|
98
|
+
a.b2 = null;
|
|
99
|
+
a.bj = null;
|
|
100
100
|
var b = SvgIconRegistry.instance.getSvgPathString(this.u, this.v);
|
|
101
101
|
if (b != null) {
|
|
102
102
|
if (stringStartsWith(trimStart(b, ' ', '\n', '\r', '\t'), "<svg")) {
|
|
@@ -114,16 +114,16 @@ export var XIconBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
114
114
|
}
|
|
115
115
|
var d = SvgIconRegistry.instance.getDataURLString(this.u, this.v);
|
|
116
116
|
if (d != null) {
|
|
117
|
-
a.
|
|
117
|
+
a.b2 = d;
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
var e = SvgIconRegistry.instance.getIconSource(this.u, this.v);
|
|
121
121
|
if (e != null) {
|
|
122
|
-
a.
|
|
122
|
+
a.bj = e;
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
XIconBridge.prototype.exportVisualData = function (a) {
|
|
126
|
-
var b = a.
|
|
126
|
+
var b = a.bi();
|
|
127
127
|
return b;
|
|
128
128
|
};
|
|
129
129
|
XIconBridge.$t = markType(XIconBridge, 'XIconBridge', XComponentBridge.$);
|
|
@@ -24,12 +24,12 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
24
24
|
switch (b) {
|
|
25
25
|
case 15:
|
|
26
26
|
case 16:
|
|
27
|
-
case 44:
|
|
28
27
|
case 45:
|
|
29
28
|
case 46:
|
|
30
29
|
case 47:
|
|
31
30
|
case 48:
|
|
32
|
-
case 49:
|
|
31
|
+
case 49:
|
|
32
|
+
case 50: return this.al.t;
|
|
33
33
|
}
|
|
34
34
|
return _super.prototype.getTargetForBuildInProperty.call(this, a, b);
|
|
35
35
|
};
|
|
@@ -45,12 +45,12 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
45
45
|
switch (b) {
|
|
46
46
|
case 16:
|
|
47
47
|
case 15:
|
|
48
|
-
case 44:
|
|
49
48
|
case 45:
|
|
50
49
|
case 46:
|
|
51
50
|
case 47:
|
|
52
51
|
case 48:
|
|
53
|
-
case 49:
|
|
52
|
+
case 49:
|
|
53
|
+
case 50: return this.al.getValue(a, b);
|
|
54
54
|
case 18: return enumGetBox(BaseControlTheme_$type, a.o);
|
|
55
55
|
}
|
|
56
56
|
return _super.prototype.getValue.call(this, a, b);
|
|
@@ -60,12 +60,12 @@ export var XIconButtonBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
60
60
|
switch (b) {
|
|
61
61
|
case 16:
|
|
62
62
|
case 15:
|
|
63
|
-
case 44:
|
|
64
63
|
case 45:
|
|
65
64
|
case 46:
|
|
66
65
|
case 47:
|
|
67
66
|
case 48:
|
|
68
67
|
case 49:
|
|
68
|
+
case 50:
|
|
69
69
|
this.al.setValue(a, b, c);
|
|
70
70
|
break;
|
|
71
71
|
case 18:
|
package/esm5/lib/XInputBridge.js
CHANGED
|
@@ -268,18 +268,18 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
268
268
|
var c = a;
|
|
269
269
|
var d = typeCast(XInput.$, c.inputs._inner[0]);
|
|
270
270
|
switch (b) {
|
|
271
|
-
case
|
|
271
|
+
case 104: return a.mc;
|
|
272
272
|
case 3:
|
|
273
273
|
this.an(a);
|
|
274
274
|
var e = this.v(a);
|
|
275
275
|
return e.text;
|
|
276
|
-
case
|
|
276
|
+
case 101:
|
|
277
277
|
this.ao(a);
|
|
278
278
|
return this.u.svgPath;
|
|
279
|
-
case
|
|
279
|
+
case 102:
|
|
280
280
|
this.ao(a);
|
|
281
281
|
return this.u.fill;
|
|
282
|
-
case
|
|
282
|
+
case 103:
|
|
283
283
|
this.ao(a);
|
|
284
284
|
return this.u.ea;
|
|
285
285
|
case 2: return d.cq;
|
|
@@ -315,11 +315,11 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
315
315
|
}
|
|
316
316
|
break;
|
|
317
317
|
case 21: return d.a1;
|
|
318
|
-
case
|
|
319
|
-
case
|
|
320
|
-
case
|
|
321
|
-
case
|
|
322
|
-
case
|
|
318
|
+
case 33: return d.disabled;
|
|
319
|
+
case 34: return d.d8;
|
|
320
|
+
case 106: return d.selectionStart;
|
|
321
|
+
case 107: return d.selectionEnd;
|
|
322
|
+
case 108: return c.an;
|
|
323
323
|
}
|
|
324
324
|
return null;
|
|
325
325
|
};
|
|
@@ -327,7 +327,7 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
327
327
|
var d = a;
|
|
328
328
|
var e = typeCast(XInput.$, d.inputs._inner[0]);
|
|
329
329
|
switch (b) {
|
|
330
|
-
case
|
|
330
|
+
case 104:
|
|
331
331
|
a.mc = c;
|
|
332
332
|
break;
|
|
333
333
|
case 3:
|
|
@@ -335,15 +335,15 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
335
335
|
var f = this.v(a);
|
|
336
336
|
f.text = c;
|
|
337
337
|
break;
|
|
338
|
-
case
|
|
338
|
+
case 101:
|
|
339
339
|
this.ao(a);
|
|
340
340
|
this.u.svgPath = c;
|
|
341
341
|
break;
|
|
342
|
-
case
|
|
342
|
+
case 102:
|
|
343
343
|
this.ao(a);
|
|
344
344
|
this.u.fill = c;
|
|
345
345
|
break;
|
|
346
|
-
case
|
|
346
|
+
case 103:
|
|
347
347
|
this.ao(a);
|
|
348
348
|
this.u.ea = c;
|
|
349
349
|
break;
|
|
@@ -414,19 +414,19 @@ export var XInputBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
414
414
|
case 21:
|
|
415
415
|
e.a1 = c;
|
|
416
416
|
break;
|
|
417
|
-
case
|
|
417
|
+
case 33:
|
|
418
418
|
e.disabled = c;
|
|
419
419
|
break;
|
|
420
|
-
case
|
|
420
|
+
case 34:
|
|
421
421
|
e.d8 = c;
|
|
422
422
|
break;
|
|
423
|
-
case
|
|
423
|
+
case 106:
|
|
424
424
|
e.selectionStart = typeGetValue(c);
|
|
425
425
|
break;
|
|
426
|
-
case
|
|
426
|
+
case 107:
|
|
427
427
|
e.selectionEnd = typeGetValue(c);
|
|
428
428
|
break;
|
|
429
|
-
case
|
|
429
|
+
case 108:
|
|
430
430
|
d.an = c;
|
|
431
431
|
break;
|
|
432
432
|
}
|
package/esm5/lib/XPopupBridge.js
CHANGED
|
@@ -170,28 +170,28 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
170
170
|
var c = a;
|
|
171
171
|
switch (b) {
|
|
172
172
|
case 22: return c.ax;
|
|
173
|
-
case
|
|
174
|
-
case
|
|
173
|
+
case 61: return c.av;
|
|
174
|
+
case 62: return c.aq;
|
|
175
175
|
case 25: return c.am;
|
|
176
176
|
case 26: return c.a9;
|
|
177
177
|
case 17: return c.a1;
|
|
178
178
|
case 23: return c.c0;
|
|
179
|
-
case
|
|
179
|
+
case 36: switch (c.p) {
|
|
180
180
|
case 1: return enumGetBox(NativeUIPopupAnimationType_$type, 1);
|
|
181
181
|
default: return enumGetBox(NativeUIPopupAnimationType_$type, 0);
|
|
182
182
|
}
|
|
183
|
-
case
|
|
184
|
-
case
|
|
185
|
-
case
|
|
186
|
-
case
|
|
187
|
-
case
|
|
183
|
+
case 37: return c.at;
|
|
184
|
+
case 38: return c.as;
|
|
185
|
+
case 41: return c.bb;
|
|
186
|
+
case 42: return c.au;
|
|
187
|
+
case 44: switch (c.v) {
|
|
188
188
|
case 1: return enumGetBox(NativeUIPopupPointerPosition_$type, 1);
|
|
189
189
|
default: return enumGetBox(NativeUIPopupPointerPosition_$type, 2);
|
|
190
190
|
}
|
|
191
|
-
case
|
|
192
|
-
case
|
|
193
|
-
case
|
|
194
|
-
case
|
|
191
|
+
case 43: return c.c4;
|
|
192
|
+
case 40: return c.ao;
|
|
193
|
+
case 63: return c.a4;
|
|
194
|
+
case 111: return c.ay;
|
|
195
195
|
}
|
|
196
196
|
return _super.prototype.getValue.call(this, a, b);
|
|
197
197
|
};
|
|
@@ -210,7 +210,7 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
210
210
|
case 23:
|
|
211
211
|
d.c0 = c;
|
|
212
212
|
break;
|
|
213
|
-
case
|
|
213
|
+
case 36:
|
|
214
214
|
switch (EnumUtil.getEnumValue(NativeUIPopupAnimationType_$type, c)) {
|
|
215
215
|
case 1:
|
|
216
216
|
d.p = 1;
|
|
@@ -220,22 +220,22 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
220
220
|
break;
|
|
221
221
|
}
|
|
222
222
|
break;
|
|
223
|
-
case
|
|
223
|
+
case 37:
|
|
224
224
|
d.at = c;
|
|
225
225
|
break;
|
|
226
|
-
case
|
|
226
|
+
case 38:
|
|
227
227
|
d.as = c;
|
|
228
228
|
break;
|
|
229
|
-
case
|
|
229
|
+
case 41:
|
|
230
230
|
d.bb = typeGetValue(c);
|
|
231
231
|
break;
|
|
232
|
-
case
|
|
232
|
+
case 42:
|
|
233
233
|
d.au = c;
|
|
234
234
|
break;
|
|
235
|
-
case
|
|
235
|
+
case 43:
|
|
236
236
|
d.c4 = c;
|
|
237
237
|
break;
|
|
238
|
-
case
|
|
238
|
+
case 44:
|
|
239
239
|
switch (EnumUtil.getEnumValue(NativeUIPopupPointerPosition_$type, c)) {
|
|
240
240
|
case 1:
|
|
241
241
|
d.v = 1;
|
|
@@ -245,13 +245,13 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
245
245
|
break;
|
|
246
246
|
}
|
|
247
247
|
break;
|
|
248
|
-
case
|
|
248
|
+
case 40:
|
|
249
249
|
d.ao = c;
|
|
250
250
|
break;
|
|
251
|
-
case
|
|
251
|
+
case 63:
|
|
252
252
|
d.a4 = c;
|
|
253
253
|
break;
|
|
254
|
-
case
|
|
254
|
+
case 111:
|
|
255
255
|
d.ay = c;
|
|
256
256
|
break;
|
|
257
257
|
}
|
|
@@ -293,7 +293,7 @@ export var XPopupBridge = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
XPopupBridge.prototype.exportVisualData = function (a) {
|
|
296
|
-
return a.
|
|
296
|
+
return a.bi();
|
|
297
297
|
};
|
|
298
298
|
XPopupBridge.prototype.addChild = function (a, b) {
|
|
299
299
|
this.ae.add(b);
|
|
@@ -3,13 +3,13 @@ import { IgCollection } from "igniteui-webcomponents-core";
|
|
|
3
3
|
import { markType } from "igniteui-webcomponents-core";
|
|
4
4
|
import { SyncableObservableCollection$2 } from "igniteui-webcomponents-core";
|
|
5
5
|
import { MultiSliderThumb as MultiSliderThumb_internal } from './MultiSliderThumb';
|
|
6
|
-
import {
|
|
6
|
+
import { IgcMultiSliderThumbComponent as IgcMultiSliderThumbComponent } from './igc-multi-slider-thumb-component';
|
|
7
7
|
var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
8
8
|
__extends(IgcMultiSliderThumbCollection, _super);
|
|
9
9
|
function IgcMultiSliderThumbCollection(list) {
|
|
10
10
|
var _this = _super.call(this) || this;
|
|
11
|
-
if (!
|
|
12
|
-
|
|
11
|
+
if (!IgcMultiSliderThumbComponent.$type) {
|
|
12
|
+
IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
|
|
13
13
|
}
|
|
14
14
|
if (list) {
|
|
15
15
|
for (var i = 0; i < list.length; i++) {
|
|
@@ -19,10 +19,10 @@ var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
19
19
|
return _this;
|
|
20
20
|
}
|
|
21
21
|
IgcMultiSliderThumbCollection.prototype._createInnerColl = function () {
|
|
22
|
-
if (!
|
|
23
|
-
|
|
22
|
+
if (!IgcMultiSliderThumbComponent.$type) {
|
|
23
|
+
IgcMultiSliderThumbComponent.$type = markType(IgcMultiSliderThumbComponent, "IgcMultiSliderThumbComponent");
|
|
24
24
|
}
|
|
25
|
-
var coll = new SyncableObservableCollection$2(
|
|
25
|
+
var coll = new SyncableObservableCollection$2(IgcMultiSliderThumbComponent.$type, MultiSliderThumb_internal.$type, 0);
|
|
26
26
|
coll.compare = function (ext, int) {
|
|
27
27
|
var comp = ext;
|
|
28
28
|
if (comp._implementation) {
|
|
@@ -39,7 +39,7 @@ var IgcMultiSliderThumbCollection = /** @class */ /*@__PURE__*/ (function (_supe
|
|
|
39
39
|
coll.createFrom = function (int) {
|
|
40
40
|
var ext = int.externalObject;
|
|
41
41
|
if (!ext) {
|
|
42
|
-
ext = new
|
|
42
|
+
ext = new IgcMultiSliderThumbComponent();
|
|
43
43
|
if (ext) {
|
|
44
44
|
if (!int.$type && ext._implementation.setNativeElement) {
|
|
45
45
|
ext._implementation.setNativeElement(int);
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { IgcHTMLElement } from "igniteui-webcomponents-core";
|
|
3
|
+
import { delegateCombine, delegateRemove } from "igniteui-webcomponents-core";
|
|
4
|
+
import { MultiSliderThumbRangePosition_$type } from "./MultiSliderThumbRangePosition";
|
|
5
|
+
import { IgcMultiSliderTrackThumbRange } from "./igc-multi-slider-track-thumb-range";
|
|
6
|
+
import { IgcPropertyUpdatedEventArgs } from "igniteui-webcomponents-core";
|
|
7
|
+
import { MultiSliderThumb } from "./MultiSliderThumb";
|
|
8
|
+
import { TypeRegistrar } from "igniteui-webcomponents-core";
|
|
9
|
+
import { NamePatcher, getAllPropertyNames, fromSpinal, toSpinal, ensureEnum, enumToString, initializePropertiesFromCss } from "igniteui-webcomponents-core";
|
|
10
|
+
import { RegisterElementHelper } from "igniteui-webcomponents-core";
|
|
11
|
+
export var IgcMultiSliderThumbComponent = /** @class */ /*@__PURE__*/ (function (_super) {
|
|
12
|
+
__extends(IgcMultiSliderThumbComponent, _super);
|
|
13
|
+
function IgcMultiSliderThumbComponent() {
|
|
14
|
+
var _this = _super.call(this) || this;
|
|
15
|
+
_this._settingAttributes = false;
|
|
16
|
+
_this._attached = false;
|
|
17
|
+
_this._queuedSetAttributes = [];
|
|
18
|
+
_this._updatingFromAttribute = false;
|
|
19
|
+
_this.__p = null;
|
|
20
|
+
_this._hasUserValues = new Set();
|
|
21
|
+
_this._stylingContainer = null;
|
|
22
|
+
_this._stylingParent = null;
|
|
23
|
+
_this._inStyling = false;
|
|
24
|
+
_this._propertyUpdated = null;
|
|
25
|
+
_this._propertyUpdated_wrapped = null;
|
|
26
|
+
if (_this._styling) {
|
|
27
|
+
NamePatcher.ensureStylablePatched(Object.getPrototypeOf(_this));
|
|
28
|
+
}
|
|
29
|
+
_this._implementation = _this.createImplementation();
|
|
30
|
+
_this._implementation.externalObject = _this;
|
|
31
|
+
_this.onImplementationCreated();
|
|
32
|
+
if (_this._initializeAdapters) {
|
|
33
|
+
_this._initializeAdapters();
|
|
34
|
+
}
|
|
35
|
+
return _this;
|
|
36
|
+
}
|
|
37
|
+
IgcMultiSliderThumbComponent.prototype.createImplementation = function () {
|
|
38
|
+
return new MultiSliderThumb();
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "i", {
|
|
41
|
+
/**
|
|
42
|
+
* @hidden
|
|
43
|
+
*/
|
|
44
|
+
get: function () {
|
|
45
|
+
return this._implementation;
|
|
46
|
+
} /**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/,
|
|
49
|
+
enumerable: false,
|
|
50
|
+
configurable: true
|
|
51
|
+
});
|
|
52
|
+
IgcMultiSliderThumbComponent._createFromInternal = function (internal) {
|
|
53
|
+
if (!internal) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
if (!internal.$type) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
var name = internal.$type.name;
|
|
60
|
+
var externalName = "Igc" + name + "Component";
|
|
61
|
+
if (!TypeRegistrar.isRegistered(externalName)) {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
return TypeRegistrar.create(externalName);
|
|
65
|
+
};
|
|
66
|
+
IgcMultiSliderThumbComponent.prototype.onImplementationCreated = function () {
|
|
67
|
+
};
|
|
68
|
+
IgcMultiSliderThumbComponent.prototype._enqueueSetAttribute = function (attrName, attrValue) {
|
|
69
|
+
this._queuedSetAttributes.push({ attrName: attrName, attrValue: attrValue });
|
|
70
|
+
};
|
|
71
|
+
IgcMultiSliderThumbComponent.prototype._flushQueuedAttributes = function () {
|
|
72
|
+
this._settingAttributes = true;
|
|
73
|
+
for (var i = 0; i < this._queuedSetAttributes.length; i++) {
|
|
74
|
+
this.setAttribute(this._queuedSetAttributes[i].attrName, this._queuedSetAttributes[i].attrValue);
|
|
75
|
+
}
|
|
76
|
+
this._settingAttributes = false;
|
|
77
|
+
this._queuedSetAttributes.length = 0;
|
|
78
|
+
};
|
|
79
|
+
IgcMultiSliderThumbComponent.prototype._a = function (attrName, attrValue) {
|
|
80
|
+
if (this._updatingFromAttribute) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (attrValue) {
|
|
84
|
+
attrValue = attrValue.toString();
|
|
85
|
+
}
|
|
86
|
+
this._settingAttributes = true;
|
|
87
|
+
attrName = toSpinal(attrName);
|
|
88
|
+
if (this._attached) {
|
|
89
|
+
this.setAttribute(attrName, attrValue);
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this._enqueueSetAttribute(attrName, attrValue);
|
|
93
|
+
}
|
|
94
|
+
this._settingAttributes = false;
|
|
95
|
+
};
|
|
96
|
+
IgcMultiSliderThumbComponent.prototype.connectedCallback = function () {
|
|
97
|
+
if (_super.prototype["connectedCallback"]) {
|
|
98
|
+
_super.prototype["connectedCallback"].call(this);
|
|
99
|
+
}
|
|
100
|
+
if (this.i.connectedCallback) {
|
|
101
|
+
this.i.connectedCallback();
|
|
102
|
+
}
|
|
103
|
+
if (!this._attached) {
|
|
104
|
+
this._attached = true;
|
|
105
|
+
this._flushQueuedAttributes();
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
IgcMultiSliderThumbComponent.prototype.disconnectedCallback = function () {
|
|
109
|
+
if (_super.prototype["disconnectedCallback"]) {
|
|
110
|
+
_super.prototype["disconnectedCallback"].call(this);
|
|
111
|
+
}
|
|
112
|
+
if (this.i.disconnectedCallback) {
|
|
113
|
+
this.i.disconnectedCallback();
|
|
114
|
+
}
|
|
115
|
+
if (this._attached) {
|
|
116
|
+
this._attached = false;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
Object.defineProperty(IgcMultiSliderThumbComponent, "observedAttributes", {
|
|
120
|
+
get: function () {
|
|
121
|
+
if (IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent == null) {
|
|
122
|
+
var names = getAllPropertyNames(IgcMultiSliderThumbComponent);
|
|
123
|
+
for (var i = 0; i < names.length; i++) {
|
|
124
|
+
names[i] = toSpinal(names[i]);
|
|
125
|
+
}
|
|
126
|
+
IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = names;
|
|
127
|
+
}
|
|
128
|
+
return IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent;
|
|
129
|
+
},
|
|
130
|
+
enumerable: false,
|
|
131
|
+
configurable: true
|
|
132
|
+
});
|
|
133
|
+
IgcMultiSliderThumbComponent.prototype.attributeChangedCallback = function (name, oldValue, newValue) {
|
|
134
|
+
if (this._settingAttributes) {
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
var setName = fromSpinal(name);
|
|
138
|
+
this._updatingFromAttribute = true;
|
|
139
|
+
this[setName] = newValue;
|
|
140
|
+
this._updatingFromAttribute = false;
|
|
141
|
+
};
|
|
142
|
+
IgcMultiSliderThumbComponent.register = function () {
|
|
143
|
+
if (!IgcMultiSliderThumbComponent._isElementRegistered) {
|
|
144
|
+
IgcMultiSliderThumbComponent._isElementRegistered = true;
|
|
145
|
+
RegisterElementHelper.registerElement(IgcMultiSliderThumbComponent.htmlTagName, IgcMultiSliderThumbComponent);
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "value", {
|
|
149
|
+
get: function () {
|
|
150
|
+
return this.i.s;
|
|
151
|
+
},
|
|
152
|
+
set: function (v) {
|
|
153
|
+
this.i.s = +v;
|
|
154
|
+
this._a("value", this.i.s);
|
|
155
|
+
},
|
|
156
|
+
enumerable: false,
|
|
157
|
+
configurable: true
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "rangePosition", {
|
|
160
|
+
get: function () {
|
|
161
|
+
return this.i.g;
|
|
162
|
+
},
|
|
163
|
+
set: function (v) {
|
|
164
|
+
this.i.g = ensureEnum(MultiSliderThumbRangePosition_$type, v);
|
|
165
|
+
this._a("rangePosition", enumToString(MultiSliderThumbRangePosition_$type, this.i.g));
|
|
166
|
+
},
|
|
167
|
+
enumerable: false,
|
|
168
|
+
configurable: true
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "range", {
|
|
171
|
+
get: function () {
|
|
172
|
+
var r = this.i.i;
|
|
173
|
+
if (r == null) {
|
|
174
|
+
return null;
|
|
175
|
+
}
|
|
176
|
+
if (!r.externalObject) {
|
|
177
|
+
var e = new IgcMultiSliderTrackThumbRange();
|
|
178
|
+
if (r.$type) {
|
|
179
|
+
e._implementation = r;
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
if (e.i.setNativeElement) {
|
|
183
|
+
e.i.setNativeElement(r);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
r.externalObject = e;
|
|
187
|
+
}
|
|
188
|
+
return r.externalObject;
|
|
189
|
+
},
|
|
190
|
+
set: function (v) {
|
|
191
|
+
v == null ? this.i.i = null : this.i.i = v.i;
|
|
192
|
+
},
|
|
193
|
+
enumerable: false,
|
|
194
|
+
configurable: true
|
|
195
|
+
});
|
|
196
|
+
IgcMultiSliderThumbComponent.prototype.findByName = function (name) {
|
|
197
|
+
if (this.findEphemera) {
|
|
198
|
+
if (name && name.indexOf("@@e:") == 0) {
|
|
199
|
+
return this.findEphemera(name);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
if (this.range && this.range.name && this.range.name == name) {
|
|
203
|
+
return this.range;
|
|
204
|
+
}
|
|
205
|
+
return null;
|
|
206
|
+
};
|
|
207
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "hasUserValues", {
|
|
208
|
+
get: function () {
|
|
209
|
+
return this._hasUserValues;
|
|
210
|
+
},
|
|
211
|
+
enumerable: false,
|
|
212
|
+
configurable: true
|
|
213
|
+
});
|
|
214
|
+
IgcMultiSliderThumbComponent.prototype.__m = function (propertyName) {
|
|
215
|
+
if (!this._inStyling) {
|
|
216
|
+
this._hasUserValues.add(propertyName);
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
IgcMultiSliderThumbComponent.prototype._styling = function (container, component, parent) {
|
|
220
|
+
if (this._inStyling) {
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
this._inStyling = true;
|
|
224
|
+
this._stylingContainer = container;
|
|
225
|
+
this._stylingParent = component;
|
|
226
|
+
var genericPrefix = "";
|
|
227
|
+
var typeName = this.i.$type.name;
|
|
228
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
229
|
+
typeName = typeName.substring(3);
|
|
230
|
+
}
|
|
231
|
+
genericPrefix = toSpinal("MultiSliderThumbComponent");
|
|
232
|
+
var additionalPrefixes = [];
|
|
233
|
+
var prefix = toSpinal(typeName);
|
|
234
|
+
additionalPrefixes.push(prefix + "-");
|
|
235
|
+
var b = this.i.$type.baseType;
|
|
236
|
+
while (b && b.name != "Object" &&
|
|
237
|
+
b.name != "Base" &&
|
|
238
|
+
b.name != "Control" &&
|
|
239
|
+
b.Name != "DependencyObject" &&
|
|
240
|
+
b.Name != "FrameworkElement") {
|
|
241
|
+
typeName = b.name;
|
|
242
|
+
if (typeName.indexOf("Xam") === 0) {
|
|
243
|
+
typeName = typeName.substring(3);
|
|
244
|
+
}
|
|
245
|
+
var basePrefix = toSpinal(typeName);
|
|
246
|
+
additionalPrefixes.push(basePrefix + "-");
|
|
247
|
+
b = b.baseType;
|
|
248
|
+
}
|
|
249
|
+
if (parent) {
|
|
250
|
+
var parentTypeName = parent.i.$type.name;
|
|
251
|
+
if (parentTypeName.indexOf("Xam") === 0) {
|
|
252
|
+
parentTypeName = parentTypeName.substring(3);
|
|
253
|
+
}
|
|
254
|
+
var parentPrefix = toSpinal(parentTypeName);
|
|
255
|
+
additionalPrefixes.push(parentPrefix + "-" + genericPrefix + "-");
|
|
256
|
+
additionalPrefixes.push(parentPrefix + "-" + prefix + "-");
|
|
257
|
+
}
|
|
258
|
+
initializePropertiesFromCss(container, this, genericPrefix + "-", this.hasUserValues, false, additionalPrefixes);
|
|
259
|
+
if (this._otherStyling) {
|
|
260
|
+
this._otherStyling(container, component, parent);
|
|
261
|
+
}
|
|
262
|
+
this._inStyling = false;
|
|
263
|
+
};
|
|
264
|
+
IgcMultiSliderThumbComponent.prototype.push = function (amount) {
|
|
265
|
+
var iv = this.i.r(amount);
|
|
266
|
+
return (iv);
|
|
267
|
+
};
|
|
268
|
+
Object.defineProperty(IgcMultiSliderThumbComponent.prototype, "propertyUpdated", {
|
|
269
|
+
get: function () {
|
|
270
|
+
return this._propertyUpdated;
|
|
271
|
+
},
|
|
272
|
+
set: function (ev) {
|
|
273
|
+
var _this = this;
|
|
274
|
+
if (this._propertyUpdated_wrapped !== null) {
|
|
275
|
+
this.i.propertyUpdated = delegateRemove(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
276
|
+
this._propertyUpdated_wrapped = null;
|
|
277
|
+
this._propertyUpdated = null;
|
|
278
|
+
}
|
|
279
|
+
this._propertyUpdated = ev;
|
|
280
|
+
this._propertyUpdated_wrapped = function (o, e) {
|
|
281
|
+
var outerArgs = new IgcPropertyUpdatedEventArgs();
|
|
282
|
+
outerArgs._provideImplementation(e);
|
|
283
|
+
if (_this.beforePropertyUpdated) {
|
|
284
|
+
_this.beforePropertyUpdated(_this, outerArgs);
|
|
285
|
+
}
|
|
286
|
+
if (_this._propertyUpdated) {
|
|
287
|
+
_this._propertyUpdated(_this, outerArgs);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
this.i.propertyUpdated = delegateCombine(this.i.propertyUpdated, this._propertyUpdated_wrapped);
|
|
291
|
+
;
|
|
292
|
+
},
|
|
293
|
+
enumerable: false,
|
|
294
|
+
configurable: true
|
|
295
|
+
});
|
|
296
|
+
IgcMultiSliderThumbComponent._observedAttributesIgcMultiSliderThumbComponent = null;
|
|
297
|
+
IgcMultiSliderThumbComponent.htmlTagName = "igc-multi-slider-thumb";
|
|
298
|
+
IgcMultiSliderThumbComponent._isElementRegistered = false;
|
|
299
|
+
return IgcMultiSliderThumbComponent;
|
|
300
|
+
}(IgcHTMLElement));
|